Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions .github/workflows/ci-dynamic-snippets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: "buildwithfern"
TURBO_REMOTE_CACHE_TIMEOUT: 60
TURBO_NO_UPDATE_NOTIFIER: "1"
TURBO_DAEMON: "false"

jobs:
test-typescript:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: "buildwithfern"
TURBO_REMOTE_CACHE_TIMEOUT: 60
TURBO_NO_UPDATE_NOTIFIER: "1"
TURBO_DAEMON: "false"

jobs:
compile:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/definitions-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: "buildwithfern"
TURBO_REMOTE_CACHE_TIMEOUT: 60
TURBO_NO_UPDATE_NOTIFIER: "1"
TURBO_DAEMON: "false"

jobs:
run:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/fix-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: "buildwithfern"
TURBO_REMOTE_CACHE_TIMEOUT: 60
TURBO_NO_UPDATE_NOTIFIER: "1"
TURBO_DAEMON: "false"

jobs:
fix-lint:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: "buildwithfern"
TURBO_REMOTE_CACHE_TIMEOUT: 60
TURBO_NO_UPDATE_NOTIFIER: "1"
TURBO_DAEMON: "false"

jobs:
detect-release-bump:
Expand Down
14 changes: 3 additions & 11 deletions .github/workflows/publish-generator-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: "buildwithfern"
TURBO_REMOTE_CACHE_TIMEOUT: 60
TURBO_NO_UPDATE_NOTIFIER: "1"
TURBO_DAEMON: "false"
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
GITHUB_TOKEN: ${{ secrets.FERN_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.FERN_NPM_TOKEN }}
Expand Down Expand Up @@ -78,9 +80,6 @@ jobs:
- name: Install
uses: ./.github/actions/install

- name: Update npm
run: npm install -g npm@latest

- name: Build CLI
env:
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
Expand All @@ -91,13 +90,6 @@ jobs:
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
run: pnpm turbo run test --filter=${{ env.PACKAGE_NAME }}

- name: Setup Node for npm publish
uses: actions/setup-node@v4
with:
node-version: 22
registry-url: https://registry.npmjs.org
scope: "@fern-api"

- name: Publish generator-cli
env:
NODE_AUTH_TOKEN: ${{ env.NPM_TOKEN }}
Expand All @@ -108,7 +100,7 @@ jobs:
version_replace="s/0.0.0/${NEW_VERSION}/"
cat package.json.tmp| sed "${version_replace}" > package.json
rm -rf package.json.tmp
npx -y npm@latest publish --access public --tag latest
pnpm publish --access public --tag latest --no-git-checks

publish-sdks:
needs: check-version
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish-generator-migrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: "buildwithfern"
TURBO_REMOTE_CACHE_TIMEOUT: 60
TURBO_NO_UPDATE_NOTIFIER: "1"
TURBO_DAEMON: "false"

permissions:
id-token: write # Required for OIDC
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/sdk-ete-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: "buildwithfern"
TURBO_REMOTE_CACHE_TIMEOUT: 60
TURBO_NO_UPDATE_NOTIFIER: "1"
TURBO_DAEMON: "false"

permissions:
contents: write
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/security-scanning-and-remediation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: "buildwithfern"
TURBO_REMOTE_CACHE_TIMEOUT: 60
TURBO_NO_UPDATE_NOTIFIER: "1"
TURBO_DAEMON: "false"

jobs:
create-dependabot-prs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/seed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: "buildwithfern"
TURBO_REMOTE_CACHE_TIMEOUT: 60
TURBO_NO_UPDATE_NOTIFIER: "1"
TURBO_DAEMON: "false"

jobs:
setup:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-definitions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: "buildwithfern"
TURBO_REMOTE_CACHE_TIMEOUT: 60
TURBO_NO_UPDATE_NOTIFIER: "1"
TURBO_DAEMON: "false"

jobs:
run:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-remote-vs-local-generation-parity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: "buildwithfern"
TURBO_REMOTE_CACHE_TIMEOUT: 60
TURBO_NO_UPDATE_NOTIFIER: "1"
TURBO_DAEMON: "false"

jobs:
# Determine which generator to test based on the triggering workflow
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/update-seed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: "buildwithfern"
TURBO_REMOTE_CACHE_TIMEOUT: 60
TURBO_NO_UPDATE_NOTIFIER: "1"
TURBO_DAEMON: "false"

jobs:
setup:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/update-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: "buildwithfern"
TURBO_REMOTE_CACHE_TIMEOUT: 60
TURBO_NO_UPDATE_NOTIFIER: "1"
TURBO_DAEMON: "false"

jobs:
update-test:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/validate-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: "buildwithfern"
TURBO_REMOTE_CACHE_TIMEOUT: 60
TURBO_NO_UPDATE_NOTIFIER: "1"
TURBO_DAEMON: "false"

jobs:
validate-changelogs:
Expand Down
2 changes: 1 addition & 1 deletion generators/python/sdk/versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
type: fix
createdAt: "2026-02-20"
irVersion: 65

- version: 4.59.1
changelogEntry:
- summary: Fix wire test imports to respect package_name custom config, preventing import errors when users specify custom package names
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/cli-v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@
"inquirer": "^9.2.15",
"is-ci": "catalog:",
"js-yaml": "catalog:",
"yaml": "catalog:",
"jsonwebtoken": "catalog:",
"ora": "catalog:",
"posthog-node": "^5.14.0",
"tsup": "catalog:",
"typescript": "catalog:",
"uuid": "catalog:",
"vitest": "catalog:",
"yaml": "catalog:",
"yargs": "^17.4.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
"@fern-api/php-dynamic-snippets": "workspace:*",
"@fern-api/python-dynamic-snippets": "workspace:*",
"@fern-api/remote-workspace-runner": "workspace:*",

"@fern-api/ruby-dynamic-snippets": "workspace:*",
"@fern-api/rust-dynamic-snippets": "workspace:*",
"@fern-api/swift-dynamic-snippets": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/generator-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@fern-api/fs-utils": "workspace:*",
"@fern-api/github": "workspace:*",
"@fern-api/replay": "^0.6.0",
"@octokit/rest": "^20.1.2",
"@octokit/rest": "catalog:",
"@types/jest": "^29.5.11",
"@types/node": "^22.0.0",
"@types/yargs": "^17.0.32",
Expand Down
25 changes: 25 additions & 0 deletions packages/generator-cli/versions.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,29 @@
# yaml-language-server: $schema=../../versions-yml.schema.json
- changelogEntry:
- summary: |
Use pnpm publish to properly resolve workspace directives when publishing to npm.
type: fix
createdAt: "2026-02-25"
version: 0.6.2

- changelogEntry:
- summary: |
Bump @octokit/rest to ^22.0.1 to pull in @octokit/request@10.0.7, which fixes CVE-2025-25290 (ReDoS vulnerability).
type: fix
createdAt: "2026-02-25"
version: 0.6.1

- changelogEntry:
- summary: |
Add Replay step to post-generation pipeline. Introduces the PostGenerationPipeline
with ReplayStep that runs after SDK generation for self-hosted GitHub repos. Replay
preserves user customizations across SDK regenerations by detecting patches via
`.fern/replay.lock`, applying them with 3-way merge, and creating PRs with conflict
resolution guidance when needed.
type: feat
createdAt: "2026-02-25"
version: 0.6.0

- changelogEntry:
- summary: |
Regenerate generator-cli types with latest version of the TypeScript SDK generator.
Expand Down
Loading
Loading