Upgrading source_gen 0.2 to 0.3
Breaking0.2.4 → 0.3.0+2Breaking2Fixed1Other2
BreakingUpgrade verdict
2 breaking changes.
In plain terms
- Code generators that return a description from their generate method must be updated.
- The misspelled option name is corrected, so code using the old name must be updated.
Must act 2 items need code or config changes
Dart SDK requirement changed in 0.3.0: >=1.9.0-dev.10 <2.0.0 → >=1.9.0 <2.0.0.
What you must change
Breaking2
Returning a descriptive value from
generate is now a breaking change.generateFixes the incorrectly named argument
omitGenerateTimestamp.omitGenerateTimestamp