This repository has been archived by the owner on Dec 2, 2024. It is now read-only.
Releases: Level/level-js
Releases · Level/level-js
v6.1.0
v6.0.0
If you are upgrading: please see UPGRADING.md
.
Changed
- Breaking: bump
abstract-leveldown
(720aced
) (Vincent Weevers) - Breaking: bump
buffer
from 5.x to 6.x (#210) (cc68b21
) (Alex Potsides) - Modernize syntax and bump
standard
(Level/community#98) (0ce815f
) (Vincent Weevers) - Every browser in our test matrix now supports binary keys (
2c20127
) (Vincent Weevers)
v5.0.2
v5.0.1
v4.0.2
v5.0.0
If you are upgrading: please see UPGRADING.md
.
Changed
- Breaking: Drop support of key & value types other than string and Buffer (#179) (@vweevers)
- Replace mentions of
level-browserify
withlevel
(58b3e07
) (@vweevers) - Upgrade
hallmark
devDependency from^0.1.0
to^2.0.0
(#172, #177) (@vweevers) - Upgrade
nyc
devDependency from^13.1.0
to^14.0.0
(#169) (@vweevers) - Upgrade
standard
devDependency from^12.0.1
to^14.0.2
(#171,aacb0ea
) (@vweevers, @ralphtheninja)
Added
- Add manifest (Level/community#83) (#183) (@vweevers)
- Support
clear()
(Level/community#79) (#182) (@vweevers)
v4.0.1
v4.0.0
If you are upgrading, please see the upgrade guide.
Changed
- Upgrade
abstract-leveldown
from~5.0.0
to~6.0.1
(#155, #157) (@vweevers) - Don't serialize boolean or
NaN
keys, have IDB reject them (#155) (@vweevers) - Update test of
key cannot be an empty Array
error (#155) (@vweevers) - Change
iterator.db
to referencelevel-js
instance, not IDB (#155) (@vweevers) - Handle
location
in constructor, as it was removed fromabstract-leveldown
(#155) (@vweevers) - Use
level-concat-iterator
andtestCommon.factory()
in custom tests (#155) (@vweevers) - Invoke abstract tests from single function (#155) (@vweevers)
- Upgrade
airtap
devDependency from0.0.7
to^2.0.0
(2b71337
, #161) (@ralphtheninja, @vweevers) - Upgrade
standard
devDependency from^11.0.1
to^12.0.1
(#153) (@vweevers, @ralphtheninja) - Replace
remark-cli
devDependency withhallmark
(#151, #153) (@vweevers)
Added
- Test and document native sort order (#157) (@vweevers)
- Add iPhone and Android
latest
to test matrix (#162) (@vweevers) - Add
nyc
andcoveralls
devDependencies (#150, #153) (eb1aead
) (@ralphtheninja, @vweevers) - Add Contributing section to README (
c94a9a4
) (@ralphtheninja)
Removed
v3.0.0
Changed
- Destroy with
location
andprefix
only (#116) (@ralphtheninja) - Replace
util.inherits
withinherits
module (8db16c1
) (@ralphtheninja) - Change copyright years to "2012-present" (
7017edd
) (@ralphtheninja) - Simplify license description (#141) (@vweevers)
- Update
package.json
description and keywords (#141) (@vweevers)
Added
- Add
CHANGELOG.md
(#107, #115) (@ralphtheninja, @vweevers) - Add
UPGRADING.md
(#143) (@vweevers) - Add
CONTRIBUTORS.md
(replacesCOLLABORATORS.md
) (#141) (@vweevers) - Add
standard
(#112) (@ralphtheninja) - Document constructor (#119) (@ralphtheninja)
- Document type support (#125, #143) (@vweevers)
- Add
remark
tooling (#141, #143, #147) (@vweevers) - Test default and custom prefix (#124) (@vweevers)
- Test all key types of IndexedDB Second Edition (#130) (@vweevers)
- Test illegal value types (#118) (@vweevers)
- Test illegal and stringified key types (#139) (@vweevers)
- Test
Buffer
,ArrayBuffer
andUint8Array
values withasBuffer
option (#146) (@vweevers)
Fixed
- Add original copyright owner (Max Ogden) (#141) (@vweevers)
- Replace
level.js
in documentation to match npm namelevel-js
(#121) (@ralphtheninja) - Force airtap's browserify to use latest
buffer@5
(#122) (@vweevers) - Don't stringify keys (except fallbacks, booleans and
NaN
) (#130) (@vweevers) - Fix conversion of
ArrayBuffer
cursor key toBuffer
(#130) (@vweevers) - Catch IndexedDB key and value errors (#139) (@vweevers)
- Use
setImmediate
with callback in_close()
(#111) (@ralphtheninja) - Whitelist npm package files (#126) (@vweevers)
- Avoid
instanceof Date
for cross-realm support (#129) (@vweevers) - Fix wrong release date for
3.0.0-rc1
(43a702b
) (@ralphtheninja)
Removed
- Remove
test/levelup-test.js
(#134) (@ralphtheninja) - Remove
levelup
from destroy tests (#136) (@ralphtheninja)
v3.0.0-rc1
Changed
- Upgrade
abstract-leveldown
from0.12.0
to5.0.0
(@vweevers) - Upgrade
typedarray-to-buffer
from1.0.0
to3.1.5
(@vweevers) - Upgrade
levelup
devDependency from0.18.2
to3.0.0
(@vweevers) - Upgrade
browserify
devDependency from4.1.2
to16.2.2
(@vweevers) - Switch license from BSD to MIT (@ralphtheninja)
- Replace
IDBWrapper
with straight IndexedDB code (@vweevers) - Change default database prefix from
IDBWrapper-
tolevel-js-
(@vweevers) - Implement abstract
#_serializeKey
with support of all IndexedDB Second Edition types including binary keys (as Buffers) (@vweevers) - Implement abstract
#_serializeValue
with support of all types of the structured clone algorithm except fornull
andundefined
(@vweevers) - Use
immediate
module for consistent microtask behavior (@vweevers) - Replace
Buffer()
withBuffer.from()
(@vweevers) - Rename
Iterator#iterator
to#transaction
(@vweevers) - Replace
beefy
withairtap --local
for local testing (@vweevers) - Homogenize README title, description and headers (@vweevers)
- Make real
tape
tests out oftest-levelup.js
(@vweevers) - Restructure custom tests to follow abstract test suite format (@vweevers)
Added
- Add continuous browser tests with
airtap
and Sauce Labs (@vweevers) - Add
prefix
andversion
options to constructor (@vweevers) - Detect binary key support and fallback to
String(buffer)
(@vweevers) - Detect array key support and fallback to
String(array)
(@vweevers) - Test all value types of the structured clone algorithm (@vweevers)
- Catch
DataCloneError
if the environment does not support serializing the type of a key or value (@vweevers) - Include Promise polyfill for
levelup
integration tests (@vweevers) - Test that
Iterator
stringifiesBuffer.from()
argument (@vweevers) - Add README badges, new goals and a code example with
levelup
(@vweevers) - Add npm files to
.gitignore
(@vweevers)
Fixed
- Start
Iterator
cursor immediately and fill an in-memory cache to fulfillabstract-leveldown
snapshot guarantees (@vweevers) - Stop advancing
Iterator
cursor whenoptions.limit
is reached (@vweevers) - Rename public
#iterator
to private#_iterator
(@vweevers) - Fix
#_iterator({ limit: 0 })
to yield 0 entries (@vweevers) - Handle transaction errors in
Iterator
(@vweevers) - Fix constructor to call super (@vweevers)
- Make one request at a time in a batch transaction, saving CPU time (@vweevers)
- Properly close and destroy db's in custom tests (@vweevers)
- Update README links (@vweevers)
Removed
- Remove support of
ArrayBuffer
values in favor ofBuffer
(@vweevers) - Remove now unneeded
raw
option from#_get()
and#_iterator()
(@vweevers) - Run tests without
IndexedDBShim
(@vweevers) - Remove
Buffer
toUint8Array
conversion in#_put()
and#_batch()
(@vweevers) - Remove obsolete
#_approximateSize
(@vweevers) - Remove obsolete
#_isBuffer
(@vweevers) - Remove obsolete
testBuffer
from abstract tests (@vweevers) - Remove obsolete writestream test from
test-levelup.js
(@vweevers) - Rely on
abstract-leveldown
defaults inIterator
constructor (@vweevers) - Rely on
abstract-leveldown
callback defaults (@vweevers) - Remove testling from
package.json
(@vweevers) - Remove
level.js
logo (@vweevers)
Historical Note Support of ArrayBuffer
values was restored in 3.0.0
.
Historical Note This release introduced the boolean binaryKeys
and arrayKeys
properties on the constructor, indicating whether the environment supports binary and array keys respectively. These properties may become private.
Historical Note The vendored IndexedDBShim
is still included, but likely to be removed.
Historical Note Though we upgraded browserify
to 16.2.2
, the effective version used in tests is 13.3.0
because we switched from beefy
to airtap
, which ships with its own browserify
dependency.