codegen-v4.3.0

actix/actix-webcodegen-v4.3.0Jun 8, 2024by robjtede

AI Summary

This release adds the `#[scope]` macro and compatibility features, similar to the main web crate, while preventing default router features.

Key Highlights

  • Added `#[scope]` macro for grouping routes.
  • Added `compat-routing-macros-force-pub` feature to control handler visibility.
  • Prevented inclusion of default `actix-router` features.
  • Minimum supported Rust version (MSRV) updated to 1.72.

New Features

  • Added `#[scope]` macro.
  • Added `compat-routing-macros-force-pub` feature.

Full Release Notes

- Add `#[scope]` macro.
- Add `compat-routing-macros-force-pub` crate feature which, on-by-default, which when disabled causes handlers to inherit their attached function's visibility.
- Prevent inclusion of default `actix-router` features.
- Minimum supported Rust version (MSRV) is now 1.72.