fix(deps)!: Update module cloud.google.com/go/pubsub to v2 - #731
fix(deps)!: Update module cloud.google.com/go/pubsub to v2#731renovate-bot wants to merge 1 commit into
Conversation
|
|
/gcbrun |
There was a problem hiding this comment.
Code Review
This pull request updates the cloud.google.com/go/pubsub dependency to v2 in go.mod. The review feedback correctly points out that this major version update requires updating the corresponding import paths in the Go source files (such as serve/pubsub.go and test/pubsub.go) to avoid compilation errors.
| @@ -5,7 +5,7 @@ toolchain go1.24.1 | |||
|
|
|||
| require ( | |||
| cloud.google.com/go/compute/metadata v0.5.2 | |||
| cloud.google.com/go/pubsub v1.44.0 | |||
| cloud.google.com/go/pubsub/v2 v2.4.0 | |||
There was a problem hiding this comment.
Updating the cloud.google.com/go/pubsub dependency to v2 in go.mod requires updating the import paths in your Go source files. Currently, serve/pubsub.go (line 27) and test/pubsub.go (line 21) still import "cloud.google.com/go/pubsub". Please update those imports to "cloud.google.com/go/pubsub/v2" to ensure the project compiles successfully and uses the correct version of the library.
d995574 to
a47e86b
Compare
|
/gcbrun |
1 similar comment
|
/gcbrun |
a47e86b to
8712993
Compare
|
/gcbrun |
This PR contains the following updates:
v1.44.0→v2.4.0Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.