Skip to content

Commit 3d10274

Browse files
authored
Prepare releases (#286)
* Prepare releases * Sort out cross requirements * Bump fixed-hash as well
1 parent 73297de commit 3d10274

File tree

13 files changed

+32
-19
lines changed

13 files changed

+32
-19
lines changed

fixed-hash/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog].
66

77
## [Unreleased]
88

9+
## [0.5.2] - 2019-12-19
10+
### Fixed
11+
- re-export `alloc` for both std and no-std to fix compilation (See [PR #268](https://github.com/paritytech/parity-common/pull/268))
12+
913
## [0.5.1] - 2019-10-24
1014
### Dependencies
1115
- Updated dependencies (https://github.com/paritytech/parity-common/pull/239)

fixed-hash/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "fixed-hash"
3-
version = "0.5.1"
3+
version = "0.5.2"
44
authors = ["Parity Technologies <admin@parity.io>"]
55
license = "MIT"
66
homepage = "https://github.com/paritytech/parity-common"

kvdb-memorydb/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ The format is based on [Keep a Changelog].
55
[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/
66

77
## [Unreleased]
8+
9+
## [0.2.0] - 2019-12-19
810
### Fixed
911
- `iter_from_prefix` behaviour synced with the `kvdb-rocksdb`
1012

1113
### Changed
1214
- Default column support removed from the API
1315
- Column argument type changed from `Option<u32>` to `u32`
14-
- Migration `None` -> `0`, `Some(0)` -> `1`, `Some(1)` -> `2`, etc.
16+
- Migration `None` -> unsupported, `Some(0)` -> `0`, `Some(1)` -> `1`, etc.

kvdb-memorydb/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "kvdb-memorydb"
3-
version = "0.1.2"
3+
version = "0.2.0"
44
authors = ["Parity Technologies <admin@parity.io>"]
55
repository = "https://github.com/paritytech/parity-common"
66
description = "A key-value in-memory database that implements the `KeyValueDB` trait"
@@ -9,4 +9,4 @@ edition = "2018"
99

1010
[dependencies]
1111
parking_lot = "0.9.0"
12-
kvdb = { version = "0.1", path = "../kvdb" }
12+
kvdb = { version = "0.2", path = "../kvdb" }

kvdb-rocksdb/CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@ The format is based on [Keep a Changelog].
55
[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/
66

77
## [Unreleased]
8+
9+
## [0.3.0] - 2019-12-19
810
- Use `get_pinned` API to save one allocation for each call to `get()` (See [PR #274](https://github.com/paritytech/parity-common/pull/274) for details)
911
- Rename `drop_column` to `remove_last_column` (See [PR #274](https://github.com/paritytech/parity-common/pull/274) for details)
1012
- Rename `get_cf` to `cf` (See [PR #274](https://github.com/paritytech/parity-common/pull/274) for details)
1113
- Default column support removed from the API (See [PR #278](https://github.com/paritytech/parity-common/pull/278) for details)
1214
- Column argument type changed from `Option<u32>` to `u32`
1315
- Migration
14-
- Column index `None` -> `0`, `Some(0)` -> `1`, `Some(1)` -> `2`, etc.
16+
- Column index `None` -> unsupported, `Some(0)` -> `0`, `Some(1)` -> `1`, etc.
1517
- Database must be opened with at least one column and existing DBs has to be opened with a number of columns increased by 1 to avoid having to migrate the data, e.g. before: `Some(9)`, after: `10`.
1618
- `DatabaseConfig::default()` defaults to 1 column
1719
- `Database::with_columns` still accepts `u32`, but panics if `0` is provided
1820
- `Database::open` panics if configuration with 0 columns is provided
1921
- Add `num_keys(col)` to get an estimate of the number of keys in a column (See [PR #285](https://github.com/paritytech/parity-common/pull/285)).
20-
21-
### Breaking
2222
- Remove `ElasticArray` and use the new `DBValue` (alias for `Vec<u8>`) and `DBKey` types from `kvdb`. (See [PR #282](https://github.com/paritytech/parity-common/pull/282/files))
2323

2424
## [0.2.0] - 2019-11-28

kvdb-rocksdb/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "kvdb-rocksdb"
3-
version = "0.2.0"
3+
version = "0.3.0"
44
authors = ["Parity Technologies <admin@parity.io>"]
55
repository = "https://github.com/paritytech/parity-common"
66
description = "kvdb implementation backed by rocksDB"
@@ -15,7 +15,7 @@ harness = false
1515
smallvec = "1.0.0"
1616
fs-swap = "0.2.4"
1717
interleaved-ordered = "0.1.1"
18-
kvdb = { path = "../kvdb", version = "0.1" }
18+
kvdb = { path = "../kvdb", version = "0.2" }
1919
log = "0.4.8"
2020
num_cpus = "1.10.1"
2121
parking_lot = "0.9.0"

kvdb-web/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ The format is based on [Keep a Changelog].
55
[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/
66

77
## [Unreleased]
8+
9+
## [0.2.0] - 2019-12-19
810
### Changed
911
- Default column support removed from the API
1012
- Column argument type changed from `Option<u32>` to `u32`
11-
- Migration `None` -> `0`, `Some(0)` -> `1`, `Some(1)` -> `2`, etc.
13+
- Migration `None` -> unsupported, `Some(0)` -> `0`, `Some(1)` -> `1`, etc.
1214

1315
## [0.1.1] - 2019-10-24
1416
### Dependencies

kvdb-web/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "kvdb-web"
3-
version = "0.1.1"
3+
version = "0.2.0"
44
authors = ["Parity Technologies <admin@parity.io>"]
55
repository = "https://github.com/paritytech/parity-common"
66
description = "A key-value database for use in browsers"
@@ -11,8 +11,8 @@ edition = "2018"
1111
[dependencies]
1212
wasm-bindgen = "0.2.54"
1313
js-sys = "0.3.31"
14-
kvdb = { version = "0.1", path = "../kvdb" }
15-
kvdb-memorydb = { version = "0.1", path = "../kvdb-memorydb" }
14+
kvdb = { version = "0.2", path = "../kvdb" }
15+
kvdb-memorydb = { version = "0.2", path = "../kvdb-memorydb" }
1616
futures = "0.3"
1717
log = "0.4.8"
1818
send_wrapper = "0.3.0"

kvdb/CHANGELOG.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ The format is based on [Keep a Changelog].
55
[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/
66

77
## [Unreleased]
8+
9+
## [0.2.0] - 2019-12-19
810
### Changed
9-
- [BREAKING] Default column support removed from the API
11+
- Default column support removed from the API
1012
- Column argument type changed from `Option<u32>` to `u32`
11-
- Migration `None` -> `0`, `Some(0)` -> `1`, `Some(1)` -> `2`, etc.
12-
### BREAKING
13+
- Migration `None` -> unsupported, `Some(0)` -> `0`, `Some(1)` -> `1`, etc.
1314
- Remove `ElasticArray` and change `DBValue` to be a type alias for `Vec<u8>` and add a `DBKey` backed by a `SmallVec`. (See [PR #282](https://github.com/paritytech/parity-common/pull/282/files))
1415

1516
## [0.1.1] - 2019-10-24

kvdb/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "kvdb"
3-
version = "0.1.1"
3+
version = "0.2.0"
44
authors = ["Parity Technologies <admin@parity.io>"]
55
repository = "https://github.com/paritytech/parity-common"
66
description = "Generic key-value trait"

0 commit comments

Comments
 (0)