[PR #174] [MERGED] Update ureq requirement from 1.4.1 to 2.0.0 #288

Closed
opened 2026-02-27 20:24:06 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ramsayleung/rspotify/pull/174
Author: @dependabot[bot]
Created: 1/4/2021
Status: Merged
Merged: 1/7/2021
Merged by: @ramsayleung

Base: masterHead: dependabot/cargo/ureq-2.0.0


📝 Commits (3)

  • fea2976 Update ureq requirement from 1.4.1 to 2.0.0
  • 08e2aff remove mentions of ureq-native-tls
  • c42774a fix error handling and &mut Request references

📊 Changes

3 files changed (+49 additions, -41 deletions)

View changed files

📝 Cargo.toml (+1 -2)
📝 src/http/ureq.rs (+45 -35)
📝 src/lib.rs (+3 -4)

📄 Description

Updates the requirements on ureq to permit the latest version.

Changelog

Sourced from ureq's changelog.

1.5.4

  • Fix panic introduced in 1.5.4 on redirects. (#274)

1.5.3

  • Backport: follow redirects non-body request on 307/308 (#253)

1.5.2

  • Remove 'static constraint on Request.send(), allowing a wider variety of types to be passed. Also eliminate some copying. (#205).
  • Allow turning a Response into an Error (#214).
  • Update env_logger to 0.8.1 (#195).
  • Remove convenience method for CONNECT verb (#177).
  • Fix bugs in handling of timeout_read (#197 and #198).

1.5.1

  • Use cookie_store crate for correct cookie handling (#169).
  • Fix bug in picking wrong host for redirects introduced in 1.5.0 (#180).
  • Allow proxy settings on Agent (#178).

1.5.0

  • Add pluggable name resolution. Users can now override the IP addresses for hostnames of their choice (#148).
  • bugfix: Don't re-pool streams on drop. This would occur if the user called response.into_reader() and dropped the resulting Read before reading all the way to EOF. The result would be a BadStatus error on the next request to the same hostname. This only affected users using an explicit Agent (#160).
  • Automatically set Transfer-Encoding: chunked when using send (#86).
  • into_reader() now returns impl Read + Send instead of impl Read (#156).
  • Add support for log crate (#170).
  • Retry broken connections in more cases (should reduce BadStatus errors; #168).

1.4.1

  • Use buffer to avoid byte-by-byte parsing result in multiple syscalls.
  • Allow pooling multiple connections per host.
  • Put version in user agent "ureq/1.4.1".

1.4.0

  • Propagate WouldBlock in io:Error for Response::to_json.
  • Merge multiple cookies into one header to be spec compliant.
  • Allow setting TLSConnector for native-tls.
  • Remove brackets against TLS lib when IPv6 addr is used as hostname.
  • Include proxy in connection pool keys.
  • Stop assuming localhost for URLs without host part.

... (truncated)

Commits
  • 62cf25f Update changelog and Cargo.toml for 1.5.4
  • 23f9b47 [1.x] Fix broken behavior for 308 redirects (#274)
  • 6cc69ba 1.5.3 and CHANGELOG
  • 7d4f794 Only follow 307/308 redirects for methods without a body
  • 2b395e1 Follow 307/308 redirects
  • 165eae3 Update webpki-roots requirement from 0.20 to 0.21 (#247)
  • f69725e Update rustls-native-certs requirement from 0.4 to 0.5 (#248)
  • f1cfea5 Update rustls requirement from 0.18 to 0.19 (#246)
  • c2d4e52 1.5.1
  • 310c14d Update CHANGELOG for 1.5.2. (#216)
  • 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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ramsayleung/rspotify/pull/174 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 1/4/2021 **Status:** ✅ Merged **Merged:** 1/7/2021 **Merged by:** [@ramsayleung](https://github.com/ramsayleung) **Base:** `master` ← **Head:** `dependabot/cargo/ureq-2.0.0` --- ### 📝 Commits (3) - [`fea2976`](https://github.com/ramsayleung/rspotify/commit/fea2976d7fb110bd77f3513c4c919780fccd2a4e) Update ureq requirement from 1.4.1 to 2.0.0 - [`08e2aff`](https://github.com/ramsayleung/rspotify/commit/08e2aff2ee8128964e3d5c5173f0cd1b20f7ad44) remove mentions of `ureq-native-tls` - [`c42774a`](https://github.com/ramsayleung/rspotify/commit/c42774af49b740e825e3bba0ef3db3aed7d70c8e) fix error handling and `&mut Request` references ### 📊 Changes **3 files changed** (+49 additions, -41 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.toml` (+1 -2) 📝 `src/http/ureq.rs` (+45 -35) 📝 `src/lib.rs` (+3 -4) </details> ### 📄 Description Updates the requirements on [ureq](https://github.com/algesten/ureq) to permit the latest version. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/algesten/ureq/blob/1.5.4/CHANGELOG.md">ureq's changelog</a>.</em></p> <blockquote> <h1>1.5.4</h1> <ul> <li>Fix panic introduced in 1.5.4 on redirects. (<a href="https://github-redirect.dependabot.com/algesten/ureq/issues/274">#274</a>)</li> </ul> <h1>1.5.3</h1> <ul> <li>Backport: follow redirects non-body request on 307/308 (<a href="https://github-redirect.dependabot.com/algesten/ureq/issues/253">#253</a>)</li> </ul> <h1>1.5.2</h1> <ul> <li>Remove 'static constraint on Request.send(), allowing a wider variety of types to be passed. Also eliminate some copying. (<a href="https://github-redirect.dependabot.com/algesten/ureq/issues/205">#205</a>).</li> <li>Allow turning a Response into an Error (<a href="https://github-redirect.dependabot.com/algesten/ureq/issues/214">#214</a>).</li> <li>Update env_logger to 0.8.1 (<a href="https://github-redirect.dependabot.com/algesten/ureq/issues/195">#195</a>).</li> <li>Remove convenience method for CONNECT verb (<a href="https://github-redirect.dependabot.com/algesten/ureq/issues/177">#177</a>).</li> <li>Fix bugs in handling of timeout_read (<a href="https://github-redirect.dependabot.com/algesten/ureq/issues/197">#197</a> and <a href="https://github-redirect.dependabot.com/algesten/ureq/issues/198">#198</a>).</li> </ul> <h1>1.5.1</h1> <ul> <li>Use cookie_store crate for correct cookie handling (<a href="https://github-redirect.dependabot.com/algesten/ureq/issues/169">#169</a>).</li> <li>Fix bug in picking wrong host for redirects introduced in 1.5.0 (<a href="https://github-redirect.dependabot.com/algesten/ureq/issues/180">#180</a>).</li> <li>Allow proxy settings on Agent (<a href="https://github-redirect.dependabot.com/algesten/ureq/issues/178">#178</a>).</li> </ul> <h1>1.5.0</h1> <ul> <li>Add pluggable name resolution. Users can now override the IP addresses for hostnames of their choice (<a href="https://github-redirect.dependabot.com/algesten/ureq/issues/148">#148</a>).</li> <li>bugfix: Don't re-pool streams on drop. This would occur if the user called <code>response.into_reader()</code> and dropped the resulting <code>Read</code> before reading all the way to EOF. The result would be a BadStatus error on the next request to the same hostname. This only affected users using an explicit Agent (<a href="https://github-redirect.dependabot.com/algesten/ureq/issues/160">#160</a>).</li> <li>Automatically set Transfer-Encoding: chunked when using <code>send</code> (<a href="https://github-redirect.dependabot.com/algesten/ureq/issues/86">#86</a>).</li> <li><code>into_reader()</code> now returns <code>impl Read + Send</code> instead of <code>impl Read</code> (<a href="https://github-redirect.dependabot.com/algesten/ureq/issues/156">#156</a>).</li> <li>Add support for log crate (<a href="https://github-redirect.dependabot.com/algesten/ureq/issues/170">#170</a>).</li> <li>Retry broken connections in more cases (should reduce BadStatus errors; <a href="https://github-redirect.dependabot.com/algesten/ureq/issues/168">#168</a>).</li> </ul> <h1>1.4.1</h1> <ul> <li>Use buffer to avoid byte-by-byte parsing result in multiple syscalls.</li> <li>Allow pooling multiple connections per host.</li> <li>Put version in user agent &quot;ureq/1.4.1&quot;.</li> </ul> <h1>1.4.0</h1> <ul> <li>Propagate WouldBlock in io:Error for Response::to_json.</li> <li>Merge multiple cookies into one header to be spec compliant.</li> <li>Allow setting TLSConnector for native-tls.</li> <li>Remove brackets against TLS lib when IPv6 addr is used as hostname.</li> <li>Include proxy in connection pool keys.</li> <li>Stop assuming localhost for URLs without host part.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/algesten/ureq/commit/62cf25fd3575be0652a6766670e6dab2739d6c55"><code>62cf25f</code></a> Update changelog and Cargo.toml for 1.5.4</li> <li><a href="https://github.com/algesten/ureq/commit/23f9b4760e9304b4b881b57769de1546d4e5c681"><code>23f9b47</code></a> [1.x] Fix broken behavior for 308 redirects (<a href="https://github-redirect.dependabot.com/algesten/ureq/issues/274">#274</a>)</li> <li><a href="https://github.com/algesten/ureq/commit/6cc69ba94360023b15a325b935c97d101509eae6"><code>6cc69ba</code></a> 1.5.3 and CHANGELOG</li> <li><a href="https://github.com/algesten/ureq/commit/7d4f7940c53d67318207f53a816115ed3473b9ea"><code>7d4f794</code></a> Only follow 307/308 redirects for methods without a body</li> <li><a href="https://github.com/algesten/ureq/commit/2b395e1ad5660b6d41355e3fabdb1bce66ef504c"><code>2b395e1</code></a> Follow 307/308 redirects</li> <li><a href="https://github.com/algesten/ureq/commit/165eae3296c6d94ae7321eee346ba27128c32209"><code>165eae3</code></a> Update webpki-roots requirement from 0.20 to 0.21 (<a href="https://github-redirect.dependabot.com/algesten/ureq/issues/247">#247</a>)</li> <li><a href="https://github.com/algesten/ureq/commit/f69725edc4b2a65ed50892a6a3fa2077f6da2eda"><code>f69725e</code></a> Update rustls-native-certs requirement from 0.4 to 0.5 (<a href="https://github-redirect.dependabot.com/algesten/ureq/issues/248">#248</a>)</li> <li><a href="https://github.com/algesten/ureq/commit/f1cfea538d6b7ffe1fbc72b9f637930cedc8a038"><code>f1cfea5</code></a> Update rustls requirement from 0.18 to 0.19 (<a href="https://github-redirect.dependabot.com/algesten/ureq/issues/246">#246</a>)</li> <li><a href="https://github.com/algesten/ureq/commit/c2d4e527a9c1e2572ad7dc01c2532db3f40e2110"><code>c2d4e52</code></a> 1.5.1</li> <li><a href="https://github.com/algesten/ureq/commit/310c14d601ca50a6df9dfeef4ab273a6f8361e18"><code>310c14d</code></a> Update CHANGELOG for 1.5.2. (<a href="https://github-redirect.dependabot.com/algesten/ureq/issues/216">#216</a>)</li> <li>Additional commits viewable in <a href="https://github.com/algesten/ureq/compare/1.4.1...1.5.4">compare view</a></li> </ul> </details> <br /> 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 20:24:06 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rspotify#288
No description provided.