Skip to content

Upgrading hive_flutter 0.2 to 0.3

Breaking0.2.1 → 0.3.1Breaking2New2Changed2Fixed2Other1

BreakingUpgrade verdict

2 breaking changes.

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

Breaking2
Renames the inMemory option to lazy.
inMemorylazy
Changes the binary format, so existing stored data is incompatible.