Skip to content

Commit

Permalink
release is coming (#680)
Browse files Browse the repository at this point in the history
* parity-util-mem: bump version and update changelog

* prepare for more releases

* update kvdb-rocksdb

* moar updates

* publish kvdb-shared-tests too

* Back to the future

* fix compilation
  • Loading branch information
ordian committed Sep 20, 2022
1 parent 738e7a3 commit 6aa58bf
Show file tree
Hide file tree
Showing 23 changed files with 83 additions and 35 deletions.
3 changes: 3 additions & 0 deletions ethbloom/CHANGELOG.md
Expand Up @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog].

## [Unreleased]

## [0.13.0] - 2022-09-20
- Updated `fixed-hash` to 0.8. [#680](https://github.com/paritytech/parity-common/pull/680)

## [0.12.1] - 2022-02-07
- Updated `scale-info` to ">=1.0, <3". [#627](https://github.com/paritytech/parity-common/pull/627)

Expand Down
4 changes: 2 additions & 2 deletions ethbloom/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "ethbloom"
version = "0.12.1"
version = "0.13.0"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Ethereum bloom filter"
license = "MIT OR Apache-2.0"
Expand All @@ -13,7 +13,7 @@ rust-version = "1.56.1"
[dependencies]
tiny-keccak = { version = "2.0", features = ["keccak"] }
crunchy = { version = "0.2.2", default-features = false, features = ["limit_256"] }
fixed-hash = { path = "../fixed-hash", version = "0.7", default-features = false }
fixed-hash = { path = "../fixed-hash", version = "0.8", default-features = false }
impl-serde = { path = "../primitive-types/impls/serde", version = "0.4", default-features = false, optional = true }
impl-rlp = { path = "../primitive-types/impls/rlp", version = "0.3", default-features = false, optional = true }
impl-codec = { version = "0.6.0", path = "../primitive-types/impls/codec", default-features = false, optional = true }
Expand Down
6 changes: 6 additions & 0 deletions ethereum-types/CHANGELOG.md
Expand Up @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog].

## [Unreleased]

## [0.14.0] - 2022-09-20
- Updated `fixed-hash` to 0.8. [#680](https://github.com/paritytech/parity-common/pull/680)
- Updated `primitive-types` to 0.12. [#680](https://github.com/paritytech/parity-common/pull/680)
- Updated `ethbloom` to 0.13. [#680](https://github.com/paritytech/parity-common/pull/680)
- Made `ethbloom` optional. [#625](https://github.com/paritytech/parity-common/pull/625)

## [0.13.1] - 2022-02-07
- Updated `scale-info` to ">=1.0, <3". [#627](https://github.com/paritytech/parity-common/pull/627)

Expand Down
8 changes: 4 additions & 4 deletions ethereum-types/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "ethereum-types"
version = "0.13.1"
version = "0.14.0"
authors = ["Parity Technologies <admin@parity.io>"]
license = "MIT OR Apache-2.0"
homepage = "https://github.com/paritytech/parity-common"
Expand All @@ -9,10 +9,10 @@ edition = "2021"
rust-version = "1.60.0"

[dependencies]
ethbloom = { path = "../ethbloom", version = "0.12", optional = true, default-features = false }
fixed-hash = { path = "../fixed-hash", version = "0.7", default-features = false, features = ["byteorder", "rustc-hex"] }
ethbloom = { path = "../ethbloom", version = "0.13", optional = true, default-features = false }
fixed-hash = { path = "../fixed-hash", version = "0.8", default-features = false, features = ["byteorder", "rustc-hex"] }
uint-crate = { path = "../uint", package = "uint", version = "0.9", default-features = false }
primitive-types = { path = "../primitive-types", version = "0.11", features = ["byteorder", "rustc-hex"], default-features = false }
primitive-types = { path = "../primitive-types", version = "0.12", features = ["byteorder", "rustc-hex"], default-features = false }
impl-serde = { path = "../primitive-types/impls/serde", version = "0.4.0", default-features = false, optional = true }
impl-rlp = { path = "../primitive-types/impls/rlp", version = "0.3", default-features = false, optional = true }
impl-codec = { version = "0.6.0", path = "../primitive-types/impls/codec", default-features = false, optional = true }
Expand Down
5 changes: 5 additions & 0 deletions fixed-hash/CHANGELOG.md
Expand Up @@ -5,7 +5,12 @@ The format is based on [Keep a Changelog].
[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/

## [Unreleased]

## [0.8.0] - 2022-09-20
### Breaking
- Migrated to 2021 edition, enforcing MSRV of `1.56.1`. [#601](https://github.com/paritytech/parity-common/pull/601)
- Updated `arbitrary` to 1.0. [#530](https://github.com/paritytech/parity-common/pull/530)
- Updated `quickcheck` to 1.0. [#674](https://github.com/paritytech/parity-common/pull/674)

## [0.7.0] - 2021-01-05
### Breaking
Expand Down
2 changes: 1 addition & 1 deletion fixed-hash/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "fixed-hash"
version = "0.7.0"
version = "0.8.0"
authors = ["Parity Technologies <admin@parity.io>"]
license = "MIT OR Apache-2.0"
homepage = "https://github.com/paritytech/parity-common"
Expand Down
4 changes: 4 additions & 0 deletions keccak-hash/CHANGELOG.md
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog].

## [Unreleased]

## [0.12.0] - 2022-09-20
### Breaking
- Updated `parity-util-mem` to 0.12. [#680](https://github.com/paritytech/parity-common/pull/680)

## [0.9.0] - 2022-02-04
### Breaking
- Migrated to 2021 edition, enforcing MSRV of `1.56.1`. [#601](https://github.com/paritytech/parity-common/pull/601)
Expand Down
4 changes: 2 additions & 2 deletions keccak-hash/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "keccak-hash"
version = "0.9.0"
version = "0.10.0"
description = "`keccak-hash` is a set of utility functions to facilitate working with Keccak hashes (256/512 bits long)."
authors = ["Parity Technologies <admin@parity.io>"]
repository = "https://github.com/paritytech/parity-common"
Expand All @@ -11,7 +11,7 @@ rust-version = "1.56.1"

[dependencies]
tiny-keccak = { version = "2.0", features = ["keccak"] }
primitive-types = { path = "../primitive-types", version = "0.11", default-features = false }
primitive-types = { path = "../primitive-types", version = "0.12", default-features = false }

[dev-dependencies]
tempfile = "3.1.0"
Expand Down
3 changes: 3 additions & 0 deletions kvdb-memorydb/CHANGELOG.md
Expand Up @@ -5,8 +5,11 @@ The format is based on [Keep a Changelog].
[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/

## [Unreleased]

## [0.12.0] - 2022-09-20
### Breaking
- Updated `kvdb` to 0.12. [662](https://github.com/paritytech/parity-common/pull/662)
- Updated `parity-util-mem` to 0.12. [#680](https://github.com/paritytech/parity-common/pull/680)

## [0.11.0] - 2022-02-04
### Breaking
Expand Down
8 changes: 4 additions & 4 deletions kvdb-memorydb/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "kvdb-memorydb"
version = "0.11.0"
version = "0.12.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,12 +9,12 @@ edition = "2021"
rust-version = "1.56.1"

[dependencies]
parity-util-mem = { path = "../parity-util-mem", version = "0.11", default-features = false, features = ["std"] }
parity-util-mem = { path = "../parity-util-mem", version = "0.12", default-features = false, features = ["std"] }
parking_lot = "0.12.0"
kvdb = { version = "0.11", path = "../kvdb" }
kvdb = { version = "0.12", path = "../kvdb" }

[dev-dependencies]
kvdb-shared-tests = { path = "../kvdb-shared-tests", version = "0.9" }
kvdb-shared-tests = { path = "../kvdb-shared-tests", version = "0.10" }

[features]
default = []
7 changes: 5 additions & 2 deletions kvdb-rocksdb/CHANGELOG.md
Expand Up @@ -5,9 +5,12 @@ The format is based on [Keep a Changelog].
[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/

## [Unreleased]
- Removed `owning_ref` from dependencies :tada:. [662](https://github.com/paritytech/parity-common/pull/662)

## [0.16.0] - 2022-09-20
- Removed `owning_ref` from dependencies :tada:. [#662](https://github.com/paritytech/parity-common/pull/662)
- No longer attempt to repair on `open`. [#667](https://github.com/paritytech/parity-common/pull/667)
### Breaking
- Update `kvdb` to 0.12. [662](https://github.com/paritytech/parity-common/pull/662)
- Updated `kvdb` to 0.12. [#662](https://github.com/paritytech/parity-common/pull/662)
- `add_column` and `remove_last_column` now require `&mut self`

## [0.15.2] - 2022-03-20
Expand Down
8 changes: 4 additions & 4 deletions kvdb-rocksdb/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "kvdb-rocksdb"
version = "0.15.2"
version = "0.16.0"
authors = ["Parity Technologies <admin@parity.io>"]
repository = "https://github.com/paritytech/parity-common"
description = "kvdb implementation backed by RocksDB"
Expand All @@ -14,12 +14,12 @@ harness = false

[dependencies]
smallvec = "1.0.0"
kvdb = { path = "../kvdb", version = "0.11" }
kvdb = { path = "../kvdb", version = "0.12" }
log = "0.4.8"
num_cpus = "1.10.1"
parking_lot = "0.12.0"
regex = "1.3.1"
parity-util-mem = { path = "../parity-util-mem", version = "0.11", default-features = false, features = ["std", "smallvec"] }
parity-util-mem = { path = "../parity-util-mem", version = "0.12", default-features = false, features = ["std", "smallvec"] }

# OpenBSD and MSVC are unteested and shouldn't enable jemalloc:
# https://github.com/tikv/jemallocator/blob/52de4257fab3e770f73d5174c12a095b49572fba/jemalloc-sys/build.rs#L26-L27
Expand All @@ -37,7 +37,7 @@ version = "0.19.0"
alloc_counter = "0.0.4"
criterion = "0.4"
ethereum-types = { path = "../ethereum-types" }
kvdb-shared-tests = { path = "../kvdb-shared-tests", version = "0.9" }
kvdb-shared-tests = { path = "../kvdb-shared-tests", version = "0.10" }
rand = "0.8.0"
tempfile = "3.1.0"
keccak-hash = { path = "../keccak-hash" }
Expand Down
4 changes: 4 additions & 0 deletions kvdb-shared-tests/CHANGELOG.md
Expand Up @@ -5,7 +5,11 @@ The format is based on [Keep a Changelog].
[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/

## [Unreleased]

## [0.10.0] - 2022-09-20
### Breaking
- Migrated to 2021 edition, enforcing MSRV of `1.56.1`. [#601](https://github.com/paritytech/parity-common/pull/601)
- Updated `kvdb` to 0.12. [#680](https://github.com/paritytech/parity-common/pull/680)

### Breaking
- Updated `kvdb` to 0.10. [#556](https://github.com/paritytech/parity-common/pull/556)
Expand Down
4 changes: 2 additions & 2 deletions kvdb-shared-tests/Cargo.toml
@@ -1,11 +1,11 @@
[package]
name = "kvdb-shared-tests"
version = "0.9.0"
version = "0.10.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
rust-version = "1.56.1"
description = "Shared tests for kvdb functionality, to be executed against actual implementations"
license = "MIT OR Apache-2.0"

[dependencies]
kvdb = { path = "../kvdb", version = "0.11" }
kvdb = { path = "../kvdb", version = "0.12" }
7 changes: 5 additions & 2 deletions kvdb/CHANGELOG.md
Expand Up @@ -5,12 +5,15 @@ The format is based on [Keep a Changelog].
[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/

## [Unreleased]

## [0.12.0] - 2022-09-20
### Breaking
- Removed `fn restore` from `KeyValueDB` trait. [662](https://github.com/paritytech/parity-common/pull/662)
- Streamlined API. [661](https://github.com/paritytech/parity-common/pull/661)
- Removed `fn restore` from `KeyValueDB` trait. [#662](https://github.com/paritytech/parity-common/pull/662)
- Streamlined API. [#661](https://github.com/paritytech/parity-common/pull/661)
- `fn get_by_prefix` return type changed to `io::Result<Option<DBValue>>`
- `fn has_prefix` return type changed to `io::Result<bool>`
- Iterator item changed to `io::Result<DBKeyValue>`
- Updated `parity-util-mem` to 0.12. [#680](https://github.com/paritytech/parity-common/pull/680)

## [0.11.0] - 2022-02-04
### Breaking
Expand Down
4 changes: 2 additions & 2 deletions kvdb/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "kvdb"
version = "0.11.0"
version = "0.12.0"
authors = ["Parity Technologies <admin@parity.io>"]
repository = "https://github.com/paritytech/parity-common"
description = "Generic key-value trait"
Expand All @@ -10,4 +10,4 @@ rust-version = "1.56.1"

[dependencies]
smallvec = "1.0.0"
parity-util-mem = { path = "../parity-util-mem", version = "0.11", default-features = false }
parity-util-mem = { path = "../parity-util-mem", version = "0.12", default-features = false }
8 changes: 8 additions & 0 deletions parity-util-mem/CHANGELOG.md
Expand Up @@ -6,6 +6,14 @@ The format is based on [Keep a Changelog].

## [Unreleased]

## [0.12.0] - 2022-09-20
### Breaking
- Updated `tikv-jemallocator` to 0.5. [#661](https://github.com/paritytech/parity-common/pull/661)
- Updated `lru` to 0.8. [#675](https://github.com/paritytech/parity-common/pull/675)
- Removed `weealloc-global` feature. [#678](https://github.com/paritytech/parity-common/pull/678)
- Updated `primitive-types` to 0.12. [#680](https://github.com/paritytech/parity-common/pull/680)
- Updated `ethereum-types` to 0.14. [#680](https://github.com/paritytech/parity-common/pull/680)

## [0.11.0] - 2022-02-04
### Breaking
- Migrated to 2021 edition, enforcing MSRV of `1.56.1`. [#601](https://github.com/paritytech/parity-common/pull/601)
Expand Down
6 changes: 3 additions & 3 deletions parity-util-mem/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "parity-util-mem"
version = "0.11.0"
version = "0.12.0"
authors = ["Parity Technologies <admin@parity.io>"]
repository = "https://github.com/paritytech/parity-common"
description = "Collection of memory related utilities"
Expand All @@ -26,9 +26,9 @@ parity-util-mem-derive = { path = "derive", version = "0.1" }
impl-trait-for-tuples = "0.2.0"

smallvec = { version = "1.0.0", optional = true }
ethereum-types = { version = "0.13.0", optional = true, path = "../ethereum-types" }
ethereum-types = { version = "0.14.0", optional = true, path = "../ethereum-types" }
parking_lot = { version = "0.12.0", optional = true }
primitive-types = { version = "0.11", path = "../primitive-types", default-features = false, optional = true }
primitive-types = { version = "0.12", path = "../primitive-types", default-features = false, optional = true }

[target.'cfg(target_os = "windows")'.dependencies]
winapi = { version = "0.3.8", features = ["heapapi"] }
Expand Down
5 changes: 5 additions & 0 deletions primitive-types/CHANGELOG.md
Expand Up @@ -6,6 +6,11 @@ The format is based on [Keep a Changelog].

## [Unreleased]

## [0.12.0] - 2022-09-20
### Breaking
- Updated `fixed-hash` to 0.8. [#680](https://github.com/paritytech/parity-common/pull/680)
- Uses weak-dependency feature of cargo. [#664](https://github.com/paritytech/parity-common/pull/664)

## [0.11.1] - 2022-02-07
- Updated `scale-info` to ">=0.9, <3". [#627](https://github.com/paritytech/parity-common/pull/627)

Expand Down
4 changes: 2 additions & 2 deletions primitive-types/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "primitive-types"
version = "0.11.1"
version = "0.12.0"
authors = ["Parity Technologies <admin@parity.io>"]
license = "MIT OR Apache-2.0"
homepage = "https://github.com/paritytech/parity-common"
Expand All @@ -9,7 +9,7 @@ edition = "2021"
rust-version = "1.60.0"

[dependencies]
fixed-hash = { version = "0.7", path = "../fixed-hash", default-features = false }
fixed-hash = { version = "0.8", path = "../fixed-hash", default-features = false }
uint = { version = "0.9.0", path = "../uint", default-features = false }
impl-serde = { version = "0.4.0", path = "impls/serde", default-features = false, optional = true }
impl-codec = { version = "0.6.0", path = "impls/codec", default-features = false, optional = true }
Expand Down
4 changes: 2 additions & 2 deletions rlp/Cargo.toml
Expand Up @@ -11,12 +11,12 @@ rust-version = "1.56.1"
[dependencies]
bytes = { version = "1", default-features = false }
rustc-hex = { version = "2.0.1", default-features = false }
rlp-derive = { version = "0.1", path = "../rlp-derive", optional = true }
rlp-derive = { version = "0.1", path = "../rlp-derive", optional = true }

[dev-dependencies]
criterion = "0.4.0"
hex-literal = "0.3.1"
primitive-types = { path = "../primitive-types", version = "0.11", features = ["impl-rlp"] }
primitive-types = { path = "../primitive-types", version = "0.12", features = ["impl-rlp"] }

[features]
default = ["std"]
Expand Down
8 changes: 6 additions & 2 deletions uint/CHANGELOG.md
Expand Up @@ -5,8 +5,12 @@ The format is based on [Keep a Changelog].
[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/

## [Unreleased]
- Make `one` const. [#650](https://github.com/paritytech/parity-common/pull/650)
- Make `max_value` const. [#652](https://github.com/paritytech/parity-common/pull/652)

## [0.9.4] - 2022-09-20
- Made `one` const. [#650](https://github.com/paritytech/parity-common/pull/650)
- Made `max_value` const. [#652](https://github.com/paritytech/parity-common/pull/652)
- Made `is_zero` const. [#639](https://github.com/paritytech/parity-common/pull/639)
- Added `abs_diff`. [#665](https://github.com/paritytech/parity-common/pull/665)

## [0.9.3] - 2022-02-04
- Simplified and faster `div_mod`. [#478](https://github.com/paritytech/parity-common/pull/478)
Expand Down
2 changes: 1 addition & 1 deletion uint/Cargo.toml
Expand Up @@ -4,7 +4,7 @@ homepage = "http://parity.io"
repository = "https://github.com/paritytech/parity-common"
license = "MIT OR Apache-2.0"
name = "uint"
version = "0.9.3"
version = "0.9.4"
authors = ["Parity Technologies <admin@parity.io>"]
readme = "README.md"
edition = "2021"
Expand Down

0 comments on commit 6aa58bf

Please sign in to comment.