Upgrading synchronized 0.1 to 1
Unknown0.1.0 → 1.5.3+2Deprecated1New1Changed2Fixed2Other3
UnknownUpgrade verdict
DepDelta hasn't looked for the notes of 8 of 17 releases yet, so breaking changes can't be ruled out.
In plain terms
- DepDelta hasn't finished looking for the notes in this range, so it can't rule out breaking changes yet.
Must act 1 item needs code or config changes
Dart SDK requirement changed in 1.5.3: >=1.9.1 <2.0.0 → >=2.0.0 <3.0.0.
Deprecations to plan for
Deprecated1
Deprecates SynchronizedLock and synchronized.
SynchronizedLocksynchronizedAPI changes
Generated by DepDelta from published Dart source. Not mixed with prose notes.
- added:
class SynchronizedLock: abstract extends Lock - added:
ctor SynchronizedLock() - added:
function synchronized<T>(dynamic lock, FutureOr<T> computation(), {Duration timeout, bool reentrant = …}): Future<T> - added:
get SynchronizedLock.inZone: bool
- removed:
get SynchronizedLock.locked: bool - removed:
method SynchronizedLock.synchronized(computation(), {timeout = …}): Future - changed:
class SynchronizedLock: abstract → class SynchronizedLock: abstract extends Lock - changed:
function synchronized(dynamic lock, computation(), {timeout = …}): Future → function synchronized<T>(dynamic lock, FutureOr<T> computation(), {Duration timeout, bool reentrant = …}): Future<T> - added:
class Lock: abstract - added:
ctor Lock({bool reentrant = …}) - added:
get Lock.inLock: bool - added:
get Lock.locked: bool - added:
method Lock.synchronized<T>(FutureOr<T> computation(), {Duration timeout}): Future<T>