Skip to content

fix(storage): upgrade google-auth-library to v11 and align auth client types - #9289

Draft
thiyaguk09 wants to merge 6 commits into
googleapis:mainfrom
thiyaguk09:fix/7349-update-auth-library
Draft

fix(storage): upgrade google-auth-library to v11 and align auth client types#9289
thiyaguk09 wants to merge 6 commits into
googleapis:mainfrom
thiyaguk09:fix/7349-update-auth-library

Conversation

@thiyaguk09

@thiyaguk09 thiyaguk09 commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #7349

@product-auto-label product-auto-label Bot added the api: storage Issues related to the Cloud Storage API. label Sep 11, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates google-auth-library to version 11, refactors authentication client types, replaces the abort-controller dependency with native AbortSignal, and transitions header handling to use the global Headers class. A critical issue was identified in transfer-manager.ts where changing headers to a Headers instance breaks the iteration logic in #setGoogApiClientHeaders if it still relies on plain-object iteration methods like Object.entries or for...in.

Comment thread handwritten/storage/src/transfer-manager.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the Cloud Storage API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support google-auth-library v10 as dependency to avoid conflicts when using together with googleapis >= 150

1 participant