This repository was archived by the owner on Dec 2, 2024. It is now read-only.
Releases: Level/level-js
Releases · Level/level-js
v6.1.0
v6.0.0
If you are upgrading: please see UPGRADING.md.
Changed
- Breaking: bump
abstract-leveldown(720aced) (Vincent Weevers) - Breaking: bump
bufferfrom 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
v5.0.1
v4.0.2
v5.0.0
If you are upgrading: please see UPGRADING.md.
Changed
- Breaking: Drop support of key & value types other than string and Buffer (#179) (@vweevers)
- Replace mentions of
level-browserifywithlevel(58b3e07) (@vweevers) - Upgrade
hallmarkdevDependency from^0.1.0to^2.0.0(#172, #177) (@vweevers) - Upgrade
nycdevDependency from^13.1.0to^14.0.0(#169) (@vweevers) - Upgrade
standarddevDependency from^12.0.1to^14.0.2(#171,aacb0ea) (@vweevers, @ralphtheninja)
Added
- Add manifest (Level/community#83) (#183) (@vweevers)
- Support
clear()(Level/community#79) (#182) (@vweevers)
v4.0.1
v4.0.0
If you are upgrading, please see the upgrade guide.
Changed
- Upgrade
abstract-leveldownfrom~5.0.0to~6.0.1(#155, #157) (@vweevers) - Don't serialize boolean or
NaNkeys, have IDB reject them (#155) (@vweevers) - Update test of
key cannot be an empty Arrayerror (#155) (@vweevers) - Change
iterator.dbto referencelevel-jsinstance, not IDB (#155) (@vweevers) - Handle
locationin constructor, as it was removed fromabstract-leveldown(#155) (@vweevers) - Use
level-concat-iteratorandtestCommon.factory()in custom tests (#155) (@vweevers) - Invoke abstract tests from single function (#155) (@vweevers)
- Upgrade
airtapdevDependency from0.0.7to^2.0.0(2b71337, #161) (@ralphtheninja, @vweevers) - Upgrade
standarddevDependency from^11.0.1to^12.0.1(#153) (@vweevers, @ralphtheninja) - Replace
remark-clidevDependency withhallmark(#151, #153) (@vweevers)
Added
- Test and document native sort order (#157) (@vweevers)
- Add iPhone and Android
latestto test matrix (#162) (@vweevers) - Add
nycandcoverallsdevDependencies (#150, #153) (eb1aead) (@ralphtheninja, @vweevers) - Add Contributing section to README (
c94a9a4) (@ralphtheninja)
Removed
v3.0.0
Changed
- Destroy with
locationandprefixonly (#116) (@ralphtheninja) - Replace
util.inheritswithinheritsmodule (8db16c1) (@ralphtheninja) - Change copyright years to "2012-present" (
7017edd) (@ralphtheninja) - Simplify license description (#141) (@vweevers)
- Update
package.jsondescription and keywords (#141) (@vweevers)
Added
- Add
CHANGELOG.md(#107, #115) (@ralphtheninja, @vweevers) - Add
UPGRADING.md(#143) (@vweevers) - Add
CONTRIBUTORS.md(replacesCOLLABORATORS.md) (#141) (@vweevers) - Add
standard(#112) (@ralphtheninja) - Document constructor (#119) (@ralphtheninja)
- Document type support (#125, #143) (@vweevers)
- Add
remarktooling (#141, #143, #147) (@vweevers) - Test default and custom prefix (#124) (@vweevers)
- Test all key types of IndexedDB Second Edition (#130) (@vweevers)
- Test illegal value types (#118) (@vweevers)
- Test illegal and stringified key types (#139) (@vweevers)
- Test
Buffer,ArrayBufferandUint8Arrayvalues withasBufferoption (#146) (@vweevers)
Fixed
- Add original copyright owner (Max Ogden) (#141) (@vweevers)
- Replace
level.jsin documentation to match npm namelevel-js(#121) (@ralphtheninja) - Force airtap's browserify to use latest
buffer@5(#122) (@vweevers) - Don't stringify keys (except fallbacks, booleans and
NaN) (#130) (@vweevers) - Fix conversion of
ArrayBuffercursor key toBuffer(#130) (@vweevers) - Catch IndexedDB key and value errors (#139) (@vweevers)
- Use
setImmediatewith callback in_close()(#111) (@ralphtheninja) - Whitelist npm package files (#126) (@vweevers)
- Avoid
instanceof Datefor cross-realm support (#129) (@vweevers) - Fix wrong release date for
3.0.0-rc1(43a702b) (@ralphtheninja)
Removed
- Remove
test/levelup-test.js(#134) (@ralphtheninja) - Remove
levelupfrom destroy tests (#136) (@ralphtheninja)
v3.0.0-rc1
Changed
- Upgrade
abstract-leveldownfrom0.12.0to5.0.0(@vweevers) - Upgrade
typedarray-to-bufferfrom1.0.0to3.1.5(@vweevers) - Upgrade
levelupdevDependency from0.18.2to3.0.0(@vweevers) - Upgrade
browserifydevDependency from4.1.2to16.2.2(@vweevers) - Switch license from BSD to MIT (@ralphtheninja)
- Replace
IDBWrapperwith straight IndexedDB code (@vweevers) - Change default database prefix from
IDBWrapper-tolevel-js-(@vweevers) - Implement abstract
#_serializeKeywith support of all IndexedDB Second Edition types including binary keys (as Buffers) (@vweevers) - Implement abstract
#_serializeValuewith support of all types of the structured clone algorithm except fornullandundefined(@vweevers) - Use
immediatemodule for consistent microtask behavior (@vweevers) - Replace
Buffer()withBuffer.from()(@vweevers) - Rename
Iterator#iteratorto#transaction(@vweevers) - Replace
beefywithairtap --localfor local testing (@vweevers) - Homogenize README title, description and headers (@vweevers)
- Make real
tapetests out oftest-levelup.js(@vweevers) - Restructure custom tests to follow abstract test suite format (@vweevers)
Added
- Add continuous browser tests with
airtapand Sauce Labs (@vweevers) - Add
prefixandversionoptions 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
DataCloneErrorif the environment does not support serializing the type of a key or value (@vweevers) - Include Promise polyfill for
levelupintegration tests (@vweevers) - Test that
IteratorstringifiesBuffer.from()argument (@vweevers) - Add README badges, new goals and a code example with
levelup(@vweevers) - Add npm files to
.gitignore(@vweevers)
Fixed
- Start
Iteratorcursor immediately and fill an in-memory cache to fulfillabstract-leveldownsnapshot guarantees (@vweevers) - Stop advancing
Iteratorcursor whenoptions.limitis reached (@vweevers) - Rename public
#iteratorto 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
ArrayBuffervalues in favor ofBuffer(@vweevers) - Remove now unneeded
rawoption from#_get()and#_iterator()(@vweevers) - Run tests without
IndexedDBShim(@vweevers) - Remove
BuffertoUint8Arrayconversion in#_put()and#_batch()(@vweevers) - Remove obsolete
#_approximateSize(@vweevers) - Remove obsolete
#_isBuffer(@vweevers) - Remove obsolete
testBufferfrom abstract tests (@vweevers) - Remove obsolete writestream test from
test-levelup.js(@vweevers) - Rely on
abstract-leveldowndefaults inIteratorconstructor (@vweevers) - Rely on
abstract-leveldowncallback defaults (@vweevers) - Remove testling from
package.json(@vweevers) - Remove
level.jslogo (@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.