Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Update abstract-leveldown to the latest version 🚀 #77

Merged
merged 21 commits into from
Apr 26, 2019

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Oct 20, 2018

The dependency abstract-leveldown was updated from 5.0.0 to 6.0.0.

This version is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


Release Notes for v6.0.0

If you are upgrading, please consult the Upgrade Guide.

Changed

Added

Removed

Fixed

Commits

The new version differs by 54 commits.

  • af12348 6.0.0
  • 17328ce Prepare 6.0.0 (#312)
  • 5b4c550 Make db property mandatory and public on iterator and chained batch (#309)
  • b610da0 Import seek tests from leveldown (#307)
  • e7285bb readme: undefined behavior for nullish range options is legit (#305)
  • 0f42686 Merge pull request #303 from Level/greenkeeper/standard-12.0.0
  • 1170cea chore(package): update standard to version 12.0.0
  • a6c733b Fix bug in AbstractIterator#_seek (#302)
  • aeabe99 Remove sync test (#300)
  • 51af868 Add 'bufferKeys' and 'seek' to skip options (#297)
  • 76f0477 add Spread The Word and Install sections (#296)
  • 6311fae add test suite documentation (#295)
  • adac630 Update upgrade guide [wip] (#272)
  • e8415d5 Update changelog for v6 (#291)
  • a8aa1c2 Merge testCommon and test options (#293)

There are 54 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

@greenkeeper greenkeeper bot added the dependencies Pull requests that update a dependency file label Oct 20, 2018
greenkeeper bot added a commit that referenced this pull request Dec 27, 2018
@greenkeeper

This comment has been minimized.

@vweevers vweevers added the semver-major Changes that break backward compatibility label Jan 1, 2019
greenkeeper bot added a commit that referenced this pull request Mar 30, 2019
@greenkeeper

This comment has been minimized.

@vweevers

This comment has been minimized.

@vweevers vweevers force-pushed the greenkeeper/abstract-leveldown-6.0.0 branch from 0abfde8 to 4718274 Compare April 7, 2019 10:40
@vweevers
Copy link
Member

vweevers commented Apr 7, 2019

Luckily I could cherry pick almost everything from leveldown.

@vweevers vweevers requested review from ralphtheninja and peakji April 7, 2019 10:51
@vweevers vweevers mentioned this pull request Apr 7, 2019
greenkeeper bot added a commit that referenced this pull request Apr 26, 2019
@greenkeeper

This comment has been minimized.

@vweevers

This comment has been minimized.

@vweevers vweevers self-assigned this Apr 26, 2019
greenkeeper bot and others added 7 commits April 26, 2019 17:28
* Handle location in constructor at it was removed from
abstract-leveldown
* Pass a factory function to abstract tests
* Use tempy in tests, removing need for cleanup
* Use level-concat-iterator in tests
* Invoke abstract tests from single function
* Options is actually now passed as options from abstract-leveldown and not a function
vweevers and others added 14 commits April 26, 2019 17:28
With undefined behavior for nullish targets (range options and
seek targets). Previously, nullish range options were ignored and
seek(null) and seek(undefined) would throw an error. Now they
translate to String(null) and String(undefined).

This change makes it explicit that rocksdb only supports buffers
and strings. Nullish targets do have a meaning in the ecosystem;
that meaning should be given at a higher level like encoding-down.

In other words, it isn't rocksdb's concern anymore.
* Restore (but skip) segfault test from abstract-leveldown
* Prevent segfault when calling iterator() on non-open db
* make callback of makeTest an error-first callback
* normalize error assertions in tests that use makeTest
* handle errors in compactRange test
* use batch() in compactRange test
* serialize compactRange() start and end
* copy type checks from approximateSize to compactRange
@vweevers vweevers force-pushed the greenkeeper/abstract-leveldown-6.0.0 branch from 4718274 to dd18a98 Compare April 26, 2019 15:36
@vweevers vweevers removed their assignment Apr 26, 2019
@vweevers
Copy link
Member

@peakji Could you review the last commit here (dd18a98)? 🙏

I'm fairly confident about the rest.

@peakji
Copy link
Member

peakji commented Apr 26, 2019

@vweevers 👌

@peakji
Copy link
Member

peakji commented Apr 26, 2019

@vweevers I've reviewed batch.h, batch.cc, batch_async.h, batch_async.cc, and related parts in database.cc. LGTM!

@vweevers vweevers merged commit 51b97f7 into master Apr 26, 2019
@vweevers vweevers deleted the greenkeeper/abstract-leveldown-6.0.0 branch April 26, 2019 17:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file semver-major Changes that break backward compatibility
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants