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

build(deps): bump ureq from 1.5.4 to 2.0.2 #17

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Feb 22, 2021

Bumps ureq from 1.5.4 to 2.0.2.

Changelog

Sourced from ureq's changelog.

2.0.2

  • Bugfix: Apply deadline across redirects. (#313)
  • OrAnyStatus::or_any_status ergonomic helper
  • Allow header lines to end with only LF (#321)

2.0.1

  • Fix handling of 308 redirects (port from 1.5.4 branch).
  • Return UnexpectedEof instead of InvalidData on short responses. (#293)
  • Implement std::error::Error for error::Transport. (#299)

2.0.0

  • Methods that formerly returned Response now return Result. You'll need to change all instances of .call() to .call()? or handle errors using a match statement.
  • Non-2xx responses are considered Error by default. See [Error documentation] for details on how to get Response bodies for non-2xx.
  • Rewrite Error type. It's now an enum of two types of error: Status and Transport. Status errors (i.e. non-2xx) can be readily turned into a Response using match statements.
  • Errors now include the source error (e.g. errors from DNS or I/O) when appropriate, as well as the URL that caused an error.
  • The "synthetic error" concept is removed.
  • Move more configuration to Agent. Timeouts, TLS config, and proxy config now require building an Agent.
  • Create AgentBuilder to separate the process of building an agent from using the resulting agent. Headers can be set on an AgentBuilder, not the resulting Agent.
  • Agent is cheaply cloneable with an internal Arc. This makes it easy to share a single agent throughout your program.
  • There is now a default timeout_connect of 30 seconds. Read and write timeouts continue to be unset by default.
  • Add ureq::request_url and Agent::request_url, to send requests with already-parsed URLs.
  • Remove native_tls support.
  • Remove convenience methods options(url), trace(url), and patch(url). To send requests with those verbs use request(method, url).
  • Remove Request::build. This was a workaround because some of Request's methods took &mut self instead of mut self, and is no longer needed. You can simply delete any calls to Request::build.
  • Remove Agent::set_cookie.
  • Remove Header from the public API. The type wasn't used by any public methods.
  • Remove basic auth support. The API was incomplete. We may add back something better in the future.
  • Remove into_json_deserialize. Now into_json handles both serde_json::Value and other types that implement serde::Deserialize. If you were using serde_json before, you will probably have to explicitly annotate a type, like: let v: serde_json::Value = response.into_json();.
  • Rewrite README and top-level documentation.

... (truncated)

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

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Feb 22, 2021
@dependabot-preview dependabot-preview bot force-pushed the dependabot/cargo/ureq-2.0.2 branch from ebe516d to cd8ef9c Compare March 7, 2021 15:26
@dependabot-preview dependabot-preview bot changed the base branch from master to main March 7, 2021 19:44
@dependabot-preview dependabot-preview bot force-pushed the dependabot/cargo/ureq-2.0.2 branch 2 times, most recently from 41244c0 to a025884 Compare March 12, 2021 13:20
@dependabot-preview dependabot-preview bot force-pushed the dependabot/cargo/ureq-2.0.2 branch 2 times, most recently from a6bd641 to 7ef00c9 Compare March 20, 2021 18:19
@dependabot-preview dependabot-preview bot force-pushed the dependabot/cargo/ureq-2.0.2 branch from 7ef00c9 to 90fef94 Compare March 22, 2021 23:02
@dependabot-preview
Copy link
Contributor Author

A newer version of ureq exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

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