diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fb967b486..ee452016d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -89,7 +89,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@1.67.1 + - uses: dtolnay/rust-toolchain@1.72.1 with: components: rustfmt - run: cargo fmt --all --check diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 034f2ca00..1c11ef038 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -32,7 +32,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@1.67.1 + - uses: dtolnay/rust-toolchain@1.72.1 with: components: rustfmt - run: cargo fmt --all --check diff --git a/RELEASES.md b/RELEASES.md index 28b476d47..c1e42de9e 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,3 +1,18 @@ +# Release rayon 1.8.0 / rayon-core 1.12.0 (2023-09-20) + +- The minimum supported `rustc` is now 1.63. +- Added `ThreadPoolBuilder::use_current_thread` to use the builder thread as + part of the new thread pool. That thread does not run the pool's main loop, + but it may participate in work-stealing if it yields to rayon in some way. +- Implemented `FromParallelIterator` for `Box<[T]>`, `Rc<[T]>`, and + `Arc<[T]>`, as well as `FromParallelIterator>` and + `ParallelExtend>` for `String`. +- `ThreadPoolBuilder::build_scoped` now uses `std::thread::scope`. +- The default number of threads is now determined using + `std::thread::available_parallelism` instead of the `num_cpus` crate. +- The internal logging facility has been removed, reducing bloat for all users. +- Many smaller performance tweaks and documentation updates. + # Release rayon 1.7.0 / rayon-core 1.11.0 (2023-03-03) - The minimum supported `rustc` is now 1.59.