Skip to content

Update x-fern-retries language support - #6722

Open
devin-ai-integration[bot] wants to merge 2 commits into
mainfrom
devin/1787418552-retries-language-support
Open

Update x-fern-retries language support#6722
devin-ai-integration[bot] wants to merge 2 commits into
mainfrom
devin/1787418552-retries-language-support

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Summary

x-fern-retries: { disabled: true } lets an API owner mark an individual endpoint as non-retryable, which matters for non-idempotent operations like payments or order creation where a silent retry can double-charge a customer. Until now only the Python generator honored it; every other SDK generator parsed the extension and retried anyway, so the guarantee the docs implied only held in one language. Eight generator fixes shipped on 2026-08-20 make that guarantee real in every SDK language, and this updates the extension page, which still told readers it was Python-only.

Implements docs for:

Changes

fern/products/api-def/openapi/extensions/retries.mdx:

  • Removed the <Callout intent="info"> claiming Python-only support and folded the accurate language list into the intro paragraph, matching how default.mdx states support inline rather than in a callout.
  • Closing sentence now names what the endpoint setting overrides: client-level and per-request retry settings, instead of "the SDK's user custom configuration".

The language list was verified against the merged generator commits in fern-api/fern (each ships a changes/unreleased/ entry under generators/{typescript,java,csharp,go,ruby-v2,php,rust,swift}/sdk) plus the pre-existing Python support. No caveats worth documenting: the Ruby fix landed in ruby-v2, which is the generator published as fern-ruby-sdk.

No SDK changelog entry (handled separately). The Chinese copy at fern/translations/zh/... is left alone — .github/workflows/sync-translations.yml re-translates stale files nightly.

Link to Devin session: https://app.devin.ai/sessions/a72b77ca52d94b5394bdbf60f986f61d

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@github-actions

Copy link
Copy Markdown
Contributor

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.

0 participants