Skip to content

Bump Microsoft.Extensions.Configuration.AzureAppConfiguration from 4.5.1 to 5.0.0#46

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/nuget/Microsoft.Extensions.Configuration.AzureAppConfiguration-5.0.0
Closed

Bump Microsoft.Extensions.Configuration.AzureAppConfiguration from 4.5.1 to 5.0.0#46
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/nuget/Microsoft.Extensions.Configuration.AzureAppConfiguration-5.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Feb 3, 2022

Bumps Microsoft.Extensions.Configuration.AzureAppConfiguration from 4.5.1 to 5.0.0.

Release notes

Sourced from Microsoft.Extensions.Configuration.AzureAppConfiguration's releases.

5.0.0-preview

Microsoft.Extensions.Configuration.AzureAppConfiguration 5.0.0-preview - December 16, 2021

Breaking Changes:

  • Removed all offline caching capabilities. #135

  • Added support for parsing and using sync-token from push notifications received from Event Grid. Using sync-token ensures that users get the latest key-values from App Configuration on any subsequent request. The following new APIs were added:

    EventGridEventExtensions.TryCreatePushNotification(this EventGridEvent eventGridEvent, out PushNotification pushNotification)
    IConfigurationRefresher.ProcessPushNotification(PushNotification pushNotification, TimeSpan? maxDelay = null)

    To use sync-token in a push refresh enabled application, the existing SetDirty() call can be replaced by the following code. Depending on the event handler you're using, you may need to convert the received event to an EventGridEvent object. For example, if you are using Service Bus as the event handler, the code will look like this:

    serviceBusClient.RegisterMessageHandler(
                   handler: (message, cancellationToken) =>
                   {
                      EventGridEvent eventGridEvent = EventGridEvent.Parse(BinaryData.FromBytes(message.Body));
                  if (eventGridEvent.TryCreatePushNotification(out PushNotification pushNotification))
                  {
                     _refresher.ProcessPushNotification(pushNotification, maxDelay); 
                  }
              return Task.CompletedTask;
           },
           exceptionReceivedHandler: (exceptionargs) =>
           {
                 Console.WriteLine($"{exceptionargs.Exception}");
                 return Task.CompletedTask;
           });
    

    The next call to RefreshAsync() or TryRefreshAsync() will get the latest key-values from your App Config store. #278

  • Added support for CancellationToken during refresh operations. The following APIs were updated in IConfigurationRefresher interface: #281

    Task RefreshAsync(CancellationToken cancellationToken = default);
    Task<bool> TryRefreshAsync(CancellationToken cancellationToken = default);
  • Added support for logging errors during refresh operations. #273

  • Ensured that Key Vault secret refresh interval cannot be less than 1 second. #284

  • Upgraded Microsoft.Extensions packages from version 2.1.1 to 3.1.18. #272

Microsoft.Azure.AppConfiguration.AspNetCore 5.0.0-preview - December 16, 2021

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

Microsoft.Azure.AppConfiguration.Functions.Worker 5.0.0-preview - December 16, 2021

  • Added middleware to support dynamic configuration in Azure Functions running in an isolated process. Refer to Azure Functions documentation for more details about running C# Azure Functions in an isolated process. #287
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [Microsoft.Extensions.Configuration.AzureAppConfiguration](https://github.com/Azure/Azconfig-DotnetProvider) from 4.5.1 to 5.0.0.
- [Release notes](https://github.com/Azure/Azconfig-DotnetProvider/releases)
- [Commits](https://github.com/Azure/Azconfig-DotnetProvider/commits)

---
updated-dependencies:
- dependency-name: Microsoft.Extensions.Configuration.AzureAppConfiguration
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 3, 2022
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Jul 19, 2022

Superseded by #57.

@dependabot dependabot bot closed this Jul 19, 2022
@dependabot dependabot bot deleted the dependabot/nuget/Microsoft.Extensions.Configuration.AzureAppConfiguration-5.0.0 branch July 19, 2022 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants