Upgrading build_verify 2 to 3
Breaking2.0.0 → 3.1.1Breaking1Platform4New2Changed4Fixed1
BreakingUpgrade verdict
1 breaking change and 4 platform requirement changes.
In plain terms
- Code that calls this helper must now wait for it to finish.
- You need Dart 3.4.0 or newer to use this version.
- You need Dart 2.18.0 or newer to use this version.
- You need Dart version 2.17.0 or newer to use this package.
Must act Top 4 of 5 that need code or config changes
Dart SDK requirement changed in 3.1.1: >=2.12.0 <3.0.0 → ^3.4.0.
What you must change
Breaking1
expectBuildClean is now async and returns Future<void> instead of void.expectBuildCleanPlatform4
Requires Dart >= 3.4.0.
Requires Dart >= 2.18.0.
Requires Dart >= 2.17.0.
Requires Dart 2.12.3.
API changes
Generated by DepDelta from published Dart source. Not mixed with prose notes.
- changed:
function expectBuildClean({ String? packageRelativeDirectory, List<String> customCommand = …, }): void → function expectBuildClean({ String? packageRelativeDirectory, List<String> customCommand = …, List<String>? gitDiffPathArguments, }): Future<void>