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

Commit 77b5238

Browse files
committed
6.0.0
1 parent 686d685 commit 77b5238

5 files changed

Lines changed: 76 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22

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

5+
## [6.0.0] - 2021-04-10
6+
7+
### Changed
8+
9+
- **Breaking:** bump `abstract-leveldown` ([`15d5a9e`](https://github.com/Level/leveldown/commit/15d5a9e)) (Vincent Weevers)
10+
- **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)
11+
- Bump `node-gyp` from 6.x to 7.x ([`8bc5696`](https://github.com/Level/leveldown/commit/8bc5696)) (Vincent Weevers)
12+
- 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)
13+
- 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)
14+
- Skip stack exhaustion test ([`55a33b1`](https://github.com/Level/leveldown/commit/55a33b1)) (Vincent Weevers)
15+
16+
### Removed
17+
18+
- Remove default export ([Level/community#87](https://github.com/Level/community/issues/87)) ([`686d685`](https://github.com/Level/leveldown/commit/686d685)) (Vincent Weevers)
19+
520
## [5.6.0] - 2020-03-27
621

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

794809
### Changed
795810

796-
- Upgrade to `nan@0.6` for Node@0.11.6 support, `v8::Local<T>::New(val)` rewritten to `NanNewLocal<T>(val)` ([**@rvagg**](https://github.com/rvagg))
811+
- Upgrade to `nan@0.6` for Node 0.11.6 support, `v8::Local<T>::New(val)` rewritten to `NanNewLocal<T>(val)` ([**@rvagg**](https://github.com/rvagg))
797812

798813
**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`.
799814

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

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

1101+
[6.0.0]: https://github.com/Level/leveldown/compare/v5.6.0...v6.0.0
1102+
10861103
[5.6.0]: https://github.com/Level/leveldown/compare/v5.5.1...v5.6.0
10871104

10881105
[5.5.1]: https://github.com/Level/leveldown/compare/v5.5.0...v5.5.1

README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,48 @@
1818

1919
- [Introduction](#introduction)
2020
- [Supported Platforms](#supported-platforms)
21+
- [Notes](#notes)
2122
- [API](#api)
23+
- [`db = leveldown(location)`](#db--leveldownlocation)
24+
- [`db.open([options, ]callback)`](#dbopenoptions-callback)
25+
- [`options`](#options)
26+
- [`db.close(callback)`](#dbclosecallback)
27+
- [`db.put(key, value[, options], callback)`](#dbputkey-value-options-callback)
28+
- [`options`](#options-1)
29+
- [`db.get(key[, options], callback)`](#dbgetkey-options-callback)
30+
- [`options`](#options-2)
31+
- [`db.del(key[, options], callback)`](#dbdelkey-options-callback)
32+
- [`options`](#options-3)
33+
- [`db.batch(operations[, options], callback)` _(array form)_](#dbbatchoperations-options-callback-array-form)
34+
- [`db.batch()` _(chained form)_](#dbbatch-chained-form)
35+
- [`db.approximateSize(start, end, callback)`](#dbapproximatesizestart-end-callback)
36+
- [`db.compactRange(start, end, callback)`](#dbcompactrangestart-end-callback)
37+
- [`db.getProperty(property)`](#dbgetpropertyproperty)
38+
- [`db.iterator([options])`](#dbiteratoroptions)
39+
- [`db.clear([options, ]callback)`](#dbclearoptions-callback)
40+
- [`chainedBatch`](#chainedbatch)
41+
- [`chainedBatch.put(key, value)`](#chainedbatchputkey-value)
42+
- [`chainedBatch.del(key)`](#chainedbatchdelkey)
43+
- [`chainedBatch.clear()`](#chainedbatchclear)
44+
- [`chainedBatch.write([options, ]callback)`](#chainedbatchwriteoptions-callback)
45+
- [`chainedBatch.db`](#chainedbatchdb)
46+
- [`iterator`](#iterator)
47+
- [`iterator.next(callback)`](#iteratornextcallback)
48+
- [`iterator.seek(key)`](#iteratorseekkey)
49+
- [`iterator.end(callback)`](#iteratorendcallback)
50+
- [`iterator.db`](#iteratordb)
51+
- [`leveldown.destroy(location, callback)`](#leveldowndestroylocation-callback)
52+
- [`leveldown.repair(location, callback)`](#leveldownrepairlocation-callback)
2253
- [Safety](#safety)
54+
- [Database State](#database-state)
2355
- [Snapshots](#snapshots)
2456
- [Getting Support](#getting-support)
2557
- [Contributing](#contributing)
58+
- [Git Submodules](#git-submodules)
59+
- [Publishing](#publishing)
2660
- [Donate](#donate)
61+
- [Backers](#backers)
62+
- [Sponsors](#sponsors)
2763
- [License](#license)
2864

2965
</details>

UPGRADING.md

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,23 @@
22

33
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).
44

5-
## v5
5+
## 6.0.0
6+
7+
Legacy range options have been removed ([Level/community#86](https://github.com/Level/community/issues/86)). If you previously did:
8+
9+
```js
10+
db.iterator({ start: 'a', end: 'z' })
11+
```
12+
13+
An error would now be thrown and you must instead do:
14+
15+
```js
16+
db.iterator({ gte: 'a', lte: 'z' })
17+
```
18+
19+
This release also drops support of Node.js 6 and 8 ([Level/community#98](https://github.com/Level/community/issues/98)).
20+
21+
## 5.0.0
622

723
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.
824

@@ -58,15 +74,15 @@ db.close(function (err) {
5874

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

61-
## v4
77+
## 4.0.0
6278

6379
Dropped support for node 4. No other breaking changes.
6480

65-
## v3.0.1
81+
## 3.0.1
6682

6783
If you're using node v10 you'll need at least `leveldown@2.0.1` to successfully compile. In addition, if you want prebuilt binaries you'll need at least `leveldown@3.0.1`.
6884

69-
## v3
85+
## 3.0.0
7086

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

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ deploy:
3535
- provider: GitHub
3636
artifact: $(ARCHIVE_NAME)
3737
auth_token:
38-
secure: AjmYV2zeogfen7F6tXvR9PO1zynJVF/jhMCExQ9RMtqEHDMH8Frclym3GniZkEB0
38+
secure: Oe6B6Pf/inZ0I5Ta2HVEMg8PAfwi95EtfvTKKMAvFdUPXF//sExugRdATtnMFiwu
3939
draft: false
4040
on:
4141
appveyor_repo_tag: true

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "leveldown",
3-
"version": "5.6.0",
3+
"version": "6.0.0",
44
"description": "A low-level Node.js LevelDB binding",
55
"license": "MIT",
66
"main": "leveldown.js",

0 commit comments

Comments
 (0)