Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update changelogs and bump uint #486

Merged
merged 12 commits into from Jan 5, 2021
4 changes: 3 additions & 1 deletion contract-address/CHANGELOG.md
Expand Up @@ -5,9 +5,11 @@ The format is based on [Keep a Changelog].
[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/

## [Unreleased]

## [0.5.0] - 2021-01-05
### Breaking
- Updated `ethereum-types` to 0.10. [#463](https://github.com/paritytech/parity-common/pull/463)

## [0.9.0] - 2020-03-16
## [0.4.0] - 2020-03-16
dvdplm marked this conversation as resolved.
Show resolved Hide resolved
- License changed from MIT to dual MIT/Apache2. [#342](https://github.com/paritytech/parity-common/pull/342)
- Updated dependencies. [#361](https://github.com/paritytech/parity-common/pull/361)
2 changes: 1 addition & 1 deletion contract-address/Cargo.toml
Expand Up @@ -13,7 +13,7 @@ readme = "README.md"
[dependencies]
ethereum-types = { version = "0.10.0", path = "../ethereum-types" }
rlp = { version = "0.5", path = "../rlp" }
keccak-hash = { version = "0.5", path = "../keccak-hash", default-features = false }
keccak-hash = { version = "0.6", path = "../keccak-hash", default-features = false }

[features]
default = []
Expand Down
2 changes: 2 additions & 0 deletions ethbloom/CHANGELOG.md
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.10.0] - 2021-01-05
### Breaking
- Updated `rlp` to 0.5. [#463](https://github.com/paritytech/parity-common/pull/463)

Expand Down
2 changes: 1 addition & 1 deletion ethbloom/Cargo.toml
Expand Up @@ -12,7 +12,7 @@ edition = "2018"
[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.6", default-features = false }
fixed-hash = { path = "../fixed-hash", version = "0.7", default-features = false }
impl-serde = { path = "../primitive-types/impls/serde", version = "0.3", default-features = false, optional = true }
impl-rlp = { path = "../primitive-types/impls/rlp", version = "0.3", default-features = false, optional = true }
impl-codec = { version = "0.4.1", path = "../primitive-types/impls/codec", default-features = false, optional = true }
Expand Down
3 changes: 3 additions & 0 deletions ethereum-types/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.10.0] - 2021-01-05
### Breaking
- Updated `rlp` to 0.5. [#463](https://github.com/paritytech/parity-common/pull/463)
- Updated `uint` to 0.9. [#486](https://github.com/paritytech/parity-common/pull/486)

## [0.9.2] - 2020-05-18
- Added `codec` feature. [#393](https://github.com/paritytech/parity-common/pull/393)
Expand Down
4 changes: 2 additions & 2 deletions ethereum-types/Cargo.toml
Expand Up @@ -9,8 +9,8 @@ edition = "2018"

[dependencies]
ethbloom = { path = "../ethbloom", version = "0.10", default-features = false }
fixed-hash = { path = "../fixed-hash", version = "0.6", default-features = false, features = ["byteorder", "rustc-hex"] }
uint-crate = { path = "../uint", package = "uint", version = "0.8", default-features = false }
fixed-hash = { path = "../fixed-hash", version = "0.7", 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.8", features = ["byteorder", "rustc-hex"], default-features = false }
impl-serde = { path = "../primitive-types/impls/serde", version = "0.3.0", default-features = false, optional = true }
impl-rlp = { path = "../primitive-types/impls/rlp", version = "0.3", default-features = false, optional = true }
Expand Down
4 changes: 4 additions & 0 deletions fixed-hash/CHANGELOG.md
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog].

## [Unreleased]

## [0.7.0] - 2021-01-05
### Breaking
- Updated `rand` to 0.8. [#488](https://github.com/paritytech/parity-common/pull/488)

## [0.6.1] - 2020-04-27
- Added `arbitrary` feature. [#378](https://github.com/paritytech/parity-common/pull/378)

Expand Down
2 changes: 1 addition & 1 deletion fixed-hash/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "fixed-hash"
version = "0.6.1"
version = "0.7.0"
authors = ["Parity Technologies <admin@parity.io>"]
license = "MIT OR Apache-2.0"
homepage = "https://github.com/paritytech/parity-common"
Expand Down
2 changes: 2 additions & 0 deletions keccak-hash/CHANGELOG.md
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.6.0] - 2021-01-05
### Breaking
- Updated `primitive-types` to 0.8. [#463](https://github.com/paritytech/parity-common/pull/463)

Expand Down
2 changes: 1 addition & 1 deletion keccak-hash/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "keccak-hash"
version = "0.5.1"
version = "0.6.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 Down
2 changes: 2 additions & 0 deletions kvdb-memorydb/CHANGELOG.md
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.0] - 2021-01-05
### Breaking
- Updated dependencies. [#470](https://github.com/paritytech/parity-common/pull/470)

Expand Down
2 changes: 2 additions & 0 deletions kvdb-rocksdb/CHANGELOG.md
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.10.0] - 2021-01-05
### Breaking
- Updated dependencies. [#470](https://github.com/paritytech/parity-common/pull/470)

Expand Down
2 changes: 2 additions & 0 deletions kvdb-web/CHANGELOG.md
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.0] - 2021-01-05
### Breaking
- Updated dependencies. [#470](https://github.com/paritytech/parity-common/pull/470)

Expand Down
2 changes: 2 additions & 0 deletions kvdb/CHANGELOG.md
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.0] - 2021-01-05
### Breaking
- Updated `parity-util-mem` to 0.8. [#470](https://github.com/paritytech/parity-common/pull/470)

Expand Down
3 changes: 3 additions & 0 deletions parity-crypto/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]

## [0.7.0] - 2021-01-05
### Breaking
- Bump `rust-secp256k1` to v0.19, always allow zero signatures. [#438](https://github.com/paritytech/parity-common/pull/438)
- Updated `rlp` to 0.5. [#463](https://github.com/paritytech/parity-common/pull/463)
- Updated dependencies. [#483](https://github.com/paritytech/parity-common/pull/483)
- Remove deprecated trait impls `FromStr`/`TryFrom` for `Secret` [#495](https://github.com/paritytech/parity-common/pull/495)

## [0.6.2] - 2020-06-19
Expand Down
3 changes: 2 additions & 1 deletion parity-util-mem/CHANGELOG.md
Expand Up @@ -5,8 +5,9 @@ The format is based on [Keep a Changelog].
[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/

## [Unreleased]
- Updated dlmalloc to 0.2.1. [#452](https://github.com/paritytech/parity-common/pull/452)

## [0.8.0] - 2021-01-05
- Updated dlmalloc to 0.2.1. [#452](https://github.com/paritytech/parity-common/pull/452)
### Breaking
- Updated `ethereum-types` to 0.10. [#463](https://github.com/paritytech/parity-common/pull/463)
- Updated `parking_lot` to 0.11.1. [#470](https://github.com/paritytech/parity-common/pull/470)
Expand Down
5 changes: 5 additions & 0 deletions primitive-types/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] - 2021-01-05
- Added `num-traits` feature. [#480](https://github.com/paritytech/parity-common/pull/480)
### Breaking
- Updated `impl-rlp` to `rlp` 0.5. [#463](https://github.com/paritytech/parity-common/pull/463)
- Updated `uint` to 0.9. [#486](https://github.com/paritytech/parity-common/pull/486)

## [0.7.3] - 2020-11-12
- Added `scale_info` support. [#312](https://github.com/paritytech/parity-common/pull/312)
Expand Down
4 changes: 2 additions & 2 deletions primitive-types/Cargo.toml
Expand Up @@ -8,8 +8,8 @@ description = "Primitive types shared by Ethereum and Substrate"
edition = "2018"

[dependencies]
fixed-hash = { version = "0.6", path = "../fixed-hash", default-features = false }
uint = { version = "0.8.3", path = "../uint", default-features = false }
fixed-hash = { version = "0.7", path = "../fixed-hash", default-features = false }
uint = { version = "0.9.0", path = "../uint", default-features = false }
impl-serde = { version = "0.3.1", path = "impls/serde", default-features = false, optional = true }
impl-codec = { version = "0.4.1", path = "impls/codec", default-features = false, optional = true }
impl-num-traits = { version = "0.1.0", path = "impls/num-traits", default-features = false, optional = true }
Expand Down
7 changes: 7 additions & 0 deletions primitive-types/impls/num-traits/CHANGELOG.md
@@ -0,0 +1,7 @@
# Changelog

The format is based on [Keep a Changelog].

[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/

## [Unreleased]
2 changes: 1 addition & 1 deletion primitive-types/impls/num-traits/Cargo.toml
Expand Up @@ -9,4 +9,4 @@ edition = "2018"

[dependencies]
num-traits = { version = "0.2", default-features = false }
uint = { version = "0.8.5", path = "../../../uint", default-features = false }
uint = { version = "0.9.0", path = "../../../uint", default-features = false }
2 changes: 2 additions & 0 deletions primitive-types/impls/rlp/CHANGELOG.md
Expand Up @@ -5,5 +5,7 @@ The format is based on [Keep a Changelog].
[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/

## [Unreleased]

## [0.3.0] - 2021-01-05
### Breaking
- Updated `rlp` to 0.5. [#463](https://github.com/paritytech/parity-common/pull/463)
2 changes: 1 addition & 1 deletion primitive-types/impls/serde/Cargo.toml
Expand Up @@ -18,7 +18,7 @@ serde = { version = "1.0.101", default-features = false, features = ["alloc"] }
criterion = "0.3.0"
serde_derive = "1.0.101"
serde_json = "1.0.41"
uint = { version = "0.8.3", path = "../../../uint" }
uint = { version = "0.9.0", path = "../../../uint" }

[[bench]]
name = "impl_serde"
Expand Down
2 changes: 2 additions & 0 deletions rlp/CHANGELOG.md
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.5.0] - 2021-01-05
### Breaking
- Use BytesMut for `RlpStream`'s backing buffer. [#453](https://github.com/paritytech/parity-common/pull/453)

Expand Down
5 changes: 5 additions & 0 deletions uint/CHANGELOG.md
Expand Up @@ -6,6 +6,11 @@ The format is based on [Keep a Changelog].

## [Unreleased]

## [0.9.0] - 2021-01-05
- Allow `0x` prefix in `from_str`. [#487](https://github.com/paritytech/parity-common/pull/487)
### Breaking
- Optimized FromStr, made it no_std-compatible. [#468](https://github.com/paritytech/parity-common/pull/468)

## [0.8.5] - 2020-08-12
- Make const matching work again. [#421](https://github.com/paritytech/parity-common/pull/421)

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.8.5"
version = "0.9.0"
authors = ["Parity Technologies <admin@parity.io>"]
readme = "README.md"
edition = "2018"
Expand Down
2 changes: 1 addition & 1 deletion uint/src/uint.rs
Expand Up @@ -1688,7 +1688,7 @@ macro_rules! construct_uint {
type Err = $crate::FromHexError;

fn from_str(value: &str) -> $crate::core_::result::Result<$name, Self::Err> {
let value = value.strip_prefix("0x").unwrap_or(value);
let value = value.strip_prefix("0x").unwrap_or(value);
const BYTES_LEN: usize = $n_words * 8;
const MAX_ENCODED_LEN: usize = BYTES_LEN * 2;

Expand Down