This document describes breaking changes and how to upgrade. For a complete list of changes including minor and patch releases, please refer to the changelog.
Previously deferred-leveldown
would accept operations regardless of the status
of the inner db. It now only accepts operations while db.status
is 'opening'.
Legacy range options have been removed (Level/community#86). If you previously did:
db.iterator({ start: 'a', end: 'z' })
An error would now be thrown and you must instead do:
db.iterator({ gte: 'a', lte: 'z' })
This release also drops support of legacy runtime environments (Level/community#98):
- Node.js 6 and 8
- Internet Explorer 11
- Safari 9-11
- Stock Android browser (AOSP).
Upgraded abstract-leveldown
to v6.0.0
. Please see the corresponding changelog entry for more information.
Dropped support for node 4. No other breaking changes.
This major release contains an upgrade to abstract-leveldown
with a breaking change for the array version of .batch()
. This change ensures all elements in the batch array are objects.
If you previously passed arrays to .batch()
that contained undefined
or null
, they would be silently ignored. Now this will produce an error.