From 39d0beb615ef7a467c739a9d8088c76af6753411 Mon Sep 17 00:00:00 2001 From: AMER JUSUPOVIC Date: Tue, 21 Nov 2023 17:25:34 -0800 Subject: [PATCH 1/5] add release notes for 7.0.0 --- ...MicrosoftAzureAppConfigurationAspNetCore.md | 3 +++ ...softAzureAppConfigurationFunctionsWorker.md | 3 +++ ...nsionsConfigurationAzureAppConfiguration.md | 18 ++++++++++++++++++ 3 files changed, 24 insertions(+) diff --git a/releaseNotes/MicrosoftAzureAppConfigurationAspNetCore.md b/releaseNotes/MicrosoftAzureAppConfigurationAspNetCore.md index 2dbcc5e2..37fb7d5c 100644 --- a/releaseNotes/MicrosoftAzureAppConfigurationAspNetCore.md +++ b/releaseNotes/MicrosoftAzureAppConfigurationAspNetCore.md @@ -1,6 +1,9 @@ ## Microsoft.Azure.AppConfiguration.AspNetCore ### [Package (NuGet)](https://www.nuget.org/packages/Microsoft.Azure.AppConfiguration.AspNetCore) +### 7.0.0 - November 21, 2023 +* Updated `Microsoft.Extensions.Configuration.AzureAppConfiguration` reference to `7.0.0`. See the [release notes](./MicrosoftExtensionsConfigurationAzureAppConfiguration.md) for more information on the changes. + ### 7.0.0-preview.2 - August 24, 2023 * Updated `Microsoft.Extensions.Configuration.AzureAppConfiguration` reference to `7.0.0-preview.2`. See the [release notes](./MicrosoftExtensionsConfigurationAzureAppConfiguration.md) for more information on the changes. diff --git a/releaseNotes/MicrosoftAzureAppConfigurationFunctionsWorker.md b/releaseNotes/MicrosoftAzureAppConfigurationFunctionsWorker.md index 9e42a5b2..1ba61391 100644 --- a/releaseNotes/MicrosoftAzureAppConfigurationFunctionsWorker.md +++ b/releaseNotes/MicrosoftAzureAppConfigurationFunctionsWorker.md @@ -1,6 +1,9 @@ ## Microsoft.Azure.AppConfiguration.Functions.Worker ### [Package (NuGet)](https://www.nuget.org/packages/Microsoft.Azure.AppConfiguration.Functions.Worker) +### 7.0.0 - November 21, 2023 +* Updated `Microsoft.Extensions.Configuration.AzureAppConfiguration` reference to `7.0.0`. See the [release notes](./MicrosoftExtensionsConfigurationAzureAppConfiguration.md) for more information on the changes. + ### 7.0.0-preview.2 - August 24, 2023 * Updated `Microsoft.Extensions.Configuration.AzureAppConfiguration` reference to `7.0.0-preview.2`. See the [release notes](./MicrosoftExtensionsConfigurationAzureAppConfiguration.md) for more information on the changes. diff --git a/releaseNotes/MicrosoftExtensionsConfigurationAzureAppConfiguration.md b/releaseNotes/MicrosoftExtensionsConfigurationAzureAppConfiguration.md index 71c6184a..36aa30ea 100644 --- a/releaseNotes/MicrosoftExtensionsConfigurationAzureAppConfiguration.md +++ b/releaseNotes/MicrosoftExtensionsConfigurationAzureAppConfiguration.md @@ -1,6 +1,24 @@ ## Microsoft.Extensions.Configuration.AzureAppConfiguration ### [Package (NuGet)](https://www.nuget.org/packages/Microsoft.Extensions.Configuration.AzureAppConfiguration) +### 7.0.0 - November 21, 2023 +### Breaking Changes +* Removed .NET Core 3.1 as a target framework as .NET Core 3.1 is out of support. [#482](https://github.com/Azure/AppConfiguration-DotnetProvider/pull/482) +* `AddAzureAppConfiguration` now throws errors for invalid inputs when the `optional` flag is equal to `true`. [#408](https://github.com/Azure/AppConfiguration-DotnetProvider/pull/408) + +### Enhancements +* This is the first stable release of the following API introduced in the 7.0.0-preview release. [#422](https://github.com/Azure/AppConfiguration-DotnetProvider/pull/422) + + ```cs + public AzureAppConfigurationOptions SelectSnapshot(string name) + ``` +* Added support for the `requirement_type` property for feature flags introduced in version 2.6.0-preview of the Microsoft.FeatureManagement library. [#475](https://github.com/Azure/AppConfiguration-DotnetProvider/pull/475) +* The provider will now continuously retry when loading data from App Configuration on startup until the load is successful or the timeout value in `AzureAppConfigurationOptions.StartupOptions.Timeout` has elapsed. `AzureAppConfigurationOptions.StartupOptions` can be set using the following new API. [#488](https://github.com/Azure/AppConfiguration-DotnetProvider/pull/488) + + ```cs + public AzureAppConfigurationOptions ConfigureStartupOptions(Action configure) + ``` + ### 7.0.0-preview.2 - August 24, 2023 * Includes all changes made in `6.1.0`. From 82a90f97079e3ebf1cd3a10f9c8aece889faf86d Mon Sep 17 00:00:00 2001 From: AMER JUSUPOVIC Date: Tue, 21 Nov 2023 17:27:36 -0800 Subject: [PATCH 2/5] fix grammar --- .../MicrosoftExtensionsConfigurationAzureAppConfiguration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releaseNotes/MicrosoftExtensionsConfigurationAzureAppConfiguration.md b/releaseNotes/MicrosoftExtensionsConfigurationAzureAppConfiguration.md index 36aa30ea..6aadccf2 100644 --- a/releaseNotes/MicrosoftExtensionsConfigurationAzureAppConfiguration.md +++ b/releaseNotes/MicrosoftExtensionsConfigurationAzureAppConfiguration.md @@ -13,7 +13,7 @@ public AzureAppConfigurationOptions SelectSnapshot(string name) ``` * Added support for the `requirement_type` property for feature flags introduced in version 2.6.0-preview of the Microsoft.FeatureManagement library. [#475](https://github.com/Azure/AppConfiguration-DotnetProvider/pull/475) -* The provider will now continuously retry when loading data from App Configuration on startup until the load is successful or the timeout value in `AzureAppConfigurationOptions.StartupOptions.Timeout` has elapsed. `AzureAppConfigurationOptions.StartupOptions` can be set using the following new API. [#488](https://github.com/Azure/AppConfiguration-DotnetProvider/pull/488) +* The provider will now continuously retry when loading data from App Configuration on startup until either the load is successful or the timeout value in `AzureAppConfigurationOptions.StartupOptions.Timeout` has elapsed. `AzureAppConfigurationOptions.StartupOptions` can be set using the following new API. [#488](https://github.com/Azure/AppConfiguration-DotnetProvider/pull/488) ```cs public AzureAppConfigurationOptions ConfigureStartupOptions(Action configure) From c93891fbd24c00196b94650afe7c1f25570b4bb2 Mon Sep 17 00:00:00 2001 From: AMER JUSUPOVIC Date: Mon, 27 Nov 2023 13:27:28 -0800 Subject: [PATCH 3/5] add line mentioning dependency updates --- .../MicrosoftExtensionsConfigurationAzureAppConfiguration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releaseNotes/MicrosoftExtensionsConfigurationAzureAppConfiguration.md b/releaseNotes/MicrosoftExtensionsConfigurationAzureAppConfiguration.md index 6aadccf2..d270079f 100644 --- a/releaseNotes/MicrosoftExtensionsConfigurationAzureAppConfiguration.md +++ b/releaseNotes/MicrosoftExtensionsConfigurationAzureAppConfiguration.md @@ -3,7 +3,7 @@ ### 7.0.0 - November 21, 2023 ### Breaking Changes -* Removed .NET Core 3.1 as a target framework as .NET Core 3.1 is out of support. [#482](https://github.com/Azure/AppConfiguration-DotnetProvider/pull/482) +* Removed .NET Core 3.1 as a target framework as .NET Core 3.1 is out of support. Updated `Microsoft.Extensions` dependencies to version 6.0.0 and later. [#482](https://github.com/Azure/AppConfiguration-DotnetProvider/pull/482) * `AddAzureAppConfiguration` now throws errors for invalid inputs when the `optional` flag is equal to `true`. [#408](https://github.com/Azure/AppConfiguration-DotnetProvider/pull/408) ### Enhancements From a9d2ed5ad014d80c29ad2964cb1e62fe1033d25d Mon Sep 17 00:00:00 2001 From: AMER JUSUPOVIC Date: Wed, 29 Nov 2023 10:14:19 -0800 Subject: [PATCH 4/5] PR revisions --- .../MicrosoftAzureAppConfigurationAspNetCore.md | 1 + ...tensionsConfigurationAzureAppConfiguration.md | 16 ++++++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/releaseNotes/MicrosoftAzureAppConfigurationAspNetCore.md b/releaseNotes/MicrosoftAzureAppConfigurationAspNetCore.md index 37fb7d5c..3d145074 100644 --- a/releaseNotes/MicrosoftAzureAppConfigurationAspNetCore.md +++ b/releaseNotes/MicrosoftAzureAppConfigurationAspNetCore.md @@ -2,6 +2,7 @@ ### [Package (NuGet)](https://www.nuget.org/packages/Microsoft.Azure.AppConfiguration.AspNetCore) ### 7.0.0 - November 21, 2023 +* Removed .NET Core 2.1 and .NET Core 3.1 as target frameworks since both are out of support. [#482](https://github.com/Azure/AppConfiguration-DotnetProvider/pull/482) * Updated `Microsoft.Extensions.Configuration.AzureAppConfiguration` reference to `7.0.0`. See the [release notes](./MicrosoftExtensionsConfigurationAzureAppConfiguration.md) for more information on the changes. ### 7.0.0-preview.2 - August 24, 2023 diff --git a/releaseNotes/MicrosoftExtensionsConfigurationAzureAppConfiguration.md b/releaseNotes/MicrosoftExtensionsConfigurationAzureAppConfiguration.md index d270079f..7be3711b 100644 --- a/releaseNotes/MicrosoftExtensionsConfigurationAzureAppConfiguration.md +++ b/releaseNotes/MicrosoftExtensionsConfigurationAzureAppConfiguration.md @@ -3,28 +3,28 @@ ### 7.0.0 - November 21, 2023 ### Breaking Changes -* Removed .NET Core 3.1 as a target framework as .NET Core 3.1 is out of support. Updated `Microsoft.Extensions` dependencies to version 6.0.0 and later. [#482](https://github.com/Azure/AppConfiguration-DotnetProvider/pull/482) -* `AddAzureAppConfiguration` now throws errors for invalid inputs when the `optional` flag is equal to `true`. [#408](https://github.com/Azure/AppConfiguration-DotnetProvider/pull/408) +* `AddAzureAppConfiguration` now throws `ArgumentException` for invalid inputs even if the `optional` parameter is equal to `true`. [#318](https://github.com/Azure/AppConfiguration-DotnetProvider/issues/318) ### Enhancements -* This is the first stable release of the following API introduced in the 7.0.0-preview release. [#422](https://github.com/Azure/AppConfiguration-DotnetProvider/pull/422) +* This is the first stable release of the following API introduced in the 7.0.0-preview release. [#387](https://github.com/Azure/AppConfiguration-DotnetProvider/issues/387) ```cs public AzureAppConfigurationOptions SelectSnapshot(string name) ``` -* Added support for the `requirement_type` property for feature flags introduced in version 2.6.0-preview of the Microsoft.FeatureManagement library. [#475](https://github.com/Azure/AppConfiguration-DotnetProvider/pull/475) -* The provider will now continuously retry when loading data from App Configuration on startup until either the load is successful or the timeout value in `AzureAppConfigurationOptions.StartupOptions.Timeout` has elapsed. `AzureAppConfigurationOptions.StartupOptions` can be set using the following new API. [#488](https://github.com/Azure/AppConfiguration-DotnetProvider/pull/488) +* Added support for the `requirement_type` property for feature flags introduced in version 2.6.0-preview of the Microsoft.FeatureManagement library. [#406](https://github.com/Azure/AppConfiguration-DotnetProvider/issues/406) +* The initial configuration load now uses time-based retries instead of count-based retries in case of failures. The time-based retry often works more effectively in real-world scenarios, making applications more resilient to transient errors during startup. By default, the retry timeout is set to 100 seconds in `AzureAppConfigurationOptions.StartupOptions.Timeout`, but you can customize it using the following new API. [#458](https://github.com/Azure/AppConfiguration-DotnetProvider/issues/458) ```cs public AzureAppConfigurationOptions ConfigureStartupOptions(Action configure) ``` - -### 7.0.0-preview.2 - August 24, 2023 -* Includes all changes made in `6.1.0`. +* Added netstandard2.1 as a target framework. [#482](https://github.com/Azure/AppConfiguration-DotnetProvider/pull/482) ### 6.1.1 - October 25, 2023 * Added improvements for request tracing. +### 7.0.0-preview.2 - August 24, 2023 +* Includes all changes made in `6.1.0`. + ### 6.1.0 - August 17, 2023 * Fixed a bug where `TryRefreshAsync` could throw an `AggregateException` after a network timeout while trying to get key-values from Azure App Configuration. [#440](https://github.com/Azure/AppConfiguration-DotnetProvider/pull/440) * Designated a new environment variable `AZURE_APP_CONFIGURATION_PROVIDER_DISABLED` that when equal to "true" will disable Azure App Configuration in your application. [#429](https://github.com/Azure/AppConfiguration-DotnetProvider/pull/429) From d74d2f5b03f5ccca6797d6bcbd928615cf641e3a Mon Sep 17 00:00:00 2001 From: AMER JUSUPOVIC Date: Wed, 29 Nov 2023 13:56:27 -0800 Subject: [PATCH 5/5] fix removed frameworks line in aspnet notes --- releaseNotes/MicrosoftAzureAppConfigurationAspNetCore.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releaseNotes/MicrosoftAzureAppConfigurationAspNetCore.md b/releaseNotes/MicrosoftAzureAppConfigurationAspNetCore.md index 3d145074..4e15e56d 100644 --- a/releaseNotes/MicrosoftAzureAppConfigurationAspNetCore.md +++ b/releaseNotes/MicrosoftAzureAppConfigurationAspNetCore.md @@ -2,7 +2,7 @@ ### [Package (NuGet)](https://www.nuget.org/packages/Microsoft.Azure.AppConfiguration.AspNetCore) ### 7.0.0 - November 21, 2023 -* Removed .NET Core 2.1 and .NET Core 3.1 as target frameworks since both are out of support. [#482](https://github.com/Azure/AppConfiguration-DotnetProvider/pull/482) +* Removed .NET Core 3.1 as a target framework as .NET Core 3.1 is out of support. [#482](https://github.com/Azure/AppConfiguration-DotnetProvider/pull/482) * Updated `Microsoft.Extensions.Configuration.AzureAppConfiguration` reference to `7.0.0`. See the [release notes](./MicrosoftExtensionsConfigurationAzureAppConfiguration.md) for more information on the changes. ### 7.0.0-preview.2 - August 24, 2023