Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update next to latest abstract-leveldown #506

Merged
merged 3 commits into from
Sep 23, 2018
Merged

Conversation

vweevers
Copy link
Member

I also rebased the next branch on top of master. Made a mistake (my local next branch was out-of-sync) but fixed it. @ralphtheninja if you still have a local next branch, can you check that it has the same commits as origin/next?

@vweevers vweevers changed the title Update to latest abstract-leveldown Update next to latest abstract-leveldown Sep 22, 2018
@ralphtheninja
Copy link
Member

@ralphtheninja if you still have a local next branch, can you check that it has the same commits as origin/next

Looks good!

@vweevers
Copy link
Member Author

@ralphtheninja does the reasoning in commit message f267647 seem OK to you?

@ralphtheninja
Copy link
Member

@ralphtheninja does the reasoning in commit message f267647 seem OK to you?

It makes sense.

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 leveldown 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 leveldown's concern anymore.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants