AppConfiguration-DotnetProvider

The .NET Standard configuration provider for Azure App Configuration

MIT License

Stars
76

Bot releases are hidden (Show)

AppConfiguration-DotnetProvider - 4.5.0

Published by avanigupta about 3 years ago

Microsoft.Extensions.Configuration.AzureAppConfiguration 4.5.0 - August 12, 2021

  • Added deprecation warning to all Offline Cache APIs. The current implementation of offline cache will be removed in the next major release.

Microsoft.Azure.AppConfiguration.AspNetCore 4.5.0 - August 12, 2021

  • Updated Microsoft.Extensions.Configuration.AzureAppConfiguration reference to 4.5.0.
AppConfiguration-DotnetProvider - 4.4.0

Published by avanigupta over 3 years ago

Microsoft.Extensions.Configuration.AzureAppConfiguration 4.4.0 - May 7, 2021

  • Added two new APIs which allow users to opt-in for periodically reloading secrets and certificates from Key Vault. #249

    • Set refresh interval for individual keys of Key Vault references in App Config:
    AzureAppConfigurationKeyVaultOptions SetSecretRefreshInterval(string secretReferenceKey, TimeSpan refreshInterval)
    

    This method allows users to set a refresh interval per key of Key Vault references. The API can be called multiple times to register multiple keys of Key Vault references for refresh.

    • Set refresh interval for all Key Vault references in App Config:
    AzureAppConfigurationKeyVaultOptions SetSecretRefreshInterval(TimeSpan refreshInterval)
    

    This method allows users to set a refresh interval for all Key Vault references which do not have individual refresh intervals.

  • This is the first stable release of the FeatureFlagOptions.Select API introduced in 4.3.0-preview release.

  • FeatureFlagOptions.TrimFeatureFlagPrefix API, which was introduced in 4.3.0-preview release, has been removed from this stable release.

Microsoft.Azure.AppConfiguration.AspNetCore 4.4.0 - May 7, 2021

  • Updated Microsoft.Extensions.Configuration.AzureAppConfiguration reference to 4.4.0.
AppConfiguration-DotnetProvider - 4.3.0-preview

Published by avanigupta over 3 years ago

Microsoft.Extensions.Configuration.AzureAppConfiguration 4.3.0-preview

  • Added two new APIs for filtering and trimming feature flag by a prefix. #234

    • Selectively load feature flags based on key and label filters:
    FeatureFlagOptions Select(string featureFlagFilter, string labelFilter)
    
    • Trim a prefix from the id of all feature flags retrieved from Azure App Configuration:
    FeatureFlagOptions TrimFeatureFlagPrefix(string prefix)
    

Microsoft.Azure.AppConfiguration.AspNetCore 4.3.0-preview

  • Updated Microsoft.Extensions.Configuration.AzureAppConfiguration reference to 4.3.0-preview.
AppConfiguration-DotnetProvider - 4.2.1

Published by avanigupta over 3 years ago

Microsoft.Extensions.Configuration.AzureAppConfiguration 4.2.1

  • Updated package license information.

Microsoft.Azure.AppConfiguration.AspNetCore 4.2.1

  • Updated package license information.
  • Updated Microsoft.Extensions.Configuration.AzureAppConfiguration reference to 4.2.1. See the release notes for more information on the changes.
AppConfiguration-DotnetProvider - 4.2.0

Published by avanigupta over 3 years ago

Microsoft.Extensions.Configuration.AzureAppConfiguration 4.2.0

  • Added support for .NET 5 as a target framework.

Microsoft.Azure.AppConfiguration.AspNetCore 4.2.0

  • Updated Microsoft.Extensions.Configuration.AzureAppConfiguration reference to 4.2.0. See the release notes for more information on the changes.
AppConfiguration-DotnetProvider - 4.1.0

Published by avanigupta almost 4 years ago

Microsoft.Extensions.Configuration.AzureAppConfiguration 4.1.0

  • Added SetSecretResolver API to allow users to configure the behavior when a Key Vault reference cannot be resolved. #209
  • Added support for registering key-values with same key but different labels for refresh. #156
  • Fixed an issue that caused cache expiration to be ignored on first call to RefreshAsync. #172

Microsoft.Azure.AppConfiguration.AspNetCore 4.1.0

  • Updated Microsoft.Extensions.Configuration.AzureAppConfiguration reference to 4.1.0. See the release notes for more information on the changes.
AppConfiguration-DotnetProvider - 4.0.0

Published by abhilasharora about 4 years ago

Microsoft.Extensions.Configuration.AzureAppConfiguration 4.0.0

  • Breaking Change : Updated ConfigureRefresh to throw when it is passed a callback that does not register any key-value for refresh using the Register method. #162
  • Fixed the issue that caused KeyVaultReferenceException to be thrown when the optional parameter is set to true in the method AddAzureAppConfiguration and a key vault reference could not be resolved. #136

Microsoft.Azure.AppConfiguration.AspNetCore 4.0.0

  • Breaking Change : Updated Microsoft.Extensions.Configuration.AzureAppConfiguration reference to 4.0.0. See the release notes for more information on the changes.
AppConfiguration-DotnetProvider - 4.0.0-preview

Published by abhilasharora about 4 years ago

Microsoft.Extensions.Configuration.AzureAppConfiguration 4.0.0-preview

  • Breaking Change : Added enhanced support for applications that leverage Event Grid integration in App Configuration for configuration refresh. The following new API is introduced in IConfigurationRefresher interface, which can be called when an application responds to push notifications from Event Grid. This signals the application to reassess whether configuration should be updated on the next call to RefreshAsync() or TryRefreshAsync(). #133

    void SetDirty(TimeSpan? maxDelay = null)
    
  • Breaking Change : Added JSON content-type (e.g. MIME type application/json) support for key-values in App Configuration. This allows primitive types, arrays, and JSON objects to be loaded properly to IConfiguration. Existing applications that use key-values with a valid JSON content-type may need to be updated. #191

  • Breaking Change : Added the following property to IConfigurationRefresher to allow users to disambiguate instances of the interface when using multiple Azure App Configuration providers.

    Uri AppConfigurationEndpoint { get; }
    
  • Added support for applications to obtain IConfigurationRefresher instances through dependency injection (DI). This allows better control of when to call RefreshAsync()/TryRefreshAsync() or whether to await the call. The following two APIs can be used to take advantage of this feature. #167

    • Call IServiceCollection.AddAzureAppConfiguration() first to add required services to the DI container.
      public static IServiceCollection AddAzureAppConfiguration(this IServiceCollection services)
      
    • Retrieve IConfigurationRefresher instances via IConfigurationRefresherProvider interface obtained through DI.
      public interface IConfigurationRefresherProvider
      {
         IEnumerable<IConfigurationRefresher> Refreshers { get; }
      }
      

Microsoft.Azure.AppConfiguration.AspNetCore 4.0.0-preview

  • Added multi-targeting support for .NET Core 3.1 besides .NET Standard 2.0. #173

  • Breaking Change : To leverage the new feature of dependency injection support for obtaining IConfigurationRefresher instances introduced in the 4.0.0-preview version of the Microsoft.Extensions.Configuration.AzureAppConfiguration package, the following changes are made.

    • Users must call IServiceCollection.AddAzureAppConfiguration() in ConfigureServices(...) to register the required services for configuration refresh before they can call IApplicationBuilder.UseAzureAppConfiguration(). This makes it easier to retrieve instances of IConfigurationRefresher through dependency injection in a controller or a middleware, and have better control of when and how configuration is refreshed.

    • An exception is thrown when the required services for configuration refresh could not be retrieved from the IServiceCollection instance. #166

  • Breaking Change : Updated Microsoft.Extensions.Configuration.AzureAppConfiguration reference to 4.0.0-preview. See the release notes for more information on the changes.

AppConfiguration-DotnetProvider - 3.0.2

Published by abhilasharora over 4 years ago

Microsoft.Extensions.Configuration.AzureAppConfiguration 3.0.2

  • Fixed an issue that may cause configuration refresh to be ignored when the key registered to refresh all configuration has changed. #178

Microsoft.Azure.AppConfiguration.AspNetCore 3.0.2

  • Updated Microsoft.Extensions.Configuration.AzureAppConfiguration reference to 3.0.2.
AppConfiguration-DotnetProvider - 3.0.1

Published by abhilasharora over 4 years ago

Microsoft.Extensions.Configuration.AzureAppConfiguration 3.0.1

  • Improved refresh for feature flags to reduce the number of calls made to App Configuration if no change is detected. #138
  • Fixed the issue that caused TryRefreshAsync to throw an Azure.Identity.AuthenticationFailedException when the TokenCredential used to fetch a key vault reference failed to authenticate. #149
  • Fixed the following issues when optional parameter is set to true in the method AddAzureAppConfiguration
    • An exception might be thrown if the configuration store could not be accessed. #136
    • RefreshAsync might ignore exceptions if configuration fails to load after a change is detected in a key with refreshAll: true.
    • TryRefreshAsync would throw a NullReferenceException if the initial attempt to load the configuration in IConfiguration.Build failed.
  • Updated TryRefreshAsync or RefreshAsync to auto-recover from failures during initial configuration load when the optional parameter is set to true in the method AddAzureAppConfiguration. #145

Microsoft.Azure.AppConfiguration.AspNetCore 3.0.1

  • Updated Microsoft.Extensions.Configuration.AzureAppConfiguration reference to 3.0.1.
AppConfiguration-DotnetProvider - 3.0.0

Published by abhilasharora over 4 years ago

Microsoft.Extensions.Configuration.AzureAppConfiguration 3.0.0

  • Added the following method to allow users to override ConfigurationClientOptions. This enables customization on the underlying App Configuration client that includes modifying retry options and configuring proxy settings. #106

    public AzureAppConfigurationOptions ConfigureClientOptions(Action<ConfigurationClientOptions> options)
    
  • Added IConfigurationRefresher.TryRefreshAsync method, which will not throw exceptions on transient errors during configuration refresh. #113

  • Renamed the IConfigurationRefresher.Refresh method to IConfigurationRefresher.RefreshAsync.

  • Reduced maximum number of retries when querying App Configuration to prevent blocking the application for long periods of time during startup or configuration refresh. #255

Microsoft.Azure.AppConfiguration.AspNetCore 3.0.0

  • Updated Microsoft.Extensions.Configuration.AzureAppConfiguration reference to 3.0.0.