Skip to content

Commit ab3ff69

Browse files
authored
chore: prepare to release v1.46.1 (#7444)
# 1.46.1 (July 4th, 2025) This release fixes incorrect spawn locations in runtime task hooks for tasks spawned using `tokio::spawn` rather than `Runtime::spawn`. This issue only effected the spawn location in `TaskMeta::spawned_at`, and did not effect task locations in Tracing events. ## Unstable - runtime: add `TaskMeta::spawn_location` tracking where a task was spawned ([#7440)]) [#7440]: #7440
1 parent a0d5b8a commit ab3ff69

File tree

4 files changed

+18
-4
lines changed

4 files changed

+18
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Make sure you activated the full features of the tokio crate on Cargo.toml:
5656

5757
```toml
5858
[dependencies]
59-
tokio = { version = "1.46.0", features = ["full"] }
59+
tokio = { version = "1.46.1", features = ["full"] }
6060
```
6161
Then, on your main.rs:
6262

tokio/CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
1+
# 1.46.1 (July 4th, 2025)
2+
3+
This release fixes incorrect spawn locations in runtime task hooks for tasks
4+
spawned using `tokio::spawn` rather than `Runtime::spawn`. This issue only
5+
effected the spawn location in `TaskMeta::spawned_at`, and did not effect task
6+
locations in Tracing events.
7+
8+
## Unstable
9+
10+
- runtime: add `TaskMeta::spawn_location` tracking where a task was spawned
11+
([#7440])
12+
13+
[#7440]: https://github.com/tokio-rs/tokio/pull/7440
14+
115
# 1.46.0 (July 2nd, 2025)
216

3-
### Fixed
17+
## Fixed
418

519
- net: fixed `TcpStream::shutdown` incorrectly returning an error on macOS ([#7290])
620

tokio/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name = "tokio"
66
# - README.md
77
# - Update CHANGELOG.md.
88
# - Create "v1.x.y" git tag.
9-
version = "1.46.0"
9+
version = "1.46.1"
1010
edition = "2021"
1111
rust-version = "1.70"
1212
authors = ["Tokio Contributors <[email protected]>"]

tokio/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Make sure you activated the full features of the tokio crate on Cargo.toml:
5656

5757
```toml
5858
[dependencies]
59-
tokio = { version = "1.46.0", features = ["full"] }
59+
tokio = { version = "1.46.1", features = ["full"] }
6060
```
6161
Then, on your main.rs:
6262

0 commit comments

Comments
 (0)