From 9ec3dac78ac1c13b6a3c045078bdbe660849d88e Mon Sep 17 00:00:00 2001 From: Swimburger <3382717+Swimburger@users.noreply.github.com> Date: Wed, 24 Sep 2025 20:51:55 +0000 Subject: [PATCH] update changelogs --- .../cli-changelog/2025-09-24.mdx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/fern/products/cli-api-reference/cli-changelog/2025-09-24.mdx b/fern/products/cli-api-reference/cli-changelog/2025-09-24.mdx index 2bc0aafaa..e67b0e9bd 100644 --- a/fern/products/cli-api-reference/cli-changelog/2025-09-24.mdx +++ b/fern/products/cli-api-reference/cli-changelog/2025-09-24.mdx @@ -1,3 +1,20 @@ +## 0.81.0 +**`(feat):`** Control how type references are wrapped when they refer to nullable schemas using the new `wrap-references-to-nullable-in-optional` setting: +- `true`: When a type reference points to a nullable schema, it will be wrapped in `optional<>`. +- `false`: When a type reference points to a nullable schema, it will be wrapped in `nullable<>`. +The default is `true`. + + +**`(feat):`** Add new `coerce-optional-schemas-to-nullable` setting to control how optional schemas are treated: +- `true`: Optional schemas will be coerced to nullable, resulting in `nullable`. +- `false`: Optional schemas will remain as `optional`. +The default is `true`. + + +**`(feat):`** Add type for nullable schema examples. +If a schema is nullable, examples for its inner type will be parsed or generated, or `null` will be used as an example if no inner examples are available. + + ## 0.80.2 **`(chore):`** Update migrations for go to support IRv60.