Skip to content

Commit

Permalink
Release rayon 0.9.0 / rayon-core 1.3.0 / rayon-futures 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper committed Nov 8, 2017
1 parent 75f95c0 commit 94f1b99
Show file tree
Hide file tree
Showing 7 changed files with 80 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "rayon"
# Reminder to update html_rool_url in lib.rs when updating version
version = "0.8.2"
version = "0.9.0"
authors = ["Niko Matsakis <niko@alum.mit.edu>",
"Josh Stone <cuviper@gmail.com>"]
description = "Simple work-stealing parallelism for Rust"
Expand All @@ -17,7 +17,7 @@ members = ["rayon-demo", "rayon-core", "rayon-futures"]
exclude = ["ci"]

[dependencies]
rayon-core = { version = "1.2", path = "rayon-core" }
rayon-core = { version = "1.3", path = "rayon-core" }

# This is a public dependency!
[dependencies.either]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ as:

```rust
[dependencies]
rayon = "0.8.2"
rayon = "0.9"
```

and then add the following to to your `lib.rs`:
Expand Down
73 changes: 73 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,76 @@
# Release rayon 0.9.0 / rayon-core 1.3.0 / rayon-futures 0.1.0

- `Configuration` now has a `build` method.
- `ParallelIterator` added `flatten` and `intersperse`, both inspired by
itertools.
- `IndexedParallelIterator` added `interleave`, `interleave_shortest`, and
`zip_eq`, all inspired by itertools.
- The new functions `iter::empty` and `once` create parallel iterators of
exactly zero or one item, like their `std` counterparts.
- The new functions `iter::repeat` and `repeatn` create parallel iterators
repeating an item indefinitely or `n` times, respectively.
- The new function `join_context` works like `join`, with an added `FnContext`
parameter that indicates whether the job was stolen.
- `Either` (used by `ParallelIterator::partition_map`) is now re-exported from
the `either` crate, instead of defining our own type.
- `Either` also now implements `ParallelIterator`, `IndexedParallelIterator`,
and `ParallelExtend` when both of its `Left` and `Right` types do.
- All public types now implement `Debug`.
- Many of the parallel iterators now implement `Clone` where possible.
- Much of the documentation has been extended. (but still could use more help!)
- All rayon crates have improved metadata.
- Rayon was evaluated in the Libz Blitz, leading to many of these improvements.
- Rayon pull requests are now guarded by bors-ng.

## Futures

The `spawn_future()` method has been refactored into its own `rayon-futures`
crate, now through a `ScopeFutureExt` trait for `ThreadPool` and `Scope`. The
supporting `rayon-core` APIs are still gated by `--cfg rayon_unstable`.

## Breaking changes

- Two breaking changes have been made to `rayon-core`, but since they're fixing
soundness bugs, we are considering these _minor_ changes for semver.
- `Scope::spawn` now requires `Send` for the closure.
- `ThreadPool::install` now requires `Send` for the return value.
- The `iter::internal` module has been renamed to `iter::plumbing`, to hopefully
indicate that while these are low-level details, they're not really internal
or private to rayon. The contents of that module are needed for third-parties
to implement new parallel iterators, and we'll treat them with normal semver
stability guarantees.
- The function `rayon::iter::split` is no longer re-exported as `rayon::split`.

## Contributors

Thanks to all of the contributors for this release!

- @AndyGauge
- @ChristopherDavenport
- @chrisvittal
- @cuviper
- @dns2utf8
- @dtolnay
- @frewsxcv
- @gsquire
- @Hittherhod
- @jdr023
- @laumann
- @leodasvacas
- @lvillani
- @MajorBreakfast
- @mamuleanu
- @marmistrz
- @mbrubeck
- @mgattozzi
- @nikomatsakis
- @smt923
- @stjepang
- @tmccombs
- @vishalsodani
- bors[bot]


# Release rayon 0.8.2

- `ParallelSliceMut` now has six parallel sorting methods with the same
Expand Down
2 changes: 1 addition & 1 deletion rayon-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rayon-core"
version = "1.2.2" # reminder to update html_root_url attribute
version = "1.3.0" # reminder to update html_root_url attribute
authors = ["Niko Matsakis <niko@alum.mit.edu>",
"Josh Stone <cuviper@gmail.com>"]
description = "Core APIs for Rayon"
Expand Down
2 changes: 1 addition & 1 deletion rayon-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
//! conflicting requirements will need to be resolved before the build will
//! succeed.
#![doc(html_root_url = "https://docs.rs/rayon-core/1.2")]
#![doc(html_root_url = "https://docs.rs/rayon-core/1.3")]
#![allow(non_camel_case_types)] // I prefer to use ALL_CAPS for type parameters
#![deny(missing_debug_implementations)]
#![cfg_attr(test, feature(conservative_impl_trait))]
Expand Down
2 changes: 1 addition & 1 deletion rayon-futures/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ keywords = ["parallel", "thread", "concurrency", "join", "performance"]
categories = ["concurrency"]

[dependencies]
rayon-core = { version = "1.2.2", path = "../rayon-core" }
rayon-core = { version = "1.3", path = "../rayon-core" }
futures = "0.1.16"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![doc(html_root_url = "https://docs.rs/rayon/0.8.2")]
#![doc(html_root_url = "https://docs.rs/rayon/0.9")]
#![allow(non_camel_case_types)] // I prefer to use ALL_CAPS for type parameters
#![deny(missing_debug_implementations)]
#![cfg_attr(test, feature(conservative_impl_trait))]
Expand Down

0 comments on commit 94f1b99

Please sign in to comment.