Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaking: bump abstract-level to 2.0.0 #52

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .cirrus.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ updates:
- dependency-name: node-gyp
# ESM-only
- dependency-name: tempy

# Stay on the 3rd or 4th oldest stable release, per
# https://www.electronjs.org/docs/latest/tutorial/electron-timelines#version-support-policy
- dependency-name: electron
- package-ecosystem: github-actions
directory: /
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: 14
node-version: 16
architecture: ${{ matrix.arch }}
# Temporary fix for https://github.com/nodejs/node-gyp/issues/2869
# TODO: instead bump node-gyp to >= 10.0.0 (drops Node.js < 16.14)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: 14
node-version: 16
architecture: ${{ matrix.arch }}
# Temporary fix for https://github.com/nodejs/node-gyp/issues/2869
# TODO: instead bump node-gyp to >= 10.0.0 (drops Node.js < 16.14)
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
matrix:
# At the time of writing macos-latest is mac 10; we need 11 to build a universal binary.
os: [ubuntu-latest, macos-11, windows-latest]
node: [12, 14, 16]
node: [16, 18, 20]
arch: [x86, x64]
exclude:
- { os: ubuntu-latest, arch: x86 }
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
with:
file: coverage/lcov.info
- name: Test Electron
if: ${{ matrix.node == '14' }}
if: ${{ matrix.node == '16' }}
uses: GabrielBB/xvfb-action@v1
with:
run: npm run test-electron
Expand Down
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ yarn.lock
.gitmodules
.github
.travis.yml
.cirrus.yml
appveyor.yml
tsconfig.json

Expand Down
595 changes: 54 additions & 541 deletions README.md

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

## 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 the additional methods of `classic-level` like `db.approximateSize()` also don't support callbacks anymore.

## 1.0.0

**Introducing `classic-level`: a fork of [`leveldown`](https://github.com/Level/leveldown) that implements the [`abstract-level`](https://github.com/Level/abstract-level) interface instead of [`abstract-leveldown`](https://github.com/Level/abstract-leveldown). It thus has the same API as `level` and `levelup` including encodings, promises and events. In addition, you can now choose to use Uint8Array instead of Buffer. Sublevels are builtin.**
Expand Down
Loading
Loading