Skip to content

v2.5.1

Choose a tag to compare

@bpacholek bpacholek released this 11 Jul 08:04
· 117 commits to main since this release

Patch release: fixes static analysis under PHPStan 2.2.5.

  • JsMessageMetadata::fromMessage() rewritten with literal token offsets per count() branch so PHPStan 2.2.5's stricter array-shape inference can prove every access. Byte-identical $JS.ACK parsing (pinned by the existing 9/11/12-token tests).

v2.5.0's code failed CI's Unit + Static jobs because CI resolves dependencies fresh and picked up PHPStan 2.2.5, while the release gate had run against an older local vendor. This release is CI-verified green across the full matrix (PHP 8.2-8.5, E2E, Examples, Mutation): all functional changes are identical to v2.5.0 - see its notes for the full changelog of the 21-issue review cycle.