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

Commit 5c8e0b9

Browse files
committed
5.0.0
1 parent d53f25c commit 5c8e0b9

File tree

5 files changed

+58
-5
lines changed

5 files changed

+58
-5
lines changed

CHANGELOG.md

+33
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,37 @@
22

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

5+
## [5.0.0] - 2021-04-17
6+
7+
### Changed
8+
9+
- **Breaking:** bump `abstract-leveldown` ([`e6b9182`](https://github.com/Level/rocksdb/commit/e6b9182), [`271894f`](https://github.com/Level/rocksdb/commit/271894f)) (Vincent Weevers)
10+
- **Breaking:** upgrade to RocksDB 6.17.3 ([`060d182`](https://github.com/Level/rocksdb/commit/060d182)) (Denis Yaremov)
11+
- Move RocksDB to git submodule ([`1b6ea11`](https://github.com/Level/rocksdb/commit/1b6ea11), [`28b37fa`](https://github.com/Level/rocksdb/commit/28b37fa)) (Philippe Schommers)
12+
- Replace Ubuntu 16.04 with CentOS 7 for prebuilds ([#153](https://github.com/Level/rocksdb/issues/153)) ([`6b2ebb7`](https://github.com/Level/rocksdb/commit/6b2ebb7)) (Vincent Weevers). This makes the prebuilt binary for linux compatible with Debian 8, Ubuntu 14.04, RHEL 7, CentOS 7 and other flavors with an old glibc.
13+
- Bump `node-gyp` from 5.x to 7.x ([`2d20d18`](https://github.com/Level/rocksdb/commit/2d20d18), [`9d36809`](https://github.com/Level/rocksdb/commit/9d36809)) (Vincent Weevers)
14+
- Bump `node-gyp-build` and unlock `napi-macros` ([`4c45b5f`](https://github.com/Level/rocksdb/commit/4c45b5f)) (Vincent Weevers)
15+
- Skip stack exhaustion test ([`69e3dcb`](https://github.com/Level/rocksdb/commit/69e3dcb)) (Vincent Weevers)
16+
- Refactor initial seek ([`949afd2`](https://github.com/Level/rocksdb/commit/949afd2)) (Vincent Weevers)
17+
- Make iterator seek target a local variable ([`9b08726`](https://github.com/Level/rocksdb/commit/9b08726)) (Vincent Weevers)
18+
- Refactor initialization of range options ([`99918c5`](https://github.com/Level/rocksdb/commit/99918c5)) (Vincent Weevers)
19+
20+
### Added
21+
22+
- Add manifest ([Level/community#83](https://github.com/Level/community/issues/83)) ([`5eee577`](https://github.com/Level/rocksdb/commit/5eee577)) (Vincent Weevers)
23+
- Test that empty range options are ignored ([`4888b97`](https://github.com/Level/rocksdb/commit/4888b97)) (Vincent Weevers)
24+
25+
### Removed
26+
27+
- **Breaking:** drop node 8 ([Level/community#98](https://github.com/Level/community/issues/98)) ([`05aefaa`](https://github.com/Level/rocksdb/commit/05aefaa), [`fd69183`](https://github.com/Level/rocksdb/commit/fd69183)) (Vincent Weevers)
28+
- Remove default export ([Level/community#87](https://github.com/Level/community/issues/87)) ([`43c1544`](https://github.com/Level/rocksdb/commit/43c1544)) (Vincent Weevers)
29+
30+
### Fixed
31+
32+
- Hide symbols on mac with `-fvisibility=hidden` ([#150](https://github.com/Level/rocksdb/issues/150)) ([`e2e09c9`](https://github.com/Level/rocksdb/commit/e2e09c9)) (Vincent Weevers)
33+
- Close db in `stack-blower` test ([`1925392`](https://github.com/Level/rocksdb/commit/1925392)) (Vincent Weevers)
34+
- Fix `test-gc` script ([`2c41d3b`](https://github.com/Level/rocksdb/commit/2c41d3b)) (Vincent Weevers)
35+
536
## [4.1.0] - 2019-09-20
637

738
### Added
@@ -183,6 +214,8 @@ _**If you are upgrading:** please see [`UPGRADING.md`](UPGRADING.md)._
183214

184215
**Historical Note** Earlier versions were published before `v1.0.0` but the code was then a branch inside [`leveldown`](https://github.com/Level/leveldown). This version marks the point where that code was extracted into its own repository thanks to the work of [`@mcollina`](https://github.com/mcollina).
185216

217+
[5.0.0]: https://github.com/Level/rocksdb/compare/v4.1.0...v5.0.0
218+
186219
[4.1.0]: https://github.com/Level/rocksdb/compare/v4.0.1...v4.1.0
187220

188221
[4.0.1]: https://github.com/Level/rocksdb/compare/v4.0.0...v4.0.1

CONTRIBUTORS.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,19 @@
1717
| **Max Ogden** | [**@maxogden**](https://github.com/maxogden) | [**@maxogden@twitter**](https://twitter.com/maxogden) |
1818
| **cjihrig** | | |
1919
| **Geoff Greer** | [**@ggreer**](https://github.com/ggreer) | |
20+
| **Philippe Schommers** | | |
2021
| **Amine Mouafik** | [**@kytwb**](https://github.com/kytwb) | |
2122
| **Braydon Fuller** | [**@braydonf**](https://github.com/braydonf) | |
2223
| **duralog** | | |
2324
| **James Butler** | [**@sandfox**](https://github.com/sandfox) | |
2425
| **Meirion Hughes** | [**@MeirionHughes**](https://github.com/MeirionHughes) | |
2526
| **Nicola Del Gobbo** | [**@NickNaso**](https://github.com/NickNaso) | |
2627
| **Oguz Bastemur** | [**@obastemur**](https://github.com/obastemur) | [**@obastemur@twitter**](https://twitter.com/obastemur) |
27-
| **Philippe Schommers** | | |
2828
| **Aaron Bieber** | [**@qbit**](https://github.com/qbit) | |
2929
| **Adam Bliss** | [**@abliss**](https://github.com/abliss) | |
3030
| **Andrew Kelley** | [**@andrewrk**](https://github.com/andrewrk) | |
3131
| **Dean Landolt** | [**@deanlandolt**](https://github.com/deanlandolt) | |
32+
| **Denis Yaremov** | | |
3233
| **Eric Swanson** | | |
3334
| **Eugene Ware** | | |
3435
| **flames of love** | | |

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
- [Supported Platforms](#supported-platforms)
2222
- [API](#api)
2323
- [Contributing](#contributing)
24+
- [Git Submodules](#git-submodules)
2425
- [Publishing](#publishing)
2526
- [Donate](#donate)
2627
- [Backers](#backers)

UPGRADING.md

+21-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,25 @@
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-
## v4
5+
## 5.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+
A db created or opened with this release cannot be opened by earlier versions, because RocksDB has been upgraded to 6.17.3 which effectively changes the default [`format_version`](https://rocksdb.org/blog/2019/03/08/format-version-4.html) from 2 to 4.
20+
21+
This release also drops support of Node.js 8 ([Level/community#98](https://github.com/Level/community/issues/98)).
22+
23+
## 4.0.0
624

725
**This is a rewrite to N-API and an upgrade to `abstract-leveldown` v6, which solves long-standing issues around serialization and type support.**
826

@@ -60,11 +78,11 @@ db.close(function (err) {
6078
})
6179
```
6280

63-
## v3
81+
## 3.0.0
6482

6583
Dropped support for node 4. No other breaking changes.
6684

67-
## v2
85+
## 2.0.0
6886

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

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rocksdb",
3-
"version": "4.1.0",
3+
"version": "5.0.0",
44
"description": "A low-level Node.js RocksDB binding",
55
"license": "MIT",
66
"main": "leveldown.js",

0 commit comments

Comments
 (0)