Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Latest commit

 

History

History
1016 lines (576 loc) · 43.6 KB

CHANGELOG.md

File metadata and controls

1016 lines (576 loc) · 43.6 KB

Changelog

7.2.0 - 2021-09-28

Added

  • Add db.getMany(keys) (#381) (e4445a7) (Vincent Weevers).

7.1.0 - 2021-09-21

Added

  • Support for await...of db.iterator() (#379) (372695f) (Vincent Weevers)

7.0.0 - 2021-04-09

If you are upgrading: please see UPGRADING.md.

Changed

  • Replace immediate shim with smaller queue-microtask (a00e3ed) (Vincent Weevers).
  • Remove need for full buffer shim (except in test suite) (8f79234) (Vincent Weevers)
  • Bump level-concat-iterator and level-supports (0b5e1a3) (Vincent Weevers)
  • Breaking: drop support of Safari 11 (7c4cce6) (Vincent Weevers)
  • Modernize syntax and bump standard from 14.x to 16.x (cfe8040) (Vincent Weevers)
  • Replace xtend dependency with Object.assign() (9d4171f) (Vincent Weevers)
  • Breaking: remove legacy range options (start & end) (979d34f) (Level/community#86) (Vincent Weevers)
  • Breaking: drop support of stock Android browser (AOSP) (a1fd94e) (Vincent Weevers)
  • Breaking: drop node 6 and 8 (1beee24) (Vincent Weevers)
  • Breaking (for browsers): bump buffer from 5.x to 6.x (#373) (f62f38b) (Alex Potsides).

Added

6.3.0 - 2020-04-11

Changed

  • Upgrade devDependency dependency-check from ^3.3.0 to ^4.1.0 (9193656) (@vweevers)

Added

  • Support running test suite on a levelup db, as well as skipping start and end tests (for multileveldown) (#364) (@vweevers)

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 experimental clear() method to delete all entries or a range (#310) (@vweevers).

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 see UPGRADING.md.

Changed

Added

Removed

Fixed

5.0.0 - 2018-05-22

If you are upgrading: please see UPGRADING.md.

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

This was released as a patch because it only changed tests and TypeScript typings (which are marked experimental and don't follow semver).

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)

4.0.0 - 2018-01-20

If you are upgrading: please see UPGRADING.md.

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

If you are upgrading: please see UPGRADING.md.

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

This release was a breaking change. See @juliangruber's comment for more information.

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)

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

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.

Changed

  • Remove use of const in testCommon.js (@rvagg)

0.8.0 - 2013-08-02

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.

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)

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. 🌱