NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #295 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 3 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 (https://github.com/symfony/lock/compare/v5.2.0-RC2...v5.2.0) * no changes
Changelog (https://github.com/symfony/lock/compare/v5.2.0-RC2...v5.2.0)
MongoDbStore does not implement BlockingStoreInterface anymore, typehint against PersistingStoreInterface instead.NoLockNotSupportedException, it shouldn't be thrown anymore.RetryTillSaveStore, logic has been moved in Lock and is not needed anymore.InMemoryStorePostgreSqlStoreLockFactory::CreateLockFromKey() method.Changelog (https://github.com/symfony/lock/compare/v5.2.0-RC1...v5.2.0-RC2) * no changes
Changelog (https://github.com/symfony/lock/compare/v5.2.0-RC1...v5.2.0-RC2)
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Changelog (https://github.com/symfony/lock/compare/v5.2.0-BETA3...v5.2.0-RC1) * no changes
Changelog (https://github.com/symfony/lock/compare/v5.2.0-BETA3...v5.2.0-RC1)
Nothing published for this version
Nothing published for this version
Nothing published for this version
bug #39797 Dont allow unserializing classes with a destructor (jderusse)
Changelog (https://github.com/symfony/lock/compare/v5.1.10...v5.1.11)
bug #39476 Prevent store exception break combined store (dzubchik)
Changelog (https://github.com/symfony/lock/compare/v5.1.9...v5.1.10)
Changelog (https://github.com/symfony/lock/compare/v5.1.8...v5.1.9) * no changes
Changelog (https://github.com/symfony/lock/compare/v5.1.8...v5.1.9)
bug #38553 Reset Key lifetime time before we acquire it (Nyholm)
Changelog (https://github.com/symfony/lock/compare/v5.1.7...v5.1.8)
bug #36291 Fix StoreFactory to accept same DSN syntax as AbstractAdapter (Jontsa)
Changelog (https://github.com/symfony/lock/compare/v5.1.6...v5.1.7)
bug #38284 fix compatibility with Doctrine DBAL 3 (xabbuh)
Changelog (https://github.com/symfony/lock/compare/v5.1.5...v5.1.6)
Changelog (https://github.com/symfony/lock/compare/v5.1.4...v5.1.5) * no changes
Changelog (https://github.com/symfony/lock/compare/v5.1.4...v5.1.5)
bug #37868 MongoDbStore handle duplicate querystring keys in mongodb uri when stripping (kralos)
Changelog (https://github.com/symfony/lock/compare/v5.1.3...v5.1.4)
bug #37590 Allows RedisClusterProxy instance in Lock RedisStore (jderusse)
Changelog (https://github.com/symfony/lock/compare/v5.1.2...v5.1.3)
Changelog (https://github.com/symfony/lock/compare/v5.1.1...v5.1.2) * no changes
Changelog (https://github.com/symfony/lock/compare/v5.1.1...v5.1.2)
bug #37140 Fixed reading locks from replica set secondary nodes (kralos)
Changelog (https://github.com/symfony/lock/compare/v5.1.0...v5.1.1)
Changelog (https://github.com/symfony/lock/compare/v5.1.0-RC2...v5.1.0) * no changes
Changelog (https://github.com/symfony/lock/compare/v5.1.0-RC2...v5.1.0)
Changelog (https://github.com/symfony/lock/compare/v5.1.0-RC1...v5.1.0-RC2) * no changes
Changelog (https://github.com/symfony/lock/compare/v5.1.0-RC1...v5.1.0-RC2)
Changelog (https://github.com/symfony/lock/compare/v5.1.0-BETA1...v5.1.0-RC1) * no changes
Changelog (https://github.com/symfony/lock/compare/v5.1.0-BETA1...v5.1.0-RC1)
Nothing published for this version
bug #37590 Allows RedisClusterProxy instance in Lock RedisStore (jderusse)
Changelog (https://github.com/symfony/lock/compare/v5.0.10...v5.0.11)
Changelog (https://github.com/symfony/lock/compare/v5.0.9...v5.0.10) * no changes
Changelog (https://github.com/symfony/lock/compare/v5.0.9...v5.0.10)
Changelog (https://github.com/symfony/lock/compare/v5.0.8...v5.0.9) * no changes
Changelog (https://github.com/symfony/lock/compare/v5.0.8...v5.0.9)
Changelog (https://github.com/symfony/lock/compare/v5.0.7...v5.0.8) * no changes
Changelog (https://github.com/symfony/lock/compare/v5.0.7...v5.0.8)
Changelog (https://github.com/symfony/lock/compare/v5.0.6...v5.0.7) * no changes
Changelog (https://github.com/symfony/lock/compare/v5.0.6...v5.0.7)
Changelog (https://github.com/symfony/lock/compare/v5.0.5...v5.0.6) * no changes
Changelog (https://github.com/symfony/lock/compare/v5.0.5...v5.0.6)
Changelog (https://github.com/symfony/lock/compare/v5.0.4...v5.0.5) * no changes
Changelog (https://github.com/symfony/lock/compare/v5.0.4...v5.0.5)
Changelog (https://github.com/symfony/lock/compare/v5.0.3...v5.0.4) * no changes
Changelog (https://github.com/symfony/lock/compare/v5.0.3...v5.0.4)
Changelog (https://github.com/symfony/lock/compare/v5.0.2...v5.0.3) * no changes
Changelog (https://github.com/symfony/lock/compare/v5.0.2...v5.0.3)
Nothing published for this version
Nothing published for this version
Factory has been removed, use LockFactory instead.
Factory has been removed, use LockFactory instead.StoreInterface has been removed, use BlockingStoreInterface and PersistingStoreInterface instead.waitAndSave() method from CombinedStore, MemcachedStore, RedisStore, and ZookeeperStoreNothing published for this version
Nothing published for this version
Nothing published for this version
Changelog (https://github.com/symfony/lock/compare/v4.4.45...v4.4.46) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v4.4.45...v4.4.46)
bug #45737 SemaphoreStore catching exception from sem_get (Triplkrypl)
Changelog (https://github.com/symfony/lock/compare/v4.4.39...v4.4.40)
bug #45281 Fix connecting to Redis via a socket file (alebedev80)
Changelog (https://github.com/symfony/lock/compare/v4.4.37...v4.4.38)
Changelog (https://github.com/symfony/lock/compare/v4.4.36...v4.4.37) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v4.4.36...v4.4.37)
Changelog (https://github.com/symfony/lock/compare/v4.4.35...v4.4.36) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v4.4.35...v4.4.36)
bug #43330 fix SQLSRV throws for method_exists() (GDmac)
Changelog (https://github.com/symfony/lock/compare/v4.4.32...v4.4.33)
bug #42212 Handle lock with long key (jderusse)
Changelog (https://github.com/symfony/lock/compare/v4.4.26...v4.4.27)
Changelog (https://github.com/symfony/lock/compare/v4.4.25...v4.4.26) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v4.4.25...v4.4.26)
Changelog (https://github.com/symfony/lock/compare/v4.4.24...v4.4.25) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v4.4.24...v4.4.25)
Changelog (https://github.com/symfony/lock/compare/v4.4.22...v4.4.23) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v4.4.22...v4.4.23)
Changelog (https://github.com/symfony/lock/compare/v4.4.20...v4.4.21) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v4.4.20...v4.4.21)
Changelog (https://github.com/symfony/lock/compare/v4.4.19...v4.4.20) * no changes
Changelog (https://github.com/symfony/lock/compare/v4.4.19...v4.4.20)
bug #39797 Dont allow unserializing classes with a destructor (jderusse)
Changelog (https://github.com/symfony/lock/compare/v4.4.18...v4.4.19)
bug #39476 Prevent store exception break combined store (dzubchik)
Changelog (https://github.com/symfony/lock/compare/v4.4.17...v4.4.18)
Changelog (https://github.com/symfony/lock/compare/v4.4.16...v4.4.17) * no changes
Changelog (https://github.com/symfony/lock/compare/v4.4.16...v4.4.17)
bug #38553 Reset Key lifetime time before we acquire it (Nyholm)
Changelog (https://github.com/symfony/lock/compare/v4.4.15...v4.4.16)
bug #36291 Fix StoreFactory to accept same DSN syntax as AbstractAdapter (Jontsa)
Changelog (https://github.com/symfony/lock/compare/v4.4.14...v4.4.15)
bug #38284 fix compatibility with Doctrine DBAL 3 (xabbuh)
Changelog (https://github.com/symfony/lock/compare/v4.4.13...v4.4.14)
Changelog (https://github.com/symfony/lock/compare/v4.4.12...v4.4.13) * no changes
Changelog (https://github.com/symfony/lock/compare/v4.4.12...v4.4.13)
Changelog (https://github.com/symfony/lock/compare/v4.4.11...v4.4.12) * no changes
Changelog (https://github.com/symfony/lock/compare/v4.4.11...v4.4.12)
bug #37590 Allows RedisClusterProxy instance in Lock RedisStore (jderusse)
Changelog (https://github.com/symfony/lock/compare/v4.4.10...v4.4.11)
Changelog (https://github.com/symfony/lock/compare/v4.4.9...v4.4.10) * no changes
Changelog (https://github.com/symfony/lock/compare/v4.4.9...v4.4.10)
Changelog (https://github.com/symfony/lock/compare/v4.4.8...v4.4.9) * no changes
Changelog (https://github.com/symfony/lock/compare/v4.4.8...v4.4.9)
Changelog (https://github.com/symfony/lock/compare/v4.4.7...v4.4.8) * no changes
Changelog (https://github.com/symfony/lock/compare/v4.4.7...v4.4.8)
One column per quarter.