> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## 2.0.0

**`(break):`** The SDK generator is now on major version 2. To take this upgrade without any breaks, please add the below
configuration to your `generators.yml` file:

```yaml
generators:
  - name: fernapi/fern-java-sdk
    config:
      disable-required-property-builder-checks: true
```

**`(feat):`** Generated builder methods now enforce non-null checks for required fields, ensuring that all required
fields are properly validated during object construction:

```java
@java.lang.Override
@JsonSetter("name")
public NameStage name(@NotNull String name) {
    this.name = Objects.requireNonNull(name, "name must not be null");
    return this;
}
```