Skip to content

Commit

Permalink
Prepare Azure Core Libraries for April 2021 Release (#20334)
Browse files Browse the repository at this point in the history
Prepare Azure Core Libraries for April 2021 Release
  • Loading branch information
alzimmermsft authored Apr 2, 2021
1 parent eb82cb4 commit 93a8ee2
Show file tree
Hide file tree
Showing 50 changed files with 163 additions and 85 deletions.
15 changes: 15 additions & 0 deletions eng/code-quality-reports/src/main/resources/revapi/revapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,21 @@
"old": "field com.azure.messaging.eventgrid.SystemEventNames.COMMUNICATION_CHAT_PARTICIPANT_ADDED_TO_THREAD",
"new": "field com.azure.messaging.eventgrid.SystemEventNames.COMMUNICATION_CHAT_PARTICIPANT_ADDED_TO_THREAD",
"justification": "Correct the event type defined in swagger file"
},
{
"code": "java.method.added",
"new": "method com.azure.core.http.ProxyOptions com.azure.core.http.ProxyOptions::fromConfiguration(com.azure.core.util.Configuration, boolean)",
"justification": "Method exposed from Azure Core"
},
{
"code": "java.method.defaultMethodAddedToInterface",
"new": "method <T> T com.azure.core.util.serializer.SerializerAdapter::deserialize(byte[], java.lang.reflect.Type, com.azure.core.util.serializer.SerializerEncoding) throws java.io.IOException",
"justification": "Method exposed from Azure Core"
},
{
"code": "java.method.defaultMethodAddedToInterface",
"new": "method byte[] com.azure.core.util.serializer.SerializerAdapter::serializeToBytes(java.lang.Object, com.azure.core.util.serializer.SerializerEncoding) throws java.io.IOException",
"justification": "Method exposed from Azure Core"
}
]
}
Expand Down
12 changes: 6 additions & 6 deletions eng/jacoco-test-coverage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core</artifactId>
<version>1.15.0-beta.1</version> <!-- {x-version-update;com.azure:azure-core;current} -->
<version>1.15.0</version> <!-- {x-version-update;com.azure:azure-core;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
Expand All @@ -119,17 +119,17 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-netty</artifactId>
<version>1.10.0-beta.1</version> <!-- {x-version-update;com.azure:azure-core-http-netty;current} -->
<version>1.9.1</version> <!-- {x-version-update;com.azure:azure-core-http-netty;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-okhttp</artifactId>
<version>1.7.0-beta.1</version> <!-- {x-version-update;com.azure:azure-core-http-okhttp;current} -->
<version>1.6.1</version> <!-- {x-version-update;com.azure:azure-core-http-okhttp;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-management</artifactId>
<version>1.3.0-beta.1</version> <!-- {x-version-update;com.azure:azure-core-management;current} -->
<version>1.2.1</version> <!-- {x-version-update;com.azure:azure-core-management;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
Expand All @@ -139,12 +139,12 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-serializer-json-gson</artifactId>
<version>1.2.0-beta.1</version> <!-- {x-version-update;com.azure:azure-core-serializer-json-gson;current} -->
<version>1.1.1</version> <!-- {x-version-update;com.azure:azure-core-serializer-json-gson;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-serializer-json-jackson</artifactId>
<version>1.3.0-beta.1</version> <!-- {x-version-update;com.azure:azure-core-serializer-json-jackson;current} -->
<version>1.2.2</version> <!-- {x-version-update;com.azure:azure-core-serializer-json-jackson;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
Expand Down
16 changes: 8 additions & 8 deletions eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,19 @@ com.azure:azure-communication-sms;1.0.0-beta.4;1.0.0
com.azure:azure-communication-identity;1.0.0-beta.6;1.0.0
com.azure:azure-communication-phonenumbers;1.0.0-beta.6;1.0.0-beta.7
com.azure:azure-containers-containerregistry;1.0.0.beta.1;1.0.0-beta.1
com.azure:azure-core;1.14.1;1.15.0-beta.1
com.azure:azure-core;1.14.1;1.15.0
com.azure:azure-core-amqp;2.0.3;2.1.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.11;1.0.0-beta.12
com.azure:azure-core-http-jdk-httpclient;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-core-http-netty;1.9.0;1.10.0-beta.1
com.azure:azure-core-http-okhttp;1.6.0;1.7.0-beta.1
com.azure:azure-core-management;1.2.0;1.3.0-beta.1
com.azure:azure-core-http-netty;1.9.0;1.9.1
com.azure:azure-core-http-okhttp;1.6.0;1.6.1
com.azure:azure-core-management;1.2.0;1.2.1
com.azure:azure-core-serializer-avro-apache;1.0.0-beta.8;1.0.0-beta.9
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.1.0;1.2.0-beta.1
com.azure:azure-core-serializer-json-jackson;1.2.1;1.3.0-beta.1
com.azure:azure-core-test;1.6.0;1.7.0-beta.1
com.azure:azure-core-serializer-json-gson;1.1.0;1.1.1
com.azure:azure-core-serializer-json-jackson;1.2.1;1.2.2
com.azure:azure-core-test;1.6.0;1.6.1
com.azure:azure-core-tracing-opentelemetry;1.0.0-beta.8;1.0.0-beta.9
com.azure:azure-cosmos;4.13.1;4.14.0-beta.1
com.azure:azure-cosmos-benchmark;4.0.1-beta.1;4.0.1-beta.1
Expand Down Expand Up @@ -229,7 +229,7 @@ com.azure.resourcemanager:azure-resourcemanager-delegatednetwork;1.0.0-beta.1;1.
# note: The unreleased dependencies will not be manipulated with the automatic PR creation code.
# In the pom, the version update tag after the version should name the unreleased package and the dependency version:
# <!-- {x-version-update;unreleased_com.azure:azure-core;dependency} -->
unreleased_com.azure:azure-core;1.15.0-beta.1
unreleased_com.azure:azure-core;1.15.0
unreleased_com.azure:azure-core-amqp;2.1.0-beta.1
unreleased_com.azure:azure-core-experimental;1.0.0-beta.12

Expand Down
2 changes: 1 addition & 1 deletion sdk/core/azure-core-amqp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core</artifactId>
<version>1.15.0-beta.1</version> <!-- {x-version-update;com.azure:azure-core;current} -->
<version>1.15.0</version> <!-- {x-version-update;com.azure:azure-core;current} -->
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
Expand Down
20 changes: 19 additions & 1 deletion sdk/core/azure-core-experimental/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,25 @@
# Release History

## 1.0.0-beta.12 (Unreleased)
## 1.0.0-beta.12 (2021-04-02)

### New Features

- Added positional coordinate getter to `GeoBoundingBox`.
- Overloaded `toString` for `GeoBoundingBox` and `GeoPosition`.
- Added `getOuterRing` to `GeoPolygon`.
- Added `DynamicRequest` and `DynamicResponse` to enable making REST API calls without a service client.

### Breaking Changes

- Removed `GeoArray` from public API.
- Changed `GeoBoundingBox` constructor to use `double` instead of `Double` when including altitude values.
- Renamed `GeoLine` to `GeoLineString` and `GeoLineCollection` to `GeoLineStringCollection`.
- Changed `getCoordinates` of `GeoLineString` and `GeoLinearRing` to return `List` instead of `GeoArray`.
- Removed `getCoordinates` from `GeoLineStringCollection`, `GeoPointCollection`, `GeoPolygon`, and `GeoPolygonCollection`.

### Dependency Updates

- Upgraded `azure-core` from `1.14.0` to `1.15.0`.

## 1.0.0-beta.11 (2021-03-08)

Expand Down
2 changes: 1 addition & 1 deletion sdk/core/azure-core-experimental/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Azure Core Experimental contains types that are being evaluated and might eventu
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-experimental</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/azure-core-experimental/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core</artifactId>
<version>1.15.0-beta.1</version> <!-- {x-version-update;com.azure:azure-core;current} -->
<version>1.15.0</version> <!-- {x-version-update;com.azure:azure-core;current} -->
</dependency>

<dependency>
Expand Down
8 changes: 4 additions & 4 deletions sdk/core/azure-core-http-jdk-httpclient/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,27 +62,27 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core</artifactId>
<version>1.15.0-beta.1</version> <!-- {x-version-update;com.azure:azure-core;current} -->
<version>1.15.0</version> <!-- {x-version-update;com.azure:azure-core;current} -->
</dependency>

<!-- test dependencies on azure-core, because we want to run tests inherited from this module using JDK 11 HttpClient -->
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core</artifactId>
<version>1.15.0-beta.1</version> <!-- {x-version-update;com.azure:azure-core;current} -->
<version>1.15.0</version> <!-- {x-version-update;com.azure:azure-core;current} -->
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-test</artifactId>
<version>1.7.0-beta.1</version> <!-- {x-version-update;com.azure:azure-core-test;current} -->
<version>1.6.1</version> <!-- {x-version-update;com.azure:azure-core-test;current} -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-test</artifactId>
<version>1.7.0-beta.1</version> <!-- {x-version-update;com.azure:azure-core-test;current} -->
<version>1.6.1</version> <!-- {x-version-update;com.azure:azure-core-test;current} -->
<type>test-jar</type>
<scope>test</scope>
</dependency>
Expand Down
7 changes: 6 additions & 1 deletion sdk/core/azure-core-http-netty/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
# Release History

## 1.10.0-beta.1 (Unreleased)
## 1.9.1 (2020-04-02)

### Bug Fixes

- Fixed a bug where a proxy's address is only resolved during construction of the client, now it is resolved per connection. [#19497](https://github.com/Azure/azure-sdk-for-java/issues/19497)
- Fixed a bug where `Proxy Authentication Required` bubbled back up to a `RetryPolicy` leading to more time taken to
connect to a proxy when authentication information was supplied. [#19415](https://github.com/Azure/azure-sdk-for-java/issues/19415)

### Dependency Updates

- Upgraded `azure-core` from `1.14.0` to `1.15.0`.
- Upgraded Netty from `4.1.59.Final` to `4.1.60.Final`.

## 1.9.0 (2021-03-08)

### Dependency Updates
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/azure-core-http-netty/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Azure Core Netty HTTP client is a plugin for the `azure-core` HTTP client API.
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-netty</artifactId>
<version>1.9.0</version>
<version>1.9.1</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
10 changes: 5 additions & 5 deletions sdk/core/azure-core-http-netty/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<groupId>com.azure</groupId>
<artifactId>azure-core-http-netty</artifactId>
<packaging>jar</packaging>
<version>1.10.0-beta.1</version> <!-- {x-version-update;com.azure:azure-core-http-netty;current} -->
<version>1.9.1</version> <!-- {x-version-update;com.azure:azure-core-http-netty;current} -->

<name>Microsoft Azure Netty HTTP Client Library</name>
<description>This package contains the Netty HTTP client plugin for azure-core.</description>
Expand Down Expand Up @@ -60,7 +60,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core</artifactId>
<version>1.15.0-beta.1</version> <!-- {x-version-update;com.azure:azure-core;current} -->
<version>1.15.0</version> <!-- {x-version-update;com.azure:azure-core;current} -->
</dependency>

<dependency>
Expand Down Expand Up @@ -117,20 +117,20 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core</artifactId>
<version>1.15.0-beta.1</version> <!-- {x-version-update;com.azure:azure-core;current} -->
<version>1.15.0</version> <!-- {x-version-update;com.azure:azure-core;current} -->
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-test</artifactId>
<version>1.7.0-beta.1</version> <!-- {x-version-update;com.azure:azure-core-test;current} -->
<version>1.6.1</version> <!-- {x-version-update;com.azure:azure-core-test;current} -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-test</artifactId>
<version>1.7.0-beta.1</version> <!-- {x-version-update;com.azure:azure-core-test;current} -->
<version>1.6.1</version> <!-- {x-version-update;com.azure:azure-core-test;current} -->
<type>test-jar</type>
<scope>test</scope>
</dependency>
Expand Down
6 changes: 5 additions & 1 deletion sdk/core/azure-core-http-okhttp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# Release History

## 1.7.0-beta.1 (Unreleased)
## 1.6.1 (2021-04-02)

### Bug Fixes

- Fixed a bug where a proxy's address is only resolved during construction of the client, now it is resolved per connection. [#19497](https://github.com/Azure/azure-sdk-for-java/issues/19497)

### Dependency Updates

- Upgraded `azure-core` from `1.14.0` to `1.15.0`.

## 1.6.0 (2021-03-08)

### Dependency Updates
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/azure-core-http-okhttp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Azure Core OkHttp HTTP client is a plugin for the `azure-core` HTTP client API.
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-okhttp</artifactId>
<version>1.6.0</version>
<version>1.6.1</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
10 changes: 5 additions & 5 deletions sdk/core/azure-core-http-okhttp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<groupId>com.azure</groupId>
<artifactId>azure-core-http-okhttp</artifactId>
<packaging>jar</packaging>
<version>1.7.0-beta.1</version> <!-- {x-version-update;com.azure:azure-core-http-okhttp;current} -->
<version>1.6.1</version> <!-- {x-version-update;com.azure:azure-core-http-okhttp;current} -->

<name>Microsoft Azure OkHttp HTTP Client Library</name>
<description>This package contains the OkHttp HTTP client plugin for azure-core.</description>
Expand Down Expand Up @@ -60,7 +60,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core</artifactId>
<version>1.15.0-beta.1</version> <!-- {x-version-update;com.azure:azure-core;current} -->
<version>1.15.0</version> <!-- {x-version-update;com.azure:azure-core;current} -->
</dependency>

<dependency>
Expand All @@ -73,20 +73,20 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core</artifactId>
<version>1.15.0-beta.1</version> <!-- {x-version-update;com.azure:azure-core;current} -->
<version>1.15.0</version> <!-- {x-version-update;com.azure:azure-core;current} -->
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-test</artifactId>
<version>1.7.0-beta.1</version> <!-- {x-version-update;com.azure:azure-core-test;current} -->
<version>1.6.1</version> <!-- {x-version-update;com.azure:azure-core-test;current} -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-test</artifactId>
<version>1.7.0-beta.1</version> <!-- {x-version-update;com.azure:azure-core-test;current} -->
<version>1.6.1</version> <!-- {x-version-update;com.azure:azure-core-test;current} -->
<type>test-jar</type>
<scope>test</scope>
</dependency>
Expand Down
5 changes: 4 additions & 1 deletion sdk/core/azure-core-management/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Release History

## 1.3.0-beta.1 (Unreleased)
## 1.2.1 (2021-04-02)

### Dependency Updates

- Upgraded `azure-core` from `1.14.0` to `1.15.0`.

## 1.2.0 (2021-03-08)

Expand Down
2 changes: 1 addition & 1 deletion sdk/core/azure-core-management/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Azure Core Management library is a collection of classes common to the [Azure Re
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-management</artifactId>
<version>1.2.0</version>
<version>1.2.1</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
6 changes: 3 additions & 3 deletions sdk/core/azure-core-management/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<groupId>com.azure</groupId>
<artifactId>azure-core-management</artifactId>
<version>1.3.0-beta.1</version> <!-- {x-version-update;com.azure:azure-core-management;current} -->
<version>1.2.1</version> <!-- {x-version-update;com.azure:azure-core-management;current} -->
<packaging>jar</packaging>

<name>Microsoft Azure Management Java Core Library</name>
Expand Down Expand Up @@ -59,7 +59,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core</artifactId>
<version>1.15.0-beta.1</version> <!-- {x-version-update;com.azure:azure-core;current} -->
<version>1.15.0</version> <!-- {x-version-update;com.azure:azure-core;current} -->
</dependency>

<dependency>
Expand All @@ -83,7 +83,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-netty</artifactId>
<version>1.10.0-beta.1</version> <!-- {x-version-update;com.azure:azure-core-http-netty;current} -->
<version>1.9.1</version> <!-- {x-version-update;com.azure:azure-core-http-netty;current} -->
<scope>test</scope>
</dependency>

Expand Down
5 changes: 4 additions & 1 deletion sdk/core/azure-core-serializer-avro-apache/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Release History

## 1.0.0-beta.9 (Unreleased)
## 1.0.0-beta.9 (2021-04-02)

### Dependency Updates

- Upgraded `azure-core` from `1.14.0` to `1.15.0`.

## 1.0.0-beta.8 (2021-03-08)

Expand Down
2 changes: 1 addition & 1 deletion sdk/core/azure-core-serializer-avro-apache/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Azure Core Apache Avro Serializer is a plugin for the `azure-core` `AvroSerializ
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-serializer-avro-apache</artifactId>
<version>1.0.0-beta.8</version>
<version>1.0.0-beta.9</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
Loading

0 comments on commit 93a8ee2

Please sign in to comment.