propose v2.11.0#353
Merged
Fishrock123 merged 13 commits intohttp-rs:v2.x.x-backportsfrom Apr 15, 2021
Merged
Conversation
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
5c2bb8e to
dc6367c
Compare
Member
Author
|
Updated OP with proposed changelog. |
Member
Author
This file contains hidden or 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
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-typesprovides 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-rsproject and powers thetideframework andsurfclient. Check out the docs or join us on Zulip.Highlights
This release represents continued support of the
http-types2.x release line due to delays in the development ofhttp-types3.0.0. This release comes with several convenience features, listed below.The
http-types3.0 merge window remains open, and you can see the nominated items for the next major version as part of theSemver-Majorissue on GitHub.Changed
Request.query()to deserialize into a borrowedDeserialize<'de>rather than justDeserializeOwned. Request: allow Deserialize<'de> for .query() #333Added
Methodenum #332Body::chain()for merge multipleBodyinstances. 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::Errors. feat: add Error::from_display & from_debug #345Error::from_display, a helper for converting fromstd::error::Errors. feat: add Error::from_display & from_debug #345Fixed
Content-EncodingandTransfer-Encoding. Fixes error messages in Content-Type and Transfer-Encoding negotiation #354Docs
url's crate newTryFrom<&str>. Simplify Request examples #324Content-EncodingandTransfer-Encodingdocs. Fixes error messages in Content-Type and Transfer-Encoding negotiation #354