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-util v0.7.5 #5442

Merged
merged 1 commit into from Feb 9, 2023

Conversation

Darksonn
Copy link
Contributor

@Darksonn Darksonn commented Feb 9, 2023

Closes: #5388

0.7.5 (February 9, 2023)

This release fixes an accidental breaking change where UnwindSafe was accidentally removed from CancellationToken.

Added

  • codec: add Framed::backpressure_boundary (#5124)
  • io: add InspectReader and InspectWriter (#5033)
  • io: add tokio_util::io::{CopyToBytes, SinkWriter} (#5070, #5436)
  • io: impl std::io::BufRead on SyncIoBridge (#5265)
  • sync: add PollSemaphore::poll_acquire_many (#5137)
  • sync: add owned future for CancellationToken (#5153)
  • time: add DelayQueue::try_remove (#5052)

Fixed

  • codec: fix LengthDelimitedCodec buffer over-reservation (#4997)
  • sync: impl UnwindSafe on CancellationToken (#5438)
  • util: remove Encoder bound on FramedParts constructor (#5280)

Documented

  • io: add lines example for StreamReader (#5145)

@Darksonn Darksonn added A-tokio-util Area: The tokio-util crate R-loom Run loom tests on this PR labels Feb 9, 2023
Copy link
Contributor

@hds hds left a comment

Choose a reason for hiding this comment

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

Approved. Although I suppose that the changes in master with #5438 need to be merged into this branch, as that's the main purpose of the release.

@github-actions github-actions bot removed the R-loom Run loom tests on this PR label Feb 9, 2023
@Darksonn Darksonn merged commit 74fb9e3 into tokio-rs:master Feb 9, 2023
@arcnmx
Copy link

arcnmx commented Feb 11, 2023

This release appears to have broken backwards-compatibility, what is the recommended approach or workaround for downstream crates - update to the new syntax and introduce a version requirement of ^0.7.5 or do nothing and wait for a fix?

@Darksonn Darksonn deleted the prepare-tokio-util-0.7.5 branch February 11, 2023 19:46
@Darksonn
Copy link
Contributor Author

Darksonn commented Feb 11, 2023

We will release a fix. See #5450.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio-util Area: The tokio-util crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Release a new version of tokio-util
3 participants