Upgrading timezone 0.6 to 0.7
Breaking0.6.1 → 0.7.0Breaking2Deprecated1Changed1Other1
BreakingUpgrade verdict
2 breaking changes.
In plain terms
- Code that used TimeZone.abbr must now use TimeZone.abbreviation instead.
- When creating a TimeZone, some arguments must now be passed by name rather than by position.
- LocationDatabase.isEmpty is deprecated; use LocationDatabase.isInitialized instead.
Must act 3 items need code or config changes
Dart SDK requirement changed in 0.7.0: >=2.1.0 <3.0.0 → >=2.12.0 <3.0.0.
What you must change
Breaking2
Renames TimeZone.abbr to TimeZone.abbreviation.
TimeZone.abbrTimeZone.abbreviationChanges some of TimeZone's constructor parameters to be named instead of positional.
TimeZoneDeprecations to plan for
Deprecated1
Deprecates LocationDatabase.isEmpty in favor of LocationDatabase.isInitialized.
LocationDatabase.isEmptyLocationDatabase.isInitialized