Skip to content

Remove deprecated extractor_middleware function - #1077

Merged
davidpdrsn merged 3 commits into
axum-nextfrom
remove-extractor_middleware
Jun 11, 2022
Merged

Remove deprecated extractor_middleware function#1077
davidpdrsn merged 3 commits into
axum-nextfrom
remove-extractor_middleware

Conversation

@davidpdrsn

Copy link
Copy Markdown
Member

No description provided.

@davidpdrsn davidpdrsn added breaking change A PR that makes a breaking change. A-axum labels Jun 9, 2022
@davidpdrsn
davidpdrsn requested a review from jplatte June 9, 2022 18:43
@davidpdrsn
davidpdrsn changed the base branch from main to axum-next June 11, 2022 11:35
@davidpdrsn
davidpdrsn merged commit fed9a72 into axum-next Jun 11, 2022
@davidpdrsn
davidpdrsn deleted the remove-extractor_middleware branch June 11, 2022 11:35
davidpdrsn added a commit that referenced this pull request Jun 29, 2022
* Prepare axum-next branch

* Remove deprecated `extractor_middleware` function (#1077)

* Allow `Error: Into<Infallible>` for `Route::{layer, route_layer}` (#948)

* Allow `Error: Into<Infallible>` for `Route::{layer, route_layer}` (#924)

* Allow `Error: Into<Infallible>` for `Route::{layer, route_layer}`

Fixes #922

* changelog

* fixup changelog

* Panic on overlapping routes in `MethodRouter` (#1102)

* Panic on overlapping routes in `MethodRouter`

* changelog link

* add test to ensure `head` and `get` don't overlap

* Fix changelog

* Prepare axum-next branch

* Remove trailing slash redirects

* changelog link

* Fix changelog

* remove asserting to make make the test more clear

* remove tsr related feature

* Add `RouterExt::route_with_tsr`

* Apply suggestions from code review

Co-authored-by: Jonas Platte <jplatte+git@posteo.de>

* Update axum-extra/src/routing/mod.rs

Co-authored-by: Jonas Platte <jplatte+git@posteo.de>

* fix typos in docs

* Update axum/CHANGELOG.md

Co-authored-by: Jonas Platte <jplatte+git@posteo.de>

* mention `RouterExt::route_with_tsr` in the changelog

Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-axum breaking change A PR that makes a breaking change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants