Skip to content

feat: upgrade fern CLI, all generator versions (major) + GH workflow fix#1005

Merged
sahilsuman933 merged 1 commit intomainfrom
ryanstep/upgrade-generators
Apr 1, 2026
Merged

feat: upgrade fern CLI, all generator versions (major) + GH workflow fix#1005
sahilsuman933 merged 1 commit intomainfrom
ryanstep/upgrade-generators

Conversation

@fern-support
Copy link
Copy Markdown
Collaborator

Description

Breaking changes:

  • Upgraded fern CLI: requires minimum generator versions now
  • Python 5.0.0: Min Python version raised from 3.8 to 3.10
  • Ruby 1.0.0: Complete rewrite of the generator. Backwards compatible with existing configs/gem names/modules, but generated code structure is entirely new.
  • PHP 2.0.0: Guzzle is no longer a hard dependency (moved to suggest/require-dev).
  • Swift 0.28.0: Discriminated unions now use direct associated values instead of synthesized nested wrapper structs. Changes the shape of union types in generated code.

No breaking changes for TypeScript, Go, C#.

Read more on the changes here:
https://buildwithfern.com/learn/cli-api-reference/cli-reference/changelog#400
https://buildwithfern.com/learn/sdks/overview (changelog for each language)

Testing Steps

Generated each SDK locally and ensured each SDK compiles and passes tests

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

@sahilsuman933 sahilsuman933 enabled auto-merge (squash) April 1, 2026 21:14
@sahilsuman933 sahilsuman933 self-requested a review April 1, 2026 21:14
@sahilsuman933 sahilsuman933 merged commit e223fba into main Apr 1, 2026
6 checks passed
@fern-support fern-support deleted the ryanstep/upgrade-generators branch April 1, 2026 21:33
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.

3 participants