Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
d674286
Add APIs for Key Vault 4.1.0 (#13548)
heaths Jul 30, 2020
deda5a0
Update versions for Key Vault 4.1 release (#14145)
heaths Aug 11, 2020
2d11c66
Copy older 4.1.0-preview.1 changelogs (#14161)
heaths Aug 12, 2020
5c6ea8e
Merge release/keyvault-4.1.0 into master
heaths Aug 13, 2020
3b2cc9e
Update CODEOWNERS (#14197)
isra-fel Aug 13, 2020
af85cc6
<QnAMaker> GenerateAnswer new field "StrictFiltersCompoundOperationTy…
vipeketi Aug 13, 2020
1817c98
[Cognitive Service Anomaly Detector] update sdk (#14177)
moreOver0 Aug 13, 2020
1948076
add more CosmosThrottleWrappers (#14208)
christothes Aug 13, 2020
5dab3a1
Update Autorest C# - AppConfiguration, Compute, testcommon (#13525)
pakrym Aug 13, 2020
f775e1f
Update Autorest C# - storage (#13582)
pakrym Aug 13, 2020
2a7f1f2
Update Autorest C# - eventhub (#13585)
pakrym Aug 13, 2020
1d6713c
Add query client to IoT Hub service client (#14210)
timtay-microsoft Aug 13, 2020
f862a22
Update Autorest C# - resources (#13580)
pakrym Aug 13, 2020
cbdaa9c
Update Autorest C# - network (#13584)
pakrym Aug 13, 2020
d816e41
Resolve PR feedback
heaths Aug 13, 2020
c51dddf
Removed IEquatable interface from TaggedBlobItem (#14212)
seanmcc-msft Aug 13, 2020
269538e
Use ConcurrentBag when testing progress reports (#14213)
jaschrep-msft Aug 13, 2020
afba2f9
feat(samples): Added bulk module and query samples (#14215)
vinagesh Aug 13, 2020
67fd67e
Preparing Storage for release (#14218)
seanmcc-msft Aug 13, 2020
8517534
Merge branch 'merge-keyvault-4.1.0'
heaths Aug 13, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 13 additions & 3 deletions sdk/keyvault/Azure.Security.KeyVault.Certificates/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
# Release History

## 4.1.0-preview.2 (Unreleased)
## 4.2.0-preview.1 (Unreleased)

## 4.1.0-preview.1 (2020-03-09)
## 4.1.0 (2020-08-11)

### Added

- Add `RecoverableDays` property to `CertificateProperties`.
- Added `RecoverableDays` property to `CertificateProperties`.

### Changed

- Default service version is now 7.1.

## 4.0.3 (2020-07-09)

Expand All @@ -22,6 +26,12 @@

- Fixed concurrency issue in our challenge-based authentication policy ([#9737](https://github.com/Azure/azure-sdk-for-net/issues/9737))

## 4.1.0-preview.1 (2020-03-09)

### Added

- Add `RecoverableDays` property to `CertificateProperties`.

## 4.0.1 (2020-03-03)

### Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ public CertificateClient(System.Uri vaultUri, Azure.Core.TokenCredential credent
}
public partial class CertificateClientOptions : Azure.Core.ClientOptions
{
public CertificateClientOptions(Azure.Security.KeyVault.Certificates.CertificateClientOptions.ServiceVersion version = Azure.Security.KeyVault.Certificates.CertificateClientOptions.ServiceVersion.V7_1_Preview) { }
public CertificateClientOptions(Azure.Security.KeyVault.Certificates.CertificateClientOptions.ServiceVersion version = Azure.Security.KeyVault.Certificates.CertificateClientOptions.ServiceVersion.V7_1) { }
public Azure.Security.KeyVault.Certificates.CertificateClientOptions.ServiceVersion Version { get { throw null; } }
public enum ServiceVersion
{
V7_0 = 0,
V7_1_Preview = 1,
V7_1 = 1,
}
}
public partial class CertificateContact
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<PropertyGroup>
<Description>This is the Microsoft Azure Key Vault Certificates client library</Description>
<AssemblyTitle>Microsoft Azure.Security.KeyVault.Certificates client library</AssemblyTitle>
<Version>4.1.0-preview.2</Version>
<ApiCompatVersion>4.0.3</ApiCompatVersion>
<Version>4.2.0-preview.1</Version>
<ApiCompatVersion>4.1.0</ApiCompatVersion>
<PackageTags>Microsoft Azure Key Vault Certificates;$(PackageCommonTags)</PackageTags>
<TargetFrameworks>$(RequiredTargetFrameworks)</TargetFrameworks>
<NoWarn>$(NoWarn);3021</NoWarn>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class CertificateClientOptions : ClientOptions
/// For more information, see
/// <see href="https://docs.microsoft.com/rest/api/keyvault/key-vault-versions">Key Vault versions</see>.
/// </summary>
internal const ServiceVersion LatestVersion = ServiceVersion.V7_1_Preview;
internal const ServiceVersion LatestVersion = ServiceVersion.V7_1;

/// <summary>
/// The versions of Azure Key Vault supported by this client
Expand All @@ -31,9 +31,9 @@ public enum ServiceVersion
V7_0 = 0,

/// <summary>
/// The Key Vault API version 7.1-preview.
/// They Key Vault API version 7.1.
/// </summary>
V7_1_Preview,
V7_1 = 1,
#pragma warning restore CA1707 // Identifiers should not contain underscores
}

Expand Down Expand Up @@ -64,8 +64,7 @@ internal string GetVersionString()
return Version switch
{
ServiceVersion.V7_0 => "7.0",
ServiceVersion.V7_1_Preview => "7.1-preview",

ServiceVersion.V7_1 => "7.1",
_ => throw new ArgumentException(Version.ToString()),
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core.TestFramework;
Expand All @@ -15,7 +16,7 @@ namespace Azure.Security.KeyVault.Certificates.Tests
{
[ClientTestFixture(
CertificateClientOptions.ServiceVersion.V7_0,
CertificateClientOptions.ServiceVersion.V7_1_Preview)]
CertificateClientOptions.ServiceVersion.V7_1)]
[NonParallelizable]
public class CertificatesTestBase : RecordedTestBase<KeyVaultTestEnvironment>
{
Expand All @@ -29,7 +30,6 @@ public class CertificatesTestBase : RecordedTestBase<KeyVaultTestEnvironment>
// Queue deletes, but poll on the top of the purge stack to increase likelihood of others being purged by then.
private readonly ConcurrentQueue<string> _certificatesToDelete = new ConcurrentQueue<string>();
private readonly ConcurrentStack<string> _certificatesToPurge = new ConcurrentStack<string>();

private readonly ConcurrentQueue<string> _issuerToDelete = new ConcurrentQueue<string>();
private readonly ConcurrentQueue<IEnumerable<CertificateContact>> _contactsToDelete = new ConcurrentQueue<IEnumerable<CertificateContact>>();

Expand All @@ -44,11 +44,19 @@ internal CertificateClient GetClient(TestRecording recording = null)
{
recording ??= Recording;

CertificateClientOptions options = new CertificateClientOptions(_serviceVersion)
{
Diagnostics =
{
IsLoggingContentEnabled = Debugger.IsAttached,
}
};

return InstrumentClient
(new CertificateClient(
new Uri(TestEnvironment.KeyVaultUrl),
TestEnvironment.Credential,
recording.InstrumentClientOptions(new CertificateClientOptions(_serviceVersion))));
recording.InstrumentClientOptions(options)));
}

public override void StartTestRecording()
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading