diff --git a/UPGRADING.md b/UPGRADING.md index e37a318..ff7e64c 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -2,6 +2,10 @@ 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). +## 3.0.0 + +This release upgrades to `abstract-level` 3. Please see its [upgrade guide](https://github.com/Level/abstract-level/blob/v3.0.0/UPGRADING.md). Note that `classic-level` already dropped support of Node.js 16. The only relevant breaking change is the removal of `put`, `del` & `batch` events. + ## 2.0.0 This release upgrades to `abstract-level` 2.0.0 which adds [hooks](https://github.com/Level/abstract-level#hooks) and drops callbacks, not-found errors and support of Node.js < 16. Please refer to the [upgrade guide of `abstract-level`](https://github.com/Level/abstract-level/blob/v2.0.0/UPGRADING.md). The only thing to add is that `classic-level` also drops Node.js 16 and Electron < 30, and that the additional methods of `classic-level` like `db.approximateSize()` similarly don't support callbacks anymore. diff --git a/index.js b/index.js index fdb3332..25ebfd2 100644 --- a/index.js +++ b/index.js @@ -22,7 +22,6 @@ class ClassicLevel extends AbstractLevel { utf8: true, view: true }, - seek: true, createIfMissing: true, errorIfExists: true, additionalMethods: { diff --git a/package.json b/package.json index 02584bc..e805e8c 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "prebuild-win32-x64": "prebuildify -t 18.20.4 --napi --strip" }, "dependencies": { - "abstract-level": "^2.0.0", + "abstract-level": "^3.0.1", "module-error": "^1.0.1", "napi-macros": "^2.2.2", "node-gyp-build": "^4.3.0"