# [2023-02-14] Nylas Java SDK v1.21.0

Source: https://developer.nylas.com/docs/new/v2-changelogs/2023-02-14-java-sdk-v1-21-0/

The Nylas Java SDK v1.21.0 has been released!

- GitHub: [Nylas Java SDK](https://github.com/nylas/nylas-java/releases/tag/v1.21.0)
- Distribution: [Maven](https://repo.maven.apache.org/maven2/com/nylas/sdk/nylas-java-sdk/1.21.0/)

## Added

- Added the `content_disposition` field to `File` ([#149](https://github.com/nylas/nylas-java/pull/149))
- Added support for `toJSON()` and `toMap()`. All classes that extend `AccountOwnedModel` can be serialized to either a JSON string or a Map representation of the object's fields. ([#150](https://github.com/nylas/nylas-java/pull/150))
- Added scheduler support for the EU region ([#151](https://github.com/nylas/nylas-java/pull/151))

## Updated

- Fixed `NullPointerException` that sporadically occurred when calling `Message.toString()` ([#149](https://github.com/nylas/nylas-java/pull/149))