NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev, #175 most downloaded on pub.dev
Lock mechanism to prevent concurrent access to asynchronous code.
Latest stable
3.6.1
Last release 14 days ago
09 Nov 2026
Release timing varies
gaps range from 2 weeks to 10 months
Most releases are documented
notes for 31 of 51 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
54 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
The io heartbeat runs in a separate isolate: the lock stays held while the event loop of the holder is blocked (synchronous work, Process.runSync), is
The io heartbeat runs in a separate isolate: the lock stays held while
the event loop of the holder is blocked (synchronous work,
Process.runSync), is released at once when the holder isolate exits or
is killed without releasing it (exit listener, plus a ping in case it
died before the listener was added), and no longer keeps the holder
isolate alive.
Document that on node the lock only covers the current process (its Web
Locks API).
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_011Mtk7qC2naTV1hPQVWHRFH
GlobalLock (io): the heartbeat runs in its own isolate, so the lock stays held while the event loop of the holder is
blocked (synchronous work, Process.runSync), is released at once when the holder isolate exits or is killed without
releasing it (instead of 10 seconds later), and no longer keeps the holder isolate aliveYour coding agent can read these notes before it upgrades. Set up the MCP server →
synchronized: documentation, getting started, which lock to use, Glob…
synchronized: documentation, getting started, which lock to use, Glob…
GlobalLock platforms), common mistakes,
example/main.dart, GlobalLock dartdoc, synchronized-lock skill updatesynchronized with a timeout that had to wait now releases the lock as soon as it completes; the
Object.synchronized extension no longer keeps the monitor in its global lock cache after such a callGlobalLock (io): a waiter takes a lock file over once it has itself seen the file untouched for 10 seconds
(timed on its own monotonic stopwatch): a wall clock jump or a resumed machine no longer breaks a live lock, and a
file time in the future no longer delays the takeover of a dead one. A lock left by a dead process is now taken
over 10 seconds after a waiter first sees it, not at onceGlobalLock (web): names starting with - (reserved by the Web Locks API) now work, requested as
synchronized_global_lock:<name> (every other name keeps its lock name), and a rejected request throws its own
error instead of a TimeoutExceptionfeat(synchronized): GlobalLock across isolates, processes and tabs (3…
feat(synchronized): GlobalLock across isolates, processes and tabs (3…
GlobalLock (package:synchronized/global_lock.dart), a named lock shared by the isolates and
processes of the machine (a lock file with a heartbeat, taken over 10 seconds after its holder died) or by
the tabs and workers of the origin on the web (Web Locks API), with synchronized and acquire/releaseReentrantLock.canLock no longer reports the lock free right after a synchronous block while calls are queued (synchronizedSync could run before earlie
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
ReentrantLock.canLock reporting the lock free right after a synchronous block while other calls
were still queued, which let synchronizedSync run before earlier synchronized calls. In that case
canLock is now false and synchronizedSync returns a Future that completes in order.readme2 was never called and now uses canLockchore: update changelog for version 3.4.2 and 3.4.1+2
chore: update changelog for version 3.4.2 and 3.4.1+2
synchronized-lock agent skill (skills/), installable with dart run skills@ getNothing published for this version
chore: bump version to 3.4.1+2 and update changelog
chore: bump version to 3.4.1+2 and update changelog
MultiLock timeout now bounds the whole acquisition (one shared budget) instead of each underlying lockMultiLock copies its locks at constructionsynchronizedSync asserts (in debug mode) when the computation returns a FutureReentrantLock.canLock throws a StateError (instead of a RangeError, or true) when called from a
zone that outlived its synchronized blockMultiLock.toStringchore: update version to 3.4.1 and require Dart 3.12 in changelog and…
chore: update version to 3.4.1 and require Dart 3.12 in changelog and…
feat: add synchronizedSync (See #34 issue) helper. Fix reentrant lock…
feat: add synchronizedSync (See #34 issue) helper. Fix reentrant lock…
synchronizedSync for synchronous computation that returns a FutureOrchore: update version to 3.4.0+1 and require Dart 3.11
chore: update version to 3.4.0+1 and require Dart 3.11
* Required dart 3.7
Nothing published for this version
[synchronized] v3.3.0+1
[synchronized] v3.3.0+1
[synchronized] v3.3.0+2
[synchronized] v3.3.0+2
[synchronized] v3.3.0+3
[synchronized] v3.3.0+3
* Required dart 3.5
Nothing published for this version
* Dart 3 support
strict-casts and sdk 2.18 support
Nothing published for this version
Nothing published for this version
null safety support, breaking change
null safety support, breaking change- Add MIT licence
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Add SynchronizedLock extension to turn any object into a lock.
SynchronizedLock extension to turn any object into a lock.- pedantic 1.9 support
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Remove previously deprecated SynchronizedLock and synchronized function
SynchronizedLock and synchronized functionNothing published for this version
Nothing published for this version
Nothing published for this version
- Remove dev_test dependency
- Dart2 stable support
Nothing published for this version
Deprecate SynchronizedLock and synchronized
Nothing published for this version
Nothing published for this version
Re-use non-reentrant lock in synchronized method
Add non-reentrant lock that do not use Zone
implicit-casts: false (testing dart2 support)
Use generic instead of 2.0 deprecated comments
Fix inner task issue, next outer task will wait for all inner tasks to terminate
Nothing published for this version
Nothing published for this version
- Bump to version 1.0.0
- Initial version
One column per quarter.