Skip to content

Commit

Permalink
10.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vweevers committed Apr 9, 2021
1 parent 988ad43 commit 0bf9d06
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 18 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

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

## [10.0.0] - 2021-04-09

### Changed

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

## [9.0.2] - 2020-06-26

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

:seedling: Initial release.

[10.0.0]: https://github.com/Level/codec/compare/v9.0.2...v10.0.0

[9.0.2]: https://github.com/Level/codec/compare/v9.0.1...v9.0.2

[9.0.1]: https://github.com/Level/codec/compare/v9.0.0...v9.0.1
Expand Down
19 changes: 10 additions & 9 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# Contributors

| Name | GitHub | Social |
| :------------------- | :----------------------------------------------------- | :------------------------------------------------------------ |
| **Julian Gruber** | [**@juliangruber**](https://github.com/juliangruber) | [**@juliangruber@twitter**](https://twitter.com/juliangruber) |
| **Lars-Magnus Skog** | [**@ralphtheninja**](https://github.com/ralphtheninja) | [**@ralph@social.weho.st**](https://social.weho.st/@ralph) |
| **Vincent Weevers** | [**@vweevers**](https://github.com/vweevers) | [**@vweevers@twitter**](https://twitter.com/vweevers) |
| **Dominic Tarr** | [**@dominictarr**](https://github.com/dominictarr) | [**@dominictarr@twitter**](https://twitter.com/dominictarr) |
| **Daniel Cousens** | [**@dcousens**](https://github.com/dcousens) | |
| **Hugo Dias** | | |
| **Meirion Hughes** | [**@MeirionHughes**](https://github.com/MeirionHughes) | |
| Name | GitHub | Social |
| :------------------- | :----------------------------------------------------------- | :------------------------------------------------------------ |
| **Julian Gruber** | [**@juliangruber**](https://github.com/juliangruber) | [**@juliangruber@twitter**](https://twitter.com/juliangruber) |
| **Vincent Weevers** | [**@vweevers**](https://github.com/vweevers) | [**@vweevers@twitter**](https://twitter.com/vweevers) |
| **Lars-Magnus Skog** | [**@ralphtheninja**](https://github.com/ralphtheninja) | [**@ralph@social.weho.st**](https://social.weho.st/@ralph) |
| **Dominic Tarr** | [**@dominictarr**](https://github.com/dominictarr) | [**@dominictarr@twitter**](https://twitter.com/dominictarr) |
| **Alex Potsides** | | |
| **Daniel Cousens** | [**@dcousens**](https://github.com/dcousens) | |
| **Hugo Dias** | | |
| **Meirion Hughes** | [**@MeirionHughes**](https://github.com/MeirionHughes) | |
37 changes: 29 additions & 8 deletions UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,55 @@

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

## v9
## 10.0.0

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

```js
codec.encodeLtgt({ start: 'a', end: 'z' })
```

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

```js
codec.encodeLtgt({ gte: 'a', lte: 'z' })
```

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

## 9.0.0

Dropped node 0.12, 4, 5 and 7.

## v8
## 8.0.0

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.

## v7
## 7.0.0

Dropped node 0.10 and iojs.

## v6
## 6.0.0

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

## v5
## 5.0.0

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

## v4
## 4.0.0

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

## v3
## 3.0.0

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

## v2
## 2.0.0

The function signature of `batch()` has changed from `batch(ops, batchOptions, dbOptions)` to `batch(ops, optionObjects)`.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "level-codec",
"version": "9.0.2",
"version": "10.0.0",
"description": "Encode keys, values and range options, with built-in or custom encodings",
"license": "MIT",
"main": "index.js",
Expand Down

0 comments on commit 0bf9d06

Please sign in to comment.