From 8be885f45d75f7d18cb35d099c5e04ebd6ada3d6 Mon Sep 17 00:00:00 2001 From: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com> Date: Wed, 28 Oct 2020 16:26:36 -0700 Subject: [PATCH] Prepare Azure Core for November 2020 Release (#16924) * Prepare Azure Core for November 2020 Release * Fix linting issue * Revert updates to release azure-core-test and other Core libraries with dependencies on it --- .../src/main/resources/revapi/revapi.json | 5 +++++ eng/jacoco-test-coverage/pom.xml | 8 ++++---- eng/versioning/version_client.txt | 10 +++++----- sdk/core/azure-core-amqp/pom.xml | 2 +- sdk/core/azure-core-experimental/CHANGELOG.md | 11 +++++++++++ sdk/core/azure-core-experimental/README.md | 2 +- sdk/core/azure-core-experimental/pom.xml | 4 ++-- sdk/core/azure-core-http-jdk-httpclient/pom.xml | 4 ++-- sdk/core/azure-core-http-netty/CHANGELOG.md | 3 +++ sdk/core/azure-core-http-netty/pom.xml | 4 ++-- sdk/core/azure-core-http-okhttp/CHANGELOG.md | 3 +++ sdk/core/azure-core-http-okhttp/pom.xml | 4 ++-- .../azure-core-serializer-avro-apache/CHANGELOG.md | 5 ++++- sdk/core/azure-core-serializer-avro-apache/README.md | 2 +- sdk/core/azure-core-serializer-avro-apache/pom.xml | 4 ++-- sdk/core/azure-core-serializer-avro-jackson/pom.xml | 4 ++-- .../azure-core-serializer-json-gson/CHANGELOG.md | 5 ++++- sdk/core/azure-core-serializer-json-gson/README.md | 2 +- sdk/core/azure-core-serializer-json-gson/pom.xml | 4 ++-- .../azure-core-serializer-json-jackson/CHANGELOG.md | 5 ++++- .../azure-core-serializer-json-jackson/README.md | 2 +- sdk/core/azure-core-serializer-json-jackson/pom.xml | 4 ++-- sdk/core/azure-core-test/CHANGELOG.md | 3 +++ sdk/core/azure-core-test/pom.xml | 2 +- sdk/core/azure-core-tracing-opentelemetry/pom.xml | 2 +- sdk/core/azure-core/CHANGELOG.md | 12 +++++++++++- sdk/core/azure-core/README.md | 2 +- sdk/core/azure-core/pom.xml | 2 +- sdk/e2e/pom.xml | 2 +- sdk/identity/azure-identity/pom.xml | 2 +- 30 files changed, 84 insertions(+), 40 deletions(-) diff --git a/eng/code-quality-reports/src/main/resources/revapi/revapi.json b/eng/code-quality-reports/src/main/resources/revapi/revapi.json index c5ead03aa9776..c9a824db4bb55 100644 --- a/eng/code-quality-reports/src/main/resources/revapi/revapi.json +++ b/eng/code-quality-reports/src/main/resources/revapi/revapi.json @@ -3,6 +3,11 @@ "extension": "revapi.java", "configuration": { "filter": { + "classes": { + "exclude": [ + "com.azure.core.util.Configuration" + ] + }, "packages": { "regex": true, "exclude": [ diff --git a/eng/jacoco-test-coverage/pom.xml b/eng/jacoco-test-coverage/pom.xml index ae17b2c167939..5774c19ebc26a 100644 --- a/eng/jacoco-test-coverage/pom.xml +++ b/eng/jacoco-test-coverage/pom.xml @@ -79,7 +79,7 @@ com.azure azure-core - 1.10.0-beta.1 + 1.10.0 com.azure @@ -94,7 +94,7 @@ com.azure azure-core-experimental - 1.0.0-beta.7 + 1.0.0-beta.8 com.azure @@ -124,12 +124,12 @@ com.azure azure-core-serializer-json-gson - 1.1.0-beta.1 + 1.0.3 com.azure azure-core-serializer-json-jackson - 1.1.0-beta.1 + 1.1.0 com.azure diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt index 124c954b0d11c..cc9795dfcf351 100644 --- a/eng/versioning/version_client.txt +++ b/eng/versioning/version_client.txt @@ -12,18 +12,18 @@ com.azure:azure-communication-chat;1.0.0-beta.2;1.0.0-beta.3 com.azure:azure-communication-common;1.0.0-beta.2;1.0.0-beta.3 com.azure:azure-communication-administration;1.0.0-beta.2;1.0.0-beta.3 com.azure:azure-communication-sms;1.0.0-beta.2;1.0.0-beta.3 -com.azure:azure-core;1.9.0;1.10.0-beta.1 +com.azure:azure-core;1.9.0;1.10.0 com.azure:azure-core-amqp;1.6.0;1.7.0-beta.1 com.azure:azure-core-amqp-experimental;1.0.0-beta.1;1.0.0-beta.1 -com.azure:azure-core-experimental;1.0.0-beta.6;1.0.0-beta.7 +com.azure:azure-core-experimental;1.0.0-beta.7;1.0.0-beta.8 com.azure:azure-core-http-jdk-httpclient;1.0.0-beta.1;1.0.0-beta.1 com.azure:azure-core-http-netty;1.6.2;1.7.0-beta.1 com.azure:azure-core-http-okhttp;1.3.2;1.4.0-beta.1 com.azure:azure-core-management;1.0.0;1.1.0-beta.1 com.azure:azure-core-serializer-avro-apache;1.0.0-beta.4;1.0.0-beta.5 com.azure:azure-core-serializer-avro-jackson;1.0.0-beta.1;1.0.0-beta.2 -com.azure:azure-core-serializer-json-gson;1.0.2;1.1.0-beta.1 -com.azure:azure-core-serializer-json-jackson;1.0.2;1.1.0-beta.1 +com.azure:azure-core-serializer-json-gson;1.0.2;1.0.3 +com.azure:azure-core-serializer-json-jackson;1.0.2;1.1.0 com.azure:azure-core-test;1.5.0;1.6.0-beta.1 com.azure:azure-core-tracing-opentelemetry;1.0.0-beta.6;1.0.0-beta.7 com.azure:azure-cosmos;4.8.0;4.9.0-beta.1 @@ -143,7 +143,7 @@ com.azure.resourcemanager:azure-resourcemanager-test;2.0.0-beta.1;2.0.0-beta.1 # unreleased_:;dependency-version # note: The unreleased dependencies will not be manipulated with the automatic PR creation code. unreleased_com.azure:azure-core-amqp;1.7.0-beta.1 -unreleased_com.azure:azure-core;1.10.0-beta.1 +unreleased_com.azure:azure-core;1.10.0 unreleased_com.azure:azure-identity;1.2.0-beta.2 unreleased_com.azure:azure-messaging-servicebus;7.0.0-beta.7 unreleased_com.azure:azure-messaging-eventhubs;5.3.0 diff --git a/sdk/core/azure-core-amqp/pom.xml b/sdk/core/azure-core-amqp/pom.xml index ac5a09ac9848f..1236049c26c5e 100644 --- a/sdk/core/azure-core-amqp/pom.xml +++ b/sdk/core/azure-core-amqp/pom.xml @@ -58,7 +58,7 @@ com.azure azure-core - 1.10.0-beta.1 + 1.10.0 com.microsoft.azure diff --git a/sdk/core/azure-core-experimental/CHANGELOG.md b/sdk/core/azure-core-experimental/CHANGELOG.md index 9ed249c7810ff..9f130d48082f1 100644 --- a/sdk/core/azure-core-experimental/CHANGELOG.md +++ b/sdk/core/azure-core-experimental/CHANGELOG.md @@ -1,5 +1,16 @@ # Release History +## 1.0.0-beta.8 (2020-10-28) + +### New Features + +- Added `Object` based APIs to `BinaryData` that use a default `JsonSerializer`. + +### Breaking Changes + +- Moved `JsonPatchDocument` into `azure-core`. +- Removed `BinaryData.fromString(String, Charset)`. + ## 1.0.0-beta.7 (2020-10-08) - Added API `fromObject()` in `BinaryData` which uses `JsonSerializer` present in the classpath. diff --git a/sdk/core/azure-core-experimental/README.md b/sdk/core/azure-core-experimental/README.md index cef08ab741f97..7bdd8338359f6 100644 --- a/sdk/core/azure-core-experimental/README.md +++ b/sdk/core/azure-core-experimental/README.md @@ -17,7 +17,7 @@ Azure Core Experimental contains types that are being evaluated and might eventu com.azure azure-core-experimental - 1.0.0-beta.7 + 1.0.0-beta.8 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/core/azure-core-experimental/pom.xml b/sdk/core/azure-core-experimental/pom.xml index 1c41eda86499b..8e0f557cf0f26 100644 --- a/sdk/core/azure-core-experimental/pom.xml +++ b/sdk/core/azure-core-experimental/pom.xml @@ -15,7 +15,7 @@ com.azure azure-core-experimental jar - 1.0.0-beta.7 + 1.0.0-beta.8 Microsoft Azure Java Core Experimental Library This package contains experimental core types for Azure Java clients. @@ -58,7 +58,7 @@ com.azure azure-core - 1.10.0-beta.1 + 1.10.0 diff --git a/sdk/core/azure-core-http-jdk-httpclient/pom.xml b/sdk/core/azure-core-http-jdk-httpclient/pom.xml index 347fcd39c1b7d..e2ed83074d8b0 100644 --- a/sdk/core/azure-core-http-jdk-httpclient/pom.xml +++ b/sdk/core/azure-core-http-jdk-httpclient/pom.xml @@ -62,14 +62,14 @@ com.azure azure-core - 1.10.0-beta.1 + 1.10.0 com.azure azure-core - 1.10.0-beta.1 + 1.10.0 test-jar test diff --git a/sdk/core/azure-core-http-netty/CHANGELOG.md b/sdk/core/azure-core-http-netty/CHANGELOG.md index a94fd086494bb..7591ee2d83590 100644 --- a/sdk/core/azure-core-http-netty/CHANGELOG.md +++ b/sdk/core/azure-core-http-netty/CHANGELOG.md @@ -2,6 +2,9 @@ ## 1.7.0-beta.1 (Unreleased) +### Dependency updates + +- Updated `azure-core` to `1.10.0`. ## 1.6.2 (2020-10-01) diff --git a/sdk/core/azure-core-http-netty/pom.xml b/sdk/core/azure-core-http-netty/pom.xml index 9f592b8b81711..6a5592cc81066 100644 --- a/sdk/core/azure-core-http-netty/pom.xml +++ b/sdk/core/azure-core-http-netty/pom.xml @@ -60,7 +60,7 @@ com.azure azure-core - 1.10.0-beta.1 + 1.10.0 @@ -117,7 +117,7 @@ com.azure azure-core - 1.10.0-beta.1 + 1.10.0 test-jar test diff --git a/sdk/core/azure-core-http-okhttp/CHANGELOG.md b/sdk/core/azure-core-http-okhttp/CHANGELOG.md index 0e0dfee2ce2ce..5ece50fd59e6a 100644 --- a/sdk/core/azure-core-http-okhttp/CHANGELOG.md +++ b/sdk/core/azure-core-http-okhttp/CHANGELOG.md @@ -2,6 +2,9 @@ ## 1.4.0-beta.1 (Unreleased) +### Dependency updates + +- Updated `azure-core` to `1.10.0`. ## 1.3.2 (2020-10-01) diff --git a/sdk/core/azure-core-http-okhttp/pom.xml b/sdk/core/azure-core-http-okhttp/pom.xml index a31df22772976..d027d5ab8afff 100644 --- a/sdk/core/azure-core-http-okhttp/pom.xml +++ b/sdk/core/azure-core-http-okhttp/pom.xml @@ -60,7 +60,7 @@ com.azure azure-core - 1.10.0-beta.1 + 1.10.0 @@ -73,7 +73,7 @@ com.azure azure-core - 1.10.0-beta.1 + 1.10.0 test-jar test diff --git a/sdk/core/azure-core-serializer-avro-apache/CHANGELOG.md b/sdk/core/azure-core-serializer-avro-apache/CHANGELOG.md index f703eb0adc9e8..b77b1449cc510 100644 --- a/sdk/core/azure-core-serializer-avro-apache/CHANGELOG.md +++ b/sdk/core/azure-core-serializer-avro-apache/CHANGELOG.md @@ -1,7 +1,10 @@ # Release History -## 1.0.0-beta.5 (Unreleased) +## 1.0.0-beta.5 (2020-10-28) +### Dependency updates + +- Updated `azure-core` to `1.10.0`. ## 1.0.0-beta.4 (2020-10-01) diff --git a/sdk/core/azure-core-serializer-avro-apache/README.md b/sdk/core/azure-core-serializer-avro-apache/README.md index 433b71a0d6396..2c87682ff451d 100644 --- a/sdk/core/azure-core-serializer-avro-apache/README.md +++ b/sdk/core/azure-core-serializer-avro-apache/README.md @@ -15,7 +15,7 @@ Azure Core Apache Avro Serializer is a plugin for the `azure-core` `AvroSerializ com.azure azure-core-serializer-avro-apache - 1.0.0-beta.4 + 1.0.0-beta.5 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/core/azure-core-serializer-avro-apache/pom.xml b/sdk/core/azure-core-serializer-avro-apache/pom.xml index 88cd0640be8eb..4c0d990d50f1c 100644 --- a/sdk/core/azure-core-serializer-avro-apache/pom.xml +++ b/sdk/core/azure-core-serializer-avro-apache/pom.xml @@ -58,12 +58,12 @@ com.azure azure-core - 1.10.0-beta.1 + 1.10.0 com.azure azure-core-experimental - 1.0.0-beta.7 + 1.0.0-beta.8 diff --git a/sdk/core/azure-core-serializer-avro-jackson/pom.xml b/sdk/core/azure-core-serializer-avro-jackson/pom.xml index 38dd0cbb40687..acae5c278d4c9 100644 --- a/sdk/core/azure-core-serializer-avro-jackson/pom.xml +++ b/sdk/core/azure-core-serializer-avro-jackson/pom.xml @@ -58,12 +58,12 @@ com.azure azure-core - 1.10.0-beta.1 + 1.10.0 com.azure azure-core-experimental - 1.0.0-beta.7 + 1.0.0-beta.8 diff --git a/sdk/core/azure-core-serializer-json-gson/CHANGELOG.md b/sdk/core/azure-core-serializer-json-gson/CHANGELOG.md index bf2a22b7c75cd..0fe322ac2ffc0 100644 --- a/sdk/core/azure-core-serializer-json-gson/CHANGELOG.md +++ b/sdk/core/azure-core-serializer-json-gson/CHANGELOG.md @@ -1,7 +1,10 @@ # Release History -## 1.1.0-beta.1 (Unreleased) +## 1.0.3 (2020-10-28) +### Dependency updates + +- Updated `azure-core` to `1.10.0`. ## 1.0.2 (2020-10-01) diff --git a/sdk/core/azure-core-serializer-json-gson/README.md b/sdk/core/azure-core-serializer-json-gson/README.md index b96ce10bfecbe..4d4a8c35c600e 100644 --- a/sdk/core/azure-core-serializer-json-gson/README.md +++ b/sdk/core/azure-core-serializer-json-gson/README.md @@ -15,7 +15,7 @@ Azure Core Gson JSON Serializer is a plugin for the `azure-core` `JsonSerializer com.azure azure-core-serializer-json-gson - 1.0.2 + 1.0.3 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/core/azure-core-serializer-json-gson/pom.xml b/sdk/core/azure-core-serializer-json-gson/pom.xml index db36f2937520a..5e6bc1c08f25c 100644 --- a/sdk/core/azure-core-serializer-json-gson/pom.xml +++ b/sdk/core/azure-core-serializer-json-gson/pom.xml @@ -15,7 +15,7 @@ com.azure azure-core-serializer-json-gson jar - 1.1.0-beta.1 + 1.0.3 Microsoft Azure Gson JSON Serializer Library This package contains the Gson JSON serializer client plugin for azure-core. @@ -58,7 +58,7 @@ com.azure azure-core - 1.10.0-beta.1 + 1.10.0 diff --git a/sdk/core/azure-core-serializer-json-jackson/CHANGELOG.md b/sdk/core/azure-core-serializer-json-jackson/CHANGELOG.md index 31ab0d01d805d..87a8766b929ab 100644 --- a/sdk/core/azure-core-serializer-json-jackson/CHANGELOG.md +++ b/sdk/core/azure-core-serializer-json-jackson/CHANGELOG.md @@ -1,7 +1,10 @@ # Release History -## 1.1.0-beta.1 (Unreleased) +## 1.1.0 (2020-10-28) +### Breaking Changes + +- Changed default `ObjectMapper` configuration used by `JacksonJsonSerializerBuilder`. ## 1.0.2 (2020-10-01) diff --git a/sdk/core/azure-core-serializer-json-jackson/README.md b/sdk/core/azure-core-serializer-json-jackson/README.md index b713dc79aa655..6ed54ca1022ab 100644 --- a/sdk/core/azure-core-serializer-json-jackson/README.md +++ b/sdk/core/azure-core-serializer-json-jackson/README.md @@ -15,7 +15,7 @@ Azure Core Jackson JSON Serializer is a plugin for the `azure-core` `JsonSeriali com.azure azure-core-serializer-json-jackson - 1.0.2 + 1.1.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/core/azure-core-serializer-json-jackson/pom.xml b/sdk/core/azure-core-serializer-json-jackson/pom.xml index 7a312cee73d06..64a1169ca24cb 100644 --- a/sdk/core/azure-core-serializer-json-jackson/pom.xml +++ b/sdk/core/azure-core-serializer-json-jackson/pom.xml @@ -15,7 +15,7 @@ com.azure azure-core-serializer-json-jackson jar - 1.1.0-beta.1 + 1.1.0 Microsoft Azure Jackson JSON Serializer Library This package contains the Jackson JSON serializer client plugin for azure-core. @@ -58,7 +58,7 @@ com.azure azure-core - 1.10.0-beta.1 + 1.10.0 diff --git a/sdk/core/azure-core-test/CHANGELOG.md b/sdk/core/azure-core-test/CHANGELOG.md index 0e39a6e2c8de6..759860839376d 100644 --- a/sdk/core/azure-core-test/CHANGELOG.md +++ b/sdk/core/azure-core-test/CHANGELOG.md @@ -2,6 +2,9 @@ ## 1.6.0-beta.1 (Unreleased) +### Dependency updates + +- Updated `azure-core` to `1.10.0`. ## 1.5.0 (2020-10-01) diff --git a/sdk/core/azure-core-test/pom.xml b/sdk/core/azure-core-test/pom.xml index 6b55952203be8..7b1f4f0c7fa04 100644 --- a/sdk/core/azure-core-test/pom.xml +++ b/sdk/core/azure-core-test/pom.xml @@ -37,7 +37,7 @@ com.azure azure-core - 1.10.0-beta.1 + 1.10.0 diff --git a/sdk/core/azure-core-tracing-opentelemetry/pom.xml b/sdk/core/azure-core-tracing-opentelemetry/pom.xml index b3673708110af..8d2e08835229b 100644 --- a/sdk/core/azure-core-tracing-opentelemetry/pom.xml +++ b/sdk/core/azure-core-tracing-opentelemetry/pom.xml @@ -40,7 +40,7 @@ com.azure azure-core - 1.10.0-beta.1 + 1.10.0 io.grpc diff --git a/sdk/core/azure-core/CHANGELOG.md b/sdk/core/azure-core/CHANGELOG.md index ea52485c20967..6b9c6b26fcb91 100644 --- a/sdk/core/azure-core/CHANGELOG.md +++ b/sdk/core/azure-core/CHANGELOG.md @@ -1,7 +1,17 @@ # Release History -## 1.10.0-beta.1 (Unreleased) +## 1.10.0 (2020-10-28) +### New Features + +- Added `Option` to represent the states of instantiated, null, and non-null for the wrapped value. +- Added `JsonPatchDocument` to support `json-patch` functionality. +- Added new Identity `Configuration` properties. + +### Bug Fixes + +- Modified `ContinuablePagedFlux` implementation to prevent `OutOfMemoryError` when retrieving many pages. [#12453](https://github.com/Azure/azure-sdk-for-java/issues/12453) +- Fixed a bug where request retrying didn't consume the network response potentially leading to resource leaking. ## 1.9.0 (2020-10-01) diff --git a/sdk/core/azure-core/README.md b/sdk/core/azure-core/README.md index 0ce91686d7de5..4060ffc32de71 100644 --- a/sdk/core/azure-core/README.md +++ b/sdk/core/azure-core/README.md @@ -27,7 +27,7 @@ tool when you depend on client libraries using it. com.azure azure-core - 1.9.0 + 1.10.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/core/azure-core/pom.xml b/sdk/core/azure-core/pom.xml index aa4f2114f44bc..e9b374603857c 100644 --- a/sdk/core/azure-core/pom.xml +++ b/sdk/core/azure-core/pom.xml @@ -15,7 +15,7 @@ com.azure azure-core jar - 1.10.0-beta.1 + 1.10.0 Microsoft Azure Java Core Library This package contains core types for Azure Java clients. diff --git a/sdk/e2e/pom.xml b/sdk/e2e/pom.xml index 990cda6871368..7f50a5f91f4a0 100644 --- a/sdk/e2e/pom.xml +++ b/sdk/e2e/pom.xml @@ -23,7 +23,7 @@ com.azure azure-core - 1.10.0-beta.1 + 1.10.0 com.azure diff --git a/sdk/identity/azure-identity/pom.xml b/sdk/identity/azure-identity/pom.xml index c6a560a312d68..6c332a487dd5e 100644 --- a/sdk/identity/azure-identity/pom.xml +++ b/sdk/identity/azure-identity/pom.xml @@ -27,7 +27,7 @@ com.azure azure-core - 1.10.0-beta.1 + 1.10.0 com.azure