diff --git a/fern/products/sdks/overview/typescript/changelog/2025-11-17.mdx b/fern/products/sdks/overview/typescript/changelog/2025-11-17.mdx new file mode 100644 index 000000000..0f0b52548 --- /dev/null +++ b/fern/products/sdks/overview/typescript/changelog/2025-11-17.mdx @@ -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 +``` + +