Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare Tokio v1.8.0 #3912

Merged
merged 3 commits into from Jul 2, 2021
Merged

Prepare Tokio v1.8.0 #3912

merged 3 commits into from Jul 2, 2021

Conversation

Darksonn
Copy link
Contributor

@Darksonn Darksonn commented Jul 2, 2021

1.8.0 (July 2, 2021)

Added

  • io: add get_{ref,mut} methods to AsyncFdReadyGuard and AsyncFdReadyMutGuard (#3807)
  • io: efficient implementation of vectored writes for BufWriter (#3163)
  • net: add ready/try methods to NamedPipe{Client,Server} (#3866, #3899)
  • rt: add tokio::task::Builder (#3881)
  • sync: add watch::Receiver::borrow_and_update (#3813)
  • sync: implement From<T> for OnceCell<T> (#3877)
  • time: allow users to specify Interval behaviour when delayed (#3721)

Fixed

  • net: handle HUP event with UnixStream (#3898)

Documented

  • doc: document cancellation safety (#3900)
  • time: add wait alias to sleep (#3897)
  • time: document auto-advancing behaviour of runtime (#3763)

@Darksonn Darksonn added the A-tokio Area: The main tokio crate label Jul 2, 2021
@Darksonn
Copy link
Contributor Author

Darksonn commented Jul 2, 2021

Note that the newly added tokio::task::Builder is not visible in the documentation as it's behind the tracing feature flag.

@Darksonn
Copy link
Contributor Author

Darksonn commented Jul 2, 2021

The fix in #3913 should be merged before making this release.

@Darksonn Darksonn mentioned this pull request Jul 2, 2021
- io: add `get_{ref,mut}` methods to `AsyncFdReadyGuard` and `AsyncFdReadyMutGuard` ([#3807])
- io: efficient implementation of vectored writes for `BufWriter` ([#3163])
- net: add ready/try methods to `NamedPipe{Client,Server}` ([#3866], [#3899])
- rt: add `tokio::task::Builder` ([#3881])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an unstable API, so it will not be available to most users. We probably either want to split it out to a separate section or just not include it in the changelog.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, i think an "Unstable APIs" section might be worth adding?

Copy link
Member

@carllerche carllerche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will approve anyway (changelogs can be tweaked after the fact), but I commented on tokio::task::Builder.

@Darksonn Darksonn merged commit 677107d into master Jul 2, 2021
@Darksonn Darksonn deleted the prepare-tokio-1.8.0 branch July 2, 2021 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants