Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions fixed-hash/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog].

## [Unreleased]

## [0.5.2] - 2019-12-19
### Fixed
- re-export `alloc` for both std and no-std to fix compilation (See [PR #268](https://github.com/paritytech/parity-common/pull/268))
Comment thread
niklasad1 marked this conversation as resolved.

## [0.5.1] - 2019-10-24
### Dependencies
- Updated dependencies (https://github.com/paritytech/parity-common/pull/239)
2 changes: 1 addition & 1 deletion fixed-hash/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fixed-hash"
version = "0.5.1"
version = "0.5.2"
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is a breaking change, is it @ordian?

authors = ["Parity Technologies <admin@parity.io>"]
license = "MIT"
homepage = "https://github.com/paritytech/parity-common"
Expand Down
4 changes: 3 additions & 1 deletion kvdb-memorydb/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ The format is based on [Keep a Changelog].
[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/

## [Unreleased]

## [0.2.0] - 2019-12-19
### Fixed
- `iter_from_prefix` behaviour synced with the `kvdb-rocksdb`

### Changed
- Default column support removed from the API
- Column argument type changed from `Option<u32>` to `u32`
- Migration `None` -> `0`, `Some(0)` -> `1`, `Some(1)` -> `2`, etc.
- Migration `None` -> unsupported, `Some(0)` -> `0`, `Some(1)` -> `1`, etc.
4 changes: 2 additions & 2 deletions kvdb-memorydb/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "kvdb-memorydb"
version = "0.1.2"
version = "0.2.0"
authors = ["Parity Technologies <admin@parity.io>"]
repository = "https://github.com/paritytech/parity-common"
description = "A key-value in-memory database that implements the `KeyValueDB` trait"
Expand All @@ -9,4 +9,4 @@ edition = "2018"

[dependencies]
parking_lot = "0.9.0"
kvdb = { version = "0.1", path = "../kvdb" }
kvdb = { version = "0.2", path = "../kvdb" }
6 changes: 3 additions & 3 deletions kvdb-rocksdb/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ The format is based on [Keep a Changelog].
[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/

## [Unreleased]

## [0.3.0] - 2019-12-19
- 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)
- Rename `drop_column` to `remove_last_column` (See [PR #274](https://github.com/paritytech/parity-common/pull/274) for details)
- Rename `get_cf` to `cf` (See [PR #274](https://github.com/paritytech/parity-common/pull/274) for details)
- Default column support removed from the API (See [PR #278](https://github.com/paritytech/parity-common/pull/278) for details)
- Column argument type changed from `Option<u32>` to `u32`
- Migration
- Column index `None` -> `0`, `Some(0)` -> `1`, `Some(1)` -> `2`, etc.
- Column index `None` -> unsupported, `Some(0)` -> `0`, `Some(1)` -> `1`, etc.
- 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`.
- `DatabaseConfig::default()` defaults to 1 column
- `Database::with_columns` still accepts `u32`, but panics if `0` is provided
- `Database::open` panics if configuration with 0 columns is provided
- 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)).

### Breaking
- 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))

## [0.2.0] - 2019-11-28
Expand Down
4 changes: 2 additions & 2 deletions kvdb-rocksdb/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "kvdb-rocksdb"
version = "0.2.0"
version = "0.3.0"
authors = ["Parity Technologies <admin@parity.io>"]
repository = "https://github.com/paritytech/parity-common"
description = "kvdb implementation backed by rocksDB"
Expand All @@ -15,7 +15,7 @@ harness = false
smallvec = "1.0.0"
fs-swap = "0.2.4"
interleaved-ordered = "0.1.1"
kvdb = { path = "../kvdb", version = "0.1" }
kvdb = { path = "../kvdb", version = "0.2" }
log = "0.4.8"
num_cpus = "1.10.1"
parking_lot = "0.9.0"
Expand Down
4 changes: 3 additions & 1 deletion kvdb-web/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ The format is based on [Keep a Changelog].
[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/

## [Unreleased]

## [0.2.0] - 2019-12-19
### Changed
- Default column support removed from the API
- Column argument type changed from `Option<u32>` to `u32`
- Migration `None` -> `0`, `Some(0)` -> `1`, `Some(1)` -> `2`, etc.
- Migration `None` -> unsupported, `Some(0)` -> `0`, `Some(1)` -> `1`, etc.

## [0.1.1] - 2019-10-24
### Dependencies
Expand Down
6 changes: 3 additions & 3 deletions kvdb-web/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "kvdb-web"
version = "0.1.1"
version = "0.2.0"
authors = ["Parity Technologies <admin@parity.io>"]
repository = "https://github.com/paritytech/parity-common"
description = "A key-value database for use in browsers"
Expand All @@ -11,8 +11,8 @@ edition = "2018"
[dependencies]
wasm-bindgen = "0.2.54"
js-sys = "0.3.31"
kvdb = { version = "0.1", path = "../kvdb" }
kvdb-memorydb = { version = "0.1", path = "../kvdb-memorydb" }
kvdb = { version = "0.2", path = "../kvdb" }
kvdb-memorydb = { version = "0.2", path = "../kvdb-memorydb" }
futures = "0.3"
log = "0.4.8"
send_wrapper = "0.3.0"
Expand Down
7 changes: 4 additions & 3 deletions kvdb/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ The format is based on [Keep a Changelog].
[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/

## [Unreleased]

## [0.2.0] - 2019-12-19
### Changed
- [BREAKING] Default column support removed from the API
- Default column support removed from the API
- Column argument type changed from `Option<u32>` to `u32`
- Migration `None` -> `0`, `Some(0)` -> `1`, `Some(1)` -> `2`, etc.
### BREAKING
- Migration `None` -> unsupported, `Some(0)` -> `0`, `Some(1)` -> `1`, etc.
- 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))

## [0.1.1] - 2019-10-24
Expand Down
2 changes: 1 addition & 1 deletion kvdb/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "kvdb"
version = "0.1.1"
version = "0.2.0"
authors = ["Parity Technologies <admin@parity.io>"]
repository = "https://github.com/paritytech/parity-common"
description = "Generic key-value trait"
Expand Down
4 changes: 3 additions & 1 deletion parity-util-mem/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ The format is based on [Keep a Changelog].
[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/

## [Unreleased]
- [BREAKING] Remove `MallocSizeOf` impls for `ElasticArray` and implement it for `SmallVec` (32 and 36). (See [PR #282](https://github.com/paritytech/parity-common/pull/282/files))

## [0.3.0] - 2019-12-19
- Remove `MallocSizeOf` impls for `ElasticArray` and implement it for `SmallVec` (32 and 36). (See [PR #282](https://github.com/paritytech/parity-common/pull/282/files))

## [0.2.1] - 2019-10-24
### Dependencies
Expand Down
2 changes: 1 addition & 1 deletion parity-util-mem/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "parity-util-mem"
version = "0.2.1"
version = "0.3.0"
authors = ["Parity Technologies <admin@parity.io>"]
repository = "https://github.com/paritytech/parity-common"
description = "Collection of memory related utilities"
Expand Down
2 changes: 2 additions & 0 deletions triehash/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog].
[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/

## [Unreleased]

## [0.8.2] - 2019-12-15
- Added no-std support (https://github.com/paritytech/parity-common/pull/280)
## [0.8.1] - 2019-10-24
- Migrated to 2018 edition (https://github.com/paritytech/parity-common/pull/214)
Expand Down