Skip to content

Upgrading source_gen 0.2 to 0.3

Breaking0.2.4 → 0.3.0+2Breaking2Fixed1Other2

BreakingUpgrade verdict

2 breaking changes.

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

Breaking2
Returning a descriptive value from generate is now a breaking change.
generate
Fixes the incorrectly named argument omitGenerateTimestamp.
omitGenerateTimestamp