File tree Expand file tree Collapse file tree
fern/products/sdks/generators/python/changelog Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ## 5.9.1
2+ ** ` (fix): ` ** Respect the customer's ` smart-casing ` flag from ` generators.yml ` when computing
3+ Python identifiers from compressed v66 IR strings. Previously the v1 Python
4+ generator's ` _smart_snake ` and v2's ` PYTHON_CASE_CONVERTER ` were both hardcoded
5+ with ` smartCasing: true ` , causing names produced by the generator to diverge
6+ from the IR's pre-computed ` snake_case ` values when the customer set
7+ ` smart-casing: false ` . This manifested as wire-test method calls and Pydantic
8+ field aliases that did not exist on the generated client (e.g. test calling
9+ ` set_fcmv_1_provider() ` while the client method was named ` set_fcmv1provider ` ).
10+
11+ ` _smart_snake ` and the v2 ` caseConverter ` now read ` casingsConfig.smartCasing `
12+ from the IR and switch between smart-casing semantics (default) and plain
13+ lodash semantics (` smart-casing: false ` ). No effect for customers who use
14+ the default; fixes generation for customers like auth0 that opt out.
15+
16+
You can’t perform that action at this time.
0 commit comments