axum-extra-v0.12.3

epi052/feroxbusteraxum-extra-v0.12.3Dec 20, 2025by jplatte

AI Summary

Enables the routing feature via typed-routing, adds a trailing newline to JSON responses, and fixes an integer underflow bug in file streaming.

Key Highlights

  • Make `typed-routing` feature enable the `routing` feature
  • Add trailing newline to JSON pretty print responses
  • Fix integer underflow in FileStream

New Features

  • Typed-routing feature enabled
  • Trailing newline in JSON
  • FileStream integer underflow fix

Full Release Notes

- **changed:** Make the `typed-routing` feature enable the `routing` feature ([#3514])
- **changed:** Add trailing newline to `ErasedJson::pretty` response bodies ([#3526])
- **fixed:** Fix integer underflow in `FileStream::try_range_response` for empty files ([#3566])

[#3514]: https://github.com/tokio-rs/axum/pull/3514
[#3526]: https://github.com/tokio-rs/axum/pull/3526
[#3566]: https://github.com/tokio-rs/axum/pull/3566