Skip to content

Conversation

dependabot-preview[bot]
Copy link

Updates the requirements on surf to permit the latest version.

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.

[2.1.0] - 2020-10-23

This minor release contains follow-up fixes and improvements to Surf 2.0.

Additions

  • Added a hyper-client cargo feature for enabeling a hyper client backend via http-client.

Fixes

  • Fixed base_url not being propagated to the Client instance in middleware.

Documentation

  • Updated documentation for set_base_url().

[2.0.0] - 2020-10-05

Docs

This major release of Surf contains substantial improvements through a variety of changes and additions.

(Note: this is a cumulative list of changes since Surf 1.0.3)

Notable mentions include:

  • Uses stable standard library [futures][]!
  • Much more type compatibility with [Tide][] via [http-types][]!
  • Re-usable Client which is able to make use of connection pooling under the hood.
  • Reduced generics for Client and Middleware.
  • Re-worked Middleware to use [async_trait][].

... (truncated)

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 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)

Updates the requirements on [surf](https://github.com/http-rs/surf) to permit the latest version.
- [Release notes](https://github.com/http-rs/surf/releases)
- [Changelog](https://github.com/http-rs/surf/blob/main/CHANGELOG.md)
- [Commits](http-rs/surf@1.0.3...v2.2.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Mar 2, 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