Skip to content
This repository was archived by the owner on Dec 2, 2024. It is now read-only.
/ subleveldown Public archive

Commit 5190581

Browse files
authored
Prepare 4.0.0 (#62)
1 parent 9c59c60 commit 5190581

File tree

4 files changed

+46
-3
lines changed

4 files changed

+46
-3
lines changed

CHANGELOG.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,39 @@
11
# Changelog
22

3+
_**If you are upgrading:** please see [`UPGRADING.md`](UPGRADING.md)._
4+
35
## [Unreleased][unreleased]
46

7+
## [4.0.0] - 2019-04-06
8+
9+
### Changed
10+
11+
- Upgrade `abstract-leveldown` from `^5.0.0` to `^6.0.2` ([#61](https://github.com/level/subleveldown/issues/61)) ([**@vweevers**](https://github.com/vweevers))
12+
- Upgrade `encoding-down` from `^5.0.3` to `^6.0.1` ([#61](https://github.com/level/subleveldown/issues/61)) ([**@vweevers**](https://github.com/vweevers))
13+
- Upgrade `levelup` from `^3.0.1` to `^4.0.1` ([#61](https://github.com/level/subleveldown/issues/61)) ([**@vweevers**](https://github.com/vweevers))
14+
- Avoid unnecessary copy of batch operations ([#61](https://github.com/level/subleveldown/issues/61)) ([**@vweevers**](https://github.com/vweevers))
15+
- Invoke abstract tests from single function ([#61](https://github.com/level/subleveldown/issues/61)) ([**@vweevers**](https://github.com/vweevers))
16+
- Add mandatory `db` argument to abstract iterator ([#61](https://github.com/level/subleveldown/issues/61)) ([**@vweevers**](https://github.com/vweevers))
17+
- Upgrade `memdown` devDependency from `^3.0.0` to `^4.0.0` ([#61](https://github.com/level/subleveldown/issues/61)) ([**@vweevers**](https://github.com/vweevers))
18+
- Upgrade `nyc` devDependency from `^12.0.2` to `^13.3.0` ([#61](https://github.com/level/subleveldown/issues/61)) ([**@vweevers**](https://github.com/vweevers))
19+
- Upgrade `standard` devDependency from `^11.0.1` to `^12.0.1` ([#61](https://github.com/level/subleveldown/issues/61)) ([**@vweevers**](https://github.com/vweevers))
20+
- Apply common project tweaks ([#58](https://github.com/level/subleveldown/issues/58), [#59](https://github.com/level/subleveldown/issues/59)) ([**@vweevers**](https://github.com/vweevers))
21+
22+
### Added
23+
24+
- Test that errors from `open()` and iterators bubble up ([#61](https://github.com/level/subleveldown/issues/61)) ([**@vweevers**](https://github.com/vweevers))
25+
- Test without a user-provided `levelup` layer ([#61](https://github.com/level/subleveldown/issues/61)) ([**@vweevers**](https://github.com/vweevers))
26+
- Gitignore `coverage` directory ([#61](https://github.com/level/subleveldown/issues/61)) ([**@vweevers**](https://github.com/vweevers))
27+
28+
### Removed
29+
30+
- Remove obsolete `_batch()` checks ([#61](https://github.com/level/subleveldown/issues/61)) ([**@vweevers**](https://github.com/vweevers))
31+
- Remove dummy location from `abstract-leveldown` constructor call ([#61](https://github.com/level/subleveldown/issues/61)) ([**@vweevers**](https://github.com/vweevers))
32+
33+
### Fixed
34+
35+
- Serialize non-buffer keys to strings ([#61](https://github.com/level/subleveldown/issues/61)) ([**@vweevers**](https://github.com/vweevers))
36+
537
## [3.0.1] - 2018-07-27
638

739
### Added
@@ -145,7 +177,9 @@
145177

146178
:seedling: Initial release.
147179

148-
[unreleased]: https://github.com/level/subleveldown/compare/v3.0.1...HEAD
180+
[unreleased]: https://github.com/level/subleveldown/compare/v4.0.0...HEAD
181+
182+
[4.0.0]: https://github.com/level/subleveldown/compare/v3.0.1...v4.0.0
149183

150184
[3.0.1]: https://github.com/level/subleveldown/compare/v3.0.0...v3.0.1
151185

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# subleveldown
22

3-
> Sublevels on top of [`levelup`][levelup] with different encodings for each sublevel.
3+
> Split a [`levelup`][levelup] database into _sublevels_ with their own keyspace, encoding and events.
44
55
[![level badge][level-badge]](https://github.com/Level/awesome)
66
[![npm](https://img.shields.io/npm/v/subleveldown.svg?label=&logo=npm)](https://www.npmjs.com/package/subleveldown)

UPGRADING.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
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+
## v4
6+
7+
Upgraded to `abstract-leveldown@6`, `encoding-down@6` and `levelup@4`. We recommend to pair `subleveldown@4` with `level` >= 5 or when using a custom store, one that is based on `abstract-leveldown` >= 6. For details please see:
8+
9+
- [`abstract-leveldown/UPGRADING.md`](https://github.com/Level/abstract-leveldown/blob/master/UPGRADING.md)
10+
- [`levelup/UPGRADING.md`](https://github.com/Level/levelup/blob/master/UPGRADING.md)
11+
12+
A quick summary: range options are now serialized the same as keys, `db.iterator({ gt: undefined })` is not the same as `db.iterator({})`, nullish values are now rejected and streams are backed by [`readable-stream@3`](https://github.com/nodejs/readable-stream#version-3xx).
13+
514
## v3
615

716
Dropped support for node 4.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "subleveldown",
33
"version": "3.0.1",
4-
"description": "sublevels implemented using leveldowns",
4+
"description": "Split a levelup database into sublevels with their own keyspace, encoding and events",
55
"author": "Mathias Buus (@mafintosh)",
66
"license": "MIT",
77
"main": "index.js",

0 commit comments

Comments
 (0)