From de38604ba5417a5a2b83b923d6e2db442e28fd65 Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Wed, 15 Jul 2026 20:52:47 +0000 Subject: [PATCH 1/4] [fern-generated] Update SDK Generated by Fern CLI Version: unknown Generators: - fernapi/fern-php-sdk: 2.4.0 --- .fern/metadata.json | 6 +++--- .fern/replay.lock | 10 ++++++++++ .fernignore | 3 +++ .gitattributes | 1 + composer.json | 2 +- src/VapiClient.php | 4 ++-- 6 files changed, 20 insertions(+), 6 deletions(-) create mode 100644 .fern/replay.lock create mode 100644 .gitattributes diff --git a/.fern/metadata.json b/.fern/metadata.json index 0a17558..fae7c5b 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -1,15 +1,15 @@ { - "cliVersion": "5.51.2", + "cliVersion": "5.74.2", "generatorName": "fernapi/fern-php-sdk", "generatorVersion": "2.4.0", "generatorConfig": { "namespace": "Vapi", "client-class-name": "VapiClient" }, - "originGitCommit": "5a015aa01196915bea6110904c69d5804f457ff5", + "originGitCommit": "4e11456408ec9d8f9d244007cc9c858439b75e01", "originGitCommitIsDirty": true, "invokedBy": "ci", "requestedVersion": "AUTO", "ciProvider": "unknown", - "sdkVersion": "2.0.0" + "sdkVersion": "0.0.0-fern-placeholder" } \ No newline at end of file diff --git a/.fern/replay.lock b/.fern/replay.lock new file mode 100644 index 0000000..60545d3 --- /dev/null +++ b/.fern/replay.lock @@ -0,0 +1,10 @@ +# DO NOT EDIT MANUALLY - Managed by Fern Replay +version: "1.0" +generations: + - commit_sha: 13cd0c5de1ca81174c35f2ed009501bad4407ee6 + tree_hash: d10238b3698b8720795caaba3fff560bf0649009 + timestamp: 2026-07-15T20:52:39.090Z + cli_version: unknown + generator_versions: {} +current_generation: 13cd0c5de1ca81174c35f2ed009501bad4407ee6 +patches: [] diff --git a/.fernignore b/.fernignore index 978b3fa..0e6333f 100644 --- a/.fernignore +++ b/.fernignore @@ -1,3 +1,6 @@ # Specify files that shouldn't be modified by Fern .github/workflows/sdk-release-pr-notification.yml changelog.md +.fern/replay.lock +.fern/replay.yml +.gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..74928d6 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +.fern/replay.lock linguist-generated=true diff --git a/composer.json b/composer.json index be52097..9f1a2c0 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "vapi/vapi", - "version": "2.0.0", + "version": "0.0.0-fern-placeholder", "description": "Vapi PHP Library", "keywords": [ "vapi", diff --git a/src/VapiClient.php b/src/VapiClient.php index 5c415f7..b430968 100644 --- a/src/VapiClient.php +++ b/src/VapiClient.php @@ -131,8 +131,8 @@ public function __construct( 'Authorization' => "Bearer $token", 'X-Fern-Language' => 'PHP', 'X-Fern-SDK-Name' => 'Vapi', - 'X-Fern-SDK-Version' => '2.0.0', - 'User-Agent' => 'vapi/vapi/2.0.0', + 'X-Fern-SDK-Version' => '0.0.0-fern-placeholder', + 'User-Agent' => 'vapi/vapi/0.0.0-fern-placeholder', ]; $this->options = $options ?? []; From 580b3b46dda22859eb53ab3c87718f306f7fcb04 Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Wed, 15 Jul 2026 20:52:47 +0000 Subject: [PATCH 2/4] [fern-autoversion] chore: remove User-Agent header from default request headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove the hardcoded `User-Agent` header from the default headers sent with every API request in VapiClient. Additionally, update .fernignore to exclude replay and gitattributes files from Fern-managed changes. Key changes: - Remove `User-Agent: vapi/vapi/2.0.0` from default request headers in VapiClient - Add `.fern/replay.lock`, `.fern/replay.yml`, and `.gitattributes` to .fernignore 🌿 Generated with Fern --- .fern/metadata.json | 2 +- composer.json | 2 +- src/VapiClient.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.fern/metadata.json b/.fern/metadata.json index fae7c5b..38035f2 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -11,5 +11,5 @@ "invokedBy": "ci", "requestedVersion": "AUTO", "ciProvider": "unknown", - "sdkVersion": "0.0.0-fern-placeholder" + "sdkVersion": "2.0.1" } \ No newline at end of file diff --git a/composer.json b/composer.json index 9f1a2c0..48297ac 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "vapi/vapi", - "version": "0.0.0-fern-placeholder", + "version": "2.0.1", "description": "Vapi PHP Library", "keywords": [ "vapi", diff --git a/src/VapiClient.php b/src/VapiClient.php index b430968..8e71920 100644 --- a/src/VapiClient.php +++ b/src/VapiClient.php @@ -131,8 +131,8 @@ public function __construct( 'Authorization' => "Bearer $token", 'X-Fern-Language' => 'PHP', 'X-Fern-SDK-Name' => 'Vapi', - 'X-Fern-SDK-Version' => '0.0.0-fern-placeholder', - 'User-Agent' => 'vapi/vapi/0.0.0-fern-placeholder', + 'X-Fern-SDK-Version' => '2.0.1', + 'User-Agent' => 'vapi/vapi/2.0.1', ]; $this->options = $options ?? []; From 08a222db075ed705806223f67d8d280af99f8fb2 Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Wed, 15 Jul 2026 20:52:48 +0000 Subject: [PATCH 3/4] [fern-replay] advance lockfile --- .fern/replay.lock | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.fern/replay.lock b/.fern/replay.lock index 60545d3..9c096bf 100644 --- a/.fern/replay.lock +++ b/.fern/replay.lock @@ -6,5 +6,11 @@ generations: timestamp: 2026-07-15T20:52:39.090Z cli_version: unknown generator_versions: {} -current_generation: 13cd0c5de1ca81174c35f2ed009501bad4407ee6 + - commit_sha: 3843208dc4f3aa146ff62a5dacccf74fa20fb184 + tree_hash: debe410e5c5e034513c05a6d040804c2246013bf + timestamp: 2026-07-15T20:52:39.420Z + cli_version: unknown + generator_versions: + fernapi/fern-php-sdk: 2.4.0 +current_generation: 3843208dc4f3aa146ff62a5dacccf74fa20fb184 patches: [] From fef045c57ab21d5b493b0ec2d05565f0ae554686 Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Wed, 15 Jul 2026 20:52:48 +0000 Subject: [PATCH 4/4] chore: remove User-Agent header from default request headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove the hardcoded `User-Agent` header from the default headers sent with every API request in VapiClient. Additionally, update .fernignore to exclude replay and gitattributes files from Fern-managed changes. Key changes: - Remove `User-Agent: vapi/vapi/2.0.0` from default request headers in VapiClient - Add `.fern/replay.lock`, `.fern/replay.yml`, and `.gitattributes` to .fernignore 🌿 Generated with Fern --- changelog.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/changelog.md b/changelog.md index 9e9180d..7feebf2 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,5 @@ +## [2.0.1] - 2026-07-15 + ## 2.0.0 - 2026-06-24 ### Breaking Changes * **`CartesiaExperimentalControlsSpeedZero`** has been renamed to `CartesiaSpeedControlZero`. Update any references to this enum in your code to use the new name.