Skip to content
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

Bump http-types from 2.9.0 to 2.10.0 #713

Merged
merged 1 commit into from
Jan 25, 2021

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps http-types from 2.9.0 to 2.10.0.

Release notes

Sourced from http-types's releases.

v2.10.0

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 the http-rs project and powers the tide and surf frameworks. Check out the docs or join us on Zulip.

Highlights

This release introduces several new typed headers:

  • transfer::TransferEncoding: The form of encoding used to safely transfer the payload body to the user.
  • transfer::TE: Client header advertising the transfer encodings the user agent is willing to accept.
  • other::RetryAfter: Indicate how long the user agent should wait before making a follow-up request.
  • other::Referer: Contains the address of the page making the request.
  • content::Accept: Client header advertising which media types the client is able to understand.
  • content::ContentType: Indicate the media type of a resource's content.

Most notably is probably the RetryAfter header, which can be used to enable load-shedding on the client. An example of such a middleware has been authored for Tide.

http-types 3.0 merge window opened

This marks the final release of the 2.x release line of http-types. It's been almost a year since our last major release, and we've decided to open up the merge window for http-types 3.0 now that 2.10.0 has shipped. You can see the nominated items for the next major version as part of the Semver-Major issue on GitHub.

Because this is the first major release of http-types we're doing since we moved to our monthly release cadence, we're not entirely sure yet how we'll manage this. Perhaps next month's release may be a beta release. Or we may delay doing a release at all until all items have been merged. We'll have to see, but once 3.0 is out we'll resume the monthly release cadence.

Added

  • Add the Retry-After type header #314
  • Allow omitting cookie support, with a new "cookies" feature #306
  • Add Transfer-Encoding and TE headers #301
  • Add other::SourceMap header #278
  • Add other::Referer header #277
  • Add content::{Accept, ContentType} headers #270

Changed

  • Update examples to use TryFrom<str> for Url implementation #294

Internal

  • Fix clippy lints #321
  • Delete .travis.yml #312
  • Refactor media type internals #310
  • Make MIME tests conditional on the "fs" feature #307
  • Upgrade pin-project-lite to 0.2.0 #299
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [http-types](https://github.com/http-rs/http-types) from 2.9.0 to 2.10.0.
- [Release notes](https://github.com/http-rs/http-types/releases)
- [Commits](http-rs/http-types@v2.9.0...v2.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jan 25, 2021
@coveralls
Copy link
Collaborator

Coverage Status

Coverage remained the same at 80.843% when pulling 44ec5b2 on dependabot/cargo/http-types-2.10.0 into 7eec0e3 on main.

@dependabot-preview dependabot-preview bot merged commit bd23d90 into main Jan 25, 2021
@dependabot-preview dependabot-preview bot deleted the dependabot/cargo/http-types-2.10.0 branch January 25, 2021 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants