|
| 1 | +## 1.3.2-wip |
| 2 | + |
| 3 | +* Require Dart 3.3 |
| 4 | +* Fix bug where a `flushTimers` or `elapse` call from within |
| 5 | + the callback of a periodic timer would immediately invoke |
| 6 | + the same timer. |
| 7 | + |
| 8 | +## 1.3.1 |
| 9 | + |
| 10 | +* Populate the pubspec `repository` field. |
| 11 | + |
| 12 | +## 1.3.0 |
| 13 | + |
| 14 | +* `FakeTimer.tick` will return a value instead of throwing. |
| 15 | +* `FakeAsync.includeTimerStackTrace` allows controlling whether timers created |
| 16 | + with a FakeAsync will include a creation Stack Trace. |
| 17 | + |
| 18 | +## 1.2.0 |
| 19 | + |
| 20 | +* Stable release for null safety. |
| 21 | + |
| 22 | +## 1.2.0-nullsafety.3 |
| 23 | + |
| 24 | +* Update SDK constraints to `>=2.12.0-0 <3.0.0` based on beta release |
| 25 | + guidelines. |
| 26 | + |
| 27 | +## 1.2.0-nullsafety.2 |
| 28 | + |
| 29 | +* Allow prerelease versions of the 2.12 sdk. |
| 30 | + |
| 31 | +## 1.2.0-nullsafety.1 |
| 32 | + |
| 33 | +* Allow 2.10 stable and 2.11.0 dev SDK versions. |
| 34 | + |
| 35 | +## 1.2.0-nullsafety |
| 36 | + |
| 37 | +Pre-release for the null safety migration of this package. |
| 38 | + |
| 39 | +Note that `1.2.0` may not be the final stable null safety release version, |
| 40 | +we reserve the right to release it as a `2.0.0` breaking change. |
| 41 | + |
| 42 | +This release will be pinned to only allow pre-release sdk versions starting |
| 43 | +from `2.10.0-0`. |
| 44 | + |
| 45 | +## 1.1.0 |
| 46 | + |
| 47 | +* Exposed the `FakeTimer` class as a public class. |
| 48 | +* Added `FakeAsync.pendingTimers` which gives access to all pending timers at |
| 49 | + the time of the call. |
| 50 | + |
| 51 | +## 1.0.2 |
| 52 | + |
| 53 | +* Update min SDK to 2.2.0 |
| 54 | + |
| 55 | +## 1.0.1 |
| 56 | + |
| 57 | +* Update to lowercase Dart core library constants. |
| 58 | +* Fix use of deprecated `isInstanceOf` matcher. |
| 59 | + |
| 60 | +## 1.0.0 |
| 61 | + |
| 62 | +This release contains the `FakeAsync` class that was defined in [`quiver`][]. |
| 63 | +It's backwards-compatible with both the `quiver` version *and* the old version |
| 64 | +of the `fake_async` package. |
| 65 | + |
| 66 | +[`quiver`]: https://pub.dev/packages/quiver |
| 67 | + |
| 68 | +### New Features |
| 69 | + |
| 70 | +* A top-level `fakeAsync()` function was added that encapsulates |
| 71 | + `new FakeAsync().run(...)`. |
| 72 | + |
| 73 | +### New Features Relative to `quiver` |
| 74 | + |
| 75 | +* `FakeAsync.elapsed` returns the total amount of fake time elapsed since the |
| 76 | + `FakeAsync` instance was created. |
| 77 | + |
| 78 | +* `new FakeAsync()` now takes an `initialTime` argument that sets the default |
| 79 | + time for clocks created with `FakeAsync.getClock()`, and for the `clock` |
| 80 | + package's top-level `clock` variable. |
| 81 | + |
| 82 | +### New Features Relative to `fake_async` 0.1 |
| 83 | + |
| 84 | +* `FakeAsync.periodicTimerCount`, `FakeAsync.nonPeriodicTimerCount`, and |
| 85 | + `FakeAsync.microtaskCount` provide visibility into the events scheduled within |
| 86 | + `FakeAsync.run()`. |
| 87 | + |
| 88 | +* `FakeAsync.getClock()` provides access to fully-featured `Clock` objects based |
| 89 | + on `FakeAsync`'s elapsed time. |
| 90 | + |
| 91 | +* `FakeAsync.flushMicrotasks()` empties the microtask queue without elapsing any |
| 92 | + time or running any timers. |
| 93 | + |
| 94 | +* `FakeAsync.flushTimers()` runs all microtasks and timers until there are no |
| 95 | + more scheduled. |
| 96 | + |
| 97 | +## 0.1.2 |
| 98 | + |
| 99 | +* Integrate with the clock package. |
| 100 | + |
0 commit comments