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 8 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/v7.1.0-RC1...v7.1.0) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v7.1.0-RC1...v7.1.0)
Changelog (https://github.com/symfony/lock/compare/v7.1.0-BETA1...v7.1.0-RC1) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v7.1.0-BETA1...v7.1.0-RC1)
feature symfony/symfony#54084 [Lock] Make NoLock implement the SharedLockInterface (@mbabker)
Changelog (https://github.com/symfony/lock/compare/v7.0.7...v7.1.0-BETA1)
Your coding agent can read these notes before it upgrades. Set up the MCP server →
bug symfony/symfony#54816 [Cache] Fix support for predis/predis:^2.0 (@mfettig)
Changelog (https://github.com/symfony/lock/compare/v7.0.7...v7.0.8)
Changelog (https://github.com/symfony/lock/compare/v7.0.6...v7.0.7) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v7.0.6...v7.0.7)
bug symfony/symfony#54305 [Cache][Lock] Identify missing table in pgsql correctly and address failing integration tests (@arifszn)
Changelog (https://github.com/symfony/lock/compare/v7.0.5...v7.0.6)
bug symfony/symfony#53320 [Cache][DependencyInjection][Lock][Mailer][Messenger][Notifier][Translation] Url decode username and passwords from parse_ur
Changelog (https://github.com/symfony/lock/compare/v7.0.2...v7.0.3)
parse_url() results (@alexandre-daubois)Changelog (https://github.com/symfony/lock/compare/v7.0.1...v7.0.2) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v7.0.1...v7.0.2)
Changelog (https://github.com/symfony/lock/compare/v7.0.0-RC2...v7.0.0) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v7.0.0-RC2...v7.0.0)
$isSameDatabase to DoctrineDbalStore::configureSchema()gcProbablity (notice the typo) option, use gcProbability insteadbug symfony/symfony#52459 [Cache][HttpFoundation][Lock] Fix PDO store not creating table + add tests (@HypeMC)
Changelog (https://github.com/symfony/lock/compare/v7.0.0-RC1...v7.0.0-RC2)
Changelog (https://github.com/symfony/lock/compare/v7.0.0-BETA3...v7.0.0-RC1) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v7.0.0-BETA3...v7.0.0-RC1)
bug symfony/symfony#52457 [Cache][HttpFoundation][Lock] Fix empty username/password for PDO PostgreSQL (@HypeMC)
Changelog (https://github.com/symfony/lock/compare/v7.0.0-BETA2...v7.0.0-BETA3)
ext-mongodb only (@GromNaN)Changelog (https://github.com/symfony/lock/compare/v7.0.0-BETA1...v7.0.0-BETA2) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v7.0.0-BETA1...v7.0.0-BETA2)
feature symfony/symfony#50873 Remove remaining deprecated code paths (@nicolas-grekas)
Changelog (https://github.com/symfony/lock/compare/v6.3.6...v7.0.0-BETA1)
[EOM] End of maintenance release for branch 6.4 [SECURITY] Security release
Changelog (v6.4.49...v6.4.50)
[EOM] End of maintenance release for branch 6.4
[SECURITY] Security release
Changelog ( v6.4.48...v6.4.49 )
Changelog (v6.4.48...v6.4.49)
[SECURITY] Security release
bug #66604 Fix auto-release after a failed promotion or demotion (@nicolas-grekas)
Changelog (https://github.com/symfony/lock/compare/v6.4.47...v6.4.48)
minor #66150 Document that only the owning key can release a lock (@nicolas-grekas)
Changelog (https://github.com/symfony/lock/compare/v6.4.45...v6.4.47)
bug #65721 Never take the reserved "__write__" member as a Redis lock token (@nicolas-grekas)
Changelog (https://github.com/symfony/lock/compare/v6.4.44...v6.4.45)
bug #65367 Fix PHP 8.6 deprecations (@nicolas-grekas)
Changelog (https://github.com/symfony/lock/compare/v6.4.42...v6.4.44)
bug #64617 Restore compat with DBAL 4.5 (@nicolas-grekas)
Changelog (https://github.com/symfony/lock/compare/v6.4.37...v6.4.42)
bug #63975 Avoid aborting outer PostgreSQL transaction on lock contention (@lacatoire)
Changelog (https://github.com/symfony/lock/compare/v6.4.34...v6.4.37)
bug #63230 fix engine declaration on mysql pdo table creations (@tandev)
Changelog (https://github.com/symfony/lock/compare/v6.4.33...v6.4.34)
bug #63137 Fix PdoSessionHandler charset-collation mismatch with the Doctrine DBAL (@samy-mahmoudi)
Changelog (https://github.com/symfony/lock/compare/v6.4.32...v6.4.33)
Changelog (https://github.com/symfony/lock/compare/v6.4.31...v6.4.32) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v6.4.31...v6.4.32)
bug symfony/symfony#61727 Replace __sleep/wakeup() by __(un)serialize() for throwing and internal usages (@nicolas-grekas)
Changelog (https://github.com/symfony/lock/compare/v6.4.25...v6.4.26)
bug symfony/symfony#61085 [Lock] Fix using fractional TTLs (@manuelderuiter)
Changelog (https://github.com/symfony/lock/compare/v6.4.23...v6.4.24)
bug symfony/symfony#58619 [HttpFoundation][Lock] Ensure compatibility with ext-mongodb v2 (@GromNaN)
Changelog (https://github.com/symfony/lock/compare/v6.4.12...v6.4.13)
bug symfony/symfony#54816 [Cache] Fix support for predis/predis:^2.0 (@mfettig)
Changelog (https://github.com/symfony/lock/compare/v6.4.7...v6.4.8)
Changelog (https://github.com/symfony/lock/compare/v6.4.6...v6.4.7) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v6.4.6...v6.4.7)
bug symfony/symfony#54305 [Cache][Lock] Identify missing table in pgsql correctly and address failing integration tests (@arifszn)
Changelog (https://github.com/symfony/lock/compare/v6.4.5...v6.4.6)
bug symfony/symfony#53320 [Cache][DependencyInjection][Lock][Mailer][Messenger][Notifier][Translation] Url decode username and passwords from parse_ur
Changelog (https://github.com/symfony/lock/compare/v6.4.2...v6.4.3)
parse_url() results (@alexandre-daubois)Changelog (https://github.com/symfony/lock/compare/v6.4.1...v6.4.2) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v6.4.1...v6.4.2)
Changelog (https://github.com/symfony/lock/compare/v6.4.0-RC2...v6.4.0) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v6.4.0-RC2...v6.4.0)
MongoDbStore instantiable with the mongodb extension directlyChangelog (https://github.com/symfony/lock/compare/v6.4.0-RC1...v6.4.0-RC2) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v6.4.0-RC1...v6.4.0-RC2)
Changelog (https://github.com/symfony/lock/compare/v6.4.0-BETA3...v6.4.0-RC1) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v6.4.0-BETA3...v6.4.0-RC1)
bug symfony/symfony#52457 [Cache][HttpFoundation][Lock] Fix empty username/password for PDO PostgreSQL (@HypeMC)
Changelog (https://github.com/symfony/lock/compare/v6.4.0-BETA2...v6.4.0-BETA3)
ext-mongodb only (@GromNaN)Changelog (https://github.com/symfony/lock/compare/v6.4.0-BETA1...v6.4.0-BETA2) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v6.4.0-BETA1...v6.4.0-BETA2)
feature symfony/symfony#50842 Add missing return types to magic methods (@wouterj)
Changelog (https://github.com/symfony/lock/compare/v6.3.6...v6.4.0-BETA1)
bug symfony/symfony#53320 [Cache][DependencyInjection][Lock][Mailer][Messenger][Notifier][Translation] Url decode username and passwords from parse_ur
Changelog (https://github.com/symfony/lock/compare/v6.3.11...v6.3.12)
parse_url() results (@alexandre-daubois)Changelog (https://github.com/symfony/lock/compare/v6.3.10...v6.3.11) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v6.3.10...v6.3.11)
bug symfony/symfony#52459 [Cache][HttpFoundation][Lock] Fix PDO store not creating table + add tests (@HypeMC)
Changelog (https://github.com/symfony/lock/compare/v6.3.8...v6.3.9)
bug symfony/symfony#52457 [Cache][HttpFoundation][Lock] Fix empty username/password for PDO PostgreSQL (@HypeMC)
Changelog (https://github.com/symfony/lock/compare/v6.3.7...v6.3.8)
Changelog (https://github.com/symfony/lock/compare/v6.3.6...v6.3.7) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v6.3.6...v6.3.7)
bug symfony/symfony#51947 [Cache][Doctrine][DoctrineBridge][Lock][Messenger] Compatibility with ORM 3 and DBAL 4 (@derrabus)
Changelog (https://github.com/symfony/lock/compare/v6.3.5...v6.3.6)
Changelog (https://github.com/symfony/lock/compare/v6.3.1...v6.3.2) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v6.3.1...v6.3.2)
bug symfony/symfony#50524 Fix Doctrine deprecations (@nicolas-grekas)
Changelog (https://github.com/symfony/lock/compare/v6.3.0...v6.3.1)
Changelog (https://github.com/symfony/lock/compare/v6.3.0-RC2...v6.3.0) *
Changelog (https://github.com/symfony/lock/compare/v6.3.0-RC2...v6.3.0)
$isSameDatabase to DoctrineDbalStore::configureSchema()gcProbablity option to gcProbability to fix a typo in its namefeature symfony/symfony#49293 [DoctrineBridge] Allow to ignore specific nullable fields in UniqueEntity (@VincentLanglet)
Changelog (https://github.com/symfony/lock/compare/v6.3.0-BETA3...v6.3.0-RC1)
isRetryable decision of the retry strategy for re-delivery (@FlyingDR)feature symfony/symfony#49642 [DependencyInjection] Deprecate #[MapDecorated] in favor of #[AutowireDecorated] (@nicolas-grekas)
Changelog (https://github.com/symfony/lock/compare/v6.2.10...v6.3.0-BETA1)
TriggerInterface extend \Stringable (@kbond)AppVariable (@SVillette)placeholder_attr option (@elementaire)exclude option to the Cascade constraint (@alexandre-daubois)#[MapDecorated] in favor of #[AutowireDecorated] (@nicolas-grekas)ErrorHandler on boot (@HypeMC)NoSuspiciousCharacters constraint to validate a string is not suspicious (@MatTheCat)TransportNamesStamp (@alexandre-daubois)enum expression function (@alexandre-daubois)notifier.logger_notification_listener to notifier.notification_logger_listener (@ker0x)extra attribute for HttpClient Configuration (@voodooism)#[WithLogLevel] for setting custom log level for exceptions (@angelov)TaggedIteratorArgument (@chalasr)EmojiTransliterator (@fancyweb)Uuid::TIME_BASED_VERSIONS to match that a UUID being validated embeds a timestamp (@alexandre-daubois)bug symfony/symfony#50524 Fix Doctrine deprecations (@nicolas-grekas)
Changelog (https://github.com/symfony/lock/compare/v6.2.11...v6.2.12)
Changelog (https://github.com/symfony/lock/compare/v6.2.7...v6.2.8) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v6.2.7...v6.2.8)
Changelog (https://github.com/symfony/lock/compare/v6.2.6...v6.2.7) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v6.2.6...v6.2.7)
Changelog (https://github.com/symfony/lock/compare/v6.2.4...v6.2.5) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v6.2.4...v6.2.5)
Changelog (https://github.com/symfony/lock/compare/v6.2.0-RC2...v6.2.0) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v6.2.0-RC2...v6.2.0)
Changelog (https://github.com/symfony/lock/compare/v6.2.0-BETA3...v6.2.0-RC1) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v6.2.0-BETA3...v6.2.0-RC1)
Changelog (https://github.com/symfony/lock/compare/v6.2.0-BETA2...v6.2.0-BETA3) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v6.2.0-BETA2...v6.2.0-BETA3)
Changelog (https://github.com/symfony/lock/compare/v6.2.0-BETA1...v6.2.0-BETA2) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v6.2.0-BETA1...v6.2.0-BETA2)
Changelog (https://github.com/symfony/lock/compare/v6.1.6...v6.2.0-BETA1) * no significant changes
Changelog (https://github.com/symfony/lock/compare/v6.1.6...v6.2.0-BETA1)
Nothing published for this version
One column per quarter.