Skip to content

Commit

Permalink
4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vweevers committed Jul 1, 2022
1 parent 082b8d6 commit ee47b79
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 2 deletions.
18 changes: 17 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,22 @@
# Changelog

## [4.0.0] - 2022-07-01

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

### Changed

- **Breaking:** bump [`readable-stream`](https://github.com/nodejs/readable-stream) from 3 to 4 ([`082b8d6`](https://github.com/Level/level-ws/commit/082b8d6)) (Vincent Weevers)
- **Breaking:** use classes, requiring `new` ([`dafafb2`](https://github.com/Level/level-ws/commit/dafafb2)) (Vincent Weevers)
- **Breaking:** drop Node.js 10 ([`817c30c`](https://github.com/Level/level-ws/commit/817c30c)) (Vincent Weevers)

### Fixed

- Cleanup README and add missing docs for options ([`94a2a8e`](https://github.com/Level/level-ws/commit/94a2a8e)) (Vincent Weevers).

## [3.0.0] - 2021-04-25

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

### Changed

Expand Down Expand Up @@ -102,6 +116,8 @@ _**If you are upgrading:** please see [`UPGRADING.md`](UPGRADING.md)._

:seedling: Initial release.

[4.0.0]: https://github.com/Level/level-ws/releases/tag/v4.0.0

[3.0.0]: https://github.com/Level/level-ws/compare/v2.0.0...v3.0.0

[2.0.0]: https://github.com/Level/level-ws/compare/v1.0.0...v2.0.0
Expand Down
16 changes: 16 additions & 0 deletions UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,22 @@

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

## 4.0.0

Drops support of Node.js 10, upgrades to `readable-stream@4` ([`082b8d6`](https://github.com/Level/level-ws/commit/082b8d6)) and uses classes which means `new` is now required. If you previously did:

```js
const WriteStream = require('level-ws')
const ws = WriteStream(db)
```

You must now do:

```js
const WriteStream = require('level-ws')
const ws = new WriteStream(db)
```

## 3.0.0

This release drops support of legacy runtime environments ([Level/community#98](https://github.com/Level/community/issues/98)):
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "level-ws",
"version": "3.0.0",
"version": "4.0.0",
"description": "A basic writable stream for abstract-level databases",
"license": "MIT",
"main": "level-ws.js",
Expand Down

0 comments on commit ee47b79

Please sign in to comment.