Skip to content

chore: prepare Tokio v1.50.0#7934

Merged
Darksonn merged 4 commits intomasterfrom
prepare-tokio-1.50.0
Mar 3, 2026
Merged

chore: prepare Tokio v1.50.0#7934
Darksonn merged 4 commits intomasterfrom
prepare-tokio-1.50.0

Conversation

@ADD-SP
Copy link
Copy Markdown
Member

@ADD-SP ADD-SP commented Feb 25, 2026

1.50.0 (Mar 3rd, 2026)

Added

  • net: add TcpStream::set_zero_linger (#7837)
  • rt: add is_rt_shutdown_err (#7771)

Changed

  • io: add optimizer hint that memchr returns in-bounds pointer (#7792)
  • io: implement vectored writes for write_buf (#7871)
  • runtime: panic when event_interval is set to 0 (#7838)
  • runtime: shorten default thread name to fit in Linux limit (#7880)
  • signal: remember the result of SetConsoleCtrlHandler (#7833)
  • signal: specialize windows Registry (#7885)

Fixed

  • io: always cleanup AsyncFd registration list on deregister (#7773)
  • macros: remove (most) local use declarations in tokio::select! (#7929)
  • net: fix GET_BUF_SIZE constant for target_os = "android" (#7889)
  • runtime: avoid redundant unpark in current_thread scheduler (#7834)
  • runtime: don't park in current_thread if before_park defers waker (#7835)
  • io: fix write readiness on ESP32 on short writes (#7872)
  • runtime: wake deferred tasks before entering block_in_place (#7879)
  • sync: drop rx waker when oneshot receiver is dropped (#7886)
  • runtime: fix double increment of num_idle_threads on shutdown (#7910, #7918, #7922)

Unstable

  • fs: check for io-uring opcode support (#7815)
  • runtime: avoid lock acquisition after uring init (#7850)

Documented

  • docs: update outdated unstable features section (#7839)
  • io: clarify the behavior of AsyncWriteExt::shutdown() (#7908)
  • io: explain how to flush stdout/stderr (#7904)
  • io: fix incorrect and confusing AsyncWrite documentation (#7875)
  • rt: clarify the documentation of Runtime::spawn (#7803)
  • rt: fix missing quotation in docs (#7925)
  • runtime: correct the default thread name in docs (#7896)
  • runtime: fix event_interval doc (#7932)
  • sync: clarify RwLock fairness documentation (#7919)
  • sync: clarify that recv returns None once closed and no more messages (#7920)
  • task: clarify when to use spawn_blocking vs dedicated threads (#7923)
  • task: doc that task drops before JoinHandle completion (#7825)
  • signal: guarantee that listeners never return None (#7869)
  • task: fix task module feature flags in docs (#7891)
  • task: fix two typos (#7913)
  • task: improve the docs of Builder::spawn_local (#7828)
  • time: add docs about auto-advance and when to use sleep (#7858)
  • util: fix typo in docs (#7926)

@Darksonn
Copy link
Copy Markdown
Member

I think we need a tokio-macros release first.

@Darksonn Darksonn added the A-tokio Area: The main tokio crate label Feb 25, 2026
@ADD-SP ADD-SP marked this pull request as draft February 25, 2026 07:15
@ADD-SP
Copy link
Copy Markdown
Member Author

ADD-SP commented Feb 28, 2026

I think we need a tokio-macros release first.

#7943

@ADD-SP ADD-SP force-pushed the prepare-tokio-1.50.0 branch from 514de09 to 1c4f8fc Compare March 2, 2026 19:04
@ADD-SP ADD-SP marked this pull request as ready for review March 2, 2026 20:17
@ADD-SP
Copy link
Copy Markdown
Member Author

ADD-SP commented Mar 2, 2026

Ready for review

Copy link
Copy Markdown
Member

@Darksonn Darksonn left a comment

Choose a reason for hiding this comment

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

Thanks.

@Darksonn Darksonn merged commit 0273e45 into master Mar 3, 2026
90 checks passed
@Darksonn Darksonn deleted the prepare-tokio-1.50.0 branch March 3, 2026 09:39
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.

4 participants