From afadd62ff5714abc8787daaef3832bb7d496f9fb Mon Sep 17 00:00:00 2001 From: James Wilson Date: Thu, 24 Oct 2024 09:34:53 +0100 Subject: [PATCH 1/4] Prep to release 3.7.1 --- CHANGELOG.md | 12 ++++++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a09d55d..2829a0b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,18 @@ All notable changes to this crate are documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this crate adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.7.1] - 2024-10-24 + +### Changed + +- This release bumps some dependencies, primarily bumping `syn` to 2. ([#640](https://github.com/paritytech/parity-scale-codec/pull/640)). + +## [3.7.0] - 2024-10-09 + +### Added + +- Allow decoding with a memory limit. ([616](https://github.com/paritytech/parity-scale-codec/pull/616)) + ## [3.6.4] - 2023-07-14 ### Added diff --git a/Cargo.lock b/Cargo.lock index d0fcee62..862926c1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -575,7 +575,7 @@ checksum = "ceedf44fb00f2d1984b0bc98102627ce622e083e49a5bacdb3e514fa4238e267" [[package]] name = "parity-scale-codec" -version = "3.7.0" +version = "3.7.1" dependencies = [ "arbitrary", "arrayvec", diff --git a/Cargo.toml b/Cargo.toml index 4b8490cc..5d02d918 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "parity-scale-codec" description = "SCALE - Simple Concatenating Aggregated Little Endians" -version = "3.7.0" +version = "3.7.1" authors = ["Parity Technologies "] license = "Apache-2.0" repository = "https://github.com/paritytech/parity-scale-codec" From fcb79e6a87501334004fe459367d4d2c89711a91 Mon Sep 17 00:00:00 2001 From: James Wilson Date: Thu, 24 Oct 2024 09:43:11 +0100 Subject: [PATCH 2/4] Consistify some fields and version across workspace --- Cargo.lock | 2 +- Cargo.toml | 25 +++++++++++++++++-------- derive/Cargo.toml | 12 ++++++------ 3 files changed, 24 insertions(+), 15 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 862926c1..8b098424 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -597,7 +597,7 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "3.6.8" +version = "3.7.1" dependencies = [ "parity-scale-codec", "proc-macro-crate", diff --git a/Cargo.toml b/Cargo.toml index 5d02d918..7e4a08d5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,19 +1,19 @@ [package] name = "parity-scale-codec" description = "SCALE - Simple Concatenating Aggregated Little Endians" -version = "3.7.1" -authors = ["Parity Technologies "] -license = "Apache-2.0" -repository = "https://github.com/paritytech/parity-scale-codec" -categories = ["encoding"] -edition = "2021" +version.workspace = true +authors.workspace = true +license.workspace = true +repository.workspace = true +categories.workspace = true +edition.workspace = true +rust-version.workspace = true build = "build.rs" -rust-version = "1.60.0" [dependencies] arrayvec = { version = "0.7", default-features = false } serde = { version = "1.0.213", default-features = false, optional = true } -parity-scale-codec-derive = { path = "derive", version = ">= 3.6.8", default-features = false, optional = true } +parity-scale-codec-derive = { path = "derive", version = "3.7.1", default-features = false, optional = true } bitvec = { version = "1", default-features = false, features = ["alloc"], optional = true } bytes = { version = "1", default-features = false, optional = true } byte-slice-cast = { version = "1.2.2", default-features = false } @@ -62,3 +62,12 @@ full = [] [workspace] members = ["derive", "fuzzer"] + +[workspace.package] +version = "3.7.1" +authors = ["Parity Technologies "] +license = "Apache-2.0" +repository = "https://github.com/paritytech/parity-scale-codec" +categories = ["encoding"] +edition = "2021" +rust-version = "1.60.0" \ No newline at end of file diff --git a/derive/Cargo.toml b/derive/Cargo.toml index 5255b4a3..e930d088 100644 --- a/derive/Cargo.toml +++ b/derive/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "parity-scale-codec-derive" description = "Serialization and deserialization derive macro for Parity SCALE Codec" -version = "3.6.8" -authors = ["Parity Technologies "] -license = "Apache-2.0" -edition = "2021" -rust-version = "1.56.1" -repository = "https://github.com/paritytech/parity-scale-codec" +version.workspace = true +authors.workspace = true +license.workspace = true +edition.workspace = true +repository.workspace = true +rust-version.workspace = true [lib] proc-macro = true From 420913ca1a0258f884a65ebd79fbe0932f491d80 Mon Sep 17 00:00:00 2001 From: James Wilson Date: Thu, 24 Oct 2024 10:46:55 +0100 Subject: [PATCH 3/4] require only derive 3.6.8 or above to avoid ddry-run CI issue. 3.7.1 should be selected anyway --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 7e4a08d5..55d44a3f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,13 +7,13 @@ license.workspace = true repository.workspace = true categories.workspace = true edition.workspace = true -rust-version.workspace = true build = "build.rs" +rust-version.workspace = true [dependencies] arrayvec = { version = "0.7", default-features = false } serde = { version = "1.0.213", default-features = false, optional = true } -parity-scale-codec-derive = { path = "derive", version = "3.7.1", default-features = false, optional = true } +parity-scale-codec-derive = { path = "derive", version = "3.6.8", default-features = false, optional = true } bitvec = { version = "1", default-features = false, features = ["alloc"], optional = true } bytes = { version = "1", default-features = false, optional = true } byte-slice-cast = { version = "1.2.2", default-features = false } From 9ae721a29545b2ef83c8b91ae42c91116bdb9592 Mon Sep 17 00:00:00 2001 From: James Wilson Date: Thu, 24 Oct 2024 11:41:34 +0100 Subject: [PATCH 4/4] Go down to 3.7.0 - that version wasn't released yet --- CHANGELOG.md | 12 ++++-------- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2829a0b5..3b87bf5e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,18 +5,14 @@ All notable changes to this crate are documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this crate adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [3.7.1] - 2024-10-24 - -### Changed - -- This release bumps some dependencies, primarily bumping `syn` to 2. ([#640](https://github.com/paritytech/parity-scale-codec/pull/640)). - -## [3.7.0] - 2024-10-09 +## [3.7.0] - 2024-10-24 ### Added - - Allow decoding with a memory limit. ([616](https://github.com/paritytech/parity-scale-codec/pull/616)) +### Changed +- This release bumps some dependencies, primarily bumping `syn` to 2. ([#640](https://github.com/paritytech/parity-scale-codec/pull/640)). + ## [3.6.4] - 2023-07-14 ### Added diff --git a/Cargo.lock b/Cargo.lock index 8b098424..1948611d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -575,7 +575,7 @@ checksum = "ceedf44fb00f2d1984b0bc98102627ce622e083e49a5bacdb3e514fa4238e267" [[package]] name = "parity-scale-codec" -version = "3.7.1" +version = "3.7.0" dependencies = [ "arbitrary", "arrayvec", @@ -597,7 +597,7 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "3.7.1" +version = "3.7.0" dependencies = [ "parity-scale-codec", "proc-macro-crate", diff --git a/Cargo.toml b/Cargo.toml index 55d44a3f..f4c103b8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -64,7 +64,7 @@ full = [] members = ["derive", "fuzzer"] [workspace.package] -version = "3.7.1" +version = "3.7.0" authors = ["Parity Technologies "] license = "Apache-2.0" repository = "https://github.com/paritytech/parity-scale-codec"