|
1 | 1 | # Release History |
2 | 2 |
|
3 | | -## 4.4.0-beta.8 (Unreleased) |
| 3 | +## 4.4.0 (2022-03-31) |
4 | 4 |
|
5 | 5 | ### Features Added |
6 | | -- Added support for service version `7.3` |
| 6 | +- Added support for service version `7.3`. |
| 7 | +- Added the following APIs to `KeyClient` and `KeyAsyncClient`: |
| 8 | + - `getRandomBytes` and `getRandomBytesWithResponse` which, when connected to a managed HSM, can be used to generate a byte array of a given length with random values. |
| 9 | + - `releaseKey` and `releaseKeyWithResponse` which support securely releasing a key from a Managed HSM. |
| 10 | + - `rotateKey` and `rotateKeyWithResponse` which allow to rotate a key on-demand in Azure Key Vault and Managed HSM. |
| 11 | + - `getKeyRotationPolicy` and `getKeyRotationPolicyWithResponse` which allow to retrieve a key's automated rotation policy. |
| 12 | + - `updateKeyRotationPolicy` and `updateKeyRotationPolicyWithResponse` which allow to update a key's automated rotation policy. |
| 13 | + - `getCryptographyClient` and `getCryptographyAsyncClient` which provide a simple way to create a `CryptographyClient` and `CryptographyAsyncClient` respectively for a key given its name and optionally a version. |
| 14 | +- Additionally added the following classes to support the aforementioned APIs: |
| 15 | + - `KeyRotationPolicy` which represents a key's automated rotation policy. |
| 16 | + - `KeyRotationLifetimeAction` which represents an action that will be performed by Key Vault over the lifetime of a key. |
| 17 | + - `KeyRotationPolicyAction`, an enum for the types of key rotation policy actions that can be executed relative to a key. |
| 18 | + - `KeyReleasePolicy` which represents the policy rules under which the key can be exported. |
| 19 | + - `ReleaseKeyOptions` which represents the configurable options to release a key. |
| 20 | + - `KeyExportEncryptionAlgorithm`, an enum for specifying an encryption algorithm to be used during key release. |
| 21 | + - `ReleaseKeyResult` which contains the value of a released key. |
| 22 | +- `exportable` and `releasePolicy` were added to the following classes as well: |
| 23 | + - `KeyProperties` |
| 24 | + - `CreateKeyOptions` |
| 25 | + - `CreateEcKeyOptions` |
| 26 | + - `CreateOctKeyOptions` |
| 27 | + - `CreateRsaKeyOptions` |
| 28 | + |
| 29 | + in order to specify whether the key is exportable and to associate a release policy to a given key |
| 30 | +- `CryptographyClientBuilder` does not require `keyIdentifier` to a include a key version. If no version is provided, cryptographic operations will be made using the latest version of the key. |
| 31 | +- Implemented new traits (micro-interfaces) in `KeyClientBuilder`, `CryptographyClientBuilder` and `KeyEncryptionKeyClientBuilder`. This makes the experience of using client builders more consistent across libraries in the Azure SDK for Java. |
7 | 32 |
|
8 | 33 | ### Breaking Changes |
| 34 | +> These changes do not impact the API of stable versions such as `4.3.0`. |
| 35 | +> Only code written against beta version `4.4.0-beta.7` may be affected. |
9 | 36 | - Changed `getRandomBytes` operations in `KeyClient` and `KeyAsyncClient` to return `byte[]` instead of `RandomBytes`. |
10 | 37 | - Removed the `RandomBytes` class. |
11 | 38 |
|
12 | | -### Bugs Fixed |
13 | | - |
14 | | -### Other Changes |
15 | | - |
16 | 39 | ## 4.3.8 (2022-03-17) |
17 | 40 |
|
18 | 41 | ### Other Changes |
|
0 commit comments