Skip to content

feat!: migrate module path from /v2 to unversioned root#10

Open
fern-api[bot] wants to merge 2 commits into
mainfrom
fern-bot/2026-06-25_21-10-56_279
Open

feat!: migrate module path from /v2 to unversioned root#10
fern-api[bot] wants to merge 2 commits into
mainfrom
fern-bot/2026-06-25_21-10-56_279

Conversation

@fern-api

@fern-api fern-api Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

⚠️ v2.0.0 → v3.0.0

Breaking: The Go module path changed from github.com/VapiAI/server-sdk-go/v2 to github.com/VapiAI/server-sdk-go, which breaks all existing import paths in consumer code without any code changes on their side.

Breaking Changes

  • Module import path — The Go module path has changed from github.com/VapiAI/server-sdk-go/v2 to github.com/VapiAI/server-sdk-go. All import paths in your code must be updated to drop the /v2 suffix (e.g. github.com/VapiAI/server-sdk-go/v2/callsgithub.com/VapiAI/server-sdk-go/calls).
  • User-Agent header — The User-Agent HTTP header is no longer set by the SDK's RequestOptions. If your server-side code relied on this header being present, you will need to set it manually via a custom request option.

See full changelog

@fern-api fern-api Bot force-pushed the fern-bot/2026-06-25_21-10-56_279 branch 4 times, most recently from 7410766 to df8ceb6 Compare July 1, 2026 17:52
fern-api Bot added 2 commits July 1, 2026 18:15
Generated by Fern
CLI Version: unknown
Generators:
  - fernapi/fern-go-sdk: 1.33.5
… root

The Go module path has been updated from `github.com/VapiAI/server-sdk-go/v2`
to `github.com/VapiAI/server-sdk-go` across all packages. This is a breaking
change for all existing consumers: every import path in user code must be
updated to drop the `/v2` suffix.

Additionally, the `User-Agent` header previously set to
`github.com/VapiAI/server-sdk-go/v2.0.0` has been removed from
`core/request_option.go`, and `.fernignore` has been updated to exclude
replay and gitattributes files.

Key changes:
- All internal import paths changed from `github.com/VapiAI/server-sdk-go/v2/...` to `github.com/VapiAI/server-sdk-go/...`
- `User-Agent` header removed from `RequestOptions.cloneHeader()`
- `.fernignore` updated to exclude `.fern/replay.lock`, `.fern/replay.yml`, and `.gitattributes`

🌿 Generated with Fern
@fern-api fern-api Bot changed the title feat!: migrate module path from /v2 to root import path feat!: migrate module path from /v2 to unversioned root Jul 1, 2026
@fern-api fern-api Bot force-pushed the fern-bot/2026-06-25_21-10-56_279 branch from df8ceb6 to c3534c7 Compare July 1, 2026 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants