Upgrading build 4 to 5
Breaking4.0.11 → 5.0.0Breaking1New1Fixed2
BreakingUpgrade verdict
1 breaking change.
In plain terms
- This release is the withdrawn 4.1.0 version reissued as a major version. It adds a new required member to BuildStep, so any package that implements BuildStep itself must be updated.
Must act 1 item needs code or config changes
What you must change
Breaking1
Republishes retracted 4.1.0 as a major version; the new BuildStep member librarySourceSink breaks packages that implement BuildStep.
BuildSteplibrarySourceSinkbuild_runnerAPI changes
Generated by DepDelta from published Dart source. Not mixed with prose notes.
- added:
class LibrarySourceSink: abstract - added:
get BuildStep.librarySourceSink: Future<LibrarySourceSink?> - added:
get LibrarySourceSink.importPrefix: String - added:
method LibrarySourceSink.add(String source): void - added:
method LibrarySourceSink.addImport( String uri, { required String as, Iterable<String>? show, Iterable<String>? hide, }): void