You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 KiB

Changelog

If you are upgrading: please see UPGRADING.md.

6.2.3 - 2020-04-03

Changed

  • Upgrade airtap devDependency from ^2.0.0 to ^3.0.0 (#360) (@vweevers)

Fixed

6.2.2 - 2019-10-21

Added

6.2.1 - 2019-10-01

Fixed

6.2.0 - 2019-09-30

Changed

  • Upgrade hallmark devDependency from ^1.0.0 to ^2.0.0 (#349) (@vweevers)
  • Upgrade standard devDependency from ^13.0.1 to ^14.0.0 (#348) (@vweevers)

Added

6.1.1 - 2019-08-18

Fixed

  • Remove process.emitWarning because it breaks AppVeyor builds (8e963c3) (@vweevers)

6.1.0 - 2019-08-18

Changed

  • Upgrade hallmark devDependency from ^0.1.0 to ^1.0.0 (#343) (@vweevers)
  • Upgrade standard devDependency from ^12.0.0 to ^13.0.1 (#341) (@vweevers)

Added

  • Add clear() method to delete all entries or a range (#310) (@vweevers).

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

  • Upgrade nyc devDependency from ^13.2.0 to ^14.0.0 (#334) (@vweevers)

Fixed

6.0.2 - 2019-03-30

Changed

Fixed

6.0.1 - 2018-12-27

Changed

  • Upgrade hallmark devDependency from 0.0.2 to 0.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

Added

Removed

Fixed

5.0.0 - 2018-05-22

Changed

Added

Removed

4.0.3 - 2018-02-21

Changed

Fixed

  • Remove invalid TypeScript from Batch (@Tapppi)
  • Add JSDoc to incorrectly inferred TypeScript types (@Tapppi)

4.0.2 - 2018-02-09

Fixed

  • Fix iterator#next to return this (@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.js the default value for testCommon parameter (@ralphtheninja)
  • Use Buffer.isBuffer() instead of AbstractLevelDOWN#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

Removed

  • Remove isLevelDOWN function and corresponding tests (@ralphtheninja)
  • Remove AbstractLevelDOWN#approximateSize method and corresponding tests (@ralphtheninja)
  • Remove testBuffer in abstract/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 BufferType parameter in abstract/put-get-del-test.js, use Buffer (@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

Removed

  • Drop support for 0.12. Cause for new major version! (@vweevers)

Fixed

2.7.2 - 2017-10-11

Changed

2.7.1 - 2017-09-30

Changed

2.7.0 - 2017-09-12

Added

2.6.3 - 2017-09-05

Changed

  • Upgrade dependencies (@ralphtheninja)
  • Convert nullish values to empty strings (@bigeasy)
  • Use t.equal(a, b) instead of t.ok(a === b) (@bigeasy)
  • Relax tests for serializing object in abstract/chained-batch-test.js (@ralphtheninja)

Added

Fixed

2.6.2 - 2017-07-30

Changed

Added

Fixed

2.6.1 - 2016-09-12

Fixed

  • Fix null case in default value serializer (fixes problems in 2.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 collectBatchOps function to buffer _put and _del inputs in abstract/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

Removed

Fixed

2.4.1 - 2015-08-29

Fixed

2.4.0 - 2015-05-19

Added

2.3.1 - 2015-05-18

Added

Removed

  • Extract Contributors section from README into level/community (@ralphtheninja)

Fixed

2.3.0 - 2015-05-18

Changed

Added

2.2.2 - 2015-05-13

Fixed

2.2.1 - 2015-05-12

Fixed

2.2.0 - 2015-05-10

Added

  • Test { sync: true } option in abstract/put-test.js (@juliangruber)

2.1.4 - 2015-04-28

Fixed

2.1.3 - 2015-04-28

Changed

2.1.2 - 2015-04-27

Changed

2.1.1 - 2015-04-27

Changed

Added

Fixed

  • Include .nonErrorValues() test in abstract/put-get-del-test.js (@hden)
  • rvagg/node-abstract-leveldown moved to level/abstract-leveldown (@ralphtheninja)
  • Fix Travis for 0.8 (@ralphtheninja)

2.1.0 - 2014-11-09

Changed

  • Use setTimeout instead of process.nextTick (@bigeasy)

Added

Fixed

  • Don't fail if no value is returned by ._get (@watson)
  • Use error test function when testing for errors (@watson)

2.0.3 - 2014-10-02

No change.

2.0.2 - 2014-10-02

Added

2.0.1 - 2014-09-01

Changed

  • Set default values for options to .open, .get, .put, .del and .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 LevelDOWN specific (@watson)

2.0.0 - 2014-08-26

Changed

  • Switch to allowing writes of empty values, null, undefined, '', [] and empty buffer (@juliangruber)
  • Rename AbstractLevelDOWN#_checkKeyValue to AbstractLevelDOWN#_checkKey (@rvagg)

1.0.0 - 2014-08-24

Changed

  • Ensure Boolean iterator options are Boolean (@watson)

Added

Removed

  • Remove options.start hackery (@rvagg)

0.12.4 - 2014-08-20

Changed

Added

  • Test that simple-iterator returns buffers (@kesla)
  • Test implicit snapshots (@kesla)

0.12.3 - 2014-06-27

Changed

0.12.2 - 2014-04-26

Changed

  • Have isTypedArray check for existence of ArrayBuffer and Uint8Array constructors before usage (@rvagg)

0.12.1 - 2014-04-26

Changed

  • Set default BufferType in abstract/put-get-del-test.js to Buffer instead of ArrayBuffer (@maxogden)

0.12.0 - 2014-03-12

Changed

  • Revert to pure Buffer and remove usage of Uint16Array (@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

Fixed

  • Fix iterator tests in test.js (@rvagg)

0.11.1 - 2013-11-15

Changed

  • Adjust abstract/approximate-size-test.js to account for snappy compression (@rvagg)

0.11.0 - 2013-10-14

Added

  • Normalize iterator() options with AbstractLevelDOWN#_setupIteratorOptions (@rvagg)

0.10.2 - 2013-09-06

Changed

  • Refactor duplicated versions of isTypedArray into abstract/util.js (@rvagg)
  • Refactor duplicated versions of 'NotFound' checks into abstract/util.js, fixed too-strict version in get-test.js (@rvagg)

0.10.1 - 2013-08-29

Changed

  • Relax check for Not Found error message to be case insensitive in get-test.js (@rvagg)

Added

0.10.0 - 2013-08-19

Added

0.9.0 - 2013-08-11

Changed

  • Make AbstractChainedBatch extensible (@kesla)
  • Export AbstractChainedBatch from abstract-leveldown.js (@kesla)

Added

  • Test simultaneous get's (@kesla)
  • Test AbstractChainedBatch extensibility (@kesla)

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 const in testCommon.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.browser check instead of process.title == 'browser' (@rvagg)

Added

  • Add BufferType parameter to abstract/put-get-del-test.js for bops support (@rvagg)
  • Add isTypedArray function which checks ArrayBuffer or Uint8Array for bops support (@rvagg)

Fixed

  • Fix cleanup function 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 browserify and rimraf (@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 NotFound error case insensitive (@rvagg)
  • Use self rather than binding functions to this (@juliangruber)

Added

  • Add AbstractChainedBatch#_checkWritten (@rvagg)
  • Test delete on non-existent key (@rvagg)
  • Test iterator with start after database end (@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 AbstractIterator call back with an error instead of throwing on nexting and ending (@mcollina)

0.6.0 - 2013-05-14

Changed

  • Split t.deepEqual() into multiple t.equal() in abstract/iterator-test.js (@rvagg)
  • Make AbstractIterator call back with an error instead of throwing on nexting and ending (@mcollina)

0.5.0 - 2013-05-14

Changed

  • Make iterator.end(cb) and iterator.next(cb) call back with an error instead of throwing (@mcollina)

0.4.0 - 2013-05-14

Changed

  • Move AbstractIterator from abstract-leveldown.js to abstract-iterator.js (@rvagg)

Added

  • Add AbstractChainedBatch (@rvagg)
  • Add AbstractLevelDOWN#_chainedBatch (@rvagg)
  • Add abstract/batch-test.js and abstract/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 of Buffer.isBuffer() (@rvagg)

Added

  • Restore test for opening the database without options (@rvagg)
  • Add AbstractLevelDOWN#_isBuffer so it can be overridden (@rvagg)
  • Add AbstractLevelDOWN#_checkKeyValue so 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 string in abstract/put-get-del-test.js if Buffer is undefined (@rvagg)

0.2.0 - 2013-05-04

Changed

  • Convert values to string in abstract/get-test.js if Buffer is undefined (@rvagg)
  • Don't stringify keys and values in abstract/iterator-test.js (@maxogden)

Added

  • Add process.browser check for start and end keys in browser (@maxogden)
  • Add levelup contributors (@rvagg)

Fixed

0.1.0 - 2013-04-23

Added

  • Import abstract tests from leveldown (@maxogden)

Fixed

0.0.2 - 2013-03-18

Changed

  • Export checkKeyValue (@rvagg)

Added

  • Add node 0.10 to Travis (@rvagg)
  • Add Buffer.isBuffer() checks to keys and values (@rvagg)

0.0.1 - 2013-03-18

Added

  • Add checkKeyValue function for more complete error checking (@rvagg)

0.0.0 - 2013-03-15

First release. 🌱