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

Update reqwest Dependency to Version 0.12.0 in google-cloud-storage Client (#251) #254

Merged
merged 3 commits into from
May 4, 2024

Conversation

LenWilliamson
Copy link
Contributor

Description:
This pull request addresses the issue #251, "Request for Migration to reqwest ^0.12.0 in google-cloud-storage Dependency". I have forked the repository, created a new branch, and made the necessary changes to update the reqwest dependency to version 0.12.0 within the google-cloud-storage client.

Changes Made:

  • Updated reqwest dependency to version 0.12.4
  • Confirmed compatibility with the google-cloud-storage client

Additional Notes:
I have ensured that the changes only affect the request dependencies within the storage client and have not made any unrelated modifications to the other crates. While I couldn't perform local testing please test these changes in the project environment.

Request for Review:
I kindly request the maintainer to review these changes and consider merging them into the main repository. Thank you for your attention to this matter. I am open to any feedback or suggestions for improvement.

Best regards,
Len

@yoshidan yoshidan added the safe to test safe to test label Apr 22, 2024
@@ -11,7 +11,7 @@ description = "Google Cloud Platform server application authentication library."

[dependencies]
tracing = "0.1"
reqwest = { version = "0.11", features = ["json"], default-features = false }
reqwest = { version = "0.12.4", features = ["json"], default-features = false }
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

charset feature is required to use text_with_charset at 0.12.4
https://docs.rs/reqwest/0.12.4/reqwest/struct.Response.html#method.text_with_charset

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added this feature to foundation/auth/Cargo.toml.

@yoshidan yoshidan added safe to test safe to test and removed safe to test safe to test labels Apr 28, 2024
@yoshidan
Copy link
Owner

@LenWilliamson

  1. Could you upgrade retry-policies crate to fix interface error.
    https://github.com/yoshidan/google-cloud-rust/actions/runs/8889195974/job/24407198542?pr=259#step:6:368

  2. Could you upgrade all the crate that uses reqwest 0.11 to fix version mismatch error.
    https://github.com/yoshidan/google-cloud-rust/actions/runs/8867531149/job/24346192853?pr=254

@yoshidan yoshidan added safe to test safe to test and removed safe to test safe to test labels May 3, 2024
@yoshidan yoshidan merged commit f09d435 into yoshidan:main May 4, 2024
5 of 7 checks passed
@yoshidan
Copy link
Owner

yoshidan commented May 4, 2024

Thanks!

@LenWilliamson LenWilliamson deleted the issue-251-reqwest-update branch May 7, 2024 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test safe to test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants