leveldb 5.0.0 leveldb: ^5.0.0 copied to clipboard
Dart bindings for the LevelDB key value store.
Changelog #
5.0.0 #
Breaking changes:
- Remove
LevelEncoding
interface and usedart:codec
directly. This better aligns the interface with the dart way of encoding and decoding and allows easily fusing new codecs. - Add new json.dart example to demonstrate encoding objects to the database (as JSON).
4.0.0 #
Minor API update for Sound Dart
Breaking changes:
- The
keyEncoding
andvalueEncoding
parameters are now required when using theLevelDB.open
function. When encoding utf8 keys and valuesLevelDB.openUtf8
is the recommended constructor.
3.0.0 #
Breaking changes:
- Add generic parameters to
LevelDB
to improve type safety when using the API. Key/Value encoding parameters have been moved to theLevelDB.open
function. - Minimum dart sdk version updated to
1.23.0
Non-breaking changes:
- Upgrade to leveldb 1.20. This version is compatible with the previous on-disk format. See: https://github.com/google/leveldb/releases/tag/v1.20
- Add
shared
parameter toLevelDB.open
. This feature allows referencing the same underlying database from multiple isolates. - Add an example demonstrating how to use the
shared
parameter in muliple isolates.
2.0.3 #
- Build leveldb with better compatibility.