Releases: Drup/ocaml-lmdb
Releases · Drup/ocaml-lmdb
1.1.1 - build system and test fixes
This minor release includes no changes to the library.
- ship lmdb c library as a fallback when no system library is available. This helps windows where MSYS2 does not include lmdb and cygwin has broken and outdated lmdb 0.9.19
- ship
seq_of_dispenserto support tests on OCaml < 4.14. - increase size of test environment to avoid
Map_fullon OSX. Tests still fail most of the time on OSX.
1.1
- Fix bad allocation pattern in
mdbs_cursor_getcausing sporadic segfaults. - Add
Map.close. Map/dbi slots are not freed by the GC anymore. - Implement
Map.to_dispenseriterator to be used with theStdlib.Seqmodule. - Deprecate iterators in the
Cursormodule. They can be easily constructed from a dispenser viaStdlib.Seqor the Gen module. - adjust depexts for alpine, rhel, centos, opensuse
- Fix bogus warning about unused type in
Map.create - fix
simle_db.mlexample - few documentation fixes
1.0
- drop support for OCaml 4.02
- add benchmark
- add tests
- fix several bugs
- move away from ctypes, implement stubs in C
- fixing a use-after-free bug and memory leaks
- use (possibly mmaped) Bigstrings as representation of raw keys / values
- also export the new raw bindings in case someone does not like the high level api
- drop oasis, use dune
- use
MDB_RESERVEwhen possible (no duplicates, converter using provided allocator) - restructure the Modules to allow global transactions
- cursors can no longer be cancelled - transactions can
- phantom types for duplicates
- more cursor movements
- implement
GET_MULTIPLEas*_allfunctions - implement iterators making use of
GET_MULTIPLEwhere possible - single key-value databases are now called Map