Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions fern/products/sdks/overview/java/changelog/2025-08-25.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## 2.42.0
**`(feat):`** Add support for semantic distinction between `nullable<T>` and `optional<T>` types via `use-nullable-annotation` flag.
When enabled, `nullable<T>` generates as raw type `T` with `@Nullable` annotation, while `optional<T>` remains as `Optional<T>`.
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
```