- Require Dart 3.4.
- Populate the pubspec
repository
field.
- Stable release for null safety.
- Update SDK constraints to
>=2.12.0-0 <3.0.0
based on beta release guidelines.
- Allow prerelease versions of the 2.12 sdk.
- Allow 2.10 stable and 2.11.0 dev SDK versions.
- Migrate to null safety.
forEach
: Avoidawait null
if theStream
is not paused. Improves trivial benchmark by 40%.
-
Add
forEach
toPool
to support efficient async processing of anIterable
. -
Throw ArgumentError if poolSize <= 0
- Set max SDK version to
<3.0.0
, and adjust other dependencies.
- Updated SDK version to 2.0.0-dev.17.0
- Modify code to eliminate Future flattening.
- Declare support for
async
2.0.0.
-
Update to make the code work with strong-mode clean Zone API.
-
Required minimum SDK of 1.23.0.
- Fix the type annotation of
Pool.withResource()
to indicate that it takes() -> FutureOr<T>
.
- Add a
Pool.done
getter that returns the same future returned byPool.close()
.
- Fix a strong-mode error.
- Fix a bug in which
Pool.withResource()
could throw aStateError
when called immediately before closing the pool.
- Fix strong mode warnings and add generic method annotations.
- Internal changes only.
- Add
Pool.close()
, which forbids new resource requests and releases all releasable resources.
- Add
PoolResource.allowRelease()
, which allows a resource to indicate that it can be released without forcing it to deallocate immediately.
- Fixed the homepage.
- A
TimeoutException
is now correctly thrown if the pool detects a deadlock.