Skip to content

chore(release): 3.0.1 - #32

Merged
karlwaldman merged 1 commit into
mainfrom
release/3.0.1
Sep 13, 2026
Merged

karlwaldman merged 1 commit into
mainfrom
release/3.0.1

Conversation

@karlwaldman

Copy link
Copy Markdown
Member

Bumps Client::VERSION (and its pin in tests/PublicClaimsTest.php) to 3.0.1 and adds the 3.0.1 CHANGELOG entry.

What ships (since v3.0.0)

Patch bump: no public API change.

One test change, and why it is needed

tests/VersioningTest.php was written for the 3.0.0 release. Its breaking-change assertions read the topmost CHANGELOG entry, so adding any entry above 3.0.0 failed 12 tests (every ### Breaking changes needle) — the only way to pass would have been to restate 3.0.0's breaks under 3.0.1, telling a reader upgrading from 3.0.0 that something new broke.

The breaking-change tests now read the entry for LAST_BC_COMPATIBLE_MAJOR + 1 = 3.0.0 by version heading. Unchanged: "topmost entry carries a version heading" and "topmost entry matches Client::VERSION", which are correct for every release.

  • Before the test change, on this branch: Tests: 248, Failures: 12
  • After: OK (248 tests, 766 assertions)
  • Red-capable: renaming the ## 3.0.0 heading makes the suite fail with CHANGELOG.md has no "## 3.0.0" entry.
  • Assertion count is 24 lower than main's 790: the old helper made two structural assertions on each of its 12 calls; the new lookup makes none on the success path. No test was removed.

Verification (local)

  • Clean main (ea86475) baseline: OK (248 tests, 790 assertions)
  • This branch: OK (248 tests, 766 assertions), PHPStan [OK] No errors
  • No 3.0.0 left outside CHANGELOG

Packagist picks up the v3.0.1 tag after merge.

🤖 Generated with Claude Code

https://claude.ai/code/session_015ao5paex73xXvuM424Libo

Demo-mode path match on a segment boundary (#23); PHPStan level 9 in CI (#24).

VersioningTest read the TOPMOST changelog entry for 3.0.0's breaking-change
notes, so any later release failed 12 tests unless it re-listed 3.0.0's
breaks. It now reads the 3.0.0 entry by version.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015ao5paex73xXvuM424Libo
@coderabbitai

coderabbitai Bot commented Sep 13, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: a40cabab-2eca-4fa1-87b3-be0317bcbbda


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@karlwaldman
karlwaldman merged commit ef0c231 into main Sep 13, 2026
9 checks passed
@karlwaldman
karlwaldman deleted the release/3.0.1 branch September 13, 2026 19:41
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