Skip to content

Commit eee9835

Browse files
refactor: remove User-Agent header from client configuration
Remove the hardcoded User-Agent header from the default headers configuration in the phenomlClient. This simplifies the client setup by reducing the number of predefined headers while maintaining the essential Fern SDK identification headers. Key changes: - Remove User-Agent header from default client headers - Retain X-Fern SDK identification headers - Simplify client configuration 🌿 Generated with Fern
1 parent 2ce49d9 commit eee9835

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

changelog.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## 1.0.1 - 2026-01-20
2+
* refactor: remove User-Agent header from client configuration
3+
* Remove the hardcoded User-Agent header from the default headers configuration in the phenomlClient. This simplifies the client setup by reducing the number of predefined headers while maintaining the essential Fern SDK identification headers.
4+
* Key changes:
5+
* Remove User-Agent header from default client headers
6+
* Retain X-Fern SDK identification headers
7+
* Simplify client configuration
8+
* 🌿 Generated with Fern
9+
110
## 1.0.0 - 2026-01-20
211
* refactor: remove deprecated is_active parameter from agent API
312
* Remove the is_active parameter from agent create, update, and list operations to simplify the API interface. This parameter was no longer needed and its removal streamlines agent management operations.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "phenoml",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"private": false,
55
"repository": "github:PhenoML/phenoml-ts-sdk",
66
"type": "commonjs",

src/Client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ export class phenomlClient {
4040
{
4141
"X-Fern-Language": "JavaScript",
4242
"X-Fern-SDK-Name": "phenoml",
43-
"X-Fern-SDK-Version": "1.0.0",
44-
"User-Agent": "phenoml/1.0.0",
43+
"X-Fern-SDK-Version": "1.0.1",
44+
"User-Agent": "phenoml/1.0.1",
4545
"X-Fern-Runtime": core.RUNTIME.type,
4646
"X-Fern-Runtime-Version": core.RUNTIME.version,
4747
},

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const SDK_VERSION = "1.0.0";
1+
export const SDK_VERSION = "1.0.1";

0 commit comments

Comments
 (0)