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

Commit

Permalink
5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vweevers committed Apr 17, 2021
1 parent d53f25c commit 5c8e0b9
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 5 deletions.
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,37 @@

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

## [5.0.0] - 2021-04-17

### Changed

- **Breaking:** bump `abstract-leveldown` ([`e6b9182`](https://github.com/Level/rocksdb/commit/e6b9182), [`271894f`](https://github.com/Level/rocksdb/commit/271894f)) (Vincent Weevers)
- **Breaking:** upgrade to RocksDB 6.17.3 ([`060d182`](https://github.com/Level/rocksdb/commit/060d182)) (Denis Yaremov)
- Move RocksDB to git submodule ([`1b6ea11`](https://github.com/Level/rocksdb/commit/1b6ea11), [`28b37fa`](https://github.com/Level/rocksdb/commit/28b37fa)) (Philippe Schommers)
- 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.
- 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)
- Bump `node-gyp-build` and unlock `napi-macros` ([`4c45b5f`](https://github.com/Level/rocksdb/commit/4c45b5f)) (Vincent Weevers)
- Skip stack exhaustion test ([`69e3dcb`](https://github.com/Level/rocksdb/commit/69e3dcb)) (Vincent Weevers)
- Refactor initial seek ([`949afd2`](https://github.com/Level/rocksdb/commit/949afd2)) (Vincent Weevers)
- Make iterator seek target a local variable ([`9b08726`](https://github.com/Level/rocksdb/commit/9b08726)) (Vincent Weevers)
- Refactor initialization of range options ([`99918c5`](https://github.com/Level/rocksdb/commit/99918c5)) (Vincent Weevers)

### Added

- Add manifest ([Level/community#83](https://github.com/Level/community/issues/83)) ([`5eee577`](https://github.com/Level/rocksdb/commit/5eee577)) (Vincent Weevers)
- Test that empty range options are ignored ([`4888b97`](https://github.com/Level/rocksdb/commit/4888b97)) (Vincent Weevers)

### Removed

- **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)
- Remove default export ([Level/community#87](https://github.com/Level/community/issues/87)) ([`43c1544`](https://github.com/Level/rocksdb/commit/43c1544)) (Vincent Weevers)

### Fixed

- 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)
- Close db in `stack-blower` test ([`1925392`](https://github.com/Level/rocksdb/commit/1925392)) (Vincent Weevers)
- Fix `test-gc` script ([`2c41d3b`](https://github.com/Level/rocksdb/commit/2c41d3b)) (Vincent Weevers)

## [4.1.0] - 2019-09-20

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

**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).

[5.0.0]: https://github.com/Level/rocksdb/compare/v4.1.0...v5.0.0

[4.1.0]: https://github.com/Level/rocksdb/compare/v4.0.1...v4.1.0

[4.0.1]: https://github.com/Level/rocksdb/compare/v4.0.0...v4.0.1
Expand Down
3 changes: 2 additions & 1 deletion CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,19 @@
| **Max Ogden** | [**@maxogden**](https://github.com/maxogden) | [**@maxogden@twitter**](https://twitter.com/maxogden) |
| **cjihrig** | | |
| **Geoff Greer** | [**@ggreer**](https://github.com/ggreer) | |
| **Philippe Schommers** | | |
| **Amine Mouafik** | [**@kytwb**](https://github.com/kytwb) | |
| **Braydon Fuller** | [**@braydonf**](https://github.com/braydonf) | |
| **duralog** | | |
| **James Butler** | [**@sandfox**](https://github.com/sandfox) | |
| **Meirion Hughes** | [**@MeirionHughes**](https://github.com/MeirionHughes) | |
| **Nicola Del Gobbo** | [**@NickNaso**](https://github.com/NickNaso) | |
| **Oguz Bastemur** | [**@obastemur**](https://github.com/obastemur) | [**@obastemur@twitter**](https://twitter.com/obastemur) |
| **Philippe Schommers** | | |
| **Aaron Bieber** | [**@qbit**](https://github.com/qbit) | |
| **Adam Bliss** | [**@abliss**](https://github.com/abliss) | |
| **Andrew Kelley** | [**@andrewrk**](https://github.com/andrewrk) | |
| **Dean Landolt** | [**@deanlandolt**](https://github.com/deanlandolt) | |
| **Denis Yaremov** | | |
| **Eric Swanson** | | |
| **Eugene Ware** | | |
| **flames of love** | | |
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
- [Supported Platforms](#supported-platforms)
- [API](#api)
- [Contributing](#contributing)
- [Git Submodules](#git-submodules)
- [Publishing](#publishing)
- [Donate](#donate)
- [Backers](#backers)
Expand Down
24 changes: 21 additions & 3 deletions UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,25 @@

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

## v4
## 5.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' })
```

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.

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

## 4.0.0

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

Expand Down Expand Up @@ -60,11 +78,11 @@ db.close(function (err) {
})
```

## v3
## 3.0.0

Dropped support for node 4. No other breaking changes.

## v2
## 2.0.0

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

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": "rocksdb",
"version": "4.1.0",
"version": "5.0.0",
"description": "A low-level Node.js RocksDB binding",
"license": "MIT",
"main": "leveldown.js",
Expand Down

0 comments on commit 5c8e0b9

Please sign in to comment.