Skip to content

Bump surf from 2.1.0 to 2.2.0#18

Open
dependabot-preview[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/surf-2.2.0
Open

Bump surf from 2.1.0 to 2.2.0#18
dependabot-preview[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/surf-2.2.0

Conversation

@dependabot-preview

Copy link
Copy Markdown
Contributor

Bumps surf from 2.1.0 to 2.2.0.

Release notes

Sourced from surf's releases.

2.2.0

surf is a modular Rust HTTP client built for rapid development. It comes with a powerful middleware system and feature-swappable backend implementations. It is part of the http-rs project and a counterpart to the tide server framework. Check out the docs or join us on Zulip

Overview

If you use the h1-client, upgrading to this release is recommended.

Additions

  • h1-client-rustls feature flag, for using the async-h1 client with rustls as the TLS backend.
    • The TLS backend for h1-client is still async-native-tls.
  • Per-request middleware, provided by RequestBuilder::middleware(&mut self, impl Middleware).
  • AsRef<Headers> and AsMut<Headers> for surf::Request and surf::Response.

Fixes

  • Relative redirects should now be handled by the RedirectMiddleware.
  • The h1-client feature should now properly work with http-client 6.3.0+ without additional feature specification.

Docs

  • The http docs now link to the live, up-to-date http_types docs.

Internal

  • Various CI improvements.
Changelog

Sourced from surf's changelog.

[2.2.0] - 2021-03-02

If you use the h1-client, upgrading to this release is reccomended.

Additions

  • h1-client-rustls feature flag, for using the async-h1 client with rustls as the TLS backend.
    • The TLS backend for h1-client is still async-native-tls.
  • Per-request middleware, provided by RequestBuilder::middleware(&mut self, impl Middleware).
  • AsRef<Headers> and AsMut<Headers> for surf::Request and surf::Response.

Fixes

  • Relative redirects should now be handled by the RedirectMiddleware.
  • The h1-client feature should now properly work with http-client 6.3.0+ without additional feature specification.

Docs

  • The http docs now link to the live, up-to-date http_types docs.

Internal

  • Various CI improvements.
Commits
  • fb228d8 2.2.0
  • d4943aa Merge pull request #293 from Fishrock123/fix-redirects
  • c32ee64 Update base_url with each redirect of a full URL
  • 16a9ab9 Add fix for redirect middleware for #276
  • 5a5621b Merge pull request #292 from Fishrock123/h1-client-rustls
  • 1adb821 Add 'h1-client-rustls' feature relying on rustls
  • f8d02c3 Merge pull request #291 from Fishrock123/fix-http-client-features
  • cbd2185 Revert default-client changes
  • 3a56e67 Fix h1-client and default-client feature
  • fc75a59 fix: clippy nightly updated lint
  • Additional commits viewable in compare view

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)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [surf](https://github.com/http-rs/surf) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/http-rs/surf/releases)
- [Changelog](https://github.com/http-rs/surf/blob/main/CHANGELOG.md)
- [Commits](http-rs/surf@v2.1.0...v2.2.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 Mar 3, 2021
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.

0 participants