fern icon indicating copy to clipboard operation
fern copied to clipboard

`fern upgrade` does not `upgrades generators in generators.yml`

Open jackfischer opened this issue 9 months ago • 2 comments

Which Fern component?

Fern CLI

How urgent is this?

P2 - Medium (Would be helpful)

What's the issue?

Steps to reproduce Run fern upgrade in http://github.com/Credal-ai/fern-docs/

Expected behavior Expect fern/generators.yml python to change to 4.14.2 as per guidance in CLI

 fern upgrade                      Upgrades version in fern.config.json. Also
                                             upgrades generators in generators.yml to
                                             their minimum-compatible versions.

Actual behavior fern/generators.yml is unchanged

Macos, 0.57.35

Fern CLI & Generator Versions

No response

Workaround

No response

Are you interested in contributing a fix?

No

jackfischer avatar Apr 22 '25 15:04 jackfischer

Ah, CI says Run fern generator upgrade to upgrade your generators.. It is the doc that is spit out upon running fern that is wrong.

jackfischer avatar Apr 22 '25 15:04 jackfischer

great issue! agree this is frustrating

dannysheridan avatar Apr 22 '25 16:04 dannysheridan

Clarified in these PRs:

  • CLI upgrade: https://github.com/fern-api/fern/pull/8008
  • Fern Docs: https://github.com/fern-api/fern/pull/8007

chdeskur avatar Jul 12 '25 14:07 chdeskur