From 4dc855d89f77a3578b25772e707bb3c83c712251 Mon Sep 17 00:00:00 2001 From: Kushagra Thapar Date: Fri, 11 Jun 2021 12:54:31 -0700 Subject: [PATCH] Release azure cosmos 4.16.0 (#22251) * Updated cosmos versions for release 4.16.0 * Updated release notes * Updated release notes for spring-data-cosmos --- eng/jacoco-test-coverage/pom.xml | 4 ++-- eng/versioning/version_client.txt | 4 ++-- sdk/cosmos/azure-cosmos-benchmark/pom.xml | 2 +- sdk/cosmos/azure-cosmos-dotnet-benchmark/pom.xml | 2 +- sdk/cosmos/azure-cosmos-encryption/CHANGELOG.md | 5 +++-- sdk/cosmos/azure-cosmos-encryption/README.md | 2 +- sdk/cosmos/azure-cosmos-encryption/pom.xml | 2 +- sdk/cosmos/azure-cosmos-spark_3-1_2-12/pom.xml | 2 +- sdk/cosmos/azure-cosmos/CHANGELOG.md | 10 ++++++++-- sdk/cosmos/azure-cosmos/README.md | 2 +- sdk/cosmos/azure-cosmos/pom.xml | 2 +- sdk/cosmos/azure-spring-data-cosmos-test/pom.xml | 2 +- sdk/cosmos/azure-spring-data-cosmos/CHANGELOG.md | 10 +++++++++- sdk/cosmos/azure-spring-data-cosmos/README.md | 2 +- sdk/cosmos/azure-spring-data-cosmos/pom.xml | 4 ++-- sdk/cosmos/pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- 18 files changed, 38 insertions(+), 23 deletions(-) diff --git a/eng/jacoco-test-coverage/pom.xml b/eng/jacoco-test-coverage/pom.xml index ce2ff0c43403d..d214edcc881a1 100644 --- a/eng/jacoco-test-coverage/pom.xml +++ b/eng/jacoco-test-coverage/pom.xml @@ -164,7 +164,7 @@ com.azure azure-cosmos - 4.16.0-beta.2 + 4.16.0 com.azure @@ -450,7 +450,7 @@ com.azure azure-spring-data-cosmos - 3.8.0-beta.1 + 3.8.0 com.azure.spring diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt index 8b4760ff5c270..3b4941fb38c2e 100644 --- a/eng/versioning/version_client.txt +++ b/eng/versioning/version_client.txt @@ -71,7 +71,7 @@ com.azure:azure-core-serializer-json-gson;1.1.3;1.2.0-beta.1 com.azure:azure-core-serializer-json-jackson;1.2.4;1.3.0-beta.1 com.azure:azure-core-test;1.6.3;1.7.0-beta.1 com.azure:azure-core-tracing-opentelemetry;1.0.0-beta.11;1.0.0-beta.12 -com.azure:azure-cosmos;4.15.0;4.16.0-beta.2 +com.azure:azure-cosmos;4.15.0;4.16.0 com.azure:azure-cosmos-benchmark;4.0.1-beta.1;4.0.1-beta.1 com.azure:azure-cosmos-dotnet-benchmark;4.0.1-beta.1;4.0.1-beta.1 com.azure.cosmos.spark:azure-cosmos-spark_3-1_2-12;4.2.0-beta.1;4.2.0-beta.1 @@ -113,7 +113,7 @@ com.azure:azure-security-test-keyvault-jca;1.0.0;1.0.0 com.azure:azure-security-keyvault-keys;4.2.8;4.3.0-beta.9 com.azure:azure-security-keyvault-secrets;4.2.8;4.3.0-beta.7 com.azure:azure-sdk-template;1.2.1-beta.2;1.2.1-beta.16 -com.azure:azure-spring-data-cosmos;3.7.0;3.8.0-beta.1 +com.azure:azure-spring-data-cosmos;3.7.0;3.8.0 com.azure:azure-spring-data-cosmos-test;3.0.0-beta.1;3.0.0-beta.1 com.azure:azure-storage-blob;12.12.0;12.13.0-beta.1 com.azure:azure-storage-blob-batch;12.10.0;12.11.0-beta.1 diff --git a/sdk/cosmos/azure-cosmos-benchmark/pom.xml b/sdk/cosmos/azure-cosmos-benchmark/pom.xml index d4544808adf10..f5060b0f66340 100644 --- a/sdk/cosmos/azure-cosmos-benchmark/pom.xml +++ b/sdk/cosmos/azure-cosmos-benchmark/pom.xml @@ -43,7 +43,7 @@ Licensed under the MIT License. com.azure azure-cosmos - 4.16.0-beta.2 + 4.16.0 diff --git a/sdk/cosmos/azure-cosmos-dotnet-benchmark/pom.xml b/sdk/cosmos/azure-cosmos-dotnet-benchmark/pom.xml index aeecdbd487786..2ae5bdd1b9875 100644 --- a/sdk/cosmos/azure-cosmos-dotnet-benchmark/pom.xml +++ b/sdk/cosmos/azure-cosmos-dotnet-benchmark/pom.xml @@ -42,7 +42,7 @@ Licensed under the MIT License. com.azure azure-cosmos - 4.16.0-beta.2 + 4.16.0 diff --git a/sdk/cosmos/azure-cosmos-encryption/CHANGELOG.md b/sdk/cosmos/azure-cosmos-encryption/CHANGELOG.md index 80e02339b697c..b7e06142746ed 100644 --- a/sdk/cosmos/azure-cosmos-encryption/CHANGELOG.md +++ b/sdk/cosmos/azure-cosmos-encryption/CHANGELOG.md @@ -1,7 +1,8 @@ # Release History -## 1.0.0-beta.6 (Unreleased) - +### 1.0.0-beta.6 (2021-06-11) +#### New Features +* Signed and moved AAP cryptography jars to Azure dev-ops feed from Azure blob storage. ### 1.0.0-beta.5 (2021-05-20) #### New Features diff --git a/sdk/cosmos/azure-cosmos-encryption/README.md b/sdk/cosmos/azure-cosmos-encryption/README.md index e1cbefc254937..bab6f524fdbf1 100644 --- a/sdk/cosmos/azure-cosmos-encryption/README.md +++ b/sdk/cosmos/azure-cosmos-encryption/README.md @@ -12,7 +12,7 @@ The Azure Cosmos Encryption Plugin is used for encrypting data with user provide com.azure azure-cosmos-encryption - 1.0.0-beta.5 + 1.0.0-beta.6 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/cosmos/azure-cosmos-encryption/pom.xml b/sdk/cosmos/azure-cosmos-encryption/pom.xml index f8f0b9887d8cd..42dd032dca462 100644 --- a/sdk/cosmos/azure-cosmos-encryption/pom.xml +++ b/sdk/cosmos/azure-cosmos-encryption/pom.xml @@ -44,7 +44,7 @@ Licensed under the MIT License. com.azure azure-cosmos - 4.16.0-beta.2 + 4.16.0 diff --git a/sdk/cosmos/azure-cosmos-spark_3-1_2-12/pom.xml b/sdk/cosmos/azure-cosmos-spark_3-1_2-12/pom.xml index 70de649c20ab4..7d5698e18ee60 100644 --- a/sdk/cosmos/azure-cosmos-spark_3-1_2-12/pom.xml +++ b/sdk/cosmos/azure-cosmos-spark_3-1_2-12/pom.xml @@ -61,7 +61,7 @@ com.azure azure-cosmos - 4.16.0-beta.2 + 4.16.0 org.scala-lang.modules diff --git a/sdk/cosmos/azure-cosmos/CHANGELOG.md b/sdk/cosmos/azure-cosmos/CHANGELOG.md index be6761edc3e78..6e5fc6bf97faa 100644 --- a/sdk/cosmos/azure-cosmos/CHANGELOG.md +++ b/sdk/cosmos/azure-cosmos/CHANGELOG.md @@ -1,12 +1,18 @@ ## Release History -## 4.16.0-beta.2 (Unreleased) +### 4.16.0 (2021-06-11) +#### Key Bug Fixes +* Fixed an issue on handling partition splits during bulk operations in Gateway Mode. +* Fixed an issue with `NumberFormatException` happening on requests on large containers. +* Fixed an issue with BackOff time in `ThroughputController`. +* Fixed an issue with `ThroughputControl` calculation. +* Improved behavior when `CosmosClientBuilder.userAgentSuffix` exceeds 64 characters. Now `userAgentSuffix` will be honored as long as total userAgent value is less than 256 characters or truncated to fit the 256 characters limited. +* Fixed issue when using client-side throughput control in combination with bulk upserts, previously resulting in unnecessarily upserting documents multiple times in some cases when getting throttled. ### 4.16.0-beta.1 (2021-05-20) #### Key Bug Fixes * No changes from previous version, releasing for compatibility issues with cosmos encryption modules. - ### 4.15.0 (2021-05-12) #### New Features * Added `backendLatencyInMs` in `CosmosDiagnostics` for `DIRECT` connection mode. diff --git a/sdk/cosmos/azure-cosmos/README.md b/sdk/cosmos/azure-cosmos/README.md index db820f76ef159..bd735aa1a677a 100644 --- a/sdk/cosmos/azure-cosmos/README.md +++ b/sdk/cosmos/azure-cosmos/README.md @@ -14,7 +14,7 @@ This project provides SDK library in Java for interacting with [SQL API][sql_api com.azure azure-cosmos - 4.15.0 + 4.16.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/cosmos/azure-cosmos/pom.xml b/sdk/cosmos/azure-cosmos/pom.xml index b10ff63dde17d..994c0501e3464 100644 --- a/sdk/cosmos/azure-cosmos/pom.xml +++ b/sdk/cosmos/azure-cosmos/pom.xml @@ -13,7 +13,7 @@ Licensed under the MIT License. com.azure azure-cosmos - 4.16.0-beta.2 + 4.16.0 Microsoft Azure SDK for SQL API of Azure Cosmos DB Service This Package contains Microsoft Azure Cosmos SDK (with Reactive Extension Reactor support) for Azure Cosmos DB SQL API jar diff --git a/sdk/cosmos/azure-spring-data-cosmos-test/pom.xml b/sdk/cosmos/azure-spring-data-cosmos-test/pom.xml index 006cbf5a38b26..223e9d250366b 100644 --- a/sdk/cosmos/azure-spring-data-cosmos-test/pom.xml +++ b/sdk/cosmos/azure-spring-data-cosmos-test/pom.xml @@ -30,7 +30,7 @@ com.azure azure-spring-data-cosmos - 3.8.0-beta.1 + 3.8.0 diff --git a/sdk/cosmos/azure-spring-data-cosmos/CHANGELOG.md b/sdk/cosmos/azure-spring-data-cosmos/CHANGELOG.md index e752da901c1ab..b34561026f6ba 100644 --- a/sdk/cosmos/azure-spring-data-cosmos/CHANGELOG.md +++ b/sdk/cosmos/azure-spring-data-cosmos/CHANGELOG.md @@ -1,7 +1,15 @@ ## Release History -## 3.8.0-beta.1 (Unreleased) +### 3.8.0 (2021-06-11) +#### New Features +* Updated `Spring Boot` to version 2.5.0. +* Updated `azure-cosmos` to version 4.16.0. +* Added Autoscale RU support feature. +* Added support for `countBy*` methods on `Repository` and `@Query` annotation. +#### Key Bug Fixes +* Fixed an issue with `MappingCosmosConverter` handling query with value types. +* Fixed an issue with `CosmosIndexingPolicy` getting reset on application bootup. ### 3.7.0 (2021-05-12) #### New Features diff --git a/sdk/cosmos/azure-spring-data-cosmos/README.md b/sdk/cosmos/azure-spring-data-cosmos/README.md index fa277db3550c4..b1d467d1dac5d 100644 --- a/sdk/cosmos/azure-spring-data-cosmos/README.md +++ b/sdk/cosmos/azure-spring-data-cosmos/README.md @@ -68,7 +68,7 @@ If you are using Maven, add the following dependency. com.azure azure-spring-data-cosmos - 3.7.0 + 3.8.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/cosmos/azure-spring-data-cosmos/pom.xml b/sdk/cosmos/azure-spring-data-cosmos/pom.xml index b2543d30c355e..762344706308e 100644 --- a/sdk/cosmos/azure-spring-data-cosmos/pom.xml +++ b/sdk/cosmos/azure-spring-data-cosmos/pom.xml @@ -12,7 +12,7 @@ com.azure azure-spring-data-cosmos - 3.8.0-beta.1 + 3.8.0 jar Spring Data for Azure Cosmos DB SQL API Spring Data for Azure Cosmos DB SQL API @@ -75,7 +75,7 @@ com.azure azure-cosmos - 4.16.0-beta.2 + 4.16.0 com.fasterxml.jackson.module diff --git a/sdk/cosmos/pom.xml b/sdk/cosmos/pom.xml index dfa0b11fba354..af3da84deebcc 100644 --- a/sdk/cosmos/pom.xml +++ b/sdk/cosmos/pom.xml @@ -20,7 +20,7 @@ com.azure azure-cosmos - 4.16.0-beta.2 + 4.16.0 diff --git a/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-cosmos-multi-database-multi-account/pom.xml b/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-cosmos-multi-database-multi-account/pom.xml index 1289395d61b00..90f896620290f 100644 --- a/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-cosmos-multi-database-multi-account/pom.xml +++ b/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-cosmos-multi-database-multi-account/pom.xml @@ -37,7 +37,7 @@ com.azure azure-spring-data-cosmos - 3.8.0-beta.1 + 3.8.0 diff --git a/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-cosmos-multi-database-single-account/pom.xml b/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-cosmos-multi-database-single-account/pom.xml index 6aa7c4cfc68da..54bdd465a7df4 100644 --- a/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-cosmos-multi-database-single-account/pom.xml +++ b/sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-cosmos-multi-database-single-account/pom.xml @@ -32,7 +32,7 @@ com.azure azure-spring-data-cosmos - 3.8.0-beta.1 + 3.8.0