Skip to content

Commit

Permalink
6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vweevers committed Apr 11, 2021
1 parent 686d685 commit 77b5238
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 7 deletions.
19 changes: 18 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@

_**If you are upgrading:** please see [`UPGRADING.md`](UPGRADING.md)._

## [6.0.0] - 2021-04-10

### Changed

- **Breaking:** bump `abstract-leveldown` ([`15d5a9e`](https://github.com/Level/leveldown/commit/15d5a9e)) (Vincent Weevers)
- **Breaking:** drop node 6 and 8 ([Level/community#98](https://github.com/Level/community/issues/98)) ([`8502b34`](https://github.com/Level/leveldown/commit/8502b34)) (Vincent Weevers)
- Bump `node-gyp` from 6.x to 7.x ([`8bc5696`](https://github.com/Level/leveldown/commit/8bc5696)) (Vincent Weevers)
- Bump `standard` from 14.x to 16.x ([`d39e232`](https://github.com/Level/leveldown/commit/d39e232), [`39e3ca3`](https://github.com/Level/leveldown/commit/39e3ca3)) (Vincent Weevers)
- Bump `node-gyp-build` from 4.1.x to 4.2.x ([#708](https://github.com/Level/leveldown/issues/708)) ([`91711fa`](https://github.com/Level/leveldown/commit/91711fa)) (Vincent Weevers)
- Skip stack exhaustion test ([`55a33b1`](https://github.com/Level/leveldown/commit/55a33b1)) (Vincent Weevers)

### Removed

- Remove default export ([Level/community#87](https://github.com/Level/community/issues/87)) ([`686d685`](https://github.com/Level/leveldown/commit/686d685)) (Vincent Weevers)

## [5.6.0] - 2020-03-27

### Changed
Expand Down Expand Up @@ -793,7 +808,7 @@ _**If you are upgrading:** please see [`UPGRADING.md`](UPGRADING.md)._

### Changed

- Upgrade to `[email protected]` for Node@0.11.6 support, `v8::Local<T>::New(val)` rewritten to `NanNewLocal<T>(val)` ([**@rvagg**](https://github.com/rvagg))
- Upgrade to `[email protected]` for Node 0.11.6 support, `v8::Local<T>::New(val)` rewritten to `NanNewLocal<T>(val)` ([**@rvagg**](https://github.com/rvagg))

**Historical Note** From this release and onward, tags in git start with the prefix `v`, i.e. this release corresponds to the tag `v0.10.1`.

Expand Down Expand Up @@ -1083,6 +1098,8 @@ _**If you are upgrading:** please see [`UPGRADING.md`](UPGRADING.md)._

:seedling: First release. Extracted from `levelup` as a stand-alone package ([**@rvagg**](https://github.com/rvagg))

[6.0.0]: https://github.com/Level/leveldown/compare/v5.6.0...v6.0.0

[5.6.0]: https://github.com/Level/leveldown/compare/v5.5.1...v5.6.0

[5.5.1]: https://github.com/Level/leveldown/compare/v5.5.0...v5.5.1
Expand Down
36 changes: 36 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,48 @@

- [Introduction](#introduction)
- [Supported Platforms](#supported-platforms)
- [Notes](#notes)
- [API](#api)
- [`db = leveldown(location)`](#db--leveldownlocation)
- [`db.open([options, ]callback)`](#dbopenoptions-callback)
- [`options`](#options)
- [`db.close(callback)`](#dbclosecallback)
- [`db.put(key, value[, options], callback)`](#dbputkey-value-options-callback)
- [`options`](#options-1)
- [`db.get(key[, options], callback)`](#dbgetkey-options-callback)
- [`options`](#options-2)
- [`db.del(key[, options], callback)`](#dbdelkey-options-callback)
- [`options`](#options-3)
- [`db.batch(operations[, options], callback)` _(array form)_](#dbbatchoperations-options-callback-array-form)
- [`db.batch()` _(chained form)_](#dbbatch-chained-form)
- [`db.approximateSize(start, end, callback)`](#dbapproximatesizestart-end-callback)
- [`db.compactRange(start, end, callback)`](#dbcompactrangestart-end-callback)
- [`db.getProperty(property)`](#dbgetpropertyproperty)
- [`db.iterator([options])`](#dbiteratoroptions)
- [`db.clear([options, ]callback)`](#dbclearoptions-callback)
- [`chainedBatch`](#chainedbatch)
- [`chainedBatch.put(key, value)`](#chainedbatchputkey-value)
- [`chainedBatch.del(key)`](#chainedbatchdelkey)
- [`chainedBatch.clear()`](#chainedbatchclear)
- [`chainedBatch.write([options, ]callback)`](#chainedbatchwriteoptions-callback)
- [`chainedBatch.db`](#chainedbatchdb)
- [`iterator`](#iterator)
- [`iterator.next(callback)`](#iteratornextcallback)
- [`iterator.seek(key)`](#iteratorseekkey)
- [`iterator.end(callback)`](#iteratorendcallback)
- [`iterator.db`](#iteratordb)
- [`leveldown.destroy(location, callback)`](#leveldowndestroylocation-callback)
- [`leveldown.repair(location, callback)`](#leveldownrepairlocation-callback)
- [Safety](#safety)
- [Database State](#database-state)
- [Snapshots](#snapshots)
- [Getting Support](#getting-support)
- [Contributing](#contributing)
- [Git Submodules](#git-submodules)
- [Publishing](#publishing)
- [Donate](#donate)
- [Backers](#backers)
- [Sponsors](#sponsors)
- [License](#license)

</details>
Expand Down
24 changes: 20 additions & 4 deletions UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,23 @@

This document describes breaking changes and how to upgrade. For a complete list of changes including minor and patch releases, please refer to the [changelog](CHANGELOG.md).

## v5
## 6.0.0

Legacy range options have been removed ([Level/community#86](https://github.com/Level/community/issues/86)). If you previously did:

```js
db.iterator({ start: 'a', end: 'z' })
```

An error would now be thrown and you must instead do:

```js
db.iterator({ gte: 'a', lte: 'z' })
```

This release also drops support of Node.js 6 and 8 ([Level/community#98](https://github.com/Level/community/issues/98)).

## 5.0.0

This is a rewrite to N-API - which is a huge milestone, achieved without an impact on write performance - and an upgrade to `abstract-leveldown` v6, which solves long-standing issues around serialization and type support.

Expand Down Expand Up @@ -58,15 +74,15 @@ db.close(function (err) {

A future release will do the same for other operations like `get` and `batch`.

## v4
## 4.0.0

Dropped support for node 4. No other breaking changes.

## v3.0.1
## 3.0.1

If you're using node v10 you'll need at least `[email protected]` to successfully compile. In addition, if you want prebuilt binaries you'll need at least `[email protected]`.

## v3
## 3.0.0

#### `.batch(array)` enforces objects

Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ deploy:
- provider: GitHub
artifact: $(ARCHIVE_NAME)
auth_token:
secure: AjmYV2zeogfen7F6tXvR9PO1zynJVF/jhMCExQ9RMtqEHDMH8Frclym3GniZkEB0
secure: Oe6B6Pf/inZ0I5Ta2HVEMg8PAfwi95EtfvTKKMAvFdUPXF//sExugRdATtnMFiwu
draft: false
on:
appveyor_repo_tag: true
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "leveldown",
"version": "5.6.0",
"version": "6.0.0",
"description": "A low-level Node.js LevelDB binding",
"license": "MIT",
"main": "leveldown.js",
Expand Down

0 comments on commit 77b5238

Please sign in to comment.