unstale

npm / lmdb

lmdb

What changed in lmdb 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

1 breaking2 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

lmdb 33 changes

Breaking changes 1

  • Commit listeners and callbacks now run outside the status call that starts a batch's transaction callbacks, preventing heap corruption and empty range reads; an earlier batch's listeners may run after a later batch's synchronous transaction callback.

    3.5.11release notes

Fixes and other changes 2

  • In data-format-v1 builds with LMDB_DATA_V1=true, close() now calls mdb_env_close(), preventing leaks of lock and data file descriptors and memory maps.

    3.5.11release notes

  • Calling getValues() inside a write transaction no longer decodes stale bytes from the shared key buffer, avoiding key-decoding errors.

    3.5.11release notes