- Consolidated duplicate UndoManagers to single instance - Fixed connection promise to only resolve on 'connected' status - Fixed WebSocketProvider import (WebsocketProvider) - Added proper doc.destroy() cleanup - Renamed isPresenceInitialized property to avoid conflict Co-Authored-By: Paperclip <noreply@paperclip.ing>
41 KiB
Changelog
If you are upgrading: please see UPGRADING.md.
6.2.3 - 2020-04-03
Changed
Fixed
6.2.2 - 2019-10-21
Added
6.2.1 - 2019-10-01
Fixed
6.2.0 - 2019-09-30
Changed
- Upgrade
hallmarkdevDependency from^1.0.0to^2.0.0(#349) (@vweevers) - Upgrade
standarddevDependency from^13.0.1to^14.0.0(#348) (@vweevers)
Added
- Add manifest (Level/community#83) (#351) (@vweevers)
- Document mandatory methods (#350) (@vweevers)
6.1.1 - 2019-08-18
Fixed
6.1.0 - 2019-08-18
Changed
- Upgrade
hallmarkdevDependency from^0.1.0to^1.0.0(#343) (@vweevers) - Upgrade
standarddevDependency from^12.0.0to^13.0.1(#341) (@vweevers)
Added
Historical Note The clear() method is experimental and optional for the time being. Please see the README for details.
6.0.3 - 2019-04-26
Changed
Fixed
- Fix and test asynchronicity of empty batch (#337) (@vweevers)
- Fix Level badge (
8993257) (@vweevers) - Remove link to dead website (
c0abe28) (@vweevers)
6.0.2 - 2019-03-30
Changed
- Upgrade
sinondevDependency from^6.0.0to^7.2.4(#330) (@ralphtheninja) - Upgrade
nycdevDependency from^12.0.2to^13.2.0(#327) (@vweevers) - Upgrade
airtapdevDependency from0.1.0to^2.0.0(#323) (@vweevers) - Apply common project tweaks (#324, #325) (@vweevers)
Fixed
6.0.1 - 2018-12-27
Changed
- Upgrade
hallmarkdevDependency from0.0.2to0.1.0(#316) (@vweevers) - Split v6 upgrade guide into sections for consumers and implementors (@vweevers)
Fixed
- Remove range tests that assumed zero-length strings or Buffers meant "not defined" (#319) (@vweevers)
6.0.0 - 2018-10-20
If you are upgrading, please consult the Upgrade Guide.
Changed
- Upgrade
airtapdevDependency from0.0.5to0.1.0(#229, #231, #245,029f56a, #252) (@vweevers, @ralphtheninja) - Upgrade
sinondevDependency from^5.0.0to^6.0.0(#232) (@ralphtheninja) - Upgrade
standarddevDependency from^11.0.0to^12.0.0(#303) (@ralphtheninja) - Reject nullish values (#277) (@vweevers)
- Make default
_serializeKeyand_serializeValueidentity functions (#277) (@vweevers) - Don't coerce keys to strings to check if they're empty, instead check arrays explicitly (#277) (@vweevers)
- Make
dbproperty mandatory and public on iterator and chained batch (#257, #309) (@vweevers) - Align
AbstractChainedBatch#_clearwith_putand_del(#257) (@vweevers) - Add
AbstractChainedBatch#_writewith options (#257) (@vweevers) - Use
level-concat-iteratorinstead ofcollectEntries(#246) (@ralphtheninja) - Document API and test suite (#251, #290, #295, #296, #305) (@vweevers)
- Export test suite as a single function (#271, #293, #297) (@vweevers, @ralphtheninja)
- Use factory function to create
dbinstances in test suite (#258, #268, #282) (@ralphtheninja, @vweevers) - Isolate snapshot tests so that they can be skipped (#239, #274) (@vweevers, @ralphtheninja)
- Isolate openAdvanced tests so that they can be skipped (#271) (@vweevers)
- Rename
abstract/totest/(#253) (@vweevers) - Refactor internal test methods to have the same signature
(test, testCommon)(#268, #275) (@ralphtheninja) - Prefer
exports.*overmodule.exports.*(#276) (@ralphtheninja) - Tweak copyright years for less maintenance (
0b2949a) (@ralphtheninja)
Added
- Add
iterator#seek()(#237, #302, #307) (@vweevers, @ralphtheninja) - Add
nycandcoverallsdevDependencies for code coverage (#253) (@vweevers) - Add
setUpandtearDownto all sub tests (#279, #289) (@ralphtheninja) - Add test for implementations that cannot support snapshots (#239) (@vweevers)
- Add
hallmarkdevDependency for Markdown style and contributors (#312) (@vweevers)
Removed
- Remove
location(#258) (@ralphtheninja) - Remove
lastLocation,cleanup,rimraf(#249) (@vweevers) - Remove IE10 from Sauce Labs test matrix (#312) (@vweevers)
- Remove node 9 from Travis (
0b52395) (@ralphtheninja) - Remove tests that assumed support of boolean and NaN keys (#277) (@vweevers)
- Remove range tests that assumed
nullmeant "not defined" (#277) (@vweevers) - Remove sync test from
test/put-test.js(#300) (@ralphtheninja) - Remove empty
errorValues()test (#273) (@ralphtheninja) - Remove default
testCommonparameter (#264, #271) (@vweevers) - Remove
contributorsfrompackage.json(542f350) (@ralphtheninja) - Remove copyright headers from code (
a36c04f) (@ralphtheninja)
Fixed
- Make sure all
t.throwtests check error messages correctly (#286) (@ralphtheninja) - Check options objects properly for
null(#257, #288) (@ralphtheninja, @vweevers) - Serialize range options same as keys (#277) (@vweevers)
- Allow nullish and empty range options (#277) (@vweevers)
5.0.0 - 2018-05-22
Changed
- Upgrade
sinonto^5.0.0(@ralphtheninja) - Tweak README (@ralphtheninja)
- Replace
constwithvarto support IE10 (@vweevers)
Added
- Add node 10 to Travis (@ralphtheninja)
- Add
airtapfor browser tests (@vweevers)
Removed
- Remove node 4, 5 and 7 from Travis (@ralphtheninja)
- Remove TypeScript tests (@vweevers)
- Remove TypeScript typings (@ralphtheninja)
4.0.3 - 2018-02-21
Changed
- Upgrade
ts-nodeto^5.0.0(@zixia) - Upgrade
standardto^11.0.0(@ralphtheninja)
Fixed
- Remove invalid TypeScript from
Batch(@Tapppi) - Add JSDoc to incorrectly inferred TypeScript types (@Tapppi)
4.0.2 - 2018-02-09
Fixed
- Fix
iterator#nextto returnthis(@vweevers)
4.0.1 - 2018-02-09
Added
- Run test suite in TypeScript in addition to Node.js (@vweevers)
- Add TypeScript smoke test (@vweevers)
- Add TypeScript readme section with stability badge (@vweevers)
Removed
- Remove obsolete parameters from tests (@vweevers)
Fixed
- Update TypeScript typings for v4 (@vweevers)
- Use ES6 classes in tests to please TypeScript (@vweevers)
- Define default methods on prototype to please TypeScript (@vweevers)
Historical Note This was released as a patch because it only changed tests and TypeScript typings (which are marked experimental and don't follow semver).
4.0.0 - 2018-01-20
Changed
- Ignore empty range options in
AbstractLevelDOWN#_setupIteratorOptions(@ralphtheninja) - Make
testCommon.jsthe default value fortestCommonparameter (@ralphtheninja) - Use
Buffer.isBuffer()instead ofAbstractLevelDOWN#isBuffer(@ralphtheninja) - Cleanup iterator tests (#161) (@ralphtheninja)
- Pass test function as a parameter instead of setting local global (@ralphtheninja)
- Assert batch type is
'put'or'del'(@vweevers) - Assert batch array elements are objects (@vweevers)
Added
- Add
standardfor linting (#150) (@ralphtheninja) - Test that callbacks are called asynchronously (@vweevers)
- Test serialization extensibility (@vweevers)
- Add @vweevers to contributors (@ralphtheninja)
- Add upgrade guide in
UPGRADING.md(@ralphtheninja) - Add node 9 to Travis (@ralphtheninja)
Removed
- Remove
isLevelDOWNfunction and corresponding tests (@ralphtheninja) - Remove
AbstractLevelDOWN#approximateSizemethod and corresponding tests (@ralphtheninja) - Remove
testBufferinabstract/put-get-del-test.js(@ralphtheninja) - Remove object value test in
abstract/put-test.js(@vweevers) - Remove serialize buffer tests (@vweevers)
- Remove serialize object tests (@vweevers)
- Remove
BufferTypeparameter inabstract/put-get-del-test.js, useBuffer(@ralphtheninja)
Fixed
- Ensure stores are closed properly (fixes problems on Windows) (@ralphtheninja)
- Call back errors on next tick to avoid
zalgo(@vweevers)
3.0.0 - 2017-11-04
Added
- Add node version badge (@vweevers)
Removed
- Drop support for
0.12. Cause for new major version! (@vweevers)
Fixed
- Fix errors in
index.d.ts(@sandersn)
2.7.2 - 2017-10-11
Changed
- Update
READMEwith new style (@ralphtheninja)
2.7.1 - 2017-09-30
Changed
- Refactor typings as ES2015 module (@MeirionHughes)
2.7.0 - 2017-09-12
Added
- Add
TypeScriptdefinitions inindex.d.ts(@MeirionHughes)
2.6.3 - 2017-09-05
Changed
- Upgrade dependencies (@ralphtheninja)
- Convert nullish values to empty strings (@bigeasy)
- Use
t.equal(a, b)instead oft.ok(a === b)(@bigeasy) - Relax tests for serializing object in
abstract/chained-batch-test.js(@ralphtheninja)
Added
- Add
GreenKeeper(@ralphtheninja) - Test key/value serialization (@bigeasy)
- Test
undefinedvalue serializing to empty string (@ralphtheninja)
Fixed
- Document
.statusproperty (@ralphtheninja)
2.6.2 - 2017-07-30
Changed
- Upgrade dependencies and float
devDependencies(@ralphtheninja) - Update copyright years (@ralphtheninja)
- Update node versions on Travis (@ralphtheninja)
Added
- Test serialization extensibility (@juliangruber)
Fixed
- Fix put test on object serialization (@juliangruber)
2.6.1 - 2016-09-12
Fixed
- Fix
nullcase in default value serializer (fixes problems in2.6.0) (@juliangruber)
2.6.0 - 2016-03-10
Changed
- Use proto delegation to patch methods on db (@deanlandolt)
- Allow serialization functions to return buffers (@deanlandolt)
Added
- Add
collectBatchOpsfunction to buffer_putand_delinputs inabstract/chained-batch-test.js(@deanlandolt)
Removed
- Remove unnecessary initialization hackery in
abstract/chained-batch-test.js(@deanlandolt)
Historical Note This release was a breaking change. See @juliangruber's comment for more information.
2.5.0 - 2016-05-01
Changed
- Upgrade dependencies and add more node versions to Travis (@ralphtheninja)
Added
- Add dependency badge to
README(@ralphtheninja) - Add
AbstractLevelDOWN#_serializeKey(@juliangruber) - Add
AbstractLevelDOWN#_serializeValue(@juliangruber) - Add
AbstractChainedBatch#_serializeKey(@juliangruber) - Add
AbstractChainedBatch#_serializeValue(@juliangruber) - Test
_serializewith object and buffer (@juliangruber)
Removed
- Remove stringification of keys and values (@juliangruber)
- Remove
.toBuffer(@juliangruber)
Fixed
- Update
memdownurl (@ralphtheninja) AbstractLevelDOWN#._checkKeydoes not take three parameters (@ralphtheninja)- Only show build status for the master branch (@watson)
- Fix minor typos in
README(@timkuijsten)
2.4.1 - 2015-08-29
Fixed
- Remove use of
const(@nolanlawson)
2.4.0 - 2015-05-19
Added
- Add
.statusproperty toAbstractLevelDOWN(@juliangruber)
2.3.1 - 2015-05-18
Added
- Link to
level/community(@ralphtheninja)
Removed
- Extract
Contributorssection fromREADMEintolevel/community(@ralphtheninja)
Fixed
- Document
isLevelDownfunction (@ralphtheninja)
2.3.0 - 2015-05-18
Changed
- Use
t.equal(a, b)instead oft.ok(a === b)(@juliangruber) - Export API from
index.js(@ralphtheninja)
Added
- Import
isLevelDOWNfunction tois-leveldown.js(@ralphtheninja)
2.2.2 - 2015-05-13
Fixed
- Revert changes to
locationin2.2.1(@juliangruber)
2.2.1 - 2015-05-12
Fixed
- Copy paste error gave wrong test description (@ralphtheninja)
t.throws()is different fortape(@ralphtheninja)- Assert
locationis not an empty string (@ralphtheninja)
2.2.0 - 2015-05-10
Added
- Test
{ sync: true }option inabstract/put-test.js(@juliangruber)
2.1.4 - 2015-04-28
Fixed
- Use
t.equal()withtape(@ralphtheninja)
2.1.3 - 2015-04-28
Changed
- Change from
taptotape(@ralphtheninja)
2.1.2 - 2015-04-27
Changed
- Convert buffer to string so we can compare (@ralphtheninja)
2.1.1 - 2015-04-27
Changed
- Update logo and copyright (@ralphtheninja)
Added
- Add @ralphtheninja to contributors (@ralphtheninja)
- Add
0.12andiojsto Travis (@ralphtheninja)
Fixed
- Include
.nonErrorValues()test inabstract/put-get-del-test.js(@hden) rvagg/node-abstract-leveldownmoved tolevel/abstract-leveldown(@ralphtheninja)- Fix Travis for
0.8(@ralphtheninja)
2.1.0 - 2014-11-09
Changed
- Use
setTimeoutinstead ofprocess.nextTick(@bigeasy)
Added
Fixed
- Don't fail if no value is returned by
._get(@watson) - Use
errortest function when testing for errors (@watson)
2.0.3 - 2014-10-02
No change.
2.0.2 - 2014-10-02
Added
- Test atomic batch operations (@calvinmetcalf)
2.0.1 - 2014-09-01
Changed
- Set default values for options to
.open,.get,.put,.deland.batch(@watson) - Update pattern for setting default options for the iterator (@watson)
- Allow boolean options to be falsy/truthy (@watson)
Removed
- Remove default options that are too
LevelDOWNspecific (@watson)
2.0.0 - 2014-08-26
Changed
- Switch to allowing writes of empty values,
null,undefined,'',[]and empty buffer (@juliangruber) - Rename
AbstractLevelDOWN#_checkKeyValuetoAbstractLevelDOWN#_checkKey(@rvagg)
1.0.0 - 2014-08-24
Changed
- Ensure
Booleaniterator options areBoolean(@watson)
Added
- Test that an error is thrown when location isn't a string (@calvinmetcalf)
- Test opening and closing the store (@calvinmetcalf)
- Test iterator with
limitset to0(@watson) - Add more tests to
abstract/batch-test.js(@calvinmetcalf) - Set default values of iterator options (@watson)
- Account for batch options that are
null(@calvinmetcalf)
Removed
- Remove options.start hackery (@rvagg)
0.12.4 - 2014-08-20
Changed
- Change license to plain MIT (@andrewrk)
Added
0.12.3 - 2014-06-27
Changed
- Upgrade
xtenddependency (@andrewrk)
0.12.2 - 2014-04-26
Changed
- Have
isTypedArraycheck for existence ofArrayBufferandUint8Arrayconstructors before usage (@rvagg)
0.12.1 - 2014-04-26
Changed
- Set default
BufferTypeinabstract/put-get-del-test.jstoBufferinstead ofArrayBuffer(@maxogden)
0.12.0 - 2014-03-12
Changed
- Revert to pure
Bufferand remove usage ofUint16Array(@rvagg)
0.11.4 - 2014-03-11
Removed
- Remove duplicate call to
t.end()(@maxogden)
0.11.3 - 2014-01-26
Changed
- Loosen the buffer type check (@rvagg)
0.11.2 - 2013-12-05
Added
- Add npm badges (@rvagg)
Fixed
- Fix iterator tests in
test.js(@rvagg)
0.11.1 - 2013-11-15
Changed
- Adjust
abstract/approximate-size-test.jsto account for snappy compression (@rvagg)
0.11.0 - 2013-10-14
Added
- Normalize
iterator()options withAbstractLevelDOWN#_setupIteratorOptions(@rvagg)
0.10.2 - 2013-09-06
Changed
- Refactor duplicated versions of
isTypedArrayintoabstract/util.js(@rvagg) - Refactor duplicated versions of
'NotFound'checks intoabstract/util.js, fixed too-strict version inget-test.js(@rvagg)
0.10.1 - 2013-08-29
Changed
- Relax check for
Not Founderror message to be case insensitive inget-test.js(@rvagg)
Added
0.10.0 - 2013-08-19
Added
- Test
gt,gte,ltandlteranges (@dominictarr)
0.9.0 - 2013-08-11
Changed
- Make
AbstractChainedBatchextensible (@kesla) - Export
AbstractChainedBatchfromabstract-leveldown.js(@kesla)
Added
Fixed
- Fix broken test assertion in
abstract/get-test.js(@rvagg) - Fix tests that weren't running properly (@kesla)
0.8.2 - 2013-08-02
No changes. Merely published changes made in 0.8.1.
0.8.1 - 2013-08-02
Changed
- Remove use of
constintestCommon.js(@rvagg)
Historical Note The version in package.json was changed from 0.7.4 to 0.8.1. The 0.8.1 tag exists but this version was never published to npm.
0.8.0 - 2013-08-02
Changed
- Use
process.browsercheck instead ofprocess.title == 'browser'(@rvagg)
Added
- Add
BufferTypeparameter toabstract/put-get-del-test.jsforbopssupport (@rvagg) - Add
isTypedArrayfunction which checksArrayBufferorUint8Arrayforbopssupport (@rvagg)
Fixed
- Fix
cleanupfunction not calling back when browserified (@rvagg)
Historical Note It seems the version in package.json was never changed to 0.8.0 in the git history, even though the 0.8.0 tag exists. Most likely package.json was modified locally during npm publish but was never committed.
0.7.4 - 2013-08-02
Fixed
- Fix problems related to
browserifyandrimraf(@rvagg)
0.7.3 - 2013-07-26
Added
0.7.2 - 2013-07-08
Changed
- Freeze chained batch state after
.write()has been called (@rvagg) - Make
NotFounderror case insensitive (@rvagg) - Use
selfrather than binding functions tothis(@juliangruber)
Added
- Add
AbstractChainedBatch#_checkWritten(@rvagg) - Test delete on non-existent key (@rvagg)
- Test iterator with
startafter databaseend(@juliangruber)
Fixed
- Don't coerce values to strings in browser (@maxogden)
- Make tests work in node and browser (@maxogden)
0.7.1 - 2013-05-15
Changed
- Adjust tests to be browserable (@rvagg)
0.7.0 - 2013-05-14
Added
- Add
AbstractChainedBatch#clear(@rvagg)
0.6.1 - 2013-05-14
Changed
- Make
AbstractIteratorcall back with an error instead of throwing on nexting and ending (@mcollina)
0.6.0 - 2013-05-14
Changed
- Split
t.deepEqual()into multiplet.equal()inabstract/iterator-test.js(@rvagg) - Make
AbstractIteratorcall back with an error instead of throwing on nexting and ending (@mcollina)
0.5.0 - 2013-05-14
Changed
- Make
iterator.end(cb)anditerator.next(cb)call back with an error instead of throwing (@mcollina)
0.4.0 - 2013-05-14
Changed
- Move
AbstractIteratorfromabstract-leveldown.jstoabstract-iterator.js(@rvagg)
Added
- Add
AbstractChainedBatch(@rvagg) - Add
AbstractLevelDOWN#_chainedBatch(@rvagg) - Add
abstract/batch-test.jsandabstract/chained-batch-test.js(@rvagg)
0.4.0-1 - 2013-05-14
Added
0.3.0 - 2013-05-04
Changed
- Use
this._checkKeyValue()instead of local function (@rvagg) - Use
this._isBuffer()instead ofBuffer.isBuffer()(@rvagg)
Added
- Restore test for opening the database without options (@rvagg)
- Add
AbstractLevelDOWN#_isBufferso it can be overridden (@rvagg) - Add
AbstractLevelDOWN#_checkKeyValueso it can be overridden (@rvagg)
0.2.3 - 2013-05-04
Removed
- Remove test for opening the database without options (@rvagg)
0.2.2 - 2013-05-04
Changed
- Split
.open()tests into.open()and.openAdvanced()(@rvagg)
0.2.1 - 2013-05-04
Changed
- Convert values to
stringinabstract/put-get-del-test.jsifBufferisundefined(@rvagg)
0.2.0 - 2013-05-04
Changed
- Convert values to
stringinabstract/get-test.jsifBufferisundefined(@rvagg) - Don't stringify keys and values in
abstract/iterator-test.js(@maxogden)
Added
- Add
process.browsercheck forstartandendkeys in browser (@maxogden) - Add
levelupcontributors (@rvagg)
Fixed
- Fix
tapecompatibility issues (@maxogden)
0.1.0 - 2013-04-23
Added
- Import abstract tests from
leveldown(@maxogden)
Fixed
- Clarify
README(@rvagg)
0.0.2 - 2013-03-18
Changed
- Export
checkKeyValue(@rvagg)
Added
0.0.1 - 2013-03-18
Added
- Add
checkKeyValuefunction for more complete error checking (@rvagg)
0.0.0 - 2013-03-15
First release. 🌱