From 82d3cae3c236f4e49d9c55ff8a3f36922eb32df4 Mon Sep 17 00:00:00 2001 From: Annie Liang Date: Tue, 14 Jul 2020 10:46:53 -0700 Subject: [PATCH 1/5] 4.2.0 release --- eng/jacoco-test-coverage/pom.xml | 2 +- eng/versioning/version_client.txt | 2 +- sdk/cosmos/azure-cosmos-benchmark/pom.xml | 2 +- sdk/cosmos/azure-cosmos/CHANGELOG.md | 13 +++++++++++-- sdk/cosmos/azure-cosmos/README.md | 2 +- sdk/cosmos/azure-cosmos/pom.xml | 2 +- 6 files changed, 16 insertions(+), 7 deletions(-) diff --git a/eng/jacoco-test-coverage/pom.xml b/eng/jacoco-test-coverage/pom.xml index c6cf18e8b4a7..b2c8e843b440 100644 --- a/eng/jacoco-test-coverage/pom.xml +++ b/eng/jacoco-test-coverage/pom.xml @@ -109,7 +109,7 @@ com.azure azure-cosmos - 4.2.0-beta.1 + 4.2.0 com.azure diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt index 8edfb99d62d6..322a6bc727b3 100644 --- a/eng/versioning/version_client.txt +++ b/eng/versioning/version_client.txt @@ -19,7 +19,7 @@ com.azure:azure-core-serializer-json-gson;1.0.0-beta.1;1.0.0-beta.2 com.azure:azure-core-serializer-json-jackson;1.0.0-beta.1;1.0.0-beta.2 com.azure:azure-core-test;1.3.1;1.4.0-beta.1 com.azure:azure-core-tracing-opentelemetry;1.0.0-beta.5;1.0.0-beta.6 -com.azure:azure-cosmos;4.1.0;4.2.0-beta.1 +com.azure:azure-cosmos;4.1.0;4.2.0 com.azure:azure-cosmos-benchmark;4.0.1-beta.1;4.0.1-beta.1 com.azure:azure-data-appconfiguration;1.1.3;1.2.0-beta.1 com.azure:azure-data-schemaregistry;1.0.0-beta.2;1.0.0-beta.3 diff --git a/sdk/cosmos/azure-cosmos-benchmark/pom.xml b/sdk/cosmos/azure-cosmos-benchmark/pom.xml index 60b596f4909a..607609ca2fcc 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.2.0-beta.1 + 4.2.0 diff --git a/sdk/cosmos/azure-cosmos/CHANGELOG.md b/sdk/cosmos/azure-cosmos/CHANGELOG.md index b0da674c5186..406b37e3cba5 100644 --- a/sdk/cosmos/azure-cosmos/CHANGELOG.md +++ b/sdk/cosmos/azure-cosmos/CHANGELOG.md @@ -1,7 +1,16 @@ # Release History -## 4.2.0-beta.1 (Unreleased) - +## 4.2.0 (2020-07-14) +### New Features +* Added script logging enabled API to `CosmosStoredProcedureRequestOptions`. +* Updated `DirectConnectionConfig` default `idleEndpointTimeout` to 1h and default `connectTimeout` to 5s. +### Key Bug Fixes +* Fixed issue where GatewayConnectionConfig was overriding DirectConnectionConfig `idleConnectionTimeout`. +* Fixed `responseContinuationTokenLimitInKb` get and set APIs in `CosmosQueryRequestOptions`. +* Fixed issue in query and change feed when recreating the collection with same name. +* Fixed issue with top query throwing ClassCastException. +* Fixed issue with order by query throwing NullPointerException. +* Fixed `Operator called default onErrorDropped` when stream got cancelled. ## 4.1.0 (2020-06-25) ### New Features diff --git a/sdk/cosmos/azure-cosmos/README.md b/sdk/cosmos/azure-cosmos/README.md index 14339f753b03..f36b2d212394 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.1.0 + 4.2.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/cosmos/azure-cosmos/pom.xml b/sdk/cosmos/azure-cosmos/pom.xml index 049bb9b7fab0..d3d34b176989 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.2.0-beta.1 + 4.2.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 From cd61de54b0cbc4104f31a97a23c23e6164d7ca0c Mon Sep 17 00:00:00 2001 From: Annie Liang Date: Tue, 14 Jul 2020 10:49:32 -0700 Subject: [PATCH 2/5] update --- sdk/cosmos/azure-cosmos/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/cosmos/azure-cosmos/CHANGELOG.md b/sdk/cosmos/azure-cosmos/CHANGELOG.md index 406b37e3cba5..3f3cf921e29b 100644 --- a/sdk/cosmos/azure-cosmos/CHANGELOG.md +++ b/sdk/cosmos/azure-cosmos/CHANGELOG.md @@ -5,7 +5,7 @@ * Added script logging enabled API to `CosmosStoredProcedureRequestOptions`. * Updated `DirectConnectionConfig` default `idleEndpointTimeout` to 1h and default `connectTimeout` to 5s. ### Key Bug Fixes -* Fixed issue where GatewayConnectionConfig was overriding DirectConnectionConfig `idleConnectionTimeout`. +* Fixed issue where `GatewayConnectionConfig` `idleConnectionTimeout` was overriding `DirectConnectionConfig` `idleConnectionTimeout`. * Fixed `responseContinuationTokenLimitInKb` get and set APIs in `CosmosQueryRequestOptions`. * Fixed issue in query and change feed when recreating the collection with same name. * Fixed issue with top query throwing ClassCastException. From a11ed8dbfb62468c18102f78aa0952cd83099e70 Mon Sep 17 00:00:00 2001 From: Annie Liang Date: Tue, 14 Jul 2020 11:44:09 -0700 Subject: [PATCH 3/5] update change log --- sdk/cosmos/azure-cosmos/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/cosmos/azure-cosmos/CHANGELOG.md b/sdk/cosmos/azure-cosmos/CHANGELOG.md index 3f3cf921e29b..b7fa08e6b55d 100644 --- a/sdk/cosmos/azure-cosmos/CHANGELOG.md +++ b/sdk/cosmos/azure-cosmos/CHANGELOG.md @@ -10,7 +10,7 @@ * Fixed issue in query and change feed when recreating the collection with same name. * Fixed issue with top query throwing ClassCastException. * Fixed issue with order by query throwing NullPointerException. -* Fixed `Operator called default onErrorDropped` when stream got cancelled. +* Fixed issue in handling of pending requests in direct mode causing `Operator called default onErrorDropped` being called. ## 4.1.0 (2020-06-25) ### New Features From 4d2d225637362d56153de6e6a9d54216caa8938d Mon Sep 17 00:00:00 2001 From: Annie Liang Date: Tue, 14 Jul 2020 12:13:19 -0700 Subject: [PATCH 4/5] update change log --- sdk/cosmos/azure-cosmos/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/cosmos/azure-cosmos/CHANGELOG.md b/sdk/cosmos/azure-cosmos/CHANGELOG.md index b7fa08e6b55d..d083eb096f8d 100644 --- a/sdk/cosmos/azure-cosmos/CHANGELOG.md +++ b/sdk/cosmos/azure-cosmos/CHANGELOG.md @@ -10,7 +10,7 @@ * Fixed issue in query and change feed when recreating the collection with same name. * Fixed issue with top query throwing ClassCastException. * Fixed issue with order by query throwing NullPointerException. -* Fixed issue in handling of pending requests in direct mode causing `Operator called default onErrorDropped` being called. +* Fixed issue in handling of cancelled requests in direct mode causing reactor onErrorDropped being called. ## 4.1.0 (2020-06-25) ### New Features From f06069cf0ba6433bef40ff4c9e957f59f16e4943 Mon Sep 17 00:00:00 2001 From: Annie Liang Date: Tue, 14 Jul 2020 12:14:17 -0700 Subject: [PATCH 5/5] style fix --- sdk/cosmos/azure-cosmos/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/cosmos/azure-cosmos/CHANGELOG.md b/sdk/cosmos/azure-cosmos/CHANGELOG.md index d083eb096f8d..10d2aac1d133 100644 --- a/sdk/cosmos/azure-cosmos/CHANGELOG.md +++ b/sdk/cosmos/azure-cosmos/CHANGELOG.md @@ -10,7 +10,7 @@ * Fixed issue in query and change feed when recreating the collection with same name. * Fixed issue with top query throwing ClassCastException. * Fixed issue with order by query throwing NullPointerException. -* Fixed issue in handling of cancelled requests in direct mode causing reactor onErrorDropped being called. +* Fixed issue in handling of cancelled requests in direct mode causing reactor `onErrorDropped` being called. ## 4.1.0 (2020-06-25) ### New Features