Skip to content

Commit

Permalink
Update Key Vault versions for minor release (August 2020) (#14023)
Browse files Browse the repository at this point in the history
* Bumped versions.

* Updated CHANGELOG and README files.

* Updated KV Keys test dependency on Storage Blob Cryptography that was breaking "from source" build.

* Fixed issue with build pipelines.

* Fixed Java 9+ module exports issue with Keys and Certificates.
  • Loading branch information
vcolin7 authored Aug 12, 2020
1 parent f2e7795 commit d795fda
Show file tree
Hide file tree
Showing 21 changed files with 68 additions and 67 deletions.
6 changes: 3 additions & 3 deletions eng/jacoco-test-coverage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -159,17 +159,17 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-certificates</artifactId>
<version>4.1.0-beta.5</version> <!-- {x-version-update;com.azure:azure-security-keyvault-certificates;current} -->
<version>4.1.0</version> <!-- {x-version-update;com.azure:azure-security-keyvault-certificates;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-keys</artifactId>
<version>4.2.0-beta.6</version> <!-- {x-version-update;com.azure:azure-security-keyvault-keys;current} -->
<version>4.2.0</version> <!-- {x-version-update;com.azure:azure-security-keyvault-keys;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-secrets</artifactId>
<version>4.2.0-beta.5</version> <!-- {x-version-update;com.azure:azure-security-keyvault-secrets;current} -->
<version>4.2.0</version> <!-- {x-version-update;com.azure:azure-security-keyvault-secrets;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
Expand Down
8 changes: 4 additions & 4 deletions eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ com.azure:azure-messaging-eventhubs;5.1.2;5.2.0-beta.1
com.azure:azure-messaging-eventhubs-checkpointstore-blob;1.1.2;1.2.0-beta.2
com.azure:azure-messaging-servicebus;7.0.0-beta.3;7.0.0-beta.4
com.azure:azure-search-documents;11.0.0;11.1.0-beta.1
com.azure:azure-security-keyvault-certificates;4.0.4;4.1.0-beta.5
com.azure:azure-security-keyvault-keys;4.1.4;4.2.0-beta.6
com.azure:azure-security-keyvault-secrets;4.1.4;4.2.0-beta.5
com.azure:azure-security-keyvault-certificates;4.0.5;4.1.0
com.azure:azure-security-keyvault-keys;4.1.5;4.2.0
com.azure:azure-security-keyvault-secrets;4.1.5;4.2.0
com.azure:azure-sdk-template;1.1.0;1.2.0-beta.1
com.azure:azure-spring-data-cosmos-core;3.0.0-beta.1;3.0.0-beta.1
com.azure:azure-spring-data-2-2-cosmos;3.0.0-beta.1;3.0.0-beta.1
Expand Down Expand Up @@ -114,7 +114,7 @@ com.microsoft.azure:spring-data-cosmosdb;3.0.0-beta.1;3.0.0-beta.1
# unreleased_<groupId>:<artifactId>;dependency-version
# note: The unreleased dependencies will not be manipulated with the automatic PR creation code.
unreleased_com.azure:azure-messaging-servicebus;7.0.0-beta.4
unreleased_com.azure:azure-security-keyvault-keys;4.2.0-beta.6
unreleased_com.azure:azure-security-keyvault-keys;4.2.0
unreleased_com.azure:azure-core-serializer-json-jackson;1.0.0-beta.3

# Released Beta dependencies: Copy the entry from above, prepend "beta_", remove the current
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-secrets</artifactId>
<version>4.1.4</version> <!-- {x-version-update;com.azure:azure-security-keyvault-secrets;dependency} -->
<version>4.1.5</version> <!-- {x-version-update;com.azure:azure-security-keyvault-secrets;dependency} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
Expand Down
6 changes: 3 additions & 3 deletions sdk/e2e/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,17 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-keys</artifactId>
<version>4.2.0-beta.6</version> <!-- {x-version-update;com.azure:azure-security-keyvault-keys;current} -->
<version>4.2.0</version> <!-- {x-version-update;com.azure:azure-security-keyvault-keys;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-secrets</artifactId>
<version>4.2.0-beta.5</version> <!-- {x-version-update;com.azure:azure-security-keyvault-secrets;current} -->
<version>4.2.0</version> <!-- {x-version-update;com.azure:azure-security-keyvault-secrets;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-certificates</artifactId>
<version>4.1.0-beta.5</version> <!-- {x-version-update;com.azure:azure-security-keyvault-certificates;current} -->
<version>4.1.0</version> <!-- {x-version-update;com.azure:azure-security-keyvault-certificates;current} -->
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down
23 changes: 13 additions & 10 deletions sdk/keyvault/azure-security-keyvault-certificates/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
# Release History

## 4.1.0-beta.5 (Unreleased)

## 4.1.0 (2020-08-12)
- Added support for `7.1-Preview` service version.
- Added `retryPolicy` setter in `CertificateClientBuilder`.
- Added `recoverableDays` property to `CertificateProperties`.

## 4.1.0-beta.4 (2020-07-08)
- Updated versions for azure-core, azure-identity.
## 4.0.5 (2020-07-08)
- Updated versions for azure-core and azure-identity.

## 4.1.0-beta.3 (2020-06-10)
## 4.0.4 (2020-06-10)
- Updated version for azure-core, azure-identity and external dependencies.

## 4.1.0-beta.2 (2020-04-09)
- Added `retryPolicy` setter in `CertificateClientBuilder`
## 4.0.3 (2020-05-06)
- Update azure-core dependency to version 1.5.0.

## 4.0.2 (2020-04-07)
- Update azure-core dependency to version 1.4.0.

## 4.1.0-beta.1 (2020-03-10)
- Added `recoverableDays` property to `CertificateProperties`.
- Added support for `7.1-Preview` service version
## 4.0.1 (2020-03-25)
- Update azure-core dependency to version 1.3.0.

## 4.0.0 (2020-01-07)
- Update azure-core dependency to version 1.2.0.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Maven dependency for the Azure Key Vault Certificate client library. Add it to y
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-certificates</artifactId>
<version>4.0.5</version>
<version>4.1.0</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/azure-security-keyvault-certificates/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-certificates</artifactId>
<version>4.1.0-beta.5</version> <!-- {x-version-update;com.azure:azure-security-keyvault-certificates;current} -->
<version>4.1.0</version> <!-- {x-version-update;com.azure:azure-security-keyvault-certificates;current} -->

<name>Microsoft Azure client library for KeyVault Certificates</name>
<description>This module contains client library for Microsoft Azure KeyVault Certificates.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
module com.azure.security.keyvault.certificates {
requires transitive com.azure.core;

exports com.azure.security.keyvault.certificates;
exports com.azure.security.keyvault.certificates.models;

opens com.azure.security.keyvault.certificates to com.fasterxml.jackson.databind;
Expand Down
34 changes: 14 additions & 20 deletions sdk/keyvault/azure-security-keyvault-keys/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,26 @@
# Release History

## 4.2.0-beta.6 (Unreleased)

## 4.2.0 (2020-08-12)
- Added support for `7.1-Preview` service version.
- Added `retryPolicy` setter in `KeyClientBuilder`, `CryptographyClientBuilder` and `KeyEncryptionKeyClientBuilder`.
- Added `recoverableDays` property to `KeyProperties`.
- Added `Import` operation to `KeyOperation`.

## 4.2.0-beta.5 (2020-07-08)
- Updated versions for azure-core, azure-identity.
## 4.1.5 (2020-07-08)
- Updated versions for azure-core and azure-identity.

## 4.2.0-beta.4 (2020-06-10)
## 4.1.4 (2020-06-10)
- Updated version for azure-core, azure-identity and external dependencies.
- `404` responses from `listPropertiesOfKeyVersions` in `KeyAsyncClient` and `KeyClient` now throw a `ResourceNotFoundException`.
- `buildAsyncKeyEncryptionKey` in `LocalKeyEncryptionKeyClientBuilder` now throws an exception when no ID is present in a given `JsonWebKey`.

## 4.2.0-beta.3 (2020-04-09)
- Added `LocalCryptographyClient`, `LocalCryptographyAsyncClient`, `LocalKeyEncryptionKeyClient` and `LocalKeyEncryptionKeyAsyncClient` to perform cryptography operations locally.
- Added `retryPolicy` setter in `KeyClientBuilder`, `CryptographyClientBuilder` and `KeyEncryptionKeyClientBuilder`
- Update azure-core dependency to version 1.4.0.

## 4.1.3 (2020-05-06)
- Update azure-core dependency to version 1.5.0.

## 4.2.0-beta.2 (2020-03-10)
### Added
- Added `recoverableDays` property to `KeyProperties`.
- Added `Import` operation to `KeyOperation`.
- Added support for `7.1-Preview` service version

## 4.1.2 (2020-04-07)
- Update azure-core dependency to version 1.4.0.

## 4.2.0-beta.1
- `KeyVaultKey` model can be instantiated using `fromKeyId(String keyId, JsonWebKey jsonWebKey)` and `fromName(String name, JsonWebKey jsonWebKey)` methods on the `KeyVaultKey` model.
- Allows `KeyEncryptionKeyClientBuilder` to consume `KeyVaultKey` model and build `KeyEncryptionKey` and `AsyncKeyEncryptionKey` via`buildKeyEncryptionKey(KeyVaultKey key) ` and `buildAsyncKeyEncryptionKey(KeyVaultKey key)` methods respectively.
## 4.1.1 (2020-03-25)
- Update azure-core dependency to version 1.3.0.

## 4.1.0 (2020-01-07)
- Fixes the logic of `getKeyId()` method in `KeyEncryptionKeyClient` and `KeyEncryptionKeyAsyncClient` to ensure key id is available in all scenarios.
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/azure-security-keyvault-keys/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Maven dependency for the Azure Key Vault Key client library. Add it to your proj
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-keys</artifactId>
<version>4.1.5</version>
<version>4.2.0</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/azure-security-keyvault-keys/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-keys</artifactId>
<version>4.2.0-beta.6</version> <!-- {x-version-update;com.azure:azure-security-keyvault-keys;current} -->
<version>4.2.0</version> <!-- {x-version-update;com.azure:azure-security-keyvault-keys;current} -->

<name>Microsoft Azure client library for KeyVault Keys</name>
<description>This module contains client library for Microsoft Azure KeyVault Keys.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

requires java.xml.crypto;

exports com.azure.security.keyvault.keys;
exports com.azure.security.keyvault.keys.cryptography;
exports com.azure.security.keyvault.keys.cryptography.models;
exports com.azure.security.keyvault.keys.models;
Expand Down
26 changes: 14 additions & 12 deletions sdk/keyvault/azure-security-keyvault-secrets/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
# Release History

## 4.2.0-beta.5 (Unreleased)

## 4.2.0 (2020-08-12)
- Added support for `7.1-Preview` service version.
- Added `retryPolicy` setter in `SecretClientBuilder`.
- Added `recoverableDays` property to `SecretProperties`.

## 4.2.0-beta.4 (2020-07-08)
- Updated versions for azure-core, azure-identity.
## 4.1.5 (2020-07-08)
- Updated versions for azure-core and azure-identity.

## 4.2.0-beta.3 (2020-06-10)
## 4.1.4 (2020-06-10)
- Updated version for azure-core, azure-identity and external dependencies.
- Fixed `ByteBuf` resource leak in `KeyVaultCredentialPolicy`.

## 4.2.0-beta.2 (2020-04-09)
## 4.1.3 (2020-05-06)
- Update azure-core dependency to version 1.5.0.
- Fixed `ByteBuff` resource leak in `KeyVaultCredentialPolicy`.

## 4.1.2 (2020-04-07)
- Update azure-core dependency to version 1.4.0.
- Added `retryPolicy` setter in `SecretClientBuilder`

## 4.2.0-beta.1 (2020-03-10)
### Added
- Added `recoverableDays` property to `SecretProperties`.
- Added support for `7.1-Preview` service version
## 4.1.1 (2020-03-25)
- Update azure-core dependency to version 1.3.0.

## 4.1.0 (2020-01-07)
- Update azure-core dependency to version 1.2.0
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/azure-security-keyvault-secrets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Maven dependency for the Azure Key Vault Secrets client library. Add it to your
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-secrets</artifactId>
<version>4.1.5</version>
<version>4.2.0</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/azure-security-keyvault-secrets/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-secrets</artifactId>
<version>4.2.0-beta.5</version> <!-- {x-version-update;com.azure:azure-security-keyvault-secrets;current} -->
<version>4.2.0</version> <!-- {x-version-update;com.azure:azure-security-keyvault-secrets;current} -->

<name>Microsoft Azure client library for KeyVault Secrets</name>
<description>This module contains client library for Microsoft Azure KeyVault Secrets.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-certificates</artifactId>
<version>4.0.4</version> <!-- {x-version-update;com.azure:azure-security-keyvault-certificates;dependency} -->
<version>4.0.5</version> <!-- {x-version-update;com.azure:azure-security-keyvault-certificates;dependency} -->
<scope>test</scope>
</dependency>
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions sdk/resourcemanager/azure-resourcemanager-keyvault/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-keys</artifactId>
<version>4.1.4</version> <!-- {x-version-update;com.azure:azure-security-keyvault-keys;dependency} -->
<version>4.1.5</version> <!-- {x-version-update;com.azure:azure-security-keyvault-keys;dependency} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-secrets</artifactId>
<version>4.1.4</version> <!-- {x-version-update;com.azure:azure-security-keyvault-secrets;dependency} -->
<version>4.1.5</version> <!-- {x-version-update;com.azure:azure-security-keyvault-secrets;dependency} -->
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
Expand Down
2 changes: 1 addition & 1 deletion sdk/resourcemanager/azure-resourcemanager-samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-certificates</artifactId>
<version>4.0.4</version> <!-- {x-version-update;com.azure:azure-security-keyvault-certificates;dependency} -->
<version>4.0.5</version> <!-- {x-version-update;com.azure:azure-security-keyvault-certificates;dependency} -->
</dependency>
<dependency>
<groupId>io.fabric8</groupId>
Expand Down
4 changes: 2 additions & 2 deletions sdk/spring/azure-spring-boot-starter-keyvault-secrets/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-secrets</artifactId>
<version>4.1.4</version> <!-- {x-version-update;com.azure:azure-security-keyvault-secrets;dependency} -->
<version>4.1.5</version> <!-- {x-version-update;com.azure:azure-security-keyvault-secrets;dependency} -->
</dependency>
</dependencies>
<build>
Expand All @@ -52,7 +52,7 @@
<bannedDependencies>
<includes>
<include>com.microsoft.azure:azure-spring-boot:[2.3.3]</include> <!-- {x-include-update;com.microsoft.azure:azure-spring-boot;current} -->
<include>com.azure:azure-security-keyvault-secrets:[4.1.4]</include> <!-- {x-include-update;com.azure:azure-security-keyvault-secrets;dependency} -->
<include>com.azure:azure-security-keyvault-secrets:[4.1.5]</include> <!-- {x-include-update;com.azure:azure-security-keyvault-secrets;dependency} -->
<include>org.springframework.boot:spring-boot-starter:[2.3.2.RELEASE]</include> <!-- {x-include-update;org.springframework.boot:spring-boot-starter;external_dependency} -->
<include>org.springframework.boot:spring-boot-starter-validation:[2.3.2.RELEASE]</include> <!-- {x-include-update;org.springframework.boot:spring-boot-starter-validation;external_dependency} -->
</includes>
Expand Down
2 changes: 1 addition & 1 deletion sdk/spring/azure-spring-boot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-secrets</artifactId>
<version>4.1.4</version> <!-- {x-version-update;com.azure:azure-security-keyvault-secrets;dependency} -->
<version>4.1.5</version> <!-- {x-version-update;com.azure:azure-security-keyvault-secrets;dependency} -->
<optional>true</optional>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/azure-storage-blob-cryptography/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-keys</artifactId>
<version>4.2.0-beta.6</version> <!-- {x-version-update;unreleased_com.azure:azure-security-keyvault-keys;dependency} -->
<version>4.2.0</version> <!-- {x-version-update;unreleased_com.azure:azure-security-keyvault-keys;dependency} -->
<scope>test</scope>
</dependency>
</dependencies>
Expand Down

0 comments on commit d795fda

Please sign in to comment.