This repository has been archived by the owner on Dec 1, 2024. It is now read-only.
Releases: Level/abstract-leveldown
Releases · Level/abstract-leveldown
v6.0.3
v6.0.2
v6.0.1
v6.0.0
If you are upgrading, please consult the Upgrade Guide.
Changed
- Upgrade
airtap
devDependency from0.0.5
to0.1.0
(#229, #231, #245,029f56a
, #252) (@vweevers, @ralphtheninja) - Upgrade
sinon
devDependency from^5.0.0
to^6.0.0
(#232) (@ralphtheninja) - Upgrade
standard
devDependency from^11.0.0
to^12.0.0
(#303) (@ralphtheninja) - Reject nullish values (#277) (@vweevers)
- Make default
_serializeKey
and_serializeValue
identity functions (#277) (@vweevers) - Don't coerce keys to strings to check if they're empty, instead check arrays explicitly (#277) (@vweevers)
- Make
db
property mandatory and public on iterator and chained batch (#257, #309) (@vweevers) - Align
AbstractChainedBatch#_clear
with_put
and_del
(#257) (@vweevers) - Add
AbstractChainedBatch#_write
with options (#257) (@vweevers) - Use
level-concat-iterator
instead ofcollectEntries
(#246) (@ralphtheninja) - Document API and test suite (#251, #290, #295, #296, #305) (@vweevers)
- Export test suite as a single function (#271, #293, #297) (@vweevers, @ralphtheninja)
- Use factory function to create
db
instances in test suite (#258, #268, #282) (@ralphtheninja, @vweevers) - Isolate snapshot tests so that they can be skipped (#239, #274) (@vweevers, @ralphtheninja)
- Isolate openAdvanced tests so that they can be skipped (#271) (@vweevers)
- Rename
abstract/
totest/
(#253) (@vweevers) - Refactor internal test methods to have the same signature
(test, testCommon)
(#268, #275) (@ralphtheninja) - Prefer
exports.*
overmodule.exports.*
(#276) (@ralphtheninja) - Tweak copyright years for less maintenance (
0b2949a
) (@ralphtheninja)
Added
- Add
iterator#seek()
(#237, #302, #307) (@vweevers, @ralphtheninja) - Add
nyc
andcoveralls
devDependencies for code coverage (#253) (@vweevers) - Add
setUp
andtearDown
to all sub tests (#279, #289) (@ralphtheninja) - Add test for implementations that cannot support snapshots (#239) (@vweevers)
- Add
hallmark
devDependency for Markdown style and contributors (#312) (@vweevers)
Removed
- Remove
location
(#258) (@ralphtheninja) - Remove
lastLocation
,cleanup
,rimraf
(#249) (@vweevers) - Remove IE10 from Sauce Labs test matrix (#312) (@vweevers)
- Remove node 9 from Travis (
0b52395
) (@ralphtheninja) - Remove tests that assumed support of boolean and NaN keys (#277) (@vweevers)
- Remove range tests that assumed
null
meant "not defined" (#277) (@vweevers) - Remove sync test from
test/put-test.js
(#300) (@ralphtheninja) - Remove empty
errorValues()
test (#273) (@ralphtheninja) - Remove default
testCommon
parameter (#264, #271) (@vweevers) - Remove
contributors
frompackage.json
(542f350
) (@ralphtheninja) - Remove copyright headers from code (
a36c04f
) (@ralphtheninja)
Fixed
- Make sure all
t.throw
tests check error messages correctly (#286) (@ralphtheninja) - Check options objects properly for
null
(#257, #288) (@ralphtheninja, @vweevers) - Serialize range options same as keys (#277) (@vweevers)
- Allow nullish and empty range options (#277) (@vweevers)
v5.0.0
Added
- Add node 10 to Travis (@ralphtheninja)
- Add
airtap
for browser tests (@vweevers)
Changed
- Update
sinon
to^5.0.0
(@ralphtheninja) - Tweak README (@ralphtheninja)
- Replace
const
withvar
to support IE10 (@vweevers)
Removed
- Remove node 4, 5 and 7 from Travis (@ralphtheninja)
- Remove TypeScript tests (@vweevers)
- Remove TypeScript typings (@ralphtheninja)
v4.0.3
v4.0.2
v4.0.1
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)
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)
Removed
- Remove obsolete parameters from tests (@vweevers)
Historical Note This was released as a patch because it only changed tests
and TypeScript typings (which are marked experimental and don't follow semver).
v4.0.0
Added
standard
for linting (#150) (@ralphtheninja)- tests to make sure callbacks are called async (@vweevers)
- tests for serialization extensibility (@vweevers)
- @vweevers to contributors (@ralphtheninja)
- upgrade guide in
UPGRADING.md
(@ralphtheninja) - node 9 to travis (@ralphtheninja)
Changed
AbstractLevelDOWN#_setupIteratorOptions
ignores empty range options (@ralphtheninja)- Make
testCommon.js
the default value fortestCommon
parameter (@ralphtheninja) - Use
Buffer.isBuffer()
instead ofAbstractLevelDOWN#isBuffer
(@ralphtheninja) - Major cleanup of iterator tests (#161) (@ralphtheninja)
- Pass on test function as a parameter instead of setting local global (@ralphtheninja)
- Assert type is
'put'
or'del'
in batch (@vweevers) - Assert batch array elements are objects (@vweevers)
Fixed
- Ensure stores are closed properly (fixes problems on Windows) (@ralphtheninja)
- Call back errors on next tick to avoid
zalgo
(@vweevers)
Removed
- Remove
isLevelDOWN
function and corresponding tests (@ralphtheninja) - Remove
AbstractLevelDOWN#approximateSize
method and corresponding tests (@ralphtheninja) - Remove
testBuffer
inabstract/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 inabstract/put-get-del-test.js
, useBuffer
(@ralphtheninja)