Upgrading hop 0.29 to 0.30
Breaking0.29.1+1 → 0.30.5Breaking3Platform1Deprecated2New1Changed4Fixed1Other2
BreakingUpgrade verdict
3 breaking changes and a platform requirement change.
In plain terms
- The built-in documentation task is gone; a separate package now provides the same features.
- The helper that copied JavaScript files is gone because `pub build` should make it unnecessary.
- Some experimental internal code has been deleted, which may break code that relied on it.
- The package now requires a newer Dart SDK version to run.
Must act Top 5 of 6 that need code or config changes
Dart SDK requirement changed in 0.30.5: >=1.0.0 <2.0.0 → >=1.4.0 <2.0.0.
What you must change
Breaking3
Removes the
dartdoc task.dartdocRemoves
createCopyJSTask.createCopyJSTaskRemoves experimental code from
lib/src.lib/srcPlatform1
Updates the minimum SDK version to 1.2.
Deprecations to plan for
Deprecated2
Deprecates
createUnitTestTask in hop_tasks in favor of the hop_unittest package.createUnitTestTaskhop_unittestDeprecates
getBranchForDirTask and branchForDir in hop_tasks in favor of the hop_git package.getBranchForDirTaskbranchForDirhop_git