Files
axum/axum-extra/CHANGELOG.md
T
David PedersenandMatthias Vogelgesang 84cbb66575 Backport TypedPath::to_uri (#809)
* axum-macros: use fully qualified Result type (#796)

* Easily convert typed paths into URIs (#790)

* Easily convert typed paths into URIs

`#[derive(TypedPath)]` will now also generate `TryFrom<_> for Uri` for
easily converting paths into URIs for use with `Redirect` and friends.

Fixes https://github.com/tokio-rs/axum/issues/789

* Use a method on the `TypedPath` trait to convert to `Uri`

* fix doc ref

* Update changelogs

* Remove out of date docs

These accidentally weren't removed in https://github.com/tokio-rs/axum/pull/790

Co-authored-by: Matthias Vogelgesang <[email protected]>
2022-03-01 14:17:17 +01:00

1.4 KiB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

  • added: Add TypedPath::to_uri for converting the path into a Uri (#790)

0.1.4 (22. February, 2022)

  • fix: Depend on the right versions of axum and axum-macros (#782)

0.1.3 (22. February, 2022)

  • added: Add type safe routing. See axum_extra::routing::typed for more details (#756)
  • fix: Depend on tower with default_features = false (#666)
  • change: middleware::from_fn has been deprecated and moved into the main axum crate (#719)

0.1.2 (13. January, 2022)

  • fix: Depend on tower with default_features = false (#666)

0.1.1 (27. December, 2021)

  • Add middleware::from_fn for creating middleware from async functions (#656)
  • Add support for returning pretty JSON response in response::ErasedJson (#662)

0.1.0 (02. December, 2021)

  • Initial release.