Skip to content

Commit 0bf9d06

Browse files
committed
10.0.0
1 parent 988ad43 commit 0bf9d06

File tree

4 files changed

+51
-18
lines changed

4 files changed

+51
-18
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

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

5+
## [10.0.0] - 2021-04-09
6+
7+
### Changed
8+
9+
- **Breaking:** remove legacy range options ([Level/community#86](https://github.com/Level/community/issues/86)) ([`73b19b4`](https://github.com/Level/codec/commit/73b19b4)) (Vincent Weevers)
10+
- **Breaking:** drop node 6 and 8 ([`38dc04c`](https://github.com/Level/codec/commit/38dc04c)) ([Level/community#98](https://github.com/Level/community/issues/98)) (Vincent Weevers)
11+
- **Breaking:** modernize syntax & bump `standard` to 16.x ([`874956f`](https://github.com/Level/codec/commit/874956f), [`e3ed6e4`](https://github.com/Level/codec/commit/e3ed6e4)) ([Level/community#98](https://github.com/Level/community/issues/98)) (Vincent Weevers).
12+
- **Breaking:** bump `buffer` from 15.x to 16.x ([#62](https://github.com/Level/codec/issues/62)) ([Level/community#98](https://github.com/Level/community/issues/98)) ([`78d2ea0`](https://github.com/Level/codec/commit/78d2ea0)) (Alex Potsides).
13+
514
## [9.0.2] - 2020-06-26
615

716
### Changed
@@ -236,6 +245,8 @@ _**If you are upgrading:** please see [`UPGRADING.md`](UPGRADING.md)._
236245

237246
:seedling: Initial release.
238247

248+
[10.0.0]: https://github.com/Level/codec/compare/v9.0.2...v10.0.0
249+
239250
[9.0.2]: https://github.com/Level/codec/compare/v9.0.1...v9.0.2
240251

241252
[9.0.1]: https://github.com/Level/codec/compare/v9.0.0...v9.0.1

CONTRIBUTORS.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# Contributors
22

3-
| Name | GitHub | Social |
4-
| :------------------- | :----------------------------------------------------- | :------------------------------------------------------------ |
5-
| **Julian Gruber** | [**@juliangruber**](https://github.com/juliangruber) | [**@juliangruber@twitter**](https://twitter.com/juliangruber) |
6-
| **Lars-Magnus Skog** | [**@ralphtheninja**](https://github.com/ralphtheninja) | [**@ralph@social.weho.st**](https://social.weho.st/@ralph) |
7-
| **Vincent Weevers** | [**@vweevers**](https://github.com/vweevers) | [**@vweevers@twitter**](https://twitter.com/vweevers) |
8-
| **Dominic Tarr** | [**@dominictarr**](https://github.com/dominictarr) | [**@dominictarr@twitter**](https://twitter.com/dominictarr) |
9-
| **Daniel Cousens** | [**@dcousens**](https://github.com/dcousens) | |
10-
| **Hugo Dias** | | |
11-
| **Meirion Hughes** | [**@MeirionHughes**](https://github.com/MeirionHughes) | |
3+
| Name | GitHub | Social |
4+
| :------------------- | :----------------------------------------------------------- | :------------------------------------------------------------ |
5+
| **Julian Gruber** | [**@juliangruber**](https://github.com/juliangruber) | [**@juliangruber@twitter**](https://twitter.com/juliangruber) |
6+
| **Vincent Weevers** | [**@vweevers**](https://github.com/vweevers) | [**@vweevers@twitter**](https://twitter.com/vweevers) |
7+
| **Lars-Magnus Skog** | [**@ralphtheninja**](https://github.com/ralphtheninja) | [**@ralph@social.weho.st**](https://social.weho.st/@ralph) |
8+
| **Dominic Tarr** | [**@dominictarr**](https://github.com/dominictarr) | [**@dominictarr@twitter**](https://twitter.com/dominictarr) |
9+
| **Alex Potsides** | | |
10+
| **Daniel Cousens** | [**@dcousens**](https://github.com/dcousens) | |
11+
| **Hugo Dias** | | |
12+
| **Meirion Hughes** | [**@MeirionHughes**](https://github.com/MeirionHughes) | |

UPGRADING.md

Lines changed: 29 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,55 @@
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-
## v9
5+
## 10.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+
codec.encodeLtgt({ start: 'a', end: 'z' })
11+
```
12+
13+
An error would now be thrown and you must instead do:
14+
15+
```js
16+
codec.encodeLtgt({ gte: 'a', lte: 'z' })
17+
```
18+
19+
This release also drops support of legacy runtime environments ([Level/community#98](https://github.com/Level/community/issues/98)):
20+
21+
- Node.js 6 and 8
22+
- Internet Explorer 11
23+
- Safari 9-11
24+
- Stock Android browser (AOSP).
25+
26+
## 9.0.0
627

728
Dropped node 0.12, 4, 5 and 7.
829

9-
## v8
30+
## 8.0.0
1031

1132
Previously the "utf8" decoder always returned a string. This was a workaround for `encoding-down` that is no longer needed. The return type now depends on the `asBuffer` option, which is more optimal.
1233

13-
## v7
34+
## 7.0.0
1435

1536
Dropped node 0.10 and iojs.
1637

17-
## v6
38+
## 6.0.0
1839

1940
The `createDecodeStream()` method (introduced in the last 5.x version) has been replaced with `createStreamDecoder()`.
2041

21-
## v5
42+
## 5.0.0
2243

2344
This is a rewrite of both internals and the public API. Please see the README for details.
2445

25-
## v4
46+
## 4.0.0
2647

2748
Removed default encoding ("utf8"). If you relied on this behavior you must now define it yourself.
2849

29-
## v3
50+
## 3.0.0
3051

3152
Removed the `encoding` option in favor of `keyEncoding` and `valueEncoding`. Note: it was partially restored in v6.1.0.
3253

33-
## v2
54+
## 2.0.0
3455

3556
The function signature of `batch()` has changed from `batch(ops, batchOptions, dbOptions)` to `batch(ops, optionObjects)`.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "level-codec",
3-
"version": "9.0.2",
3+
"version": "10.0.0",
44
"description": "Encode keys, values and range options, with built-in or custom encodings",
55
"license": "MIT",
66
"main": "index.js",

0 commit comments

Comments
 (0)