Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions fern/products/sdks/overview/typescript/changelog/2025-11-17.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
## 3.31.0
**`(feat):`** Add `generateSubpackageExports` configuration option to enable direct imports of subpackage clients.
This allows JavaScript bundlers to tree-shake and include only the imported subpackage code, resulting in much smaller bundle sizes.

Example:
```ts
import { BarClient } from '@acme/sdk/foo/bar';

const client = new BarClient({...});
```

To enable this feature, add the following configuration to your _generators.yml_ file:
```yaml
# In generators.yml
groups:
generators:
- name: fernapi/fern-typescript-sdk
config:
generateSubpackageExports: true
```


Loading