|
1 | | -## 3.0.0-wip |
| 1 | +## 3.0.0 |
| 2 | + |
| 3 | +Breaking changes: |
2 | 4 |
|
3 | | -- Bump the min SDK to 3.7.0. |
4 | | -- Use `build_runner_core` 9.0.0. |
5 | | -- `resolveSources` and `testBuilder` now do a full `build_runner` build, with |
6 | | - configuration as much as possible based on the some parameters. |
7 | | -- Add `testBuilders` to run a test build with multiple builders. |
8 | | -- Add `optionalBuilders` to `testBuilders` to have some builders be optional. |
9 | | -- Add `visibleOutputBuilders` to `testBuilders` to have some builders write |
10 | | - their output next to their inputs. |
11 | | -- Add `testingBuilderConfig` to `testBuilders` to control builder config |
12 | | - override. |
13 | | -- Add `resolvers` parameter to `testBuild` and `testBuilders`. |
14 | | -- Add `readerWriter` and `enableLowResourceMode` parameters to `testBuild` |
15 | | - and `testBuilders`. |
16 | 5 | - Breaking change: removed `tearDown` parameter to `resolveSources` for |
17 | 6 | keeping resolvers across multiple tests. |
18 | 7 | - Breaking change: tests must use new `TestReaderWriter` instead of |
|
31 | 20 | resolver entrypoints are now tracked separately from inputs, see |
32 | 21 | `TestReaderWriter.resolverEntrypointsTracked`. |
33 | 22 | - Breaking change: Remove `StubAssetReader`. Use `TestReaderWriter` instead. |
| 23 | + |
| 24 | +Other user-visible changes: |
| 25 | + |
| 26 | +- `resolveSources` and `testBuilder` now do a full `build_runner` build, with |
| 27 | + configuration as much as possible based on the some parameters. |
| 28 | +- Add `testBuilders` to run a test build with multiple builders. |
| 29 | +- Add `optionalBuilders` to `testBuilders` to have some builders be optional. |
| 30 | +- Add `visibleOutputBuilders` to `testBuilders` to have some builders write |
| 31 | + their output next to their inputs. |
| 32 | +- Add `testingBuilderConfig` to `testBuilders` to control builder config |
| 33 | + override. |
| 34 | +- Add `resolvers` parameter to `testBuild` and `testBuilders`. |
| 35 | +- Add `readerWriter` and `enableLowResourceMode` parameters to `testBuild` |
| 36 | + and `testBuilders`. |
34 | 37 | - `TestReaderWriter` writes and deletes are notified to `FakeWatcher`. |
35 | 38 | - `TestReaderWriter` tracks `assetsWritten`. |
36 | 39 | - Support checks on reader state after a build action in `resolveSources`. |
| 40 | + |
| 41 | +Versions: |
| 42 | + |
| 43 | +- Bump the min SDK to 3.7.0. |
| 44 | +- Use `build_runner_core` 9.0.0. |
| 45 | + |
| 46 | +Internal changes: |
| 47 | + |
37 | 48 | - Start using `package:build/src/internal.dart`. |
38 | 49 | - Refactor `BuildCacheReader` to `BuildCacheAssetPathProvider`. |
39 | 50 | - Refactor `FileBasedAssetReader` and `FileBasedAssetWriter` to `ReaderWriter`. |
|
0 commit comments