- Consolidated duplicate UndoManagers to single instance - Fixed connection promise to only resolve on 'connected' status - Fixed WebSocketProvider import (WebsocketProvider) - Added proper doc.destroy() cleanup - Renamed isPresenceInitialized property to avoid conflict Co-Authored-By: Paperclip <noreply@paperclip.ing>
26 KiB
Changelog
If you are upgrading: please see UPGRADING.md.
5.0.2 - 2020-04-03
Changed
- Use
nextTickofabstract-leveldown(#195) (@vweevers) (same underlying code) - Upgrade
nycdevDependency from^14.0.0to^15.0.0(#187) (@vweevers) - Upgrade
airtapdevDependency from^2.0.0to^3.0.0(#189) (@vweevers)
Fixed
- Add
bufferfor browsers (#191) (@hugomrdias)
5.0.1 - 2019-11-29
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-removedIDBWrapper.
5.0.0 - 2019-10-04
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)
4.0.1 - 2019-03-31
Changed
Removed
4.0.0 - 2018-12-30
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
- Remove now irrelevant serialization of nullish values (#155) (@vweevers)
- Remove unused
IndexedDBShimfrom tests (#162) (@vweevers)
3.0.0 - 2018-06-17
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)
3.0.0-rc1 - 2018-05-26
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.
2.2.4 - 2016-05-09
Changed
- Use
toArrayBuffer()only when present (@substack)
2.2.3 - 2015-12-10
Changed
- Update
ltgtto^2.1.2(@ryanramage)
2.2.2 - 2015-09-12
Added
- Add @nolanlawson to collaborators (@maxogden)
Fixed
- Fix iterator when start > end (@nolanlawson)
Historical Note This release introduced this._keyRangeError.
2.2.1 - 2015-07-05
Changed
2.2.0 - 2015-07-03
Added
- Add
Collaboratorssection to README (@maxogden)
Changed
- Update syntax highlighting in README (@yoshuawuyts)
- Update
idb-wrapperto^1.5.0(@JamesKyburz) - Update
abstract-leveldownto^2.4.0(@maxogden) - Update
tapeto^4.0.0(@maxogden) - Move
tapeto devDependencies (@maxogden) - Change license from BSD to BSD-2-Clause (@maxogden)
Removed
- Remove Testling badge (@maxogden)
2.1.6 - 2014-06-15
Fixed
- Avoid using keyword in
cursor.continue()(@nolanlawson)
2.1.5 - 2014-05-29
Changed
- Use
ltgtmodule to handle ranges (@dominictarr)
2.1.4 - 2014-05-13
Changed
2.1.3 - 2014-04-09
Added
- Use
typedarray-to-bufferto avoid copying to Buffer (@mafintosh)
2.1.2 - 2014-04-05
Added
- Add link to @brycebaril's presentation to README (@maxogden)
Changed
- Update browser configuration for Testling (@maxogden)
2.1.1 - 2014-03-12
Changed
- Update browser configuration for Testling (@maxogden)
- Update
abstract-leveldownto~0.12.0(@maxogden) - Update
levelupto~0.18.2(@maxogden) - Make sure to store
Uint8Array(@maxogden) - Test storing native JS types with raw = true (@maxogden)
Historical Note This was not published to npm. There's also a gap between 2.1.1 and 2.0.0 that is inconsistent. The options.raw property was introduced in this release.
2.0.0 - 2014-03-09
Changed
- Update
browserifyto~3.32.0(@maxogden) - Update
tapeto~2.10.2(@maxogden) - Change default encoding of values to strings to more closely match
leveldown(@maxogden)
Fixed
- Add missing
xtenddependency (@maxogden)
Historical Note For some reason both tape and browserify were moved from devDependencies to dependencies. This release only had one commit.
1.2.0 - 2014-03-09
Added
- Add
IndexedDBShimto tests (@maxogden) - Add
Level.destroy()(@qs44) - Add prefix to pass
PouchDBtests (@qs44) - Test
Level.destroy()(@calvinmetcalf)
Changed
- Update browser configuration for Testling (@maxogden)
- Pass through open options to idbwrapper (@maxogden)
Fixed
- Don't use
indexedDB.webkitGetDatabasesNames()in tests (@maxogden)
1.1.2 - 2014-02-02
Removed
- Remove global leaks (@mcollina)
1.1.1 - 2014-02-02
Changed
- Modify a copy of the batch array, not the original (@nrw)
Fixed
1.1.0 - 2014-01-30
Added
Changed
- Update README (@maxogden)
- Update
abstract-leveldownto~0.11.0(@rvagg, @maxogden) - Update to work with
abstract-leveldown@0.11.2(@shama, @maxogden) - Update iterator to pass all range tests (@shama, @maxogden)
Fixed
- Fix incorrect version of
abstract-leveldown(@maxogden) - Pass error to callback in
approximateSize()(@mcollina)
Removed
Historical Note In this time period bops shows up and gets removed. Also, ._isBuffer() uses Buffer.isBuffer() in favor of is-buffer module.
1.0.8 - 2013-08-12
Changed
- Move
levelupto devDependencies (@juliangruber)
Removed
- Remove fn#bind from iterator (@juliangruber)
1.0.7 - 2013-07-02
Changed
- Implement full batch support (@mcollina)
Fixed
- Fix git url to
abstract-leveldown(@maxogden)
1.0.6 - 2013-05-31
Changed
- Update
idb-wrapperto1.2.0(@maxogden) - Switch
abstract-leveldown#master(@maxogden) - Disable batch and chainable batch tests (@maxogden)
1.0.5 - 2013-05-30
Changed
- Use upstream
idb-wrapper(@maxogden)
1.0.4 - 2013-05-30
Added
- Test batch and chainable batch (@rvagg)
Changed
- Update
abstract-leveldownto~0.7.1(@rvagg) - Update
levelupto~0.9.0(@brycebaril)
1.0.3 - 2013-05-14
Changed
- Use
is-buffer(@juliangruber)
1.0.2 - 2013-05-04
Fixed
- Don't convert
ArrayBufferand typed arrays to strings (@maxogden)
1.0.1 - 2013-05-03
Added
Changed
- Update README (@maxogden)
- Use
npm testinstead ofnpm start(@shama) - Properly delete test dbs (@maxogden)
- Inherit from
abstract-leveldown(@rvagg)
1.0.0 - 2013-05-03
🌱 Initial release.