hydro-dev / hydro-dev/Hydro

API Changes

Open
#711 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
7k
Forks
476
Avg merge
15h 48m
Merged PRs (30d)
3

Description

本 issue 列出计划进行的重大 API 更改。
This thread will announce the planned breaking API changes.

  • sync with cordis upstream: ctx.using -> ctx.inject, ctx.inject -> ctx.injectUI (drop legacy support in next major version)
  • drop legacy plugin format (handler.ts) in next major version
  • vjudge: move to judge client side (calls to some builtin model will be prohibited, refactor will be required)
  • Hydro Global Variable: drop in next major version. Use context instead.
  • Introduce checksum to installed plugins

如果对如上修改有任何的建议,请在下方评论。
If you have any suggestions to those, comment below.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

This is a roadmap thread rather than a scoped implementation task, and it names no concrete files or tests. Start by reviewing the existing context APIs, legacy handler.ts plugin format, vjudge integration, and installed-plugin handling; the unchecked vjudge and checksum items need separate scope and acceptance criteria before work can be considered done.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.