Skip to content

Commit 652f111

Browse files
committed
Release rayon 1.7.0 and rayon-core 1.11.0
1 parent 7df001d commit 652f111

File tree

8 files changed

+42
-30
lines changed

8 files changed

+42
-30
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
runs-on: ubuntu-latest
9090
steps:
9191
- uses: actions/checkout@v3
92-
- uses: dtolnay/rust-toolchain@1.62.0
92+
- uses: dtolnay/rust-toolchain@1.67.1
9393
with:
9494
components: rustfmt
9595
- run: cargo fmt --all --check

.github/workflows/pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
runs-on: ubuntu-latest
3333
steps:
3434
- uses: actions/checkout@v3
35-
- uses: dtolnay/rust-toolchain@1.62.0
35+
- uses: dtolnay/rust-toolchain@1.67.1
3636
with:
3737
components: rustfmt
3838
- run: cargo fmt --all --check

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rayon"
3-
version = "1.6.1"
3+
version = "1.7.0"
44
authors = ["Niko Matsakis <niko@alum.mit.edu>",
55
"Josh Stone <cuviper@gmail.com>"]
66
description = "Simple work-stealing parallelism for Rust"
@@ -19,7 +19,7 @@ members = ["rayon-demo", "rayon-core"]
1919
exclude = ["ci"]
2020

2121
[dependencies]
22-
rayon-core = { version = "1.10.0", path = "rayon-core" }
22+
rayon-core = { version = "1.11.0", path = "rayon-core" }
2323

2424
# This is a public dependency!
2525
[dependencies.either]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ as:
7171

7272
```toml
7373
[dependencies]
74-
rayon = "1.6"
74+
rayon = "1.7"
7575
```
7676

7777
To use the parallel iterator APIs, a number of traits have to be in

RELEASES.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
1-
# Unreleased
1+
# Release rayon 1.7.0 / rayon-core 1.11.0 (2023-03-03)
22

33
- The minimum supported `rustc` is now 1.59.
4+
- Added a fallback when threading is unsupported.
5+
- The new `ParallelIterator::take_any` and `skip_any` methods work like
6+
unordered `IndexedParallelIterator::take` and `skip`, counting items in
7+
whatever order they are visited in parallel.
8+
- The new `ParallelIterator::take_any_while` and `skip_any_while` methods work
9+
like unordered `Iterator::take_while` and `skip_while`, which previously had
10+
no parallel equivalent. The "while" condition may be satisfied from anywhere
11+
in the parallel iterator, affecting all future items regardless of position.
12+
- The new `yield_now` and `yield_local` functions will cooperatively yield
13+
execution to Rayon, either trying to execute pending work from the entire
14+
pool or from just the local deques of the current thread, respectively.
415

516
# Release rayon-core 1.10.2 (2023-01-22)
617

ci/compat-Cargo.lock

Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rayon-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rayon-core"
3-
version = "1.10.2"
3+
version = "1.11.0"
44
authors = ["Niko Matsakis <niko@alum.mit.edu>",
55
"Josh Stone <cuviper@gmail.com>"]
66
description = "Core APIs for Rayon"

src/iter/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2564,6 +2564,7 @@ pub trait IndexedParallelIterator: ParallelIterator {
25642564
/// let r: Vec<Vec<i32>> = a.into_par_iter().chunks(3).collect();
25652565
/// assert_eq!(r, vec![vec![1,2,3], vec![4,5,6], vec![7,8,9], vec![10]]);
25662566
/// ```
2567+
#[track_caller]
25672568
fn chunks(self, chunk_size: usize) -> Chunks<Self> {
25682569
assert!(chunk_size != 0, "chunk_size must not be zero");
25692570
Chunks::new(self, chunk_size)

0 commit comments

Comments
 (0)