Commit df8ceb6
authored
[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 Fern1 parent 61f53cd commit df8ceb6
60 files changed
Lines changed: 173 additions & 168 deletions
File tree
- .fern
- analytics
- assistants
- calls
- campaigns
- chats
- client
- core
- eval
- files
- insight
- internal
- observabilityscorecard
- option
- phonenumbers
- providerresources
- sessions
- squads
- structuredoutputs
- tools
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments