| 1 | # 2.4.0 (July 22nd, 2024) |
| 2 | |
| 3 | - msrv: increase MSRV to 1.70 ([#6645]) |
| 4 | - macros: allow `unhandled_panic` behavior for `#[tokio::main]` and `#[tokio::test]` ([#6593]) |
| 5 | |
| 6 | [#6593]: https://github.com/tokio-rs/tokio/pull/6593 |
| 7 | [#6645]: https://github.com/tokio-rs/tokio/pull/6645 |
| 8 | |
| 9 | # 2.3.0 (May 30th, 2024) |
| 10 | |
| 11 | - macros: make `#[tokio::test]` append `#[test]` at the end of the attribute list ([#6497]) |
| 12 | |
| 13 | [#6497]: https://github.com/tokio-rs/tokio/pull/6497 |
| 14 | |
| 15 | # 2.2.0 (November 19th, 2023) |
| 16 | |
| 17 | ### Changed |
| 18 | |
| 19 | - use `::core` qualified imports instead of `::std` inside `tokio::test` macro ([#5973]) |
| 20 | |
| 21 | [#5973]: https://github.com/tokio-rs/tokio/pull/5973 |
| 22 | |
| 23 | # 2.1.0 (April 25th, 2023) |
| 24 | |
| 25 | - macros: fix typo in `#[tokio::test]` docs ([#5636]) |
| 26 | - macros: make entrypoints more efficient ([#5621]) |
| 27 | |
| 28 | [#5621]: https://github.com/tokio-rs/tokio/pull/5621 |
| 29 | [#5636]: https://github.com/tokio-rs/tokio/pull/5636 |
| 30 | |
| 31 | # 2.0.0 (March 24th, 2023) |
| 32 | |
| 33 | This major release updates the dependency on the syn crate to 2.0.0, and |
| 34 | increases the MSRV to 1.56. |
| 35 | |
| 36 | As part of this release, we are adopting a policy of depending on a specific minor |
| 37 | release of tokio-macros. This prevents Tokio from being able to pull in many different |
| 38 | versions of tokio-macros. |
| 39 | |
| 40 | - macros: update `syn` ([#5572]) |
| 41 | - macros: accept path as crate rename ([#5557]) |
| 42 | |
| 43 | [#5572]: https://github.com/tokio-rs/tokio/pull/5572 |
| 44 | [#5557]: https://github.com/tokio-rs/tokio/pull/5557 |
| 45 | |
| 46 | # 1.8.2 (November 30th, 2022) |
| 47 | |
| 48 | - fix a regression introduced in 1.8.1 ([#5244]) |
| 49 | |
| 50 | [#5244]: https://github.com/tokio-rs/tokio/pull/5244 |
| 51 | |
| 52 | # 1.8.1 (November 29th, 2022) |
| 53 | |
| 54 | (yanked) |
| 55 | |
| 56 | - macros: Pin Futures in `#[tokio::test]` to stack ([#5205]) |
| 57 | - macros: Reduce usage of last statement spans in proc-macros ([#5092]) |
| 58 | - macros: Improve the documentation for `#[tokio::test]` ([#4761]) |
| 59 | |
| 60 | [#5205]: https://github.com/tokio-rs/tokio/pull/5205 |
| 61 | [#5092]: https://github.com/tokio-rs/tokio/pull/5092 |
| 62 | [#4761]: https://github.com/tokio-rs/tokio/pull/4761 |
| 63 | |
| 64 | # 1.8.0 (June 4th, 2022) |
| 65 | |
| 66 | - macros: always emit return statement ([#4636]) |
| 67 | - macros: support setting a custom crate name for `#[tokio::main]` and `#[tokio::test]` ([#4613]) |
| 68 | |
| 69 | [#4613]: https://github.com/tokio-rs/tokio/pull/4613 |
| 70 | [#4636]: https://github.com/tokio-rs/tokio/pull/4636 |
| 71 | |
| 72 | # 1.7.0 (December 15th, 2021) |
| 73 | |
| 74 | - macros: address remaining `clippy::semicolon_if_nothing_returned` warning ([#4252]) |
| 75 | |
| 76 | [#4252]: https://github.com/tokio-rs/tokio/pull/4252 |
| 77 | |
| 78 | # 1.6.0 (November 16th, 2021) |
| 79 | |
| 80 | - macros: fix mut patterns in `select!` macro ([#4211]) |
| 81 | |
| 82 | [#4211]: https://github.com/tokio-rs/tokio/pull/4211 |
| 83 | |
| 84 | # 1.5.1 (October 29th, 2021) |
| 85 | |
| 86 | - macros: fix type resolution error in `#[tokio::main]` ([#4176]) |
| 87 | |
| 88 | [#4176]: https://github.com/tokio-rs/tokio/pull/4176 |
| 89 | |
| 90 | # 1.5.0 (October 13th, 2021) |
| 91 | |
| 92 | - macros: make tokio-macros attributes more IDE friendly ([#4162]) |
| 93 | |
| 94 | [#4162]: https://github.com/tokio-rs/tokio/pull/4162 |
| 95 | |
| 96 | # 1.4.1 (September 30th, 2021) |
| 97 | |
| 98 | Reverted: run `current_thread` inside `LocalSet` ([#4027]) |
| 99 | |
| 100 | # 1.4.0 (September 29th, 2021) |
| 101 | |
| 102 | (yanked) |
| 103 | |
| 104 | ### Changed |
| 105 | |
| 106 | - macros: run `current_thread` inside `LocalSet` ([#4027]) |
| 107 | - macros: explicitly relaxed clippy lint for `.expect()` in runtime entry macro ([#4030]) |
| 108 | |
| 109 | ### Fixed |
| 110 | |
| 111 | - macros: fix invalid error messages in functions wrapped with `#[main]` or `#[test]` ([#4067]) |
| 112 | |
| 113 | [#4027]: https://github.com/tokio-rs/tokio/pull/4027 |
| 114 | [#4030]: https://github.com/tokio-rs/tokio/pull/4030 |
| 115 | [#4067]: https://github.com/tokio-rs/tokio/pull/4067 |
| 116 | |
| 117 | # 1.3.0 (July 7, 2021) |
| 118 | |
| 119 | - macros: don't trigger `clippy::unwrap_used` ([#3926]) |
| 120 | |
| 121 | [#3926]: https://github.com/tokio-rs/tokio/pull/3926 |
| 122 | |
| 123 | # 1.2.0 (May 14, 2021) |
| 124 | |
| 125 | - macros: forward input arguments in `#[tokio::test]` ([#3691]) |
| 126 | - macros: improve diagnostics on type mismatch ([#3766]) |
| 127 | - macros: various error message improvements ([#3677]) |
| 128 | |
| 129 | [#3677]: https://github.com/tokio-rs/tokio/pull/3677 |
| 130 | [#3691]: https://github.com/tokio-rs/tokio/pull/3691 |
| 131 | [#3766]: https://github.com/tokio-rs/tokio/pull/3766 |
| 132 | |
| 133 | # 1.1.0 (February 5, 2021) |
| 134 | |
| 135 | - add `start_paused` option to macros ([#3492]) |
| 136 | |
| 137 | # 1.0.0 (December 23, 2020) |
| 138 | |
| 139 | - track `tokio` 1.0 release. |
| 140 | |
| 141 | # 0.3.1 (October 25, 2020) |
| 142 | |
| 143 | ### Fixed |
| 144 | |
| 145 | - fix incorrect docs regarding `max_threads` option ([#3038]) |
| 146 | |
| 147 | # 0.3.0 (October 15, 2020) |
| 148 | |
| 149 | - Track `tokio` 0.3 release. |
| 150 | |
| 151 | ### Changed |
| 152 | - options are renamed to track `tokio` runtime builder fn names. |
| 153 | - `#[tokio::main]` macro requires `rt-multi-thread` when no `flavor` is specified. |
| 154 | |
| 155 | # 0.2.5 (February 27, 2019) |
| 156 | |
| 157 | ### Fixed |
| 158 | - doc improvements ([#2225]). |
| 159 | |
| 160 | # 0.2.4 (January 27, 2019) |
| 161 | |
| 162 | ### Fixed |
| 163 | - generics on `#[tokio::main]` function ([#2177]). |
| 164 | |
| 165 | ### Added |
| 166 | - support for `tokio::select!` ([#2152]). |
| 167 | |
| 168 | # 0.2.3 (January 7, 2019) |
| 169 | |
| 170 | ### Fixed |
| 171 | - Revert breaking change. |
| 172 | |
| 173 | # 0.2.2 (January 7, 2019) |
| 174 | |
| 175 | ### Added |
| 176 | - General refactoring and inclusion of additional runtime options ([#2022] and [#2038]) |
| 177 | |
| 178 | # 0.2.1 (December 18, 2019) |
| 179 | |
| 180 | ### Fixes |
| 181 | - inherit visibility when wrapping async fn ([#1954]). |
| 182 | |
| 183 | # 0.2.0 (November 26, 2019) |
| 184 | |
| 185 | - Initial release |
| 186 | |
| 187 | [#1954]: https://github.com/tokio-rs/tokio/pull/1954 |
| 188 | [#2022]: https://github.com/tokio-rs/tokio/pull/2022 |
| 189 | [#2038]: https://github.com/tokio-rs/tokio/pull/2038 |
| 190 | [#2152]: https://github.com/tokio-rs/tokio/pull/2152 |
| 191 | [#2177]: https://github.com/tokio-rs/tokio/pull/2177 |
| 192 | [#2225]: https://github.com/tokio-rs/tokio/pull/2225 |
| 193 | [#3038]: https://github.com/tokio-rs/tokio/pull/3038 |
| 194 | [#3492]: https://github.com/tokio-rs/tokio/pull/3492 |