diff --git a/fern/products/cli-api-reference/cli-changelog/2025-10-22.mdx b/fern/products/cli-api-reference/cli-changelog/2025-10-22.mdx index 8fc1ffda6..372d0e7e9 100644 --- a/fern/products/cli-api-reference/cli-changelog/2025-10-22.mdx +++ b/fern/products/cli-api-reference/cli-changelog/2025-10-22.mdx @@ -1,3 +1,7 @@ +## 0.94.0 +**`(feat):`** Handle npm OIDC token publishing for local workspace generation. + + ## 0.93.4 **`(fix):`** Skip bundling APIs with docs creation request. diff --git a/fern/products/sdks/overview/typescript/changelog/2025-10-21.mdx b/fern/products/sdks/overview/typescript/changelog/2025-10-21.mdx index 1cf44d0ff..968b23dab 100644 --- a/fern/products/sdks/overview/typescript/changelog/2025-10-21.mdx +++ b/fern/products/sdks/overview/typescript/changelog/2025-10-21.mdx @@ -1,3 +1,31 @@ +## 3.12.0 +**`(feat):`** Add support for [publishing to npmjs.org using OIDC from GitHub Actions](https://docs.npmjs.com/trusted-publishers). + +To use OIDC for publishing to npmjs.org, you need to follow two steps: +1. Follow the instructions in ["Step 1: Add a trusted publisher on npmjs.com"](https://docs.npmjs.com/trusted-publishers#step-1-add-a-trusted-publisher-on-npmjscom). +2. Set the `output.token` field to `OIDC` in _generators.yml_ to enable this feature: + + ```yml + # In generators.yml + groups: + ts-sdk: + generators: + - name: fernapi/fern-typescript-sdk + output: + location: npm + package-name: your-package-name + token: OIDC # previously this would be set to something like ${NPM_TOKEN} + ... + ``` + + This will take care of ["Step 2: Configure your CI/CD workflow"](https://docs.npmjs.com/trusted-publishers#step-2-configure-your-cicd-workflow). + +For local generation, you'll need Fern CLI version 0.94.0 or later. + + +**`(feat):`** Update GitHub Actions `setup-node` action to v4 in the generated CI workflow. + + ## 3.11.1 **`(fix):`** Generate streaming response section in README.md for streaming response endpoints.