Skip to content

v0.3.1

Latest

Choose a tag to compare

@Amorfx Amorfx released this 12 Oct 23:08
ffd8fad

Fixes

  • Cache with different PHP versions: the cache fingerprint now includes the PHP version (major.minor). Symfony 7.4 writes PHP 8.4-only syntax in the compiled container when it runs on PHP 8.4, so a container built by a PHP 8.4 CLI broke a PHP 8.2 web server (Parse error on every request, simply:cache:clear included). The cache is rebuilt once after the upgrade.
  • Redis cache: RedisCache::set() passed its default expiration of 0 to phpredis, which rejects it and stores nothing. Values set without expiration were never stored. They are now kept until they are deleted: pass an expiration or delete the keys if your code relied, without knowing it, on nothing being cached.

Tooling

PHPStan 2, actions/checkout v7 and actions/cache v6.

What's Changed

  • chore: use the current Renovate preset by @Amorfx in #77
  • fix(cache): include the PHP version in the cache fingerprint by @Amorfx in #78
  • chore(deps): upgrade to PHPStan 2 and fix the Redis cache by @Amorfx in #79
  • ci: update actions/checkout to v7 and actions/cache to v6 by @Amorfx in #80

Full Changelog: v0.3.0...v0.3.1