Skip to content

Commit 496b979

Browse files
Update changelogs from fern repo (#2495)
Co-authored-by: dsinghvi <10870189+dsinghvi@users.noreply.github.com>
1 parent b74c692 commit 496b979

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

fern/products/cli-api-reference/cli-changelog/2025-12-03.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## 3.0.0
2+
**`(break):`** **Breaking Change**: Enable `smart-casing` by default for all generators.
3+
4+
Smart-casing improves naming conventions in generated SDKs by:
5+
- Capitalizing common initialisms like API, HTTP, ID, UUID, URL, HTML, JSON, XML, etc. in camelCase and PascalCase identifiers
6+
- Better handling of number-letter combinations (e.g., `v2` stays as `v2` instead of becoming `v_2`, `md5` stays as `md5` instead of `md_5`)
7+
8+
**Migration Behavior**: The CLI will automatically upgrade your `generators.yml` to explicitly set `smart-casing: false` for all existing generators that don't have it configured. This preserves backwards compatibility for existing projects while enabling the improved naming for new projects.
9+
10+
**Opting In**: To enable smart-casing for existing generators, remove the `smart-casing: false` line that the migration adds, or explicitly set `smart-casing: true`.
11+
12+
113
## 2.18.1
214
**`(fix):`** Improve enum validation error messages to show which enum value has an invalid name. When the API source is OpenAPI, the error message now includes guidance about using the `x-fern-enum` extension to specify valid names.
315

0 commit comments

Comments
 (0)