This repository has been archived by the owner on Dec 1, 2024. It is now read-only.
v5.2.0
Changed
- Refactor: add Entry struct to abstract away key-value pairs (
f9f99ec
) (Meirion Hughes, Vincent Weevers) - Refactor: avoid storing
napi_env
(efb5721
) (Meirion Hughes, Vincent Weevers) - Refactor: move CheckEndCallback to Iterator (
caa28a5
) (Meirion Hughes, Vincent Weevers)
Added
- Add
db.getMany(keys)
(e6ae598
) (Meirion Hughes, Vincent Weevers)
Fixed
- Optimize
db.iterator()
(9f9b13c
) (Meirion Hughes, Vincent Weevers) - Cleanup hanging iterator also when
next()
errored (b67bfe7
) (Meirion Hughes, Vincent Weevers) - Prevent GC of db during
clear()
and other operations (b9878e8
) (Meirion Hughes, Vincent Weevers) - Make
db.clear()
27x faster by doing it natively (32e9b5d
) (Meirion Hughes, Vincent Weevers) - Close database on environment exit (
54fc5df
) (Meirion Hughes, Vincent Weevers).