Skip to content

Document the remaining 0.3 breaks in UPGRADING - #104

Merged
MidnightDesign merged 1 commit into
masterfrom
docs/document-remaining-0.3-breaks
Jul 24, 2026
Merged

Document the remaining 0.3 breaks in UPGRADING#104
MidnightDesign merged 1 commit into
masterfrom
docs/document-remaining-0.3-breaks

Conversation

@MidnightDesign

Copy link
Copy Markdown
Contributor

Reconciles UPGRADING.md with the roave/backward-compatibility-check output ahead of tagging 0.3.0.

Running the BC check against 0.2.4 reports 81 structural breaks. Most were already documented, but a handful were not yet named. Since the backward-compatibility policy requires every break to be recorded in the upgrade notes, this adds them:

  • Type::some() removed — it was an identity function that returned its argument unchanged and never wrapped anything in an Option, despite the name. Callers who wanted an option type are pointed at Type::option().
  • Parser\TypeHint and Parser\ParsedToken marked @internal — folded into the existing parser-members section.
  • Node-level plumbing marked @internal — new section covering Negative, AbstractLiteral, ListLiteral, and LocationTrait, plus Negative's equals()/__toString() becoming final.

After this lands, RELEASING.md step 1 ("UPGRADING.md documents every break") and step 2 (reconcile the BC check) are satisfied and 0.3.0 can be tagged.

🤖 Generated with Claude Code

The BC check against 0.2.4 reports 81 structural breaks; a few were not yet
named in UPGRADING.md. The release policy requires every break to be recorded,
so add the missing ones:

- Type::some() removal (an identity function; point callers to Type::option()).
- Parser\TypeHint and Parser\ParsedToken marked @internal.
- Node-level plumbing marked @internal: Negative, AbstractLiteral, ListLiteral,
  LocationTrait, plus Negative's equals()/__toString() becoming final.

Reconciles UPGRADING.md with the BC checker so 0.3.0 can be tagged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JVfG8L9ZctAtLCuXXZBQcP
@MidnightDesign
MidnightDesign merged commit 26587a3 into master Jul 24, 2026
25 checks passed
@MidnightDesign
MidnightDesign deleted the docs/document-remaining-0.3-breaks branch July 24, 2026 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant