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

## 0.7.1

**`(feat):`** The SDK generator now supports idempotency headers. Users
will be able to specify the idempotency headers in RequestOptions.

```java
Imdb imdb = Imdb.builder()
  .apiKey("...")
  .build();

var response = imdb.ticket.purchase("theatre-id", IdempotentRequestOptions.builder()
  .idempotencyKey("...")
  .build());
```

**`(feat):`** The SDK generator now supports scanning API credentials
via environment variables.

```java
Imdb imdb = Imdb.builder()
  .apiKey("...") // defaults to System.getenv("IMDB_API_KEY")
  .build();
```

**`(feat):`** The generated models now support boolean literals and users
do not have to specify them in the builder.
For example, for the following object

```yaml
Actor:
  properties:
    name: string
    isMale: literal<true>
```

the user will not need to specify the literal properties when building
the object.

```java
var actor = Actor.builder()
  .name("Brad Pitt")
  .build();
```