From a783dd6b4f7aa2e613645fd2160c34ba9cb808bc Mon Sep 17 00:00:00 2001 From: Jon Gjengset Date: Mon, 17 Feb 2020 09:46:39 -0500 Subject: [PATCH 1/7] Bump crossbeam-utils to 0.7.1 This also bumps the `rand` `dev-dependency` to `0.7`. No breaking changes as far as I can tell. --- crossbeam-utils/CHANGELOG.md | 6 ++++++ crossbeam-utils/Cargo.toml | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/crossbeam-utils/CHANGELOG.md b/crossbeam-utils/CHANGELOG.md index 160e92888..8b819c7c4 100644 --- a/crossbeam-utils/CHANGELOG.md +++ b/crossbeam-utils/CHANGELOG.md @@ -1,3 +1,9 @@ +# Version 0.7.1 + +- Bump `rand` dev-dependency to version 0.7. +- Bump `autocfg` dependency to version 1.0. (#460) +- Make `AtomicCell` lockfree for u8, u16, u32, u64 sized values at 1.34+. (#454) + # Version 0.7.0 - Bump the minimum required version to 1.28. diff --git a/crossbeam-utils/Cargo.toml b/crossbeam-utils/Cargo.toml index b7e2109ed..d6fcc6e36 100644 --- a/crossbeam-utils/Cargo.toml +++ b/crossbeam-utils/Cargo.toml @@ -4,7 +4,7 @@ name = "crossbeam-utils" # - Update CHANGELOG.md # - Update README.md # - Create "crossbeam-utils-X.Y.Z" git tag -version = "0.7.0" +version = "0.7.1" authors = ["The Crossbeam Project Developers"] license = "MIT/Apache-2.0" readme = "README.md" @@ -29,4 +29,4 @@ lazy_static = { version = "1.1.0", optional = true } autocfg = "1" [dev-dependencies] -rand = "0.6" +rand = "0.7" From 909edf53dacbe78bf28114e34741d06011a0c7c7 Mon Sep 17 00:00:00 2001 From: Jon Gjengset Date: Mon, 17 Feb 2020 09:53:51 -0500 Subject: [PATCH 2/7] Bump crossbeam-channel to 0.4.1 This also bumps the `rand` `dev-dependency` to `0.7`. No breaking changes as far as I can tell. --- crossbeam-channel/CHANGELOG.md | 6 ++++++ crossbeam-channel/Cargo.toml | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/crossbeam-channel/CHANGELOG.md b/crossbeam-channel/CHANGELOG.md index 8ffd73671..793d72fd5 100644 --- a/crossbeam-channel/CHANGELOG.md +++ b/crossbeam-channel/CHANGELOG.md @@ -1,3 +1,9 @@ +# Version 0.4.1 + +- Bump `rand` dev-dependency to version 0.7. +- Avoid time drift in `channel::tick`. (#456) +- Fix unsoundness issues by adopting `MaybeUninit`. (#458) + # Version 0.4.0 - Bump the minimum required version to 1.28. diff --git a/crossbeam-channel/Cargo.toml b/crossbeam-channel/Cargo.toml index d9e436687..45f6a2d6a 100644 --- a/crossbeam-channel/Cargo.toml +++ b/crossbeam-channel/Cargo.toml @@ -4,7 +4,7 @@ name = "crossbeam-channel" # - Update CHANGELOG.md # - Update README.md # - Create "crossbeam-channel-X.Y.Z" git tag -version = "0.4.0" +version = "0.4.1" authors = ["The Crossbeam Project Developers"] license = "MIT/Apache-2.0 AND BSD-2-Clause" readme = "README.md" @@ -24,5 +24,5 @@ path = "../crossbeam-utils" [dev-dependencies] num_cpus = "1.10.0" -rand = "0.6" +rand = "0.7" signal-hook = "0.1.5" From 64ad929c5d9aac7f218f7c90ce4b8f8270ac3254 Mon Sep 17 00:00:00 2001 From: Jon Gjengset Date: Mon, 17 Feb 2020 10:00:52 -0500 Subject: [PATCH 3/7] Bump crossbeam-epoch to 0.8.1 This also bumps the `rand` `dev-dependency` to `0.7`. No breaking changes as far as I can tell. --- crossbeam-epoch/CHANGELOG.md | 9 +++++++++ crossbeam-epoch/Cargo.toml | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/crossbeam-epoch/CHANGELOG.md b/crossbeam-epoch/CHANGELOG.md index e4aa1fdb2..b5cd75ac9 100644 --- a/crossbeam-epoch/CHANGELOG.md +++ b/crossbeam-epoch/CHANGELOG.md @@ -1,3 +1,12 @@ +# Version 0.8.1 + +- Bump `rand` dev-dependency to version 0.7. +- Bump `autocfg` dependency to version 1.0. (#460) +- Reduce stall in list iteration. (#376) +- Stop stealing from the same deque. (#448) +- Fix unsoundness issues by adopting `MaybeUninit`. (#458) +- Fix use-after-free in lock-free queue. (#466) + # Version 0.8.0 - Bump the minimum required version to 1.28. diff --git a/crossbeam-epoch/Cargo.toml b/crossbeam-epoch/Cargo.toml index 629eacf12..936e33f6e 100644 --- a/crossbeam-epoch/Cargo.toml +++ b/crossbeam-epoch/Cargo.toml @@ -4,7 +4,7 @@ name = "crossbeam-epoch" # - Update CHANGELOG.md # - Update README.md # - Create "crossbeam-epoch-X.Y.Z" git tag -version = "0.8.0" +version = "0.8.1" authors = ["The Crossbeam Project Developers"] license = "MIT/Apache-2.0" readme = "README.md" @@ -44,4 +44,4 @@ default-features = false autocfg = "1" [dev-dependencies] -rand = "0.6" +rand = "0.7" From e962784d97e06fcc4ea406ed0a49141c86b67a94 Mon Sep 17 00:00:00 2001 From: Jon Gjengset Date: Mon, 17 Feb 2020 10:02:44 -0500 Subject: [PATCH 4/7] Bump crossbeam-queue to 0.2.2 This also bumps the `rand` `dev-dependency` to `0.7`. No breaking changes as far as I can tell. --- crossbeam-queue/CHANGELOG.md | 5 +++++ crossbeam-queue/Cargo.toml | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/crossbeam-queue/CHANGELOG.md b/crossbeam-queue/CHANGELOG.md index 5677d7c0f..4d8cd79e1 100644 --- a/crossbeam-queue/CHANGELOG.md +++ b/crossbeam-queue/CHANGELOG.md @@ -1,3 +1,8 @@ +# Version 0.2.2 + +- Bump `rand` dev-dependency to version 0.7. +- Fix unsoundness issues by adopting `MaybeUninit`. (#458) + # Version 0.2.1 - Add `no_std` support. diff --git a/crossbeam-queue/Cargo.toml b/crossbeam-queue/Cargo.toml index 7b5c97920..365d4ff22 100644 --- a/crossbeam-queue/Cargo.toml +++ b/crossbeam-queue/Cargo.toml @@ -4,7 +4,7 @@ name = "crossbeam-queue" # - Update CHANGELOG.md # - Update README.md # - Create "crossbeam-queue-X.Y.Z" git tag -version = "0.2.1" +version = "0.2.2" authors = ["The Crossbeam Project Developers"] license = "MIT/Apache-2.0 AND BSD-2-Clause" readme = "README.md" @@ -30,4 +30,4 @@ path = "../crossbeam-utils" default-features = false [dev-dependencies] -rand = "0.6" +rand = "0.7" From 640cec2f4bc29f597a15e1919225ff7716aad0fd Mon Sep 17 00:00:00 2001 From: Jon Gjengset Date: Mon, 17 Feb 2020 10:04:49 -0500 Subject: [PATCH 5/7] Bump crossbeam-deque to 0.7.3 This also bumps the `rand` `dev-dependency` to `0.7`. No breaking changes as far as I can tell. --- crossbeam-deque/CHANGELOG.md | 6 ++++++ crossbeam-deque/Cargo.toml | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/crossbeam-deque/CHANGELOG.md b/crossbeam-deque/CHANGELOG.md index a9e1c79a8..f098840f1 100644 --- a/crossbeam-deque/CHANGELOG.md +++ b/crossbeam-deque/CHANGELOG.md @@ -1,3 +1,9 @@ +# Version 0.7.3 + +- Bump `rand` dev-dependency to version 0.7. +- Stop stealing from the same deque. (#448) +- Fix unsoundness issues by adopting `MaybeUninit`. (#458) + # Version 0.7.2 - Bump `crossbeam-epoch` to `0.8`. diff --git a/crossbeam-deque/Cargo.toml b/crossbeam-deque/Cargo.toml index 35edd56df..3a9d3f9c1 100644 --- a/crossbeam-deque/Cargo.toml +++ b/crossbeam-deque/Cargo.toml @@ -4,7 +4,7 @@ name = "crossbeam-deque" # - Update CHANGELOG.md # - Update README.md # - Create "crossbeam-deque-X.Y.Z" git tag -version = "0.7.2" +version = "0.7.3" authors = ["The Crossbeam Project Developers"] license = "MIT/Apache-2.0" readme = "README.md" @@ -27,4 +27,4 @@ version = "0.7" path = "../crossbeam-utils" [dev-dependencies] -rand = "0.6" +rand = "0.7" From 78043c7b11f7c576d5f587d4eae0798886df670d Mon Sep 17 00:00:00 2001 From: Jon Gjengset Date: Mon, 17 Feb 2020 10:07:27 -0500 Subject: [PATCH 6/7] Bump crossbeam to 0.7.4 This just bumps the `rand` `dev-dependency` to `0.7`. None of the underlying crates had breaking changes, and this crate has no changes, so a patch release is fine. --- CHANGELOG.md | 4 ++++ Cargo.toml | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a970390e..529c1b83a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# Version 0.7.4 + +- Bump `rand` dev-dependency to version 0.7. + # Version 0.7.3 - Fix breakage with nightly feature due to rust-lang/rust#65214. diff --git a/Cargo.toml b/Cargo.toml index 3b7d15807..be72d6f15 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ name = "crossbeam" # - Update CHANGELOG.md # - Update README.md # - Create "crossbeam-X.Y.Z" git tag -version = "0.7.3" +version = "0.7.4" authors = ["The Crossbeam Project Developers"] license = "MIT/Apache-2.0" readme = "README.md" @@ -60,7 +60,7 @@ path = "./crossbeam-utils" default-features = false [dev-dependencies] -rand = "0.6" +rand = "0.7" [workspace] members = [ From 528c3caadb2f4f5f0d0327de35404ad077636345 Mon Sep 17 00:00:00 2001 From: Jon Gjengset Date: Mon, 17 Feb 2020 10:40:16 -0500 Subject: [PATCH 7/7] Undo bump of rand as it bumps MSRV rand 0.7 requires support for the 2018 edition, which only works on 1.32 (our current MSRV is 1.28). This also means that the root crate no longer needs a version bump. --- CHANGELOG.md | 4 ---- Cargo.toml | 4 ++-- crossbeam-channel/CHANGELOG.md | 1 - crossbeam-channel/Cargo.toml | 2 +- crossbeam-deque/CHANGELOG.md | 1 - crossbeam-deque/Cargo.toml | 2 +- crossbeam-epoch/CHANGELOG.md | 1 - crossbeam-epoch/Cargo.toml | 2 +- crossbeam-queue/CHANGELOG.md | 1 - crossbeam-queue/Cargo.toml | 2 +- crossbeam-utils/CHANGELOG.md | 1 - crossbeam-utils/Cargo.toml | 2 +- 12 files changed, 7 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 529c1b83a..5a970390e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,3 @@ -# Version 0.7.4 - -- Bump `rand` dev-dependency to version 0.7. - # Version 0.7.3 - Fix breakage with nightly feature due to rust-lang/rust#65214. diff --git a/Cargo.toml b/Cargo.toml index be72d6f15..3b7d15807 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ name = "crossbeam" # - Update CHANGELOG.md # - Update README.md # - Create "crossbeam-X.Y.Z" git tag -version = "0.7.4" +version = "0.7.3" authors = ["The Crossbeam Project Developers"] license = "MIT/Apache-2.0" readme = "README.md" @@ -60,7 +60,7 @@ path = "./crossbeam-utils" default-features = false [dev-dependencies] -rand = "0.7" +rand = "0.6" [workspace] members = [ diff --git a/crossbeam-channel/CHANGELOG.md b/crossbeam-channel/CHANGELOG.md index 793d72fd5..197528d42 100644 --- a/crossbeam-channel/CHANGELOG.md +++ b/crossbeam-channel/CHANGELOG.md @@ -1,6 +1,5 @@ # Version 0.4.1 -- Bump `rand` dev-dependency to version 0.7. - Avoid time drift in `channel::tick`. (#456) - Fix unsoundness issues by adopting `MaybeUninit`. (#458) diff --git a/crossbeam-channel/Cargo.toml b/crossbeam-channel/Cargo.toml index 45f6a2d6a..a424eb9fb 100644 --- a/crossbeam-channel/Cargo.toml +++ b/crossbeam-channel/Cargo.toml @@ -24,5 +24,5 @@ path = "../crossbeam-utils" [dev-dependencies] num_cpus = "1.10.0" -rand = "0.7" +rand = "0.6" signal-hook = "0.1.5" diff --git a/crossbeam-deque/CHANGELOG.md b/crossbeam-deque/CHANGELOG.md index f098840f1..54e9ae41f 100644 --- a/crossbeam-deque/CHANGELOG.md +++ b/crossbeam-deque/CHANGELOG.md @@ -1,6 +1,5 @@ # Version 0.7.3 -- Bump `rand` dev-dependency to version 0.7. - Stop stealing from the same deque. (#448) - Fix unsoundness issues by adopting `MaybeUninit`. (#458) diff --git a/crossbeam-deque/Cargo.toml b/crossbeam-deque/Cargo.toml index 3a9d3f9c1..ea63fb608 100644 --- a/crossbeam-deque/Cargo.toml +++ b/crossbeam-deque/Cargo.toml @@ -27,4 +27,4 @@ version = "0.7" path = "../crossbeam-utils" [dev-dependencies] -rand = "0.7" +rand = "0.6" diff --git a/crossbeam-epoch/CHANGELOG.md b/crossbeam-epoch/CHANGELOG.md index b5cd75ac9..c22e462d2 100644 --- a/crossbeam-epoch/CHANGELOG.md +++ b/crossbeam-epoch/CHANGELOG.md @@ -1,6 +1,5 @@ # Version 0.8.1 -- Bump `rand` dev-dependency to version 0.7. - Bump `autocfg` dependency to version 1.0. (#460) - Reduce stall in list iteration. (#376) - Stop stealing from the same deque. (#448) diff --git a/crossbeam-epoch/Cargo.toml b/crossbeam-epoch/Cargo.toml index 936e33f6e..69a53cbc9 100644 --- a/crossbeam-epoch/Cargo.toml +++ b/crossbeam-epoch/Cargo.toml @@ -44,4 +44,4 @@ default-features = false autocfg = "1" [dev-dependencies] -rand = "0.7" +rand = "0.6" diff --git a/crossbeam-queue/CHANGELOG.md b/crossbeam-queue/CHANGELOG.md index 4d8cd79e1..9ac6d48c9 100644 --- a/crossbeam-queue/CHANGELOG.md +++ b/crossbeam-queue/CHANGELOG.md @@ -1,6 +1,5 @@ # Version 0.2.2 -- Bump `rand` dev-dependency to version 0.7. - Fix unsoundness issues by adopting `MaybeUninit`. (#458) # Version 0.2.1 diff --git a/crossbeam-queue/Cargo.toml b/crossbeam-queue/Cargo.toml index 365d4ff22..500e5410a 100644 --- a/crossbeam-queue/Cargo.toml +++ b/crossbeam-queue/Cargo.toml @@ -30,4 +30,4 @@ path = "../crossbeam-utils" default-features = false [dev-dependencies] -rand = "0.7" +rand = "0.6" diff --git a/crossbeam-utils/CHANGELOG.md b/crossbeam-utils/CHANGELOG.md index 8b819c7c4..02ea992c4 100644 --- a/crossbeam-utils/CHANGELOG.md +++ b/crossbeam-utils/CHANGELOG.md @@ -1,6 +1,5 @@ # Version 0.7.1 -- Bump `rand` dev-dependency to version 0.7. - Bump `autocfg` dependency to version 1.0. (#460) - Make `AtomicCell` lockfree for u8, u16, u32, u64 sized values at 1.34+. (#454) diff --git a/crossbeam-utils/Cargo.toml b/crossbeam-utils/Cargo.toml index d6fcc6e36..f5b165b13 100644 --- a/crossbeam-utils/Cargo.toml +++ b/crossbeam-utils/Cargo.toml @@ -29,4 +29,4 @@ lazy_static = { version = "1.1.0", optional = true } autocfg = "1" [dev-dependencies] -rand = "0.7" +rand = "0.6"