feat(deprecations): add a deprecation registry, a drift checker and the 1.4.0 announcements #73

Merged
abiwab merged 5 commits from feat/deprecation-registry into main 2026-10-01 22:55:27 +02:00
Owner

Adds a single registry for everything deprecated across Gram, a gate that keeps it in sync with the code, and the user-facing announcements for the 1.4.0 deprecations.

  • deprecations.yaml: one entry per deprecation (layer, deprecatedIn, targetRemoval, status, replacement, files, plus warningCode and migration for syntax).
  • scripts/check-deprecations.ts: bun run deprecations (report) and deprecations:check (gate, part of bun run ci). It cross-checks the registry against @deprecated (Ref: id) and @remove-in markers both ways, validates the schema and the removal deadline.
  • The deprecated kitchen/renderer code is tagged with its registry ids (comments only).
  • CI runs the check; the release notes get a dedicated Deprecated block.
  • New "Deprecated features" docs page (en + fr), links from the Kitchen reference and the custom UI guide, and the 1.4.0 changeset now has a Deprecated section naming each field.

No change in behavior of any published package.

Adds a single registry for everything deprecated across Gram, a gate that keeps it in sync with the code, and the user-facing announcements for the 1.4.0 deprecations. - `deprecations.yaml`: one entry per deprecation (layer, deprecatedIn, targetRemoval, status, replacement, files, plus warningCode and migration for syntax). - `scripts/check-deprecations.ts`: `bun run deprecations` (report) and `deprecations:check` (gate, part of `bun run ci`). It cross-checks the registry against `@deprecated (Ref: id)` and `@remove-in` markers both ways, validates the schema and the removal deadline. - The deprecated kitchen/renderer code is tagged with its registry ids (comments only). - CI runs the check; the release notes get a dedicated Deprecated block. - New "Deprecated features" docs page (en + fr), links from the Kitchen reference and the custom UI guide, and the 1.4.0 changeset now has a **Deprecated** section naming each field. No change in behavior of any published package.
abiwab scheduled this pull request to auto merge when all checks succeed 2026-10-01 22:53:09 +02:00
abiwab merged commit d1f65238fd into main 2026-10-01 22:55:27 +02:00
abiwab deleted branch feat/deprecation-registry 2026-10-01 22:55:27 +02:00
Sign in to join this conversation.
No description provided.