Skip to content

Releases: Level/level-js

v6.1.0

28 Sep 21:51
Compare
Choose a tag to compare

Added

  • Add db.getMany(keys) (#214) (f5a3ca3) (Vincent Weevers).

v6.0.0

09 Apr 19:40
Compare
Choose a tag to compare

If you are upgrading: please see UPGRADING.md.

Changed

  • Breaking: bump abstract-leveldown (720aced) (Vincent Weevers)
  • Breaking: bump buffer from 5.x to 6.x (#210) (cc68b21) (Alex Potsides)
  • Modernize syntax and bump standard (Level/community#98) (0ce815f) (Vincent Weevers)
  • Every browser in our test matrix now supports binary keys (2c20127) (Vincent Weevers)

v5.0.2

03 Apr 18:51
Compare
Choose a tag to compare

Changed

  • Use nextTick of abstract-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

v5.0.1

29 Nov 11:02
Compare
Choose a tag to compare

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-removed IDBWrapper.

v4.0.2

29 Nov 12:59
Compare
Choose a tag to compare

Fixed

  • Restore support of empty prefix option (#185) (@achingbrain, @vweevers). This restores a previous behavior (of level-js < 3) that unknown to us, was provided by the since-removed IDBWrapper. Backport of #184.

v5.0.0

04 Oct 15:21
Compare
Choose a tag to compare

If you are upgrading: please see UPGRADING.md.

Changed

Added

v4.0.1

31 Mar 20:05
Compare
Choose a tag to compare

Changed

Removed

  • Remove outdated sentence about nullish values from README (#166) (@vweevers)

v4.0.0

30 Dec 15:43
Compare
Choose a tag to compare

If you are upgrading, please see the upgrade guide.

Changed

Added

Removed

  • Remove now irrelevant serialization of nullish values (#155) (@vweevers)
  • Remove unused IndexedDBShim from tests (#162) (@vweevers)

v3.0.0

17 Jun 20:41
Compare
Choose a tag to compare

Changed

Added

Fixed

Removed

v3.0.0-rc1

26 May 12:36
Compare
Choose a tag to compare
v3.0.0-rc1 Pre-release
Pre-release

Changed

  • Upgrade abstract-leveldown from 0.12.0 to 5.0.0 (@vweevers)
  • Upgrade typedarray-to-buffer from 1.0.0 to 3.1.5 (@vweevers)
  • Upgrade levelup devDependency from 0.18.2 to 3.0.0 (@vweevers)
  • Upgrade browserify devDependency from 4.1.2 to 16.2.2 (@vweevers)
  • Switch license from BSD to MIT (@ralphtheninja)
  • Replace IDBWrapper with straight IndexedDB code (@vweevers)
  • Change default database prefix from IDBWrapper- to level-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 for null and undefined (@vweevers)
  • Use immediate module for consistent microtask behavior (@vweevers)
  • Replace Buffer() with Buffer.from() (@vweevers)
  • Rename Iterator#iterator to #transaction (@vweevers)
  • Replace beefy with airtap --local for local testing (@vweevers)
  • Homogenize README title, description and headers (@vweevers)
  • Make real tape tests out of test-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 and version 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 stringifies Buffer.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 fulfill abstract-leveldown snapshot guarantees (@vweevers)
  • Stop advancing Iterator cursor when options.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 of Buffer (@vweevers)
  • Remove now unneeded raw option from #_get() and #_iterator() (@vweevers)
  • Run tests without IndexedDBShim (@vweevers)
  • Remove Buffer to Uint8Array 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 in Iterator 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.