-
Notifications
You must be signed in to change notification settings - Fork 83
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
propose v2.11.0 #353
Merged
Fishrock123
merged 13 commits into
http-rs:v2.x.x-backports
from
Fishrock123:propose-v2.11.0
Apr 15, 2021
Merged
propose v2.11.0 #353
Fishrock123
merged 13 commits into
http-rs:v2.x.x-backports
from
Fishrock123:propose-v2.11.0
Apr 15, 2021
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
Several paragraphs of documentation had gotten associated with the wrong codes.
This method helps when prepending or appending some data to a Body.
Allows us to avoid extra allocations from querystring parsing. Conflicts: src/request.rs
Allows getting a static string slice of the version, rather than a `String`. Conflicts: src/version.rs
This is handy for errors (or other structs) which are not `Send + Sync + 'static`.
From some newer version of rust.
From some newer version of rust (mostly 1.51).
joshtriplett
approved these changes
Apr 7, 2021
jbr
approved these changes
Apr 7, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems reasonable 👍
I'd love to get #320 into this ideally, but it's not essential or urgent
Fishrock123
force-pushed
the
propose-v2.11.0
branch
from
April 15, 2021 21:37
5c2bb8e
to
dc6367c
Compare
Updated OP with proposed changelog. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Proposed changelog:
http-types
provides shared types for HTTP operations. It combines a performant, streaming interface with convenient methods for creating headers, urls, and other standard HTTP types. This is part of thehttp-rs
project and powers thetide
framework andsurf
client. Check out the docs or join us on Zulip.Highlights
This release represents continued support of the
http-types
2.x release line due to delays in the development ofhttp-types
3.0.0. This release comes with several convenience features, listed below.The
http-types
3.0 merge window remains open, and you can see the nominated items for the next major version as part of theSemver-Major
issue on GitHub.Changed
Request.query()
to deserialize into a borrowedDeserialize<'de>
rather than justDeserializeOwned
. Request: allow Deserialize<'de> for .query() #333Added
Method
enum #332Body::chain()
for merge multipleBody
instances. Add Body::chain to create a Body from a series of two Body instances #342, Make Body::chain not depend on the async-std feature #346AsRef<str> for Version
, returning'static str
. feat: add AsRef<str> for Version #351Error::from_debug()
, a helper for converting fromstd::error::Error
s. feat: add Error::from_display & from_debug #345Error::from_display
, a helper for converting fromstd::error::Error
s. feat: add Error::from_display & from_debug #345Fixed
Content-Encoding
andTransfer-Encoding
. Fixes error messages in Content-Type and Transfer-Encoding negotiation #354Docs
url
's crate newTryFrom<&str>
. Simplify Request examples #324Content-Encoding
andTransfer-Encoding
docs. Fixes error messages in Content-Type and Transfer-Encoding negotiation #354