[PR #2005] [MERGED] chore: migrate the v1 Pub/Sub Go client library to v2 #2011

Closed
opened 2026-03-03 12:37:13 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fsouza/fake-gcs-server/pull/2005
Author: @sakai-ast
Created: 8/21/2025
Status: Merged
Merged: 8/25/2025
Merged by: @fsouza

Base: mainHead: bump-pubsub-v2


📝 Commits (1)

  • 1ca0155 chore: bump v1 Pub/Sub Go client library to v2

📊 Changes

4 files changed (+123 additions, -117 deletions)

View changed files

📝 go.mod (+36 -34)
📝 go.sum (+84 -80)
📝 internal/notification/event.go (+2 -2)
📝 internal/notification/event_test.go (+1 -1)

📄 Description

Problem: The v1 Pub/Sub Go client library has been deprecated.
https://cloud.google.com/pubsub/docs/release-notes#July_15_2025

Deprecated: The v1 Pub/Sub Go client library, cloud.google.com/go/pubsub, is now deprecated. Effective July 31st, 2026, this library will no longer receive security or bug fixes. To receive new features, migrate to the newest version, cloud.google.com/go/pubsub/v2.

Solution: Upgrade to v2.

Testing: Pass the existing tests.


🔄 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/fsouza/fake-gcs-server/pull/2005 **Author:** [@sakai-ast](https://github.com/sakai-ast) **Created:** 8/21/2025 **Status:** ✅ Merged **Merged:** 8/25/2025 **Merged by:** [@fsouza](https://github.com/fsouza) **Base:** `main` ← **Head:** `bump-pubsub-v2` --- ### 📝 Commits (1) - [`1ca0155`](https://github.com/fsouza/fake-gcs-server/commit/1ca0155c9a17bce70c170d52873db3015a82d18f) chore: bump v1 Pub/Sub Go client library to v2 ### 📊 Changes **4 files changed** (+123 additions, -117 deletions) <details> <summary>View changed files</summary> 📝 `go.mod` (+36 -34) 📝 `go.sum` (+84 -80) 📝 `internal/notification/event.go` (+2 -2) 📝 `internal/notification/event_test.go` (+1 -1) </details> ### 📄 Description Problem: The v1 Pub/Sub Go client library has been deprecated. https://cloud.google.com/pubsub/docs/release-notes#July_15_2025 > Deprecated: The v1 Pub/Sub Go client library, [cloud.google.com/go/pubsub](http://cloud.google.com/go/pubsub), is now deprecated. Effective July 31st, 2026, this library will no longer receive security or bug fixes. To receive new features, [migrate](https://github.com/googleapis/google-cloud-go/blob/main/pubsub/MIGRATING.md) to the newest version, [cloud.google.com/go/pubsub/v2](http://cloud.google.com/go/pubsub/v2). Solution: Upgrade to v2. Testing: Pass the existing tests. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 12:37:13 +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/fake-gcs-server#2011
No description provided.