feat(deprecations): add a deprecation registry, a drift checker and the 1.4.0 announcements #73
No reviewers
Labels
No labels
bug
discussion
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gram-lang/gram!73
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/deprecation-registry"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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) anddeprecations:check(gate, part ofbun run ci). It cross-checks the registry against@deprecated (Ref: id)and@remove-inmarkers both ways, validates the schema and the removal deadline.No change in behavior of any published package.