Upgrading hive_flutter 0.2 to 0.3
Breaking0.2.1 → 0.3.1Breaking2New2Changed2Fixed2Other1
BreakingUpgrade verdict
2 breaking changes.
In plain terms
- The old `inMemory` setting is now called `lazy`, so existing code using it must be updated.
- Data saved by older versions uses a different binary format and will not load as before.
Must act 2 items need code or config changes
Dart SDK requirement changed in 0.3.0-dev: >=2.2.2 <3.0.0 → >=2.6.0 <3.0.0.
What you must change
Breaking2
Renames the
inMemory option to lazy.inMemorylazyChanges the binary format, so existing stored data is incompatible.