diff --git a/fern/products/sdks/overview/java/changelog/2025-08-25.mdx b/fern/products/sdks/overview/java/changelog/2025-08-25.mdx new file mode 100644 index 000000000..1ff5b39a2 --- /dev/null +++ b/fern/products/sdks/overview/java/changelog/2025-08-25.mdx @@ -0,0 +1,11 @@ +## 2.42.0 +**`(feat):`** Add support for semantic distinction between `nullable` and `optional` types via `use-nullable-annotation` flag. +When enabled, `nullable` generates as raw type `T` with `@Nullable` annotation, while `optional` remains as `Optional`. +This provides proper API semantics for fields that can be null vs those that may be absent from requests. + +```yaml +customConfig: + use-nullable-annotation: true +``` + +