-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Next breaking release of axum, axum-core, and axum-extra #644
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
davidpdrsn
added
A-axum
breaking change
A PR that makes a breaking change.
T-release
Topic: releases
labels
Dec 21, 2021
davidpdrsn
changed the title
axum 0.5: release branch
Next breaking release of axum and axum-core
Dec 21, 2021
davidpdrsn
force-pushed
the
axum-next
branch
3 times, most recently
from
January 3, 2022 17:50
f04cf94
to
a7de04f
Compare
davidpdrsn
changed the title
Next breaking release of axum and axum-core
Next breaking release of axum, axum-core, and axum-extra
Jan 13, 2022
Replaces `Field::content_type`'s return type with `&str`. This is a breaking change. Closes #637
* Make `TypedHeaderRejectionReason` `#[non_exhaustive]` Fixes #660 * add changelog pr link
* Fix inconsistent indentation in axum/Cargo.toml * Make MatchedPath and OriginalUri extractors and logic for them optional … they add some runtime cost to handling any request that goes through a Router, which only makes sense if they actually get used. Enable both features by default for convenience.
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
* Change `HeaderMap` extractor to clone the headers * fix docs * changelog * inline variable * also add changelog item to axum * don't list types from axum in axum-core's changelog * document that `HeaderMap::from_request` clones the headers * fix typo * a few more typos
* Remove `RequestParts::take_extensions` * fix out of date docs * Remove RequestAlreadyExtracted and replace it with BodyAlreadyExtracted * fix docs * fix test * Update axum-core/src/extract/mod.rs Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com> * Remove macro only used once Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
* Introduce IntoResponseHeaders trait * Implement IntoResponseHeaders for HeaderMap * Add impl IntoResponse for impl IntoResponseHeaders … and update IntoResponse impls that use HeaderMap to be generic instead. * Add impl IntoResponseHeaders for Headers … and remove IntoResponse impls that use it. * axum-debug: Fix grammar in docs * Explain confusing error message in docs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-axum
A-axum-core
A-axum-extra
breaking change
A PR that makes a breaking change.
T-release
Topic: releases
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This branch contains the changes we're planning to make in the next breaking release of axum. Note this is a draft since we don't want to merge it yet. Want to wait a bit longer before making another breaking release.
PRs merged (for writing the changelog):
RequestParts::try_into_request
#639mime
crate with&str
#642Output = ()
onWebSocketStream::on_upgrade
#646TypedHeaderRejectionReason
#[non_exhaustive]
#665sse::Event
build event as aBytesMut
#647HeaderMap
extractor to clone the headers #698RequestParts::take_extensions
#699 (this changed axum-extra)Note to self: Don't squash merge this. Probably want to interactive rebase to make the git history look nice.