Skip to content

Commit df8ceb6

Browse files
[fern-autoversion] feat!: migrate module path from /v2 to root import path
Remove the `/v2` suffix from all Go module import paths across the entire SDK. Every sub-package (`analytics`, `assistants`, `calls`, `campaigns`, `chats`, `client`, `eval`, `files`, `insight`, `observabilityscorecard`, `option`, `phonenumbers`, `providerresources`, `sessions`, `squads`, `structuredoutputs`, `tools`, and `core`/`internal`) now imports from `github.com/VapiAI/server-sdk-go` instead of `github.com/VapiAI/server-sdk-go/v2`. The `User-Agent` header value has also been removed from `core/request_option.go`. Consumers must update their `go.mod` and all import statements to use the new module path. Key changes: - All internal imports rewritten 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 replay and gitattributes files 🌿 Generated with Fern
1 parent 61f53cd commit df8ceb6

60 files changed

Lines changed: 173 additions & 168 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.fern/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
"union": "v1"
77
},
88
"originGitCommit": "a553b937d463f5d8b1904e74cfbbdcd69e72dde3",
9-
"sdkVersion": "v0.0.0-fern-placeholder"
9+
"sdkVersion": "v3.0.0"
1010
}

analytics.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

analytics/client.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

analytics/raw_client.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assistants.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assistants/client.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assistants/raw_client.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

calls.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

calls/client.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

calls/raw_client.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)