26 KiB
Changelog
If you are upgrading: please see UPGRADING.md
.
5.0.2 - 2020-04-03
Changed
- Use
nextTick
ofabstract-leveldown
(#195) (@vweevers) (same underlying code) - Upgrade
nyc
devDependency from^14.0.0
to^15.0.0
(#187) (@vweevers) - Upgrade
airtap
devDependency from^2.0.0
to^3.0.0
(#189) (@vweevers)
Fixed
- Add
buffer
for browsers (#191) (@hugomrdias)
5.0.1 - 2019-11-29
Fixed
- Restore support of empty prefix option (#184) (@achingbrain). This restores a previous behavior (of
level-js
< 3) that unknown to us, was provided by the since-removedIDBWrapper
.
5.0.0 - 2019-10-04
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)
4.0.1 - 2019-03-31
Changed
Removed
4.0.0 - 2018-12-30
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
- Remove now irrelevant serialization of nullish values (#155) (@vweevers)
- Remove unused
IndexedDBShim
from tests (#162) (@vweevers)
3.0.0 - 2018-06-17
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)
3.0.0-rc1 - 2018-05-26
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.
2.2.4 - 2016-05-09
Changed
- Use
toArrayBuffer()
only when present (@substack)
2.2.3 - 2015-12-10
Changed
- Update
ltgt
to^2.1.2
(@ryanramage)
2.2.2 - 2015-09-12
Added
- Add @nolanlawson to collaborators (@maxogden)
Fixed
- Fix iterator when start > end (@nolanlawson)
Historical Note This release introduced this._keyRangeError
.
2.2.1 - 2015-07-05
Changed
2.2.0 - 2015-07-03
Added
- Add
Collaborators
section to README (@maxogden)
Changed
- Update syntax highlighting in README (@yoshuawuyts)
- Update
idb-wrapper
to^1.5.0
(@JamesKyburz) - Update
abstract-leveldown
to^2.4.0
(@maxogden) - Update
tape
to^4.0.0
(@maxogden) - Move
tape
to devDependencies (@maxogden) - Change license from BSD to BSD-2-Clause (@maxogden)
Removed
- Remove Testling badge (@maxogden)
2.1.6 - 2014-06-15
Fixed
- Avoid using keyword in
cursor.continue()
(@nolanlawson)
2.1.5 - 2014-05-29
Changed
- Use
ltgt
module to handle ranges (@dominictarr)
2.1.4 - 2014-05-13
Changed
2.1.3 - 2014-04-09
Added
- Use
typedarray-to-buffer
to avoid copying to Buffer (@mafintosh)
2.1.2 - 2014-04-05
Added
- Add link to @brycebaril's presentation to README (@maxogden)
Changed
- Update browser configuration for Testling (@maxogden)
2.1.1 - 2014-03-12
Changed
- Update browser configuration for Testling (@maxogden)
- Update
abstract-leveldown
to~0.12.0
(@maxogden) - Update
levelup
to~0.18.2
(@maxogden) - Make sure to store
Uint8Array
(@maxogden) - Test storing native JS types with raw = true (@maxogden)
Historical Note This was not published to npm. There's also a gap between 2.1.1
and 2.0.0
that is inconsistent. The options.raw
property was introduced in this release.
2.0.0 - 2014-03-09
Changed
- Update
browserify
to~3.32.0
(@maxogden) - Update
tape
to~2.10.2
(@maxogden) - Change default encoding of values to strings to more closely match
leveldown
(@maxogden)
Fixed
- Add missing
xtend
dependency (@maxogden)
Historical Note For some reason both tape
and browserify
were moved from devDependencies to dependencies. This release only had one commit.
1.2.0 - 2014-03-09
Added
- Add
IndexedDBShim
to tests (@maxogden) - Add
Level.destroy()
(@qs44) - Add prefix to pass
PouchDB
tests (@qs44) - Test
Level.destroy()
(@calvinmetcalf)
Changed
- Update browser configuration for Testling (@maxogden)
- Pass through open options to idbwrapper (@maxogden)
Fixed
- Don't use
indexedDB.webkitGetDatabasesNames()
in tests (@maxogden)
1.1.2 - 2014-02-02
Removed
- Remove global leaks (@mcollina)
1.1.1 - 2014-02-02
Changed
- Modify a copy of the batch array, not the original (@nrw)
Fixed
1.1.0 - 2014-01-30
Added
Changed
- Update README (@maxogden)
- Update
abstract-leveldown
to~0.11.0
(@rvagg, @maxogden) - Update to work with
abstract-leveldown@0.11.2
(@shama, @maxogden) - Update iterator to pass all range tests (@shama, @maxogden)
Fixed
- Fix incorrect version of
abstract-leveldown
(@maxogden) - Pass error to callback in
approximateSize()
(@mcollina)
Removed
Historical Note In this time period bops
shows up and gets removed. Also, ._isBuffer()
uses Buffer.isBuffer()
in favor of is-buffer
module.
1.0.8 - 2013-08-12
Changed
- Move
levelup
to devDependencies (@juliangruber)
Removed
- Remove fn#bind from iterator (@juliangruber)
1.0.7 - 2013-07-02
Changed
- Implement full batch support (@mcollina)
Fixed
- Fix git url to
abstract-leveldown
(@maxogden)
1.0.6 - 2013-05-31
Changed
- Update
idb-wrapper
to1.2.0
(@maxogden) - Switch
abstract-leveldown#master
(@maxogden) - Disable batch and chainable batch tests (@maxogden)
1.0.5 - 2013-05-30
Changed
- Use upstream
idb-wrapper
(@maxogden)
1.0.4 - 2013-05-30
Added
- Test batch and chainable batch (@rvagg)
Changed
- Update
abstract-leveldown
to~0.7.1
(@rvagg) - Update
levelup
to~0.9.0
(@brycebaril)
1.0.3 - 2013-05-14
Changed
- Use
is-buffer
(@juliangruber)
1.0.2 - 2013-05-04
Fixed
- Don't convert
ArrayBuffer
and typed arrays to strings (@maxogden)
1.0.1 - 2013-05-03
Added
Changed
- Update README (@maxogden)
- Use
npm test
instead ofnpm start
(@shama) - Properly delete test dbs (@maxogden)
- Inherit from
abstract-leveldown
(@rvagg)
1.0.0 - 2013-05-03
🌱 Initial release.