Skip to content

Latest commit

 

History

History
1359 lines (801 loc) · 55 KB

CHANGELOG.md

File metadata and controls

1359 lines (801 loc) · 55 KB

Changelog

5.1.1 - 2021-10-02

Added

  • Document new features (#727) (e1ecad9) (Vincent Weevers)

Fixed

  • Expose nextTick for API parity with abstract-leveldown (7bc86e4) (Vincent Weevers)
  • Set supports.status to true (e2e2c34) (Vincent Weevers)

5.1.0 - 2021-10-01

Changed

  • Bump deferred-leveldown from 6.x to 7.x (2226bba) (Vincent Weevers)

Added

  • Add db.getMany(keys) (02cf2d3) (Vincent Weevers).

5.0.1 - 2021-06-07

Changed

  • Remove use of assert module (#721) (f3e86ae) (Alex Potsides)

5.0.0 - 2021-04-17

If you are upgrading: please see UPGRADING.md.

Changed

  • Breaking: modernize syntax and bump standard (Level/community#98) (e19cd54, 762d989) (Vincent Weevers)
  • Breaking: remove Batch._levelup property (cfce6bb) (Vincent Weevers).
  • Align nextTick behavior with abstract-leveldown (4b35716) (Vincent Weevers).
  • Add files to package.json and remove .npmignore (29d8b5d) (Vincent Weevers)
  • Replace xtend with Object.assign() (7bfc0d4) (Vincent Weevers)
  • Bump deferred-leveldown, level-errors, -iterator-stream and -supports (8b518b1, 1b0cfb8) (Vincent Weevers)
  • Refactor promisify() code by using catering module (#700) (Lars-Magnus Skog)

Added

  • Support encoding options on chained batch put() and del() (#717, #633) (0765808) (Vincent Weevers)

Removed

4.4.0 - 2020-04-11

Changed

  • Increase abstract-leveldown parity (#692) (@vweevers):
    • Add db property to chained batch
    • Remove type checks that are also performed by abstract-leveldown
  • Upgrade dependency-check devDependency from ^3.3.0 to ^4.1.0 (71a6aa3) (@vweevers)
  • Upgrade airtap devDependency from ^2.0.0 to ^3.0.0 (#687) (@vweevers)

4.3.2 - 2019-10-04

Changed

  • Upgrade deferred-leveldown from ~5.2.1 to ~5.3.0 (#682) (@vweevers). This fixes the manifest added in 4.3.0.

Added

  • Test manifest integration with deferred-leveldown (#681) (@vweevers)

4.3.1 - 2019-10-03

Fixed

4.3.0 - 2019-09-30

Changed

Added

4.2.0 - 2019-09-08

Changed

Added

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

4.1.0 - 2019-06-28

Many thanks to @MeirionHughes for adding seek() support to memdown, encoding-down, deferred-leveldown and subleveldown. At the time of writing, all but subleveldown have been released. Go forth and seek!

Changed

  • Upgrade deferred-leveldown from ~5.0.0 to ~5.1.0 (#657) (@vweevers)
  • Upgrade delayed devDependency from ^1.0.1 to ^2.0.0 (#659) (@vweevers)

Added

4.0.2 - 2019-06-08

Changed

Added

Removed

Fixed

4.0.1 - 2019-03-30

Changed

4.0.0 - 2018-12-22

If you are upgrading: please see UPGRADING.md.

Changed

  • Upgrade nyc devDependency from ~12.0.2 to ~13.1.0 (@ralphtheninja)
  • Upgrade deferred-leveldown dependency from ~4.0.0 to ~5.0.0 (@vweevers)
  • Upgrade concat-stream devDependency from ~1.6.0 to ~2.0.0 (@ralphtheninja)
  • Upgrade level-iterator-stream dependency from ~3.0.0 to ~4.0.0 (@ralphtheninja)
  • Replace remark-cli with hallmark (#621) (@vweevers)
  • Upgrade standard devDependency from ^11.0.0 to ^12.0.0 (@ralphtheninja)
  • Add .nyc_output/ to .npmignore (@ralphtheninja)

Removed

3.1.1 - 2018-07-14

Changed

Added

Removed

Fixed

3.1.0 - 2018-06-22

Changed

Added

Removed

Fixed

3.0.1 - 2018-05-24

Changed

Removed

3.0.0 - 2018-05-23

If you are upgrading: please see UPGRADING.md.

Added

Changed

Fixed

  • Fix defunct keyEncoding in inject-encoding-test.js (@vweevers)

Removed

2.0.2 - 2018-02-12

Added

Changed

Removed

2.0.1 - 2017-11-11

Changed

Fixed

2.0.0 - 2017-10-10

If you are upgrading: please see UPGRADING.md.

Added

  • Add default export (@zixia)
  • Test that key and value of queued operation is not serialized (@vweevers)
  • Test JSON encoding with stream (@vweevers)
  • Add smoke test for levelup and leveldown without encoding-down (@vweevers)

Changed

Removed

2.0.0-rc3 - 2017-09-15

Changed

Fixed

2.0.0-rc2 - 2017-09-11

Added

Changed

Removed

2.0.0-rc1 - 2017-09-01

Added

Changed

Removed

Fixed

1.3.9 - 2017-07-26

Added

Changed

1.3.8 - 2017-05-29

Changed

1.3.7 - 2017-05-24

Fixed

  • Avoid calling getLevelDOWN if not present (@diasdavid)

1.3.6 - 2017-05-10

Changed

  • Pull LevelDOWN loader out to non browserified module (@kemitchell)

1.3.5 - 2017-03-02

Changed

1.3.4 - 2017-03-02

Added

Removed

1.3.3 - 2016-10-09

Changed

1.3.2 - 2016-05-17

Added

Changed

Removed

Fixed

1.3.1 - 2015-12-10

Added

Changed

1.3.0 - 2015-11-12

Changed

Fixed

1.2.1 - 2015-06-10

Changed

  • Improve error message when trying to require leveldown (@ralphtheninja)

1.2.0 - 2015-06-04

Changed

Fixed

1.1.1 - 2015-05-29

Added

Changed

Removed

1.1.0 - 2015-05-17

Changed

1.0.0 - 2015-05-14

Removed

  • Remove return values from dispatchError() and readError(), they are used as voids (@ralphtheninja)

1.0.0-5 - 2015-05-07

Changed

  • Target multiple iojs versions, remove notifications (@ralphtheninja)
  • Deprecate static functions destroy() and repair() (@juliangruber)

1.0.0-4 - 2015-05-06

Changed

1.0.0-3 - 2015-05-05

Changed

1.0.0-2 - 2015-04-30

Changed

Fixed

1.0.0-1 - 2015-04-28

Added

  • Add test for valueEncoding 'hex' for createReadStream (@braydonf)

Changed

Fixed

  • Fix valueEncoding bug by passing options without array (@braydonf)

1.0.0-0 - 2015-04-28

Added

Changed

  • Support values to be null or undefined (@kesla)
  • README: explain callback arguments to del (@bewest)
  • README: update logo and copyright (@ralphtheninja)
  • README: remove docs on createWriteStream() and add note on what happened to it (@jcrugzz)
  • README: tweak explanation on why createWriteStream() was removed (@ralphtheninja)
  • README: clean up old level-ws reference (@ralphtheninja)
  • README: changed options for get to same as put (@RichardLitt)
  • README: remove reference to write-stream and iterators (@ralphtheninja)
  • Explicit devdep versions (@rvagg)
  • Update Travis and package.json scripts (@jcrugzz)
  • Added errors to the available namespace when requiring levelup (@braydonf)
  • Extract error codes into level-errors module (@ralphtheninja)
  • Use level-codec (@juliangruber)
  • Refactor iterators using new deferred-leveldown (@juliangruber)

Removed

Fixed

0.19.1 - 2016-01-23

Added

Changed

Removed

0.19.0 - 2014-08-26

Added

Changed

  • Refactor encodings and codec from util to separate file (@dominictarr)
  • Decouple codec from levelup parts for allowing arbitrary encoding strategies (@dominictarr)
  • Decouple read-stream from encoding and opening stuff (@dominictarr)
  • Keep codec on the db as db._codec (@dominictarr)
  • Refactor error checks (@dominictarr)
  • README: document lt, lte, gt, and gte (@dominictarr)
  • README: clarify ltgt (@dominictarr)
  • README: unmention bops (@dominictarr)
  • README: discourage the use of start and end a bit (@raboof)
  • README: document what limit does in reverse mode (@raboof)
  • README: use highest/lowest instead of largest/smallest (@raboof)
  • Binary encoding in the browser (@calvinmetcalf)
  • Document code with comments (@dominictarr)
  • Minor style fixes (@rvagg)
  • Minor whitespace changes (@rvagg)
  • Update nodeico badge (@rvagg)

Fixed

0.18.6 - 2014-07-26

Changed

  • Change from MIT +no-false-attribs License to plain MIT (@andrewrk)
  • Upgrade bl dependency (@raynos)

0.18.5 - 2014-06-26

Fixed

  • Replace concat-stream with bl, fixes #251 (@rvagg)

0.18.4 - 2014-06-24

Changed

Fixed

  • Fix race condition on read stream's self._iterator (@nolanlawson)

0.18.3 - 2014-04-26

Changed

  • README: fix formatting (@rvagg)
  • README: minor corrections (@guybrush)
  • README: fix leveldown method wording (@juliangruber)
  • README: clarify start, end and limit options in createReadStream docs (@maxogden)

Removed

0.18.2 - 2013-11-26

Added

  • Add DNT configuration (@rvagg)

Changed

  • Use readable-stream from user land across all node version (@rvagg)

0.18.1 - 2013-11-20

Changed

  • Make chained-batch obey global LevelUP object options (@mcavage)

0.18.0 - 2013-11-18

Changed

  • Upgrade to leveldown@0.10.0 (and bops@0.1.0 and readable-stream@1.1.9) (@rvagg)

0.17.0 - 2013-10-01

Changed

  • Undo factory pattern, use plain prototypal object and expose full prototype (@rvagg)
  • Move Batch object to batch.js and expose (@rvagg)
  • Use new package, DeferredLevelDOWN to handle all deferred open logic (@rvagg)
  • Code cleanup, update deps (xtend) (@rvagg, @juliangruber)

0.16.0 - 2013-09-10

Added

  • Add notFound boolean property and status=404 property to NotFoundError (@rvagg)

Changed

  • Upgrade to errno@0.1.0 which aliases .type and .name properties (@rvagg)
  • ReadStream gracefully handles multiple destroy() calls (@mcollina)

0.15.0 - 2013-08-26

Added

Changed

  • New ReadStream: upgrade to streams2, remove all state-management cruft, remove fstream support (@substack)
  • Upgrade LevelDOWN dependency to ~0.8.0 with Iterator lt/lte/gt/gte support and NAN as a dependency (@rvagg)

0.14.0 - 2013-08-19

Changed

  • Encodings overhaul, allow custom encoders/decoders for keyEncoding or valueEncoding (@dominictarr)

0.13.0 - 2013-08-11

Changed

  • Upgrade LevelDOWN dependency version ~0.7.0 for Node 0.8->0.11 compatibility (@rvagg)

0.12.0 - 2013-07-25

Changed

  • Upgrade LevelDOWN dependency version ~0.6.2 (@rvagg)

0.11.0 - 2013-07-17

Added

  • Add @pgte as contributor

Changed

  • Switch from direct Buffer access to bops for better browser compatibility (@juliangruber)
  • WriteStream#end accepts data argument (@pgte)

Removed

  • Remove all Function#bind calls for better browser compatibility (@juliangruber)

0.10.0 - 2013-06-14

Changed

0.9.0 - 2013-05-21

Changed

  • Use leveldown@0.5.0, see https://github.com/level/leveldown/blob/master/CHANGELOG.md for details (@rvagg)
  • Race-condition(ish) fixed in ReadStream--createReadStream() does not start immediately and therefore allowed put()s to happen before the stream starts (@dominictarr)
  • ReadStream doesn't emit "ready" event (@dominictarr)
  • Allow separate encodings per operation in db.batch() (@juliangruber)
  • Allow separate encodings per write() in WriteStream (@juliangruber)
  • WriteStream supports "type" option ("put" [default] or "del") on constructor and individual write()s (@mcollina)
  • Expose LevelDOWN (or LevelDOWN substitute) as db property on LevelUP instance (e.g. db.db.approximateSize()) (@rvagg)
  • Chained batch exposed from LevelDOWN, invoked with argument-less db.batch() (@juliangruber, @rvagg)
  • Significantly improve ReadStream performance by replacing .bind() and .apply() (@mcollina, @kesla)
  • Better Browserify support (@rvagg, @juliangruber, @maxogden, etc.)
  • Deprecate secondary LevelDB-specific operations on LevelUP, prefer direct LevelDOWN access (approximateSize(), repair(), destroy(), getProperty()--new in leveldown@0.5.0) (@rvagg)

Removed

0.8.0 - 2013-04-17

Changed

  • More comprehensive argument checking, will now report back directly or throw if there is a problem rather than on nextTick (@rvagg)
  • Expose .options property on LevelUP instances. (@rvagg)
  • Further clarify 'encoding' -> 'valueEncoding' shift. db.options.valueEncoding is now authoritative even if user used 'encoding' on initialisation. (@rvagg)
  • level package now published to npm that bundles LevelUP and LevelDOWN and exposes LevelUP directly; for planned shift to detaching LevelDOWN as a direct-dependency of LevelUP. (@rvagg)

0.7.0 - 2013-04-08

Added

  • Add windows support in LevelDOWN@0.2.0 (@rvagg)
  • Add 'db' option on constructor to replace LevelDOWN (@rvagg)
  • Add repair() and destroy() aliases for LevelDOWN implementations (@rvagg)

Changed

  • Improved ReadStream reverse=true start key handling (@kesla)
  • ReadStream empty start and end keys ignored rather than segfault (@kesla)
  • 'encoding' option now an alias for valueEncoding only, keyEncoding defaults to 'utf8' and must be changed explicitly (@rvagg)

Fixed

  • Fix early close emit in WriteStream (@rvagg)

0.6.2 - 2013-03-04

Changed

  • Use xtend package instead of internal util._extend (@ralphtheninja)
  • Internal cleanup of callback argument detection (@ralphtheninja)
  • Move deferred-open-operations into an internal this._db wrapper rather than make them call public .get()/.put() etc. for a second time (@dominictarr)

0.6.1 - 2013-03-01

Changed

Fixed

  • Fix multiple iterator.end() calls in ReadStreams throwing errors, destroy() called while read/next is in progress #82 #83 #84 (@rvagg)

0.6.0 - 2013-02-25

Changed

  • Rename ReadStream, KeyStream and ValueStream to createReadStream, createKeyStream and createValueStream (@rvagg)
  • Complete transition to LevelDOWN for the LevelDB binding. No native code left in LevelUP (@rvagg)

0.6.0-rc1 - 2013-02-24

Changed

  • Refactor and simplify db state code (@ralphtheninja)
  • Extract all binding code to leveldown project (@rvagg)
  • Depend on leveldown@0.0.1 (@rvagg)
  • Simplify callback signature by removing extra, undocumented properties from some callbacks (@rvagg, @dominictarr)

0.5.4 - 2013-02-15

Changed

  • Move encodingOpts from levelup.js to util.js (@ralphtheninja)
  • Allow one next() at a time, improve end() handling (@rvagg)
  • Use explicit namespaces in C++ (@rvagg)

Removed

Fixed

  • Fix put/batch bug in WriteStream#_process() (@ralphtheninja)
  • Fix memory leak, Persistent<Function> callback not Dispose()d for readStream() (@rvagg)

0.5.3 - 2013-01-28

Changed

  • Disable all sqlite3 benchmarks (@ralphtheninja)
  • Put LevelUP() into closure (@ralphtheninja)
  • Swap bufferstream dependency for simple-bufferstream (@rvagg)
  • Make location a read-only property on db object (@rvagg)

0.5.3-1 - 2013-02-05

Changed

  • Non shrinkwrapped release @rvagg

0.5.2 - 2013-01-23

Fixed

  • Fix incorrect scope in approximateSize function (@sandfox)

0.5.1 - 2013-01-10

Changed

0.5.0 - 2013-01-08

Added

  • Add support for setting size of LRU-cache (@kesla)

Changed

Fixed

  • Idempotent open and close, and emit _state as events (@dominictarr)
  • Check that UINT32_OPTION_VALUE is a Uint32 (@kesla)

0.5.0-1 - 2013-01-09

Changed

  • Change createIfMissing option default to true (@rvagg)
  • Use util._extend instead of local variant (@rvagg)

0.4.4 - 2013-01-01

Fixed

  • Set .maxListeners to Infinity to prevent warnings when using deferred open (@juliangruber)

0.4.3 - 2012-12-30

Added

0.4.2 - 2012-12-30

Added

Fixed

  • Use setImmediate instead of process.nextTick for node@0.9.5 compatibility (@rvagg)

0.4.1 - 2012-12-19

Removed

  • Remove useBatch option on writeStream() @rvagg

0.4.0 - 2012-12-17

Added

  • Add SQLite3 to test suite (@rvagg)
  • Add basic get() benchmarks (@rvagg)
  • Add compress boolean on open() (@rvagg)

Changed

  • Speed up batch() and allow non-Strings to C++ (@rvagg)
  • Improved compression test (@rvagg)
  • Return Strings not Buffers from C++ when possible (@rvagg)
  • Optimised encoders and decoders (@rvagg)
  • Revamped benchmark suite (@rvagg)
  • Allow JS Strings through to native layer (@rvagg)
  • Cleaner build for osx (@rvagg)
  • Upgrade to LevelDB@1.7 (@rvagg)

Removed

  • Remove old and unused util functions (@rvagg)
  • Remove compile warnings on osx (@rvagg)
  • Remove compile warnings for solaris (@rvagg)

Fixed

  • Fix batch() benchmarks (@rvagg)

0.3.3 - 2012-12-14

Added

  • Add compression tests (@rvagg)

Fixed

  • Fix Snappy compression (@rvagg)

0.3.2 - 2012-11-24

Added

  • Add more functional tests (@rvagg)
  • Add snapshot tests (@rvagg)

Changed

  • Emit raw keys and values in events (@rvagg)

0.3.1 - 2012-11-21

Added

  • Add benchmark suite (@rvagg)
  • Add limit option to ReadStream (@rvagg)

0.3.0 - 2012-11-18

Added

Changed

  • Document events (@rvagg)
  • Run the encoding on start and end in case your keys are JSON encoded (@raynos)
  • First attempt at deferring operations. All operations that used to throw when called before open are now called once the database is open (@raynos, @rvagg)

Fixed

  • If status is 'closing', call callback after db is closed (@raynos, @rvagg)

0.2.1 - 2012-10-28

Fixed

  • Fix db GC when using multiple ReadStream (@rvagg)

0.2.0 - 2012-10-28

Added

  • Add support for Solaris/SunOS/SmartOS (@rvagg)

0.1.2 - 2012-10-26

Fixed

  • Fix bug with falsey values on start and end, fixes #8 (@rvagg)

0.1.1 - 2012-10-17

Fixed

  • Fix bug with sticky options, fixes #6 (@rvagg)

0.1.0 - 2012-09-28

Added

  • Add Travis setup (@rvagg)
  • Add KeyStream() and ValueStream() (@rvagg)

0.0.5 - 2012-09-22

Changed

  • Native layer errors if key or value are undefined or null (@rvagg)

0.0.5-1 - 2012-09-28

Added

  • Add description to package.json (@rvagg)

0.0.4 - 2012-09-12

Fixed

  • Fix bug with options not being passed to readable streams (@rvagg)

0.0.3 - 2012-09-09

Added

  • Add reverse functionality to readable streams (@rvagg)

0.0.2 - 2012-09-07

Changed

  • Do not encourage using async throw in documentation (@rvagg)
  • Return to classical prototypal inheritance (@rvagg)

Fixed

  • Fix typos in documentation (@rvagg)

0.0.2-1 - 2012-09-07

Added

  • Add repository information to package.json (@rvagg)

0.0.1 - 2012-08-31

Added

  • Add start and end options for readable streams (@rvagg)
  • Add 'json' encoding (@rvagg)
  • Add .nextLocation(), .checkBinaryTestData(), .loadBinaryTestData(), .openTestDatabase(), .commonTearDown(), .commonSetup() and .binaryTestDataMD5Sum to test/common.js (@rvagg)
  • Add tests for .readStream() with start being midway key (@rvagg)
  • Add keywords to package.json (@rvagg)

Changed

  • New API. Database constructor now accepts callback (@rvagg)
  • Update documentation for new API (@rvagg)

Removed

  • Remove usage of global in tests (@rvagg)

0.0.0 - 2012-08-17

🌱 Initial release.

0.0.0-1 - 2012-08-18

Added

  • Add bufferstream dependency (@rvagg)

Changed

  • Document ReadStream and WriteStream (@rvagg)
  • Start using ~ in dependencies (@rvagg)

Removed

  • Remove unused inherits variable (@rvagg)