diff --git a/CHANGELOG.md b/CHANGELOG.md index 915a0165..58f1db9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 @@ -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 diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 04190f14..4199ed90 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -17,6 +17,7 @@ | **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** | | | @@ -24,11 +25,11 @@ | **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** | | | diff --git a/README.md b/README.md index 36be2263..e19df9bb 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@ - [Supported Platforms](#supported-platforms) - [API](#api) - [Contributing](#contributing) + - [Git Submodules](#git-submodules) - [Publishing](#publishing) - [Donate](#donate) - [Backers](#backers) diff --git a/UPGRADING.md b/UPGRADING.md index 19c7be67..4eaa6fde 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -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.** @@ -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 diff --git a/package.json b/package.json index c70fa089..6e30a279 100644 --- a/package.json +++ b/package.json @@ -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",