NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #289 most downloaded on Packagist
Creates and manages locks, a mechanism to provide exclusive access to a shared resource
Latest stable
v8.1.11
Last release 10 days ago
12 Nov 2026
Release timing varies
gaps range from 8 days to 2 months
Some releases are documented
notes for 21 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
374 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
Changelog ( v8.2.0-BETA1...v8.2.0-BETA2 )
Changelog (v8.2.0-BETA1...v8.2.0-BETA2)
KeyTest (@nicolas-grekas)Your coding agent can read these notes before it upgrades. Set up the MCP server →
Changelog ( v8.1.11...v8.2.0-BETA1 )
Changelog (v8.1.11...v8.2.0-BETA1)
# attribute to reject or delay concurrent requests (@Brajk19)Changelog ( v8.1.10...v8.1.11 )
Changelog (v8.1.10...v8.1.11)
[SECURITY] Security release
bug #67401 Fix database names parsed from MongoDB URIs ( @nicolas-grekas )
Changelog (v8.1.9...v8.1.10)
[SECURITY] Security release
minor #66616 Release the locks that the store tests leave behind ( @nicolas-grekas )
Changelog (v8.1.8...v8.1.9)
Key that has no expiring time or no state (@nicolas-grekas)minor #66150 Document that only the owning key can release a lock (@nicolas-grekas)
Changelog (https://github.com/symfony/lock/compare/v8.1.6...v8.1.8)
bug #65721 Never take the reserved "__write__" member as a Redis lock token (@nicolas-grekas)
Changelog (https://github.com/symfony/lock/compare/v8.1.5...v8.1.6)
bug #65367 Fix PHP 8.6 deprecations (@nicolas-grekas)
Changelog (https://github.com/symfony/lock/compare/v8.1.4...v8.1.5)
bug #65116 Fix a released read lock letting a new read lock through while a write lock is held (@Zombaya)
Changelog (https://github.com/symfony/lock/compare/v8.1.1...v8.1.4)
bug #64617 Restore compat with DBAL 4.5 (@nicolas-grekas)
Changelog (https://github.com/symfony/lock/compare/v8.1.0...v8.1.1)
TableEditor API (@nicolas-grekas)bug #64389 Migrate configureSchema() to DBAL's editor API (@nicolas-grekas)
Changelog (https://github.com/symfony/lock/compare/v8.1.0-BETA3...v8.1.0)
configureSchema() to DBAL's editor API (@nicolas-grekas)semaphore://<project-id>)bug #64283 Various fixes and hardenings (@nicolas-grekas)
Changelog (https://github.com/symfony/lock/compare/v8.1.0-BETA1...v8.1.0-BETA3)
feature #63263 Scope semaphore and flock stores by project dir by default (@nicolas-grekas)
Changelog (https://github.com/symfony/lock/compare/v8.0.9...v8.1.0-BETA1)
bug #64617 Restore compat with DBAL 4.5 (@nicolas-grekas)
Changelog (https://github.com/symfony/lock/compare/v8.0.13...v8.0.14)
TableEditor API (@nicolas-grekas)configureSchema() to DBAL's editor API (@nicolas-grekas)bug #63975 Avoid aborting outer PostgreSQL transaction on lock contention (@lacatoire)
Changelog (https://github.com/symfony/lock/compare/v8.0.6...v8.0.9)
Changelog (https://github.com/symfony/lock/compare/v8.0.7...v8.0.8) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v8.0.7...v8.0.8)
bug #63230 fix engine declaration on mysql pdo table creations (@tandev)
Changelog (https://github.com/symfony/lock/compare/v8.0.5...v8.0.6)
bug #63137 Fix PdoSessionHandler charset-collation mismatch with the Doctrine DBAL (@samy-mahmoudi)
Changelog (https://github.com/symfony/lock/compare/v8.0.4...v8.0.5)
Changelog (https://github.com/symfony/lock/compare/v8.0.3...v8.0.4) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v8.0.3...v8.0.4)
Nothing published for this version
bug symfony/symfony#62653 [Lock] Fix unserializing already serialized Key payloads (@nicolas-grekas)
Changelog (https://github.com/symfony/lock/compare/v8.0.0...v8.0.1)
Changelog (https://github.com/symfony/lock/compare/v8.0.0-RC3...v8.0.0) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v8.0.0-RC3...v8.0.0)
Changelog (https://github.com/symfony/lock/compare/v8.0.0-BETA2...v8.0.0-RC1) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v8.0.0-BETA2...v8.0.0-RC1)
feature symfony/symfony#60023 [Lock] Add LockKeyNormalizer (@valtzu)
Changelog (https://github.com/symfony/lock/compare/v7.3.4...v8.0.0-BETA1)
LockKeyNormalizer (@valtzu)Changelog ( v7.4.22...v7.4.23 )
Changelog (v7.4.22...v7.4.23)
[SECURITY] Security release
Changelog ( v7.4.21...v7.4.22 )
Changelog (v7.4.21...v7.4.22)
[SECURITY] Security release
minor #66616 Release the locks that the store tests leave behind (@nicolas-grekas)
Changelog (https://github.com/symfony/lock/compare/v7.4.20...v7.4.21)
Key that has no expiring time or no state (@nicolas-grekas)minor #66150 Document that only the owning key can release a lock (@nicolas-grekas)
Changelog (https://github.com/symfony/lock/compare/v7.4.18...v7.4.20)
bug #65721 Never take the reserved "__write__" member as a Redis lock token (@nicolas-grekas)
Changelog (https://github.com/symfony/lock/compare/v7.4.17...v7.4.18)
bug #65367 Fix PHP 8.6 deprecations (@nicolas-grekas)
Changelog (https://github.com/symfony/lock/compare/v7.4.16...v7.4.17)
bug #65116 Fix a released read lock letting a new read lock through while a write lock is held (@Zombaya)
Changelog (https://github.com/symfony/lock/compare/v7.4.14...v7.4.16)
bug #64617 Restore compat with DBAL 4.5 (@nicolas-grekas)
Changelog (https://github.com/symfony/lock/compare/v7.4.13...v7.4.14)
TableEditor API (@nicolas-grekas)configureSchema() to DBAL's editor API (@nicolas-grekas)bug #63975 Avoid aborting outer PostgreSQL transaction on lock contention (@lacatoire)
Changelog (https://github.com/symfony/lock/compare/v7.4.6...v7.4.9)
Changelog (https://github.com/symfony/lock/compare/v7.4.7...v7.4.8) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v7.4.7...v7.4.8)
bug #63230 fix engine declaration on mysql pdo table creations (@tandev)
Changelog (https://github.com/symfony/lock/compare/v7.4.5...v7.4.6)
bug #63137 Fix PdoSessionHandler charset-collation mismatch with the Doctrine DBAL (@samy-mahmoudi)
Changelog (https://github.com/symfony/lock/compare/v7.4.4...v7.4.5)
Changelog (https://github.com/symfony/lock/compare/v7.4.3...v7.4.4) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v7.4.3...v7.4.4)
Nothing published for this version
Nothing published for this version
bug symfony/symfony#62653 [Lock] Fix unserializing already serialized Key payloads (@nicolas-grekas)
Changelog (https://github.com/symfony/lock/compare/v7.4.0...v7.4.1)
Changelog (https://github.com/symfony/lock/compare/v7.4.0-RC3...v7.4.0) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v7.4.0-RC3...v7.4.0)
Changelog (https://github.com/symfony/lock/compare/v7.4.0-BETA2...v7.4.0-RC1) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v7.4.0-BETA2...v7.4.0-RC1)
feature symfony/symfony#60023 [Lock] Add LockKeyNormalizer (@valtzu)
Changelog (https://github.com/symfony/lock/compare/v7.3.4...v7.4.0-BETA1)
LockKeyNormalizer (@valtzu)bug #63137 Fix PdoSessionHandler charset-collation mismatch with the Doctrine DBAL (@samy-mahmoudi)
Changelog (https://github.com/symfony/lock/compare/v7.3.10...v7.3.11)
Changelog (https://github.com/symfony/lock/compare/v7.3.9...v7.3.10) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v7.3.9...v7.3.10)
bug symfony/symfony#61727 Replace __sleep/wakeup() by __(un)serialize() for throwing and internal usages (@nicolas-grekas)
Changelog (https://github.com/symfony/lock/compare/v7.3.3...v7.3.4)
bug symfony/symfony#61085 [Lock] Fix using fractional TTLs (@manuelderuiter)
Changelog (https://github.com/symfony/lock/compare/v7.3.1...v7.3.2)
eval when LOAD fails due to missing script (@santysisi)Changelog (https://github.com/symfony/lock/compare/v7.3.0-RC1...v7.3.0) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v7.3.0-RC1...v7.3.0)
Changelog (https://github.com/symfony/lock/compare/v7.3.0-BETA2...v7.3.0-RC1) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v7.3.0-BETA2...v7.3.0-RC1)
feature symfony/symfony#59869 [Cache] Add support for valkey: / valkeys: schemes (@nicolas-grekas)
Changelog (https://github.com/symfony/lock/compare/v7.2.6...v7.3.0-BETA1)
valkey: / valkeys: schemes (@nicolas-grekas)\Relay\Cluster support (@dorrogeray)bug symfony/symfony#61085 [Lock] Fix using fractional TTLs (@manuelderuiter)
Changelog (https://github.com/symfony/lock/compare/v7.2.8...v7.2.9)
eval when LOAD fails due to missing script (@santysisi)bug symfony/symfony#60238 [Lock] read (possible) error from Redis instance where evalSha() was called (@xabbuh)
Changelog (https://github.com/symfony/lock/compare/v7.2.5...v7.2.6)
bug symfony/symfony#60030 [Cache][DoctrineBridge][HttpFoundation][Lock][Messenger] use Table::addPrimaryKeyConstraint() with Doctrine DBAL 4.3+ (@xabb
Changelog (https://github.com/symfony/lock/compare/v7.2.4...v7.2.5)
Table::addPrimaryKeyConstraint() with Doctrine DBAL 4.3+ (@xabbuh)bug symfony/symfony#59661 [Lock] Fix Predis error handling (@HypeMC)
Changelog (https://github.com/symfony/lock/compare/v7.2.3...v7.2.4)
bug symfony/symfony#59488 [Lock] Make sure RedisStore will also support Valkey (@PatNowak)
Changelog (https://github.com/symfony/lock/compare/v7.2.2...v7.2.3)
Changelog (https://github.com/symfony/lock/compare/v7.2.0-RC1...v7.2.0) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v7.2.0-RC1...v7.2.0)
EVALSHA over EVAL when evaluating LUA scriptsNullStoreChangelog (https://github.com/symfony/lock/compare/v7.2.0-BETA2...v7.2.0-RC1) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v7.2.0-BETA2...v7.2.0-RC1)
feature symfony/symfony#58109 [Lock] Add NullStore (@xabbuh)
Changelog (https://github.com/symfony/lock/compare/v7.1.6...v7.2.0-BETA1)
NullStore (@xabbuh)bug symfony/symfony#58619 [HttpFoundation][Lock] Ensure compatibility with ext-mongodb v2 (@GromNaN)
Changelog (https://github.com/symfony/lock/compare/v7.1.5...v7.1.6)
Changelog (https://github.com/symfony/lock/compare/v7.1.0...v7.1.1) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v7.1.0...v7.1.1)
One column per quarter.