Skip to content

Commit 2d0a97f

Browse files
committed
7.0.0
1 parent 329e1f5 commit 2d0a97f

File tree

5 files changed

+79
-13
lines changed

5 files changed

+79
-13
lines changed

Diff for: CHANGELOG.md

+21
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22

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

5+
## [7.0.0] - 2021-04-17
6+
7+
### Changed
8+
9+
- **Breaking:** bump `leveldown` and `level-packager` ([`53bd922`](https://github.com/Level/level/commit/53bd922)) (Vincent Weevers)
10+
- **Breaking:** bump `level-js` from 5.x to 6.x ([#194](https://github.com/Level/level/issues/194)) ([`1f6c603`](https://github.com/Level/level/commit/1f6c603)) (Alex Potsides)
11+
- **Breaking:** modernize syntax ([Level/community#98](https://github.com/Level/community/issues/98)) ([`d001b2c`](https://github.com/Level/level/commit/d001b2c)) (Vincent Weevers)
12+
- Add `files` to `package.json` and remove `.npmignore` ([`329e1f5`](https://github.com/Level/level/commit/329e1f5)) (Vincent Weevers)
13+
14+
### Added
15+
16+
- Document chained batch encoding options ([Level/levelup#633](https://github.com/Level/levelup/issues/633)) ([`0b3c11d`](https://github.com/Level/level/commit/0b3c11d)) (Vincent Weevers)
17+
- Document the `clear` event ([Level/community#79](https://github.com/Level/community/issues/79)) ([`52314bf`](https://github.com/Level/level/commit/52314bf)) (Vincent Weevers)
18+
19+
### Removed
20+
21+
- **Breaking:** drop node 8 ([Level/community#98](https://github.com/Level/community/issues/98)) ([`f8a0047`](https://github.com/Level/level/commit/f8a0047), [`31317a6`](https://github.com/Level/level/commit/31317a6)) (Vincent Weevers)
22+
- Remove legacy range options from README ([Level/community#86](https://github.com/Level/community/issues/86)) ([`e56c6b1`](https://github.com/Level/level/commit/e56c6b1)) (Vincent Weevers)
23+
524
## [6.0.1] - 2020-03-04
625

726
### Changed
@@ -371,6 +390,8 @@ _**If you are upgrading:** please see [`UPGRADING.md`](UPGRADING.md)._
371390

372391
:seedling: Initial release.
373392

393+
[7.0.0]: https://github.com/Level/level/compare/v6.0.1...v7.0.0
394+
374395
[6.0.1]: https://github.com/Level/level/compare/v6.0.0...v6.0.1
375396

376397
[6.0.0]: https://github.com/Level/level/compare/v5.0.1...v6.0.0

Diff for: CONTRIBUTORS.md

+14-12
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
# Contributors
22

3-
| Name | GitHub | Social |
4-
| :------------------------- | :--------------------------------------------------------------- | :------------------------------------------------------------ |
5-
| **Lars-Magnus Skog** | [**@ralphtheninja**](https://github.com/ralphtheninja) | [**@ralph@social.weho.st**](https://social.weho.st/@ralph) |
6-
| **Vincent Weevers** | [**@vweevers**](https://github.com/vweevers) | [**@vweevers@twitter**](https://twitter.com/vweevers) |
7-
| **Rod Vagg** | [**@rvagg**](https://github.com/rvagg) | [**@rvagg@twitter**](https://twitter.com/rvagg) |
8-
| **jess** | [**@monkeywithacupcake**](https://github.com/monkeywithacupcake) | |
9-
| **Julian Gruber** | [**@juliangruber**](https://github.com/juliangruber) | [**@juliangruber@twitter**](https://twitter.com/juliangruber) |
10-
| **Tim Oxley** | [**@timoxley**](https://github.com/timoxley) | [**@secoif@twitter**](https://twitter.com/secoif) |
11-
| **Andrew Kelley** | [**@andrewrk**](https://github.com/andrewrk) | |
12-
| **Joseph Dykstra** | [**@ArtskydJ**](https://github.com/ArtskydJ) | |
13-
| **Matt Walters** | [**@mateodelnorte**](https://github.com/mateodelnorte) | |
14-
| **RasmusErik Voel Jensen** | [**@rasmuserik**](https://github.com/rasmuserik) | |
3+
| Name | GitHub | Social |
4+
| :--------------------------- | :--------------------------------------------------------------- | :------------------------------------------------------------ |
5+
| **Lars-Magnus Skog** | [**@ralphtheninja**](https://github.com/ralphtheninja) | [**@ralph@social.weho.st**](https://social.weho.st/@ralph) |
6+
| **Vincent Weevers** | [**@vweevers**](https://github.com/vweevers) | [**@vweevers@twitter**](https://twitter.com/vweevers) |
7+
| **Rod Vagg** | [**@rvagg**](https://github.com/rvagg) | [**@rvagg@twitter**](https://twitter.com/rvagg) |
8+
| **jess** | [**@monkeywithacupcake**](https://github.com/monkeywithacupcake) | |
9+
| **Julian Gruber** | [**@juliangruber**](https://github.com/juliangruber) | [**@juliangruber@twitter**](https://twitter.com/juliangruber) |
10+
| **Tim Oxley** | [**@timoxley**](https://github.com/timoxley) | [**@secoif@twitter**](https://twitter.com/secoif) |
11+
| **Alex Potsides** | | |
12+
| **Andrew Kelley** | [**@andrewrk**](https://github.com/andrewrk) | |
13+
| **Andrii Shumada** | | |
14+
| **Joseph Dykstra** | [**@ArtskydJ**](https://github.com/ArtskydJ) | |
15+
| **Matt Walters** | [**@mateodelnorte**](https://github.com/mateodelnorte) | |
16+
| **RasmusErik Voel Jensen** | [**@rasmuserik**](https://github.com/rasmuserik) | |

Diff for: README.md

+18
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,28 @@
2121
- [Usage](#usage)
2222
- [Supported Platforms](#supported-platforms)
2323
- [API](#api)
24+
- [`db = level(location[, options[, callback]])`](#db--levellocation-options-callback)
25+
- [`db.supports`](#dbsupports)
26+
- [`db.open([callback])`](#dbopencallback)
27+
- [`db.close([callback])`](#dbclosecallback)
28+
- [`db.put(key, value[, options][, callback])`](#dbputkey-value-options-callback)
29+
- [`db.get(key[, options][, callback])`](#dbgetkey-options-callback)
30+
- [`db.del(key[, options][, callback])`](#dbdelkey-options-callback)
31+
- [`db.batch(array[, options][, callback])` _(array form)_](#dbbatcharray-options-callback-array-form)
32+
- [`db.batch()` _(chained form)_](#dbbatch-chained-form)
33+
- [`db.isOpen()`](#dbisopen)
34+
- [`db.isClosed()`](#dbisclosed)
35+
- [`db.createReadStream([options])`](#dbcreatereadstreamoptions)
36+
- [`db.createKeyStream([options])`](#dbcreatekeystreamoptions)
37+
- [`db.createValueStream([options])`](#dbcreatevaluestreamoptions)
38+
- [`db.iterator([options])`](#dbiteratoroptions)
39+
- [`db.clear([options][, callback])`](#dbclearoptions-callback)
2440
- [Promise Support](#promise-support)
2541
- [Events](#events)
2642
- [Contributing](#contributing)
2743
- [Donate](#donate)
44+
- [Backers](#backers)
45+
- [Sponsors](#sponsors)
2846
- [License](#license)
2947

3048
</details>

Diff for: UPGRADING.md

+25
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,31 @@
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+
## 7.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.createReadStream({ start: 'a', end: 'z' })
11+
```
12+
13+
An error would now be thrown and you must instead do:
14+
15+
```js
16+
db.createReadStream({ gte: 'a', lte: 'z' })
17+
```
18+
19+
The same applies to `db.iterator()`, `db.createKeyStream()` and `db.createValueStream()`.
20+
21+
This release also drops support of legacy runtime environments ([Level/community#98](https://github.com/Level/community/issues/98)):
22+
23+
- Node.js 6 and 8
24+
- Internet Explorer 11
25+
- Safari 9-11
26+
- Stock Android browser (AOSP).
27+
28+
Lastly, in browsers, the [`immediate`](https://github.com/calvinmetcalf/immediate) and `process` browser shims for `process.nextTick()` have been replaced with the smaller [`queue-microtask`](https://github.com/feross/queue-microtask), except in streams. In the future we might use `queueMicrotask()` in Node.js too.
29+
530
## 6.0.0
631

732
**No breaking changes to the `level` API. If you're only using `level` in Node.js or Electron, you can upgrade without thinking twice.**

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "level",
3-
"version": "6.0.1",
3+
"version": "7.0.0",
44
"description": "Fast & simple storage - a Node.js-style LevelDB wrapper (a convenience package bundling LevelUP & LevelDOWN)",
55
"license": "MIT",
66
"main": "level.js",

0 commit comments

Comments
 (0)