OLD | NEW |
| 1 ## 1.3.1 |
| 2 |
| 3 * Fix the type annotation of `Pool.withResource()` to indicate that it takes |
| 4 `() -> FutureOr<T>`. |
| 5 |
| 6 ## 1.3.0 |
| 7 |
| 8 * Add a `Pool.done` getter that returns the same future returned by |
| 9 `Pool.close()`. |
| 10 |
| 11 ## 1.2.4 |
| 12 |
| 13 * Fix a strong-mode error. |
| 14 |
| 15 ## 1.2.3 |
| 16 |
| 17 * Fix a bug in which `Pool.withResource()` could throw a `StateError` when |
| 18 called immediately before closing the pool. |
| 19 |
| 20 ## 1.2.2 |
| 21 |
| 22 * Fix strong mode warnings and add generic method annotations. |
| 23 |
1 ## 1.2.1 | 24 ## 1.2.1 |
2 | 25 |
3 * Internal changes only. | 26 * Internal changes only. |
4 | 27 |
5 ## 1.2.0 | 28 ## 1.2.0 |
6 | 29 |
7 * Add `Pool.close()`, which forbids new resource requests and releases all | 30 * Add `Pool.close()`, which forbids new resource requests and releases all |
8 releasable resources. | 31 releasable resources. |
9 | 32 |
10 ## 1.1.0 | 33 ## 1.1.0 |
11 | 34 |
12 * Add `PoolResource.allowRelease()`, which allows a resource to indicate that it | 35 * Add `PoolResource.allowRelease()`, which allows a resource to indicate that it |
13 can be released without forcing it to deallocate immediately. | 36 can be released without forcing it to deallocate immediately. |
14 | 37 |
15 ## 1.0.2 | 38 ## 1.0.2 |
16 | 39 |
17 * Fixed the homepage. | 40 * Fixed the homepage. |
18 | 41 |
19 ## 1.0.1 | 42 ## 1.0.1 |
20 | 43 |
21 * A `TimeoutException` is now correctly thrown if the pool detects a deadlock. | 44 * A `TimeoutException` is now correctly thrown if the pool detects a deadlock. |
OLD | NEW |