Skip to content

Commit 103fb52

Browse files
Swimburgergithub-actions[bot]
authored andcommitted
update changelogs
1 parent 73ebba8 commit 103fb52

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

fern/products/cli-api-reference/cli-changelog/2025-09-22.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
## 0.78.4
10-
**`(fix):`** Collapse any combination of optional and nullable to `optional<nullable<T>>`.
10+
**`(fix):`** Collapse any combination of optional and nullable to optional<nullable<T>>.
1111

1212
## 0.78.3
1313
**`(chore):`** Support IR v59 in the Rust SDK generator.

fern/products/sdks/overview/typescript/changelog/2025-09-24.mdx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
## 3.2.0
2+
**`(feat):`** Add `generateEndpointMetadata` configuration to generate endpoint metadata for each endpoints.
3+
When you use a callback function to generate headers or auth tokens, the endpoint metadata will be passed to the callback.
4+
```ts
5+
const client = new Foo({
6+
...,
7+
token: ({ endpointMetadata }) => {
8+
// generate token based on endpoint metadata
9+
}
10+
});
11+
```
12+
13+
To enable this, set `generateEndpointMetadata` to `true` in the `config` of your generator configuration.
14+
```yml
15+
# In generators.yml
16+
groups:
17+
ts-sdk:
18+
generators:
19+
- name: fernapi/fern-typescript-sdk
20+
config:
21+
generateEndpointMetadata: true
22+
```
23+
24+
125
## 3.1.2
226
**`(fix):`** Pin `msw` dependency to `2.11.2` because newer version introduces jest/vitest compatibility issues.
327

0 commit comments

Comments
 (0)