| title | Java SDK V4 for API for Nosql Release Notes and Resources | |
|---|---|---|
| description | Learn all about the Azure Cosmos DB Java SDK v4 for API for NoSQL and SDK including release dates, retirement dates, and changes made between each version of the Azure Cosmos DB SQL Async Java SDK. | |
| author | markjbrown | |
| ms.service | azure-cosmos-db | |
| ms.subservice | nosql | |
| ms.devlang | java | |
| ms.topic | reference | |
| ms.date | 04/06/2021 | |
| ms.author | kuthapar | |
| ms.custom | devx-track-java, devx-track-extended-java | |
| appliesto |
|
[!INCLUDESDK selector]
The Azure Cosmos DB Java SDK v4 for NoSQL combines an Async API and a Sync API into one Maven artifact. The v4 SDK brings enhanced performance, new API features, and Async support based on Project Reactor and the Netty library. Users can expect improved performance with Azure Cosmos DB Java SDK v4 versus the Azure Cosmos DB Async Java SDK v2 and the Azure Cosmos DB Sync Java SDK v2.
Important
These Release Notes are for Azure Cosmos DB Java SDK v4 only. If you are currently using an older version than v4, see the Migrate to Azure Cosmos DB Java SDK v4 guide for help upgrading to v4.
Here are three steps to get going fast!
- Install the minimum supported Java runtime, JDK 8 so you can use the SDK.
- Work through the Quickstart Guide for Azure Cosmos DB Java SDK v4 which gets you access to the Maven artifact and walks through basic Azure Cosmos DB requests.
- Read the Azure Cosmos DB Java SDK v4 performance tips and troubleshooting guides to optimize the SDK for your application.
The Azure Cosmos DB workshops and labs are another great resource for learning how to use Azure Cosmos DB Java SDK v4!
| Content | Link |
|---|---|
| Release Notes | Release notes for Java SDK v4 |
| SDK download | Maven |
| API documentation | Java API reference documentation |
| Contribute to SDK | Azure SDK for Java Central Repo on GitHub |
| Get started | Quickstart: Build a Java app to manage Azure Cosmos DB for NoSQL data GitHub repo with quickstart code |
| Best Practices | Best Practices for Java SDK v4 |
| Basic code samples | GitHub repo with sample code |
| Console app with Change Feed | Change feed - Java SDK v4 sample GitHub repo with sample code |
| Web app sample | GitHub repo with sample code |
| Performance tips | Performance tips for Java SDK v4 |
| Troubleshooting | Troubleshoot Java SDK v4 |
| Migrate to v4 from an older SDK | Migrate to Java V4 SDK |
| Minimum supported runtime | JDK 8 |
| Azure Cosmos DB workshops and labs | Azure Cosmos DB workshops home page |
Important
- The 4.13.0 release updates
reactor-coreandreactor-nettymajor versions to2020.0.4 (Europium)release train.
Release history is maintained in the azure-sdk-for-java repo, for detailed list of releases, see the changelog file.
Please refer to the changelog file for the minimum version we strongly recommend using.
[!INCLUDE cosmos-db-sdk-faq]
To learn more about Azure Cosmos DB, see Microsoft Azure Cosmos DB service page.