Skip to content

chore: upgrade fern generators - #1157

Merged
chiragjn merged 2 commits into
mainfrom
chore-fern-upgrade-20261023
Oct 23, 2026
Merged

chiragjn merged 2 commits into
mainfrom
chore-fern-upgrade-20261023

Conversation

@chiragjn

@chiragjn chiragjn commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Note

Medium Risk
Wide SDK HTTP client and path-encoding behavior changes affect every API call; invalid ./.. path params now throw, and timeout/retry semantics differ from the previous release.

Overview
Upgrades Fern (CLI 5.143.4 → 5.171.3) and regenerates the TypeScript (3.107.6) and Python (5.41.7) SDKs, pulling in upstream HTTP/runtime fixes plus small server and doc tweaks.

Generated clients now pass errors.TrueForgeError into encodePathParam, which rejects . and .. path segments so requests cannot resolve to a different route. AvailableModel.warning doc text is updated in both SDKs.

TypeScript SDK core changes behavior in several areas: fetch timeouts cover full body reads (with cleanup on retry), malformed JSON on success vs error responses is handled more precisely, retries honor abort during backoff, passthrough timeouts surface as TimeoutError, SSE supports envelopeEvents, setObjectProperty is non-mutating, and TrueForgeError.requestId reads X-Request-Id with a fallback header match.

Python SDK mirrors path validation, adds case-insensitive header merge, safer Retry-After-ms parsing, optional retry_remote_protocol_errors, pagination helpers for nested page fields, and Pydantic fixes (drop case-colliding extras, union fallback keeps unknown data).

TrueForge server: resolveMcpServer is renamed to getMcpConnection at the runtime helper and MCP/turn call sites (behavior unchanged).

Reviewed by Cursor Bugbot for commit d0d59bc. Bugbot is set up for automated code reviews on this repo. Configure here.

@changeset-bot

changeset-bot Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: d0d59bc

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit d0d59bc. Configure here.

Comment thread packages/trueforge/src/runtime/sessionResources.ts
@chiragjn
chiragjn merged commit 1090880 into main Oct 23, 2026
16 checks passed
@chiragjn
chiragjn deleted the chore-fern-upgrade-20261023 branch October 23, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant