Skip to content

v1.1.2

Latest

Choose a tag to compare

@loevgaard loevgaard released this 15 Jun 11:11
· 1 commit to master since this release
654bc30

Maintenance release — no breaking changes (the Roave backward-compatibility check passes).

Improvements

  • PHP 8.4 compatibility: parameter types that were implicitly nullable are now explicitly nullable (?string, ?int).

Internal

  • Metadata now tracks expiry timestamps in a dedicated, precisely-typed property instead of a reserved key inside the data array. Behaviour is unchanged; the only observable difference is that the reserved __expires key is serialized last (this does not affect reconstructing a Metadata object from toArray()/JSON, which is key-based).

Tooling

  • Inlined the individual setono/code-quality-pack packages into require-dev.
  • Replaced Psalm with PHPStan (level: max).
  • Replaced composer-require-checker + composer-unused with shipmonk/composer-dependency-analyser.
  • Migrated to PHPUnit 10, expanded the CI matrix to PHP 8.1–8.4, and added tests (reconstruction, lazy expiry, pruning, malformed expiry data).

Full changelog: v1.1.1...v1.1.2