feat!: migrate module path from /v2 to unversioned root#10
Open
fern-api[bot] wants to merge 2 commits into
Open
feat!: migrate module path from /v2 to unversioned root#10fern-api[bot] wants to merge 2 commits into
fern-api[bot] wants to merge 2 commits into
Conversation
7410766 to
df8ceb6
Compare
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
df8ceb6 to
c3534c7
Compare
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.
Breaking: The Go module path changed from
github.com/VapiAI/server-sdk-go/v2togithub.com/VapiAI/server-sdk-go, which breaks all existing import paths in consumer code without any code changes on their side.Breaking Changes
github.com/VapiAI/server-sdk-go/v2togithub.com/VapiAI/server-sdk-go. All import paths in your code must be updated to drop the/v2suffix (e.g.github.com/VapiAI/server-sdk-go/v2/calls→github.com/VapiAI/server-sdk-go/calls).User-Agentheader — TheUser-AgentHTTP header is no longer set by the SDK'sRequestOptions. 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