# September 5, 2024

## 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;
}
```