diff --git a/fern/products/cli-api-reference/cli-changelog/2026-03-13.mdx b/fern/products/cli-api-reference/cli-changelog/2026-03-13.mdx index c74591e023..c63a33ee95 100644 --- a/fern/products/cli-api-reference/cli-changelog/2026-03-13.mdx +++ b/fern/products/cli-api-reference/cli-changelog/2026-03-13.mdx @@ -1,3 +1,23 @@ +## 4.28.0 +**`(feat):`** Add `coerce-consts-to` setting for controlling how OpenAPI/AsyncAPI +`const` values are represented. Set to `literals` to convert them directly +to literals with defaults; set to `enums` (the default, current behavior) +to convert them to single-valued and therefore extensible enums. + +When `coerce-consts-to` is `enums`, the `coerce-enums-to-literals` setting +will not transitively apply to const-originated enums, keeping the two +concepts independent. + +Usage: +```yaml +api: + specs: + - asyncapi: ./asyncapi.yaml + settings: + coerce-consts-to: literals +``` + + ## 4.27.0 **`(feat):`** Log detected .fernignore paths when copying generated files. When a .fernignore file is present in the output directory, the CLI now emits diff --git a/fern/products/sdks/overview/go/changelog/2026-03-13.mdx b/fern/products/sdks/overview/go/changelog/2026-03-13.mdx new file mode 100644 index 0000000000..97f70333f6 --- /dev/null +++ b/fern/products/sdks/overview/go/changelog/2026-03-13.mdx @@ -0,0 +1,7 @@ +## 1.30.1 +**`(fix):`** Fix non-deterministic ordering in generated requests.go and requests_test.go. +Go maps randomize iteration order, causing type ordering to vary across runs +when exportAllRequestsAtRoot is enabled. Map keys are now sorted before +iteration to ensure deterministic output. + +