2019-03-28 13:46:26 -07:00
# Changes
2023-08-28 23:44:35 +01:00
## Unreleased
2023-02-26 00:55:57 +00:00
2024-06-09 00:19:09 +01:00
## 4.3.0
2024-06-07 15:10:48 -07:00
- Add `#[scope]` macro.
2024-06-09 00:10:15 +01:00
- Add `compat-routing-macros-force-pub` crate feature which, on-by-default, which when disabled causes handlers to inherit their attached function's visibility.
2024-06-07 08:08:13 -06:00
- Prevent inclusion of default `actix-router` features.
2024-02-13 01:24:34 +00:00
- Minimum supported Rust version (MSRV) is now 1.72.
2024-02-07 03:47:30 +00:00
2023-08-29 21:27:36 +01:00
## 4.2.2
- Fix regression when declaring `wrap` attribute using an expression.
2023-08-29 01:19:56 +01:00
## 4.2.1
2023-07-20 10:49:01 +01:00
- Update `syn` dependency to `2` .
2023-08-01 19:33:32 +01:00
- Minimum supported Rust version (MSRV) is now 1.68 due to transitive `time` dependency.
2023-07-02 01:09:15 +01:00
2023-08-28 23:44:35 +01:00
## 4.2.0
2023-02-26 03:42:27 +00:00
2023-02-26 03:44:34 +00:00
- Add support for custom methods with the `#[route]` macro. [#2969 ]
2023-02-06 18:10:41 +05:30
[#2969 ]: https://github.com/actix/actix-web/pull/2969
2022-09-11 16:42:28 +01:00
2023-08-28 23:44:35 +01:00
## 4.1.0
2023-02-26 00:55:57 +00:00
2022-07-04 06:31:49 +02:00
- Add `#[routes]` macro to support multiple paths for one handler. [#2718 ]
2022-08-27 13:14:16 +01:00
- Minimum supported Rust version (MSRV) is now 1.59 due to transitive `time` dependency.
2022-06-11 16:15:43 +01:00
2022-07-04 06:31:49 +02:00
[#2718 ]: https://github.com/actix/actix-web/pull/2718
2023-08-28 23:44:35 +01:00
## 4.0.1
2023-02-26 00:55:57 +00:00
2022-06-07 02:53:23 +09:00
- Fix support for guard paths in route handler macros. [#2771 ]
2022-06-11 04:03:26 +01:00
- Minimum supported Rust version (MSRV) is now 1.56 due to transitive `hashbrown` dependency.
2022-06-07 02:53:23 +09:00
2022-06-11 16:15:43 +01:00
[#2771 ]: https://github.com/actix/actix-web/pull/2771
2022-01-04 15:34:16 +00:00
2023-08-28 23:44:35 +01:00
## 4.0.0
2023-02-26 00:55:57 +00:00
2022-02-25 18:46:35 +00:00
- Version aligned with `actix-web` and will remain in sync going forward.
- No significant changes since `0.5.0` .
2023-08-28 23:44:35 +01:00
## 0.5.0
2022-02-25 18:46:35 +00:00
2023-02-26 00:55:57 +00:00
- No significant changes since `0.5.0-rc.2` .
2022-02-25 18:46:35 +00:00
2023-08-28 23:44:35 +01:00
## 0.5.0-rc.2
2022-02-01 00:12:42 +00:00
2023-02-26 00:55:57 +00:00
- No significant changes since `0.5.0-rc.1` .
2022-02-01 00:12:42 +00:00
2023-08-28 23:44:35 +01:00
## 0.5.0-rc.1
2021-10-20 22:32:05 +01:00
2023-02-26 00:55:57 +00:00
- Minimum supported Rust version (MSRV) is now 1.54.
2021-10-20 22:32:05 +01:00
2023-08-28 23:44:35 +01:00
## 0.5.0-beta.6
2021-12-11 00:33:31 +00:00
2023-02-26 00:55:57 +00:00
- No significant changes since `0.5.0-beta.5` .
2021-12-11 00:33:31 +00:00
2023-08-28 23:44:35 +01:00
## 0.5.0-beta.5
2023-02-26 00:55:57 +00:00
2021-12-22 08:21:30 +00:00
- Improve error recovery potential when macro input is invalid. [#2410 ]
- Add `#[actix_web::test]` macro for setting up tests with a runtime. [#2409 ]
- Minimum supported Rust version (MSRV) is now 1.52.
2021-10-14 18:06:31 +01:00
[#2410 ]: https://github.com/actix/actix-web/pull/2410
2021-10-19 17:30:32 +01:00
[#2409 ]: https://github.com/actix/actix-web/pull/2409
2021-09-09 01:35:41 +01:00
2023-08-28 23:44:35 +01:00
## 0.5.0-beta.4
2023-02-26 00:55:57 +00:00
2021-12-22 08:21:30 +00:00
- In routing macros, paths are now validated at compile time. [#2350 ]
- Minimum supported Rust version (MSRV) is now 1.51.
2021-08-31 02:20:40 +05:30
[#2350 ]: https://github.com/actix/actix-web/pull/2350
2021-03-09 23:27:38 +00:00
2023-08-28 23:44:35 +01:00
## 0.5.0-beta.3
2021-06-19 11:51:20 +01:00
2023-02-26 00:55:57 +00:00
- No notable changes.
2021-06-19 11:51:20 +01:00
2023-08-28 23:44:35 +01:00
## 0.5.0-beta.2
2023-02-26 00:55:57 +00:00
2021-12-22 08:21:30 +00:00
- Preserve doc comments when using route macros. [#2022 ]
- Add `name` attribute to `route` macro. [#1934 ]
2021-02-24 12:26:56 +00:00
[#2022 ]: https://github.com/actix/actix-web/pull/2022
2021-03-04 20:38:47 +08:00
[#1934 ]: https://github.com/actix/actix-web/pull/1934
2020-09-24 23:54:01 +01:00
2023-08-28 23:44:35 +01:00
## 0.5.0-beta.1
2021-02-10 12:45:46 +00:00
2023-02-26 00:55:57 +00:00
- Use new call signature for `System::new` .
2021-02-10 12:45:46 +00:00
2023-08-28 23:44:35 +01:00
## 0.4.0
2023-02-26 00:55:57 +00:00
2021-12-22 08:21:30 +00:00
- Added compile success and failure testing. [#1677 ]
- Add `route` macro for supporting multiple HTTP methods guards. [#1674 ]
2020-09-13 16:31:08 +01:00
[#1677 ]: https://github.com/actix/actix-web/pull/1677
2020-09-16 23:37:41 +02:00
[#1674 ]: https://github.com/actix/actix-web/pull/1674
2020-06-22 20:09:48 +01:00
2023-08-28 23:44:35 +01:00
## 0.3.0
2020-09-11 13:50:10 +01:00
2023-02-26 00:55:57 +00:00
- No significant changes from `0.3.0-beta.1` .
2020-09-11 13:50:10 +01:00
2023-08-28 23:44:35 +01:00
## 0.3.0-beta.1
2023-02-26 00:55:57 +00:00
2021-12-22 08:21:30 +00:00
- Add main entry-point macro that uses re-exported runtime. [#1559 ]
2020-07-15 00:44:44 +01:00
[#1559 ]: https://github.com/actix/actix-web/pull/1559
2020-06-22 20:09:48 +01:00
2023-08-28 23:44:35 +01:00
## 0.2.2
2023-02-26 00:55:57 +00:00
2021-12-22 08:21:30 +00:00
- Add resource middleware on actix-web-codegen [#1467 ]
2020-05-23 17:22:30 +09:00
[#1467 ]: https://github.com/actix/actix-web/pull/1467
2020-05-13 01:57:37 +01:00
2023-08-28 23:44:35 +01:00
## 0.2.1
2023-02-26 00:55:57 +00:00
2021-12-22 08:21:30 +00:00
- Add `#[allow(missing_docs)]` attribute to generated structs [#1368 ]
- Allow the handler function to be named as `config` [#1290 ]
2020-02-23 06:40:02 +09:00
[#1368 ]: https://github.com/actix/actix-web/issues/1368
[#1290 ]: https://github.com/actix/actix-web/issues/1290
2020-01-26 01:22:40 +03:00
2023-08-28 23:44:35 +01:00
## 0.2.0
2019-12-13 12:18:30 +06:00
2023-02-26 00:55:57 +00:00
- Generate code for actix-web 2.0
2019-10-14 23:34:17 +08:00
2023-08-28 23:44:35 +01:00
## 0.1.3
2023-02-26 00:55:57 +00:00
2021-12-22 08:21:30 +00:00
- Bump up `syn` & `quote` to 1.0
- Provide better error message
2019-10-14 23:34:17 +08:00
2023-08-28 23:44:35 +01:00
## 0.1.2
2019-06-04 22:33:43 +06:00
2023-02-26 00:55:57 +00:00
- Add macros for head, options, trace, connect and patch http methods
2019-06-01 17:21:22 +06:00
2023-08-28 23:44:35 +01:00
## 0.1.1
2019-06-01 17:21:22 +06:00
2023-02-26 00:55:57 +00:00
- Add syn "extra-traits" feature
2019-05-18 10:47:08 -07:00
2023-08-28 23:44:35 +01:00
## 0.1.0
2019-05-18 10:47:08 -07:00
2023-02-26 00:55:57 +00:00
- Release
2019-04-20 21:16:51 -07:00
2023-08-28 23:44:35 +01:00
## 0.1.0-beta.1
2019-04-20 21:16:51 -07:00
2023-02-26 00:55:57 +00:00
- Gen code for actix-web 1.0.0-beta.1
2019-04-14 08:09:32 -07:00
2023-08-28 23:44:35 +01:00
## 0.1.0-alpha.6
2019-04-14 08:09:32 -07:00
2023-02-26 00:55:57 +00:00
- Gen code for actix-web 1.0.0-alpha.6
2019-03-28 13:46:26 -07:00
2023-08-28 23:44:35 +01:00
## 0.1.0-alpha.1
2023-02-26 00:55:57 +00:00
2021-12-22 08:21:30 +00:00
- Initial impl