Skip to content

Commit

Permalink
6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vweevers committed Apr 17, 2021
1 parent c92e054 commit b4bc1c3
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 4 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

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

## [6.0.0] - 2021-04-17

### Changed

- **Breaking:** modernize syntax and bump `standard` ([Level/community#98](https://github.com/Level/community/issues/98)) ([`4770d17`](https://github.com/Level/packager/commit/4770d17)) (Vincent Weevers)
- **Breaking:** bump `levelup` and `encoding-down` ([`c92e054`](https://github.com/Level/packager/commit/c92e054)) (Vincent Weevers)
- Add `files` to `package.json` ([`809fb8e`](https://github.com/Level/packager/commit/809fb8e)) (Vincent Weevers)

### Removed

- **Breaking:** drop node 6 and 8 ([Level/community#98](https://github.com/Level/community/issues/98)) ([`5fd4a37`](https://github.com/Level/packager/commit/5fd4a37)) (Vincent Weevers)

## [5.1.1] - 2019-11-29

### Fixed
Expand Down Expand Up @@ -375,6 +389,8 @@

- Remove `tape` from devDependencies, allow callers to pass in custom test function ([**@rvagg**](https://github.com/rvagg))

[6.0.0]: https://github.com/Level/packager/compare/v5.1.1...v6.0.0

[5.1.1]: https://github.com/Level/packager/compare/v5.1.0...v5.1.1

[5.1.0]: https://github.com/Level/packager/compare/v5.0.3...v5.1.0
Expand Down
31 changes: 28 additions & 3 deletions UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,39 @@

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

## v5
## 6.0.0

Legacy range options have been removed ([Level/community#86](https://github.com/Level/community/issues/86)). If you previously did:

```js
db.createReadStream({ start: 'a', end: 'z' })
```

An error would now be thrown and you must instead do:

```js
db.createReadStream({ gte: 'a', lte: 'z' })
```

The same applies to `db.iterator()`, `db.createKeyStream()` and `db.createValueStream()`.

This release also drops support of legacy runtime environments ([Level/community#98](https://github.com/Level/community/issues/98)):

- Node.js 6 and 8
- Internet Explorer 11
- Safari 9-11
- Stock Android browser (AOSP).

Lastly, in browsers, `process.nextTick()` has been replaced with [`queue-microtask`](https://github.com/feross/queue-microtask), except in streams. In the future we might use `queueMicrotask()` in Node.js too.

## 5.0.0

Upgraded to [`levelup@4`](https://github.com/Level/levelup/blob/v4.0.0/UPGRADING.md#v4) and [`encoding-down@6`](https://github.com/Level/encoding-down/blob/v6.0.0/UPGRADING.md#v6). We recommend to pair `level-packager@5` only with a store based on `abstract-leveldown` >= 6. Please follow the earlier links for more information.

## v4
## 4.0.0

The `test.js` file was rewritten to test the `level-packager` api and is no longer part of the api. Implementations based on `level-packager` should instead use the tests in the `abstract/` folder.

## v3
## 3.0.0

Dropped support for node 4. No other breaking changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "level-packager",
"version": "5.1.1",
"version": "6.0.0",
"description": "levelup package helper for distributing with an abstract-leveldown store",
"license": "MIT",
"main": "level-packager.js",
Expand Down

0 comments on commit b4bc1c3

Please sign in to comment.