Skip to content

Commit

Permalink
Readme for release 1.41.0 (#1383)
Browse files Browse the repository at this point in the history
  • Loading branch information
weidongxu-microsoft committed Mar 30, 2021
1 parent 2afe156 commit af50c9a
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 8 deletions.
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ New Management libraries can be identified by namespaces that start with `azure-

# Azure Management Libraries for Java

This README is based on the released stable version (1.40.0). If you are looking for other releases, see [More Information](#more-information).
This README is based on the released stable version (1.41.0). If you are looking for other releases, see [More Information](#more-information).

The Azure Management Libraries for Java is a higher-level, object-oriented API for *managing* Azure resources, that is optimized for ease of use, succinctness and consistency.

Expand All @@ -32,7 +32,7 @@ If you are looking for Java client libraries for *consuming* (rather than *manag
* [More information](#more-information)

## Feature Availability and Road Map
:triangular_flag_on_post: *as of Version 1.40.0*
:triangular_flag_on_post: *as of Version 1.41.0*

<table>
<tr>
Expand Down Expand Up @@ -624,13 +624,13 @@ SqlDatabase database = sqlServer.databases().define("myNewDatabase")

### Use single library

For instance, if you only need azure-mgmt-appservice library from 1.40.0, and wish to limit the dependencies, using following dependency instead in POM.
For instance, if you only need azure-mgmt-appservice library from 1.41.0, and wish to limit the dependencies, using following dependency instead in POM.

```xml
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-mgmt-appservice</artifactId>
<version>1.40.0</version>
<version>1.41.0</version>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
Expand Down Expand Up @@ -661,13 +661,13 @@ WebApp webApp = appServiceClient.webApps()

### Latest stable release

If you are using released builds from 1.40.0, add the following to your POM file:
If you are using released builds from 1.41.0, add the following to your POM file:

```xml
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure</artifactId>
<version>1.40.0</version>
<version>1.41.0</version>
</dependency>
```

Expand All @@ -694,7 +694,7 @@ If you are using snapshots builds for this repo, add the following repository an
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure</artifactId>
<version>1.40.1-SNAPSHOT</version>
<version>1.41.1-SNAPSHOT</version>
</dependency>
```

Expand All @@ -706,7 +706,7 @@ If you are using snapshots builds for this repo, add the following repository an

## Upgrading from older versions

If you are migrating your code from 1.39.1 to 1.40.0, you can use these release notes for [preparing your code for 1.40.0 from 1.39.1](./notes/prepare-for-1.40.0.md).
If you are migrating your code from 1.40.0 to 1.41.0, you can use these release notes for [preparing your code for 1.41.0 from 1.40.0](./notes/prepare-for-1.41.0.md).

In general, Azure Libraries for Java follow [semantic versioning](http://semver.org/), so user code should continue working in a compatible fashion between minor versions of the same major version release train, with the following caveats:

Expand Down Expand Up @@ -739,6 +739,7 @@ If you would like to become an active contributor to this project please follow

| Version | SHA1 | Remarks |
|-------------------|-------------------------------------------------------------------------------------------|-------------------------------------------------------|
| 1.41.0 | [1.41.0](https://github.com/Azure/azure-libraries-for-java/tree/v1.41.0) | Tagged release for 1.41.0 version of Azure management libraries |
| 1.40.0 | [1.40.0](https://github.com/Azure/azure-libraries-for-java/tree/v1.40.0) | Tagged release for 1.40.0 version of Azure management libraries |
| 1.39.1 | [1.39.1](https://github.com/Azure/azure-libraries-for-java/tree/v1.39.1) | Tagged release for 1.39.1 version of Azure management libraries |
| 1.39.0 | [1.39.0](https://github.com/Azure/azure-libraries-for-java/tree/v1.39.0) | Tagged release for 1.39.0 version of Azure management libraries |
Expand Down
45 changes: 45 additions & 0 deletions notes/prepare-for-1.41.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Prepare for Azure Management Libraries for Java 1.41.0 #

Steps to migrate code that uses Azure Management Libraries for Java from 1.40 to 1.41 ...

> If this note missed any breaking changes, please open a pull request.
V1.41 is backwards compatible with V1.40 in the APIs intended for public use that reached the general availability (stable) stage in V1.x.

Some breaking changes were introduced in APIs because update of the API service spec.


## Breaking changes

The following methods and/or types have been changed in V1.41 compared to the previous release (V1.40):

<table>
<tr>
<th align=left>Area/Model</th>
<th align=left>In V1.40</th>
<th align=left>In V1.41</th>
<th align=left>Remarks</th>
<th align=left>Ref</th>
</tr>
<tr>
<td><code>com.microsoft.azure.management.containerinstance.ContainerGroups</code></td>
<td><code>.listOperations()</code></td>
<td>Return type changed to <code>PagedList&lt;Operation&gt;</code></td>
<td></td>
<td><a href="https://github.com/Azure/azure-libraries-for-java/pull/1381">#1381</a></td>
</tr>
<tr>
<td><code>com.microsoft.azure.management.containerinstance.ContainerGroups</code></td>
<td><code>.listCachedImages()</code></td>
<td>Return type changed to <code>PagedList&lt;CachedImages&gt;</code></td>
<td></td>
<td><a href="https://github.com/Azure/azure-libraries-for-java/pull/1381">#1381</a></td>
</tr>
<tr>
<td><code>com.microsoft.azure.management.containerinstance.ContainerGroups</code></td>
<td><code>.listCapabilities()</code></td>
<td>Return type changed to <code>PagedList&lt;Capabilities&gt;</code></td>
<td></td>
<td><a href="https://github.com/Azure/azure-libraries-for-java/pull/1381">#1381</a></td>
</tr>
</table>

0 comments on commit af50c9a

Please sign in to comment.