Skip to content

Upgrading hop 0.29 to 0.30

Breaking0.29.1+1 → 0.30.5Breaking3Platform1Deprecated2New1Changed4Fixed1Other2

BreakingUpgrade verdict

3 breaking changes and a platform requirement change.

  • 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.
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.

Breaking3
Removes the dartdoc task.
dartdoc
Removes createCopyJSTask.
createCopyJSTask
Removes experimental code from lib/src.
lib/src
Platform1
Updates the minimum SDK version to 1.2.
Deprecated2
Deprecates createUnitTestTask in hop_tasks in favor of the hop_unittest package.
createUnitTestTaskhop_unittest
Deprecates getBranchForDirTask and branchForDir in hop_tasks in favor of the hop_git package.
getBranchForDirTaskbranchForDirhop_git