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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
21 changes: 2 additions & 19 deletions .github/workflows/fix-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,29 +53,12 @@ jobs:
id: cpr
uses: peter-evans/create-pull-request@v8
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.FERN_SUPPORT_GH_ACTIONS_PAT }}
commit-message: "fix(lint): auto-fix lint issues"
title: "fix(lint): auto-fix lint issues"
branch: automated-lint-fixes
delete-branch: true

# GITHUB_TOKEN does not trigger pull_request events, so we re-trigger
# CI on the PR branch using a PAT so required checks can run.
- name: Trigger CI on PR branch
if: steps.cpr.outputs.pull-request-operation == 'created' || steps.cpr.outputs.pull-request-operation == 'updated'
shell: bash
env:
GH_TOKEN: ${{ secrets.FERN_SUPPORT_GH_ACTIONS_PAT }}
run: |
gh workflow run "CI" --ref automated-lint-fixes

# Give the dispatched workflow time to register check runs on the PR
# before the auto-approve action starts polling.
- name: Wait for CI checks to register
if: steps.cpr.outputs.pull-request-operation == 'created' || steps.cpr.outputs.pull-request-operation == 'updated'
shell: bash
run: sleep 60

- name: Enable Pull Request Automerge
if: steps.cpr.outputs.pull-request-operation == 'created' || steps.cpr.outputs.pull-request-operation == 'updated'
uses: peter-evans/enable-pull-request-automerge@v3
Expand All @@ -88,7 +71,7 @@ jobs:
if: steps.cpr.outputs.pull-request-operation == 'created' || steps.cpr.outputs.pull-request-operation == 'updated'
uses: ./.github/actions/auto-approve
with:
approver-gh-token: ${{ secrets.FERN_SUPPORT_GH_ACTIONS_PAT }}
approver-gh-token: ${{ secrets.GITHUB_TOKEN }}
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
enforced-checks: lint
enforce-checks: "true"
15 changes: 2 additions & 13 deletions .github/workflows/update-seed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,7 @@ jobs:
id: cpr
uses: peter-evans/create-pull-request@v8
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.FERN_SUPPORT_GH_ACTIONS_PAT }}
commit-message: "chore(seed): update all seed snapshots"
title: "chore(seed): update all seed snapshots"
branch: update-all-seed
Expand All @@ -1132,17 +1132,6 @@ jobs:
run: |
echo "PR Created: ${{ steps.cpr.outputs.pull-request-url }}"

# GITHUB_TOKEN does not trigger pull_request events, so we re-trigger
# CI on the PR branch using a PAT so required checks can run.
- name: Trigger CI on PR branch
if: steps.cpr.outputs.pull-request-operation == 'created' || steps.cpr.outputs.pull-request-operation == 'updated'
shell: bash
env:
GH_TOKEN: ${{ secrets.FERN_SUPPORT_GH_ACTIONS_PAT }}
run: |
gh workflow run "CI" --ref update-all-seed
gh workflow run "Seed Snapshot Tests" --ref update-all-seed

- name: Enable Pull Request Automerge
if: steps.cpr.outputs.pull-request-operation == 'created' || steps.cpr.outputs.pull-request-operation == 'updated'
uses: peter-evans/enable-pull-request-automerge@v3
Expand All @@ -1155,5 +1144,5 @@ jobs:
if: steps.cpr.outputs.pull-request-operation == 'created' || steps.cpr.outputs.pull-request-operation == 'updated'
uses: ./.github/actions/auto-approve
with:
approver-gh-token: ${{ secrets.FERN_SUPPORT_GH_ACTIONS_PAT }}
approver-gh-token: ${{ secrets.GITHUB_TOKEN }}
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
3 changes: 3 additions & 0 deletions generators/python/sdk/changes/5.14.19/bump-aiohttp-3.14.1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- summary: |
Bump aiohttp lower bound from >=3.14.0 to >=3.14.1 to fix CVE-2026-54274.
type: fix
7 changes: 7 additions & 0 deletions generators/python/sdk/versions.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# yaml-language-server: $schema=../../../fern-versions-yml.schema.json
- version: 5.14.19
changelogEntry:
- summary: |
Bump aiohttp lower bound from >=3.14.0 to >=3.14.1 to fix CVE-2026-54274.
type: fix
createdAt: "2026-06-16"
irVersion: 67
- version: 5.14.18
changelogEntry:
- summary: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def run(
dependency=AST.Dependency(name="httpx-aiohttp", version="0.1.8", optional=True, python=">=3.10")
)
project.add_dependency(
dependency=AST.Dependency(name="aiohttp", version=">=3.14.0,<4", optional=True, python=">=3.10")
dependency=AST.Dependency(name="aiohttp", version=">=3.14.1,<4", optional=True, python=">=3.10")
)

for dep, bas_dep_value in custom_config.extra_dev_dependencies.items():
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- summary: |
Bump form-data dependency from ^4.0.4 to ^4.0.6 in generated SDKs to fix
CRLF injection vulnerability (CVE-2026-12143).
type: chore
8 changes: 8 additions & 0 deletions generators/typescript/sdk/versions.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
# yaml-language-server: $schema=../../../fern-versions-yml.schema.json
- version: 3.72.5
changelogEntry:
- summary: |
Bump form-data dependency from ^4.0.4 to ^4.0.6 in generated SDKs to fix
CRLF injection vulnerability (CVE-2026-12143).
type: chore
createdAt: "2026-06-16"
irVersion: 67
- version: 3.72.4
changelogEntry:
- summary: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export const MANIFEST: CoreUtility.Manifest = {
pathInCoreUtilities: { nameOnDisk: "fetcher", exportDeclaration: { exportAll: true } },
addDependencies: (dependencyManager: DependencyManager, { formDataSupport, streamType, fetchSupport }): void => {
if (formDataSupport === "Node16") {
dependencyManager.addDependency("form-data", "^4.0.4");
dependencyManager.addDependency("form-data", "^4.0.6");
dependencyManager.addDependency("formdata-node", "^6.0.3");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const MANIFEST: CoreUtility.Manifest = {
pathInCoreUtilities: { nameOnDisk: "form-data-utils", exportDeclaration: { exportAll: true } },
addDependencies: (dependencyManager: DependencyManager, { formDataSupport }): void => {
if (formDataSupport === "Node16") {
dependencyManager.addDependency("form-data", "^4.0.4");
dependencyManager.addDependency("form-data", "^4.0.6");
dependencyManager.addDependency("formdata-node", "^6.0.3");
dependencyManager.addDependency("form-data-encoder", "^4.1.0");
}
Expand Down
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,11 @@
"nanoid": "3.3.8",
"yaml": "2.8.3"
},
"pnpm": {
"overrides": {
"js-yaml@4.1.1": "4.2.0"
}
},
"workspaces": [
"packages/**",
"generators/**",
Expand Down
Loading
Loading