Skip to content

Releases: wintoncode/Winton.Extensions.Configuration.Consul

3.4.0

09 Nov 13:21
bf77bb3
Compare
Choose a tag to compare

What's Changed

  • Added WatchCancellationTokenSource to ConsulConfigurationSource which allows for the polling loop used to watch Consul for changes to be cancelled manually by @muratyuceer in #135

New Contributors

Full Changelog: 3.3.0...3.4.0

3.3.0

18 Mar 20:04
549251d
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.2.0...3.3.0

3.2.0

04 Mar 15:53
d9705de
Compare
Choose a tag to compare

Security

  • #127 - upgraded consul package and reintroduced 461 conditional build which addresses #126

What's Changed

  • upgraded consul package and reintroduced 461 conditional build by @GimmeDaKitty in #127

Full Changelog: 3.1.2...3.2.0

3.1.2

05 Aug 14:53
d264366
Compare
Choose a tag to compare

Fixes

  • #118 - Use Microsoft's JsonStreamConfigurationProvider class to parse Json stream into a dictionar

Chores

  • #119 - Use Github actions for build pipeline
  • #120 - Updated test project to .NET5.0

3.1.1

14 Sep 15:19
fd87286
Compare
Choose a tag to compare

Bug Fixes

  • #113 - Fixed issue whereby forward slashes in the JSON keys were converted to colons causing them to the split into multiple keys in the resulting config. Now only forward slashes in any remaining Consul Key are converted to colons and JSON keys are not modified after being parsed into config using the JsonStreamConfigurationProvider.

3.1.0

16 Jun 09:38
e861ff8
Compare
Choose a tag to compare

Features

  • ConvertKVPairToConfig property added to IConfigurationSource which optionally allows clients the ability to fully control how a KVPair from Consul is turned into the corresponding config dictionary. Clients that do not set this will continue to see the existing behaviour which is governed by the KeyToRemove and Parser properties.

3.0.2

26 Feb 12:12
5d5a278
Compare
Choose a tag to compare

Fixes

  • Made ConsulConfigurationProvider.Dispose idempotent

3.0.1

31 Jan 10:36
0a3cc96
Compare
Choose a tag to compare

Fixes

  • Fixed issue with TaskCanceledException being thrown when ConsulConfigurationProvider is disposed due to improper task cancellation.

3.0.0

02 Dec 12:18
85dd065
Compare
Choose a tag to compare

Breaking

  • Updated to Microsoft.Extensions.Configuration 3.0.0
  • Removed CancellationToken from IConsulConfigurationSource and AddConsul - Background tasks are now shut down and disposed of automatically when the ConsulConfigurationProvider is disposed.

Features

  • OnWatchException now has access to the IConsulConfigurationSource
  • Added PollWaitTime to IConsulConfigurationSource which allows client to set how long they want long polling queries to last before timing out and retrying.

2.4.0

19 Aug 09:17
Compare
Choose a tag to compare

Features

  • Improves error handling when synchronously awaiting the first config load by using GetAwaiter().GetResult().