axum-extra-v0.12.3

0xPlaygrounds/rigaxum-extra-v0.12.3Dec 20, 2025by jplatte

AI Summary

Updated routing features and fixed a file stream integer underflow issue.

Key Highlights

  • Enabled `routing` feature when `typed-routing` is enabled
  • Added trailing newline to JSON response bodies
  • Fixed integer underflow in `FileStream::try_range_response`

New Features

  • Feature toggle for `typed-routing` and `routing`
  • Trailing newline for pretty JSON responses
  • Fixed integer underflow in file stream handling

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