Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 10, 2025

Bumps google.golang.org/api from 0.0.0-20180718221112-efcb5f25ac56 to 0.241.0.

Release notes

Sourced from google.golang.org/api's releases.

v0.241.0

0.241.0 (2025-07-09)

Features

v0.240.0

0.240.0 (2025-07-02)

Features

v0.239.0

0.239.0 (2025-06-25)

Features

v0.238.0

0.238.0 (2025-06-17)

Features

... (truncated)

Changelog

Sourced from google.golang.org/api's changelog.

0.241.0 (2025-07-09)

Features

0.240.0 (2025-07-02)

Features

0.239.0 (2025-06-25)

Features

0.238.0 (2025-06-17)

Features

0.237.0 (2025-06-12)

... (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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jul 10, 2025
@dependabot dependabot bot force-pushed the dependabot/go_modules/google.golang.org/api-0.241.0 branch 2 times, most recently from 3f979a8 to 41cd0eb Compare July 14, 2025 19:42
@mxpv
Copy link
Owner

mxpv commented Jul 14, 2025

@dependabot recreate

Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.0.0-20180718221112-efcb5f25ac56 to 0.241.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/commits/v0.241.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-version: 0.241.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/google.golang.org/api-0.241.0 branch from 41cd0eb to de84d39 Compare July 14, 2025 19:49
Repository owner deleted a comment from claude bot Jul 14, 2025
Repository owner deleted a comment from claude bot Jul 14, 2025
@mxpv
Copy link
Owner

mxpv commented Jul 14, 2025

@claude can you fix CI errors?

@claude
Copy link
Contributor

claude bot commented Jul 14, 2025

Claude finished @mxpv's task —— View job


Fixed CI Errors for Google API Dependency Update ✅

Successfully fixed the CI errors caused by the major Google API dependency update (from 2018 version to v0.241.0).

Todo List:

  • Check CI status and identify specific failures
  • Analyze codebase usage of google.golang.org/api
  • Fix compilation/import issues from API changes
  • Run tests to ensure functionality works
  • Commit and push fixes

Issues Found & Fixed:

The compilation failed because the Google YouTube API client changed its method signatures. Several methods that used to accept string parameters now require []string slices:

  • pkg/builder/youtube.go:49 - yt.client.Channels.List parts parameter
  • pkg/builder/youtube.go:76 - yt.client.Playlists.List parts parameter
  • pkg/builder/youtube.go:106 - yt.client.PlaylistItems.List parts parameter
  • pkg/builder/youtube.go:306 - yt.client.Videos.List parts parameter

Applied Changes:

API Compatibility: Updated YouTube API calls to use []string slices instead of strings
Build Success: Project now compiles successfully with google.golang.org/api v0.241.0
Tests Pass: All unit tests continue to pass with the updated API calls
Committed: Changes pushed to branch dependabot/go_modules/google.golang.org/api-0.241.0

The dependabot PR should now pass CI checks once the new workflow runs.


Update YouTube API client calls to use []string parameters instead of string parameters as required by the updated google.golang.org/api v0.241.0.

Changes:
- Convert comma-separated string parameters to string slices in Channels.List and Playlists.List calls
- Replace string literals with string slice literals in PlaylistItems.List and Videos.List calls

Co-authored-by: Maksym Pavlenko <[email protected]>
@mxpv
Copy link
Owner

mxpv commented Jul 14, 2025

@claude looks like you overlooked linter error

@claude
Copy link
Contributor

claude bot commented Jul 14, 2025

Claude finished @mxpv's task —— View job


Fixed Linter Error for Google API Dependency Update ✅

Successfully fixed the linter error that was overlooked from the previous CI failure.

Todo List:

  • Check current CI status to identify linter failures
  • Examine the modified files for linting issues
  • Fix deprecated youtube.New usage in pkg/builder/youtube.go:480
  • Run tests to ensure functionality works
  • Commit and push the fixes

Issue Found & Fixed:

Linter Error: SA1019: youtube.New is deprecated: please use NewService instead at pkg/builder/youtube.go:480

Applied Changes:

API Migration: Replaced deprecated youtube.New(&http.Client{}) with youtube.NewService(context.Background(), option.WithHTTPClient(&http.Client{}))
Import Added: Added required import "google.golang.org/api/option"
Build Success: Project compiles successfully with the new API
Tests Pass: All unit tests continue to pass
Committed: Changes pushed to branch dependabot/go_modules/google.golang.org/api-0.241.0

The dependabot PR should now pass all CI checks.


claude bot and others added 2 commits July 14, 2025 22:19
Replace youtube.New with youtube.NewService and add required option import
to resolve SA1019 linter error after Google API dependency update.

Co-authored-by: Maksym Pavlenko <[email protected]>
@mxpv mxpv merged commit 5ba8a89 into main Jul 14, 2025
5 checks passed
@mxpv mxpv deleted the dependabot/go_modules/google.golang.org/api-0.241.0 branch July 14, 2025 22:26
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 go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants