encoding-down
Version:
An abstract-leveldown implementation that wraps another store to encode keys and values
434 lines (229 loc) • 14.6 kB
Markdown
# Changelog
## [7.1.0] - 2021-09-30
### Added
- Add `db.getMany(keys)` ([#102](https://github.com/Level/encoding-down/issues/102)) ([`4038a30`](https://github.com/Level/encoding-down/commit/4038a30)) (Vincent Weevers).
## [7.0.0] - 2021-04-09
_If you are upgrading: please see [`UPGRADING.md`](UPGRADING.md)._
### Changed
- **Breaking:** drop node 6 and 8 ([Level/community#98](https://github.com/Level/community/issues/98)) ([`5c6752f`](https://github.com/Level/encoding-down/commit/5c6752f)) (Vincent Weevers)
- **Breaking:** modernize syntax and bump `standard` ([Level/community#98](https://github.com/Level/community/issues/98)) ([`404f20f`](https://github.com/Level/encoding-down/commit/404f20f)) (Vincent Weevers)
- Bump `abstract-leveldown`, `level-codec` and `level-errors` ([`83556fd`](https://github.com/Level/encoding-down/commit/83556fd)) (Vincent Weevers)
- Add `files` to `package.json` ([`103fe95`](https://github.com/Level/encoding-down/commit/103fe95)) (Vincent Weevers)
### Added
- Support encoding options on chained batch `put()` and `del()` ([`9690e52`](https://github.com/Level/encoding-down/commit/9690e52)) ([Level/levelup#633](https://github.com/Level/levelup/issues/633)) (Vincent Weevers)
### Removed
- Remove default export ([Level/community#87](https://github.com/Level/community/issues/87)) ([`1111866`](https://github.com/Level/encoding-down/commit/1111866)) (Vincent Weevers)
## [6.3.0] - 2019-10-13
### Added
- Add manifest ([Level/community#83](https://github.com/Level/community/issues/83)) and encode `compactRange()` ([#93](https://github.com/Level/encoding-down/issues/93)) ([**@vweevers**](https://github.com/vweevers))
- Add `type` property for `reachdown` ([Level/community#82](https://github.com/Level/community/issues/82)) ([`8a23848`](https://github.com/Level/encoding-down/commit/8a23848)) ([**@vweevers**](https://github.com/vweevers))
## [6.2.0] - 2019-09-06
### Changed
- Upgrade `hallmark` devDependency from `^0.1.0` to `^2.0.0` ([#85](https://github.com/Level/encoding-down/issues/85), [#91](https://github.com/Level/encoding-down/issues/91)) ([**@vweevers**](https://github.com/vweevers))
- Upgrade `standard` devDependency from `^12.0.0` to `^14.0.0` ([#84](https://github.com/Level/encoding-down/issues/84), [#90](https://github.com/Level/encoding-down/issues/90)) ([**@vweevers**](https://github.com/vweevers))
- Upgrade `memdown` devDependency from `^4.0.0` to `^5.0.0` ([#88](https://github.com/Level/encoding-down/issues/88)) ([**@vweevers**](https://github.com/vweevers))
### Added
- Support `db.clear()` ([#89](https://github.com/Level/encoding-down/issues/89)) ([**@vweevers**](https://github.com/vweevers))
## [6.1.0] - 2019-06-22
### Changed
- Upgrade `nyc` devDependency from `^13.2.0` to `^14.0.0` ([#81](https://github.com/Level/encoding-down/issues/81))) ([**@vweevers**](https://github.com/vweevers))
### Added
- Support seeking ([#82](https://github.com/Level/encoding-down/issues/82), [#83](https://github.com/Level/encoding-down/issues/83)) ([**@MeirionHughes**](https://github.com/MeirionHughes), [**@vweevers**](https://github.com/vweevers))
## [6.0.2] - 2019-03-31
### Changed
- Upgrade `memdown` devDependency from `^3.0.0` to `^4.0.0` ([#80](https://github.com/Level/encoding-down/issues/80)) ([**@vweevers**](https://github.com/vweevers))
- Upgrade `nyc` devDependency from `^12.0.2` to `^13.2.0` ([#79](https://github.com/Level/encoding-down/issues/79)) ([**@vweevers**](https://github.com/vweevers))
- Apply common project tweaks ([#77](https://github.com/Level/encoding-down/issues/77), [#78](https://github.com/Level/encoding-down/issues/78)) ([**@vweevers**](https://github.com/vweevers))
## [6.0.1] - 2018-12-27
### Changed
- Replace `remark-cli` devDependency with `hallmark` ([#76](https://github.com/Level/encoding-down/issues/76)) ([**@vweevers**](https://github.com/vweevers))
### Added
- Increase coverage to 100% ([#75](https://github.com/Level/encoding-down/issues/75)) ([**@vweevers**](https://github.com/vweevers))
### Fixed
- Fix `approximateSize()` to encode `start` and `end` arguments ([#75](https://github.com/Level/encoding-down/issues/75)) ([**@vweevers**](https://github.com/vweevers))
## [6.0.0] - 2018-12-25
_If you are upgrading: please see [`UPGRADING.md`](UPGRADING.md)._
### Changed
- Prefer `const` over `var` in README ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Upgrade `abstract-leveldown` dependency from `^5.0.0` to `^v6.0.0` ([#68](https://github.com/Level/encoding-down/issues/68)) ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Upgrade `standard` devDependency from `^11.0.0` to `^v12.0.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Use full link references in README ([#60](https://github.com/Level/encoding-down/issues/60)) ([**@vweevers**](https://github.com/vweevers))
### Added
- Explain serialization ([#72](https://github.com/Level/encoding-down/issues/72)) ([**@vweevers**](https://github.com/vweevers))
- Add `nyc` and `coveralls` ([#64](https://github.com/Level/encoding-down/issues/64)) ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Removed
- Remove node 9 ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Remove now superfluous `_setupIteratorOptions()` ([**@ralphtheninja**](https://github.com/ralphtheninja))
## [5.0.4] - 2018-06-22
### Added
- Add `LICENSE.md` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Add `CONTRIBUTORS.md` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Add `remark` tooling ([**@ralphtheninja**](https://github.com/ralphtheninja))
## [5.0.3] - 2018-05-30
### Changed
- Replace `util.inherits` with `inherits` module ([**@ralphtheninja**](https://github.com/ralphtheninja))
## [5.0.2] - 2018-05-23
### Added
- Add `UPGRADING.md` ([**@vweevers**](https://github.com/vweevers))
### Changed
- Upgrade `abstract-leveldown` to `5.0.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Upgrade `memdown` to `3.0.0` ([**@vweevers**](https://github.com/vweevers))
## [5.0.1] - 2018-05-19
### Changed
- Override `_setupIteratorOptions` to not clobber ranges ([**@ralphtheninja**](https://github.com/ralphtheninja), [**@dominictarr**](https://github.com/dominictarr))
## [5.0.0] - 2018-05-13
_If you are upgrading: please see [`UPGRADING.md`](UPGRADING.md)._
### Added
- Add 10 to Travis ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Changed
- Update `level-errors` to `2.0.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `level-codec` to `9.0.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Removed
- Remove 4 from Travis ([**@ralphtheninja**](https://github.com/ralphtheninja))
## [4.0.1] - 2018-05-19
### Changed
- Override `_setupIteratorOptions` to not clobber ranges ([**@ralphtheninja**](https://github.com/ralphtheninja), [**@dominictarr**](https://github.com/dominictarr))
## [4.0.0] - 2018-02-12
_If you are upgrading: please see [`UPGRADING.md`](UPGRADING.md)._
### Added
- Add 9 to Travis ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Changed
- Update `abstract-leveldown` to `4.0.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `memdown` to `2.0.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Removed
- Remove 7 from Travis ([**@ralphtheninja**](https://github.com/ralphtheninja))
## [3.0.1] - 2017-12-18
### Added
- Test that default utf8 encoding stringifies numbers ([**@vweevers**](https://github.com/vweevers))
### Fixed
- Skip decoding if `options.keys` or `options.values` is false ([**@vweevers**](https://github.com/vweevers))
## [3.0.0] - 2017-11-11
_If you are upgrading: please see [`UPGRADING.md`](UPGRADING.md)._
### Added
- README: add node badge (>= 4) ([**@vweevers**](https://github.com/vweevers))
### Changed
- Update `abstract-leveldown` to `3.0.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Removed
- Remove 0.12 from Travis ([**@vweevers**](https://github.com/vweevers))
## [2.3.4] - 2017-10-24
### Added
- README: add example of npm installed encoding ([**@vweevers**](https://github.com/vweevers))
## [2.3.3] - 2017-10-22
### Changed
- README: fix `level-codec` links ([**@vweevers**](https://github.com/vweevers))
## [2.3.2] - 2017-10-22
### Changed
- README: tweak badges ([**@ralphtheninja**](https://github.com/ralphtheninja))
- README: add more code examples ([**@vweevers**](https://github.com/vweevers))
- Update `level-codec` to `8.0.0` ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Fixed
- Fix problems related to missing `asBuffer`, `keyAsBuffer` and `valueAsBuffer` ([**@ralphtheninja**](https://github.com/ralphtheninja))
## [2.3.1] - 2017-10-02
### Changed
- Refactor typings ([**@MeirionHughes**](https://github.com/MeirionHughes))
## [2.3.0] - 2017-09-24
### Added
- Add default export ([**@zixia**](https://github.com/zixia))
## [2.2.1] - 2017-09-13
### Fixed
- Fix typings ([**@MeirionHughes**](https://github.com/MeirionHughes))
## [2.2.0] - 2017-09-12
### Added
- Add Typescript typings ([**@MeirionHughes**](https://github.com/MeirionHughes))
### Changed
- README: `AbstractLevelDOWN` -> `abstract-leveldown` ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update `abstract-leveldown` ([**@ralphtheninja**](https://github.com/ralphtheninja))
## [2.1.5] - 2017-08-18
### Added
- README: add api docs ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Add basic tests ([**@ralphtheninja**](https://github.com/ralphtheninja))
### Changed
- Enable Travis for ci ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Update dependencies ([**@ralphtheninja**](https://github.com/ralphtheninja))
- Use `safe-buffer` ([**@ralphtheninja**](https://github.com/ralphtheninja))
## [2.1.4] - 2017-01-26
### Fixed
- Rename methods to `_serializeKey()` and `_serializeValue()` ([**@juliangruber**](https://github.com/juliangruber))
## [2.1.3] - 2017-01-26
### Added
- Add `_encodeKey()` and `_encodeValue()` id functions ([**@juliangruber**](https://github.com/juliangruber))
## [2.1.2] - 2017-01-26
### Fixed
- Emit encoding errors in streams too ([**@juliangruber**](https://github.com/juliangruber))
## [2.1.1] - 2017-01-26
### Fixed
- Return encoding errors on get ([**@juliangruber**](https://github.com/juliangruber))
## [2.1.0] - 2017-01-26
### Added
- Add support for `approximateSize()` ([**@juliangruber**](https://github.com/juliangruber))
## [2.0.8] - 2017-01-26
### Removed
- Remove `Iterator.prototype.seek` ([**@juliangruber**](https://github.com/juliangruber))
### Fixed
- Fix encoding lt/get range options ([**@juliangruber**](https://github.com/juliangruber))
## [2.0.7] - 2017-01-26
### Added
- Add `'utf8'` as default encoding ([**@juliangruber**](https://github.com/juliangruber))
## [2.0.6] - 2017-01-26
### Fixed
- Fix `typof` -> `typeof` bug ([**@juliangruber**](https://github.com/juliangruber))
## [2.0.5] - 2017-01-26
### Fixed
- Fix bug in `iterator._next()` with undefined key or value ([**@juliangruber**](https://github.com/juliangruber))
## [2.0.4] - 2017-01-26
### Changed
- Update `level-codec` for utf8 fixes ([**@juliangruber**](https://github.com/juliangruber))
## [2.0.3] - 2017-01-26
### Fixed
- Fix bug with incorrect db ([**@juliangruber**](https://github.com/juliangruber))
## [2.0.2] - 2017-01-26
### Fixed
- Fix bug with incorrect db and missing new operator ([**@juliangruber**](https://github.com/juliangruber))
## [2.0.1] - 2017-01-26
### Fixed
- Fix bug with `AbstractChainedBatch` inheritance ([**@juliangruber**](https://github.com/juliangruber))
## [2.0.0] - 2017-01-26
### Changed
- Version bump ([**@juliangruber**](https://github.com/juliangruber))
## [1.0.0] - 2017-01-26
:seedling: Initial release.
[7.1.0]: https://github.com/Level/encoding-down/releases/tag/v7.1.0
[7.0.0]: https://github.com/Level/encoding-down/releases/tag/v7.0.0
[6.3.0]: https://github.com/Level/encoding-down/releases/tag/v6.3.0
[6.2.0]: https://github.com/Level/encoding-down/releases/tag/v6.2.0
[6.1.0]: https://github.com/Level/encoding-down/releases/tag/v6.1.0
[6.0.2]: https://github.com/Level/encoding-down/releases/tag/v6.0.2
[6.0.1]: https://github.com/Level/encoding-down/releases/tag/v6.0.1
[6.0.0]: https://github.com/Level/encoding-down/releases/tag/v6.0.0
[5.0.4]: https://github.com/Level/encoding-down/releases/tag/v5.0.4
[5.0.3]: https://github.com/Level/encoding-down/releases/tag/v5.0.3
[5.0.2]: https://github.com/Level/encoding-down/releases/tag/v5.0.2
[5.0.1]: https://github.com/Level/encoding-down/releases/tag/v5.0.1
[5.0.0]: https://github.com/Level/encoding-down/releases/tag/v5.0.0
[4.0.1]: https://github.com/Level/encoding-down/releases/tag/v4.0.1
[4.0.0]: https://github.com/Level/encoding-down/releases/tag/v4.0.0
[3.0.1]: https://github.com/Level/encoding-down/releases/tag/v3.0.1
[3.0.0]: https://github.com/Level/encoding-down/releases/tag/v3.0.0
[2.3.4]: https://github.com/Level/encoding-down/releases/tag/v2.3.4
[2.3.3]: https://github.com/Level/encoding-down/releases/tag/v2.3.3
[2.3.2]: https://github.com/Level/encoding-down/releases/tag/v2.3.2
[2.3.1]: https://github.com/Level/encoding-down/releases/tag/v2.3.1
[2.3.0]: https://github.com/Level/encoding-down/releases/tag/v2.3.0
[2.2.1]: https://github.com/Level/encoding-down/releases/tag/v2.2.1
[2.2.0]: https://github.com/Level/encoding-down/releases/tag/v2.2.0
[2.1.5]: https://github.com/Level/encoding-down/releases/tag/v2.1.5
[2.1.4]: https://github.com/Level/encoding-down/releases/tag/v2.1.4
[2.1.3]: https://github.com/Level/encoding-down/releases/tag/v2.1.3
[2.1.2]: https://github.com/Level/encoding-down/releases/tag/v2.1.2
[2.1.1]: https://github.com/Level/encoding-down/releases/tag/v2.1.1
[2.1.0]: https://github.com/Level/encoding-down/releases/tag/v2.1.0
[2.0.8]: https://github.com/Level/encoding-down/releases/tag/v2.0.8
[2.0.7]: https://github.com/Level/encoding-down/releases/tag/v2.0.7
[2.0.6]: https://github.com/Level/encoding-down/releases/tag/v2.0.6
[2.0.5]: https://github.com/Level/encoding-down/releases/tag/v2.0.5
[2.0.4]: https://github.com/Level/encoding-down/releases/tag/v2.0.4
[2.0.3]: https://github.com/Level/encoding-down/releases/tag/v2.0.3
[2.0.2]: https://github.com/Level/encoding-down/releases/tag/v2.0.2
[2.0.1]: https://github.com/Level/encoding-down/releases/tag/v2.0.1
[2.0.0]: https://github.com/Level/encoding-down/releases/tag/v2.0.0
[1.0.0]: https://github.com/Level/encoding-down/releases/tag/v1.0.0