NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #378 most downloaded on pub.dev
Lightweight and blazing fast key-value database written in pure Dart. Strongly encrypted using AES-256.
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 10 months
Nearly every release is documented
notes for 37 of 38 stable releases
1 version withdrawn
withdrawn after publishing
7 years old
56 releases · first in 2019
⚠️ THIS VERSION OF HIVE IS UNSTABLE AND NOT READY FOR PRODUCTION USE ⚠️
⚠️ THIS VERSION OF HIVE IS UNSTABLE AND NOT READY FOR PRODUCTION USE ⚠️
This is a complete rewrite of Hive. It is not compatible with older versions of Hive yet.
Hive now uses Isar internally which brings all the benefits of a native database to Hive.
Added convenience method to start and initialize Isolates.
Added convenience method to start and initialize Isolates.
One column per quarter.
Nothing published for this version
added the notify parameter to the functions of the public API by @tomassasovsky in #1019
notify parameter to the functions of the public API by @tomassasovsky in #1019Full Changelog: v2.2.3...v3.0.0-dev
notify parameter to public APIsfix: Remove print from deleteBoxFromDisk by @krillefear in #1015
Full Changelog: v2.2.2...v2.2.3
Register DateTime adapter on web - #983
hive_generator: Update Analyzer version. by @ryojiro in #969
Full Changelog: v2.2.0...v2.2.1
Upstream FluffyBox patches by @TheOneWithTheBraid in #956
Full Changelog: v2.1.0...v2.2.0
Do not return uninitialized box by @maRci002 in #916
Updated hive_generator analyzer dependency by @NatsuOnFire in #858
Full Changelog: v2.0.5...v2.0.6
Get IndexedDB selectively based on window property - #802
Adds default value support to hive_generator generated class adapters
Fix regression where lists are no longer growable - #631
HiveObjectMixin not assigning box to object - #618
HiveObjectMixin not assigning box to object - #618BoxEvent value is null when watching a LazyBox - #592
BoxEvent value is null when watching a LazyBox - #592.init() multiple times, instead of throwing error Hive will print warning to consoledynamic type### Fixes - Stable null-safety version
Added defaultValue property to @HiveField() annotation - #557
defaultValue property to @HiveField() annotation - #557Changed meta dependency version to ^1.3.0-nullsafety to support null-safety
meta dependency version to ^1.3.0-nullsafety to support null-safetyUpdate minimum Dart sdk constraint to 2.12.0-0.
Timezone support for DateTime - #419
Browser support for BackendManager.boxExists(boxName, path) - #451
BackendManager.boxExists(boxName, path) - #451### Fixes - Edge browser support - #357
Added Hive.ignoreTypeId(typeId) - #397
Fixed dependency issues and minor improvements
When a database operation failed, subsequent operations would not be performed
Added docs to all public members
Deprecated encryptionKey parameter. Use Hive.openBox('name', encryptionCipher: HiveAesCipher(yourKey)).
box.valuesBetween(startKey, endKey)Hive.deleteBoxFromDisk() did not work for boxes with upper-case namesencryptionKey parameter. Use Hive.openBox('name', encryptionCipher: HiveAesCipher(yourKey)).pointycastle dependencypath dependency### Enhancements - Minor performance improvements ### Fixes - Allow more versions of crypto
cryptoNothing published for this version
Nothing published for this version
Nothing published for this version
_Use latest version of hive_generator_
Use latest version of hive_generator
TypeAdapters and @HiveType() now require a typeIdHive.registerAdapter() does not need a typeId anymore.BinaryReader.readAsciiString()BinaryWriter.writeAsciiString()box.clear() resets auto increment counterHive.init() results in better exceptionRemoved Hive.openBoxFromBytes() (use the bytes parameter of Hive.openBox() instead)
Hive.path getterHive.openBoxFromBytes() (use the bytes parameter of Hive.openBox() instead)LazyBox and Box now have a common parent class: BoxBaseHive.openLazyBox()Hive.lazyBox()HiveLists (see docs for details)LazyBox<YourModel>Hive.deleteBoxFromDisk()path parameter to open boxes in a custom pathHiveObjects have not been initialized correctly in lazy boxes0xFFFFFFFFBoxEvents have been broadcastedencryptionKey from Uint8List to List<int>Due to a bug in previous Hive versions, boxes whose name contains uppercase characters were stored in a file that also contains upper case characters (e.g. 'myBox' -> 'myBox.hive').
To avoid different behavior on case sensitive file systems, Hive should store files with lower case names. This bug has been resolved in version 1.2.0.
If your box name contains upper case characters, the new version will not find a box stored by an older version. Please rename the hive file manually in that case.
This also applies to the web version.
Nothing published for this version
Nothing published for this version
Nothing published for this version
object.delete() now throws exception if object is not stored in a box
object.delete() now throws exception if object is not stored in a boxobject.save() would fail on subsequent callsChanged return type of addAll() from List to Iterable .
addAll() from List<int> to Iterable<int>.TypeAdapters for a specific box. E.g. box.registerTypeAdapter().getAt(), putAt(), deleteAt() and keyAt() no longer allow indices out of range.HiveObjectBox<E>putAll(), deleteAll(), add(), addAll()values parameter of addAll() from List to IterableFixed bug that corrupted boxes were not detected
Fixed bug that it was not possible to open typed boxes (Box )
Box<E>)Nothing published for this version
Nothing published for this version
Nothing published for this version
- First stable release
Fixed Hive.init() bug in browser
Hive.init() bug in browserChange keys parameter of deleteAll from List to Iterable
keys parameter of deleteAll from List to IterableBinaryWriterAdded keyComparator parameter for custom key order
keyComparator parameter for custom key orderisEmpty and isNotEmpty getters to boxAllow different versions of the path package
path package- Document all public APIs - Fixed flutter_web error
Added compactionStrategy parameter
BigInt supportcompactionStrategy parameteradd() and addAll() for auto-increment keysgetAt(), putAt() and deleteAt() for working with indicesopenBox()null is no longer equivalent to deleting a keyBreaking: Binary format changed
inMemory -> lazyBugfix: Hive['yourBox'] didn't work with uppercase box names
Hive['yourBox'] didn't work with uppercase box namesBreaking: Changed Endianness to little
inMemory optionDowngrade to meta: ^1.1.6 to support flutter
meta: ^1.1.6 to support flutter- First release
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →