fix: migrate module path to /v5 (v5.0.0 is currently unconsumable) - #133
Closed
mogita wants to merge 2 commits into
Closed
fix: migrate module path to /v5 (v5.0.0 is currently unconsumable)#133mogita wants to merge 2 commits into
mogita wants to merge 2 commits into
Conversation
The v5.0.0 release was tagged from a breaking change (add GetChannel, #123) but the Go module path was never bumped, so go.mod and every test import still declared /v4. A v5.x module must use the /v5 path suffix, so the v5.0.0 tag is not consumable: 'go get .../getstream-go/v5' finds no module and '.../getstream-go/v4@v5.0.0' is an invalid major/tag combination. Bump go.mod and all module self-imports (tests + feedtest helper) to /v5. The stream-chat-go migration guide keeps /v4 until a valid v5 is tagged.
mogita
temporarily deployed
to
feeds-enabled-shard
July 27, 2026 09:12 — with
GitHub Actions
Inactive
mogita
temporarily deployed
to
feeds-enabled-shard
July 27, 2026 09:12 — with
GitHub Actions
Inactive
mogita
temporarily deployed
to
feeds-enabled-shard
July 27, 2026 09:12 — with
GitHub Actions
Inactive
mogita
temporarily deployed
to
feeds-enabled-shard
July 27, 2026 09:12 — with
GitHub Actions
Inactive
mogita
temporarily deployed
to
feeds-enabled-shard
July 27, 2026 09:12 — with
GitHub Actions
Inactive
mogita
temporarily deployed
to
feeds-enabled-shard
July 27, 2026 09:12 — with
GitHub Actions
Inactive
mogita
temporarily deployed
to
feeds-enabled-shard
July 27, 2026 09:28 — with
GitHub Actions
Inactive
mogita
temporarily deployed
to
feeds-enabled-shard
July 27, 2026 09:28 — with
GitHub Actions
Inactive
mogita
had a problem deploying
to
feeds-enabled-shard
July 27, 2026 09:28 — with
GitHub Actions
Failure
mogita
temporarily deployed
to
feeds-enabled-shard
July 27, 2026 09:28 — with
GitHub Actions
Inactive
mogita
temporarily deployed
to
feeds-enabled-shard
July 27, 2026 09:28 — with
GitHub Actions
Inactive
mogita
temporarily deployed
to
feeds-enabled-shard
July 27, 2026 09:28 — with
GitHub Actions
Inactive
Contributor
Author
|
Superseded by #130, which landed the same The deferred items from the description are resolved:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The `v5.0.0` tag was cut from a breaking change (add GetChannel, #123) but the Go module path was never bumped. `go.mod` at `v5.0.0` (and on `main`) still declares `module github.com/GetStream/getstream-go/v4`, and all 22 test files + `feedtest` import `/v4`.
Go requires a `/vN` suffix for major v2+. So today:
Net: v5.0.0 is not consumable by any Go client, and `go get ...@latest` silently resolves to v4.2.2. The GetChannel endpoint that triggered the major bump is effectively stranded (only in v5.0.0+/main, which nobody can pull, and not in any v4 tag).
This PR
Bumps `go.mod` and every module self-import (tests + `feedtest`) to `/v5`. Library code is a single root package, so no production imports change. `go build ./...` and `go vet ./...` pass.
The `stream-chat-go` migration guide and the historical `MIGRATION_v3_to_v4.md` are intentionally left at `/v4` (the guide should track the released version and flip to `/v5` once a valid v5 is tagged).
Release decisions for the maintainer (not done here)