Skip to content

Commit 1dfff8c

Browse files
chore: remove User-Agent header from client configuration
This change removes the hardcoded User-Agent header from the client's default headers configuration. The client will now rely on the browser's or runtime's default User-Agent behavior instead of setting a custom static value. Key changes: - Remove "User-Agent": "phenoml/1.0.1" from default headers - Maintain other X-Fern headers for SDK identification - Simplify client header configuration 🌿 Generated with Fern
1 parent eee9835 commit 1dfff8c

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.2 - 2026-01-21
2+
* chore: remove User-Agent header from client configuration
3+
* This change removes the hardcoded User-Agent header from the client's default headers configuration. The client will now rely on the browser's or runtime's default User-Agent behavior instead of setting a custom static value.
4+
* Key changes:
5+
* Remove "User-Agent": "phenoml/1.0.1" from default headers
6+
* Maintain other X-Fern headers for SDK identification
7+
* Simplify client header configuration
8+
* 🌿 Generated with Fern
9+
110
## 1.0.1 - 2026-01-20
211
* refactor: remove User-Agent header from client configuration
312
* 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.

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.1",
3+
"version": "1.0.2",
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.1",
44-
"User-Agent": "phenoml/1.0.1",
43+
"X-Fern-SDK-Version": "1.0.2",
44+
"User-Agent": "phenoml/1.0.2",
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.1";
1+
export const SDK_VERSION = "1.0.2";

0 commit comments

Comments
 (0)