|
| 1 | +## [3.0.0] - 2026-10-08 |
| 2 | +### Breaking Changes |
| 3 | +- **`ToolPinnedConflictResponseDtoError`** has been removed entirely; update any imports or references to this type. The `error` field has also been removed from **`ToolPinnedConflictResponseDto`** — callers reading `dto.error` must be updated to use `dto.message` instead. |
| 4 | +- **`EvalControllerGetRunsPaginatedRequestSortBy`** and **`GetEvalRunPaginatedDtoSortBy`** no longer include `"duration"` or `"cost"` values; update any code passing those sort values to use `"createdAt"` instead. |
| 5 | + |
| 6 | +### Added |
| 7 | +- **`simulationControllerGetConcurrency()`** on `SimulationsClient` — returns the organization's simulation concurrency limit, active simulation count, and remaining capacity as `SimulationConcurrencyResponse`. |
| 8 | +- **`OpenAiReasoner`**, **`OpenAiSpeaker`**, **`TrafficAllocation`** family, **`SquadVersion`** family, **`LatencyEvaluationResult`** / **`LatencyExpectation`** family, **`OrgLimitsResponseDto`**, **`FilePaginatedResponse`**, **`TranscriptWordConfidence`**, **`TransientTwilioPhoneNumber`**, and many more new exported types. |
| 9 | +- **`ForbiddenError` (403)** is now thrown as a typed `Vapi.ForbiddenError` by all `EvalClient` methods instead of a generic `VapiError`. |
| 10 | + |
| 11 | +### Changed |
| 12 | +- **`EvalControllerGetRunsPaginatedRequest`** gains a new optional `search` field for case-insensitive name filtering; field ordering has also been adjusted (no functional impact for named-property callers). |
| 13 | + |
| 14 | +### Breaking Changes |
| 15 | +- **`Call.phoneNumber`** — type changed from `ImportTwilioPhoneNumberDto` to `TransientTwilioPhoneNumber`; update any code that constructs or reads this field to use `TransientTwilioPhoneNumber`. |
| 16 | +- **`AudioFormat.format`** — type changed from `Record<string, unknown>` to `AudioFormatFormat`; replace raw object literals with the new typed enum value. |
| 17 | +- **`ListFilesRequest.purpose`** — changed from a required `string` to an optional `ListFilesRequestPurpose` enum; callers that passed a plain string must switch to the enum, and the parameter may now be omitted entirely. |
| 18 | + |
| 19 | +### Added |
| 20 | +- **`AssemblyAiTranscriberSpeechModel.Universal36Pro`** — new `universal-3-6-pro` speech model for AssemblyAI, now the most accurate voice-agent model; `agentContextAutoUpdateEnabled` field added to `AssemblyAiTranscriber` to auto-send assistant speech as context each turn. |
| 21 | +- **`DeepgramVoiceModel.Flux`** — new Flux model for Deepgram voices, with new `speed` and `expressivity` fields on `DeepgramVoice`. |
| 22 | +- **`AnthropicBedrockModel.fallbackModels`** — optional same-provider Bedrock fallback model list tried when the primary model fails. |
| 23 | +- **`Call.squadVersion`** and **`AssistantActivation.squadVersion`** — new optional fields for pinning or recording the squad version governing a call. |
| 24 | +- **`ToolsClient.update`** — now throws a typed `ConflictError` on HTTP 409 responses instead of a generic `VapiError`. |
| 25 | + |
| 26 | +### Added |
| 27 | +- **`client.trafficAllocations`** — new `TrafficAllocationsClient` (beta) for managing assistant traffic splits, with methods to list allocations paginated, create a new allocation, retrieve the latest allocation, and fetch a single allocation by id. |
| 28 | +- **`ForbiddenError`** — new error class thrown (HTTP 403) when a traffic allocation endpoint is called by an organization without beta access. |
| 29 | +- **`modelDeprecations`** — new optional read-only field on `Assistant`, `AssistantDraft`, and `AssistantVersion` surfaces model deprecation notices with replacement recommendations. |
| 30 | +- **`CreateCallDto.squadVersion`** — new optional field for pinning a specific squad version when creating a call via a direct `squadId`. |
| 31 | +- **New enum types and values** — `ListFilesRequestPurpose`, `AnthropicBedrockModelFallbackModelsItem`, `AudioFormatFormat`, `CreateTrafficAllocationDtoAllocationIntent`, and additional language codes on `AssemblyAiTranscriberLanguageCodesItem`. |
| 32 | + |
| 33 | +### Added |
| 34 | +- **`LatencyExpectation`** and related types (`LatencyExpectationMetric`, `LatencyExpectationAggregation`) — define per-turn latency SLA ceilings for voice simulations; attach via the new `latencyExpectations` field on `CreateScenarioDto`. |
| 35 | +- **`ClientInboundMessageAppendContext`** and `AppendContext` variant on `ClientInboundMessageMessage` — inject commentary, thinking, or instructions into a live call in real time. |
| 36 | +- **Traffic allocation types** (`CreateTrafficAllocationTargetDto`, `GetTrafficAllocationLatestDto`, `GetTrafficAllocationPaginatedDto`) — support assistant-version A/B traffic splitting. |
| 37 | +- **`OpenAiReasoner`** and **`OpenAiModelServiceTier`** — configure GPT-Live delegated reasoning and fast/auto/default service tiers; new model values `gpt-6-luna` and `gpt-live-1` added to `OpenAiModelModel`. |
| 38 | +- **New voice and model enum values** across `DeepgramVoiceId`, `FallbackDeepgramVoiceId` (36 voices each), `FallbackOpenAiVoiceIdEnum` (17 voices), `ElevenLabsVoiceModel`/`FallbackElevenLabsVoiceModel` (`eleven_v4_turbo`), `RimeAiVoiceModel` (`coda`, `mistv3`), and `DeepSeekModelModel` (`deepseek-flash`, `deepseek-flash-thinking`). |
| 39 | +- See full changelog for all changes |
| 40 | + |
| 41 | +### Added |
| 42 | +- **`TranscriptWordConfidence`** — new interface exposing per-word timing, confidence score, punctuation, language, and speaker attribution from the transcriber. |
| 43 | +- **`UserMessageMetadata`** and **`UserMessageConfidenceSource`** — new types that attach word-level confidence metadata and confidence source (`"provider"` or `"derived"`) to user messages. |
| 44 | +- **`TransientTwilioPhoneNumber`** — new interface (plus `TransientTwilioPhoneNumberFallbackDestination` and `TransientTwilioPhoneNumberHooksItem`) for configuring a Twilio phone number transiently without persisting it in Vapi. |
| 45 | +- **New enum values** added: `HipaaSpecial` on `UpdateUserRoleDtoRoleZero`, `SquadVersion` on `VersionPinReferenceSourceType`, and `Gpt6Luna` on `WorkflowOpenAiModelModel`. |
| 46 | + |
1 | 47 | ## [2.0.1] - 2026-08-26 |
2 | 48 |
|
3 | 49 | ## 2.0.0 - 2026-06-24 |
|
0 commit comments