You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Rev to 3.1
* Semver update - Allow differing minor versions between packages.
* pipeline update
* Do a preview release first.
* Show pipeline as a solution file.
Copy file name to clipboardExpand all lines: README.md
+8
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,14 @@ For more information about Configuration Builders and the features and builders
14
14
15
15
16
16
<aname="updates"></a>
17
+
### V3.1 Updates:
18
+
* Added Snapshot capabilities to the [`AzureAppConfigurationBuilder`](docs/KeyValueConfigBuilders.md#azureappconfigurationbuilder).
19
+
* Added ability to provide "[default values](docs/KeyValueConfigBuilders.md#tokenPattern)" in `Token` mode.
20
+
* Fixed bug with rooted-paths and `Utils.MapPath` in ASP.Net scenarios.
21
+
* Fixed `GetCredential()` and related option-overload issues in [`AzureAppConfigurationBuilder`](docs/KeyValueConfigBuilders.md#azureappconfigurationbuilder).
22
+
* Auth failures are "optional" for [Azure Config Builders](docs/KeyValueConfigBuilders.md#azure-config-builders).
23
+
* Fixed [`AzureAppConfigurationBuilder`](docs/KeyValueConfigBuilders.md#azureappconfigurationbuilder) bug with key filters in `Strict` mode.
24
+
17
25
### V3 Updates:
18
26
*:warning:***Breaking Change*** - `Expand` mode is gone. It has been [replaced by `Token` mode](docs/KeyValueConfigBuilders.md#mode).
19
27
*`Utils.MapPath` - This was somewhat broken in ASP.Net scenarios previously. It should now reliably go against `Server.MapPath()` in ASP.Net scenarios. It has also been updated to fall back against the directory of the config file being processed when resolving the app root in the case of a `Configuration` object being created by `ConfigurationManager.OpenConfiguration*` API's rather than being part of a fully-initialized runtime configuration stack.
@@ -164,12 +166,14 @@ In a similar vein to `GetCredential()`, builders who need finer control over the
164
166
[AppConfiguration](https://docs.microsoft.com/en-us/azure/azure-app-configuration/overview) is a new offering from Azure. If you wish to use this new service for managing your configuration, then use this AzureAppConfigurationBuilder. Either `endpoint` or `connectionString` are required, but all other attributes are optional. If both `endpoint` and `connectionString` are used, then preference is given to the connection string.
165
167
*`endpoint` - This specifies the AppConfiguration store to connect to.
166
168
*~~`connectionString`~~ - The recommendation is to use `endpoint` in conjunction with [DefaultAzureCredential](#azure-config-builders). ~~This specifies the AppConfiguration store to connect to, along with the Id and Secret necessary to access the service. Be careful not to expose any secrets in your code, repos, or App Configuration stores if you use this method for connecting.~~
169
+
*`snapshot` - Use this attribute to draw configuration values from the specific AppConfig snapshot named by the value of this attribute. **Setting this attribute will cause `keyFilter`, `labelFilter`, and `acceptDateTime` to be silently ignored.**
167
170
*`keyFilter` - Use this to select a set of configuration values matching a certain key pattern.
168
171
> :information_source: NOTE:
169
172
> This filter is conceptually similar to the `prefix` attribute, but this filter is handled by the AppConfiguration service on the server side, whereas `prefix` filtering is done directly by the config builder in the application. They achieve the same goal through different mechanisms which have tradeoffs and merits according to the situation.
170
173
*`labelFilter` - Only retrieve configuration values that match a certain label.
171
174
*`acceptDateTime` - Instead of versioning ala Azure Key Vault, AppConfiguration uses timestamps. Use this attribute to go back in time to retrieve configuration values from a past state.
172
175
*`useAzureKeyVault` - Enable this feature to allow AzureAppConfigurationBuilder to connect to and retrieve secrets from Azure Key Vault for config values that are stored in Key Vault. The same managed service identity that is used for connecting to the AppConfiguration service will be used to connect to Key Vault. The Key Vault uri is retrieved as part of the data from AppConfiguration and does not need to be specified here. Default is `false`.
176
+
*`preloadValues` - Enable this feature to have the builder pre-load all values from the AppConfiguration store into memory. Essentially the same as a 'Greedy' mode fetch of config values from the AppConfig store - but without dumping them all into the working config section.If you have a large cache of config values, or you have some values (that match key and label filters) that you don't want to pull into application memory - even if they don't get applied to existing config entries - then disable this. Otherwise, it is `true` by default because fetching as many config values as possible in one request is a much more scalable design and will help applications avoid throttling on the service end.
Copy file name to clipboardExpand all lines: src/packages/assets/Readme-Azure.md
+3
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,9 @@ __Tip:__ To use versioned secrets, it is _not_ recommended to use the `version`
26
26
</appSettings>
27
27
```
28
28
29
+
### V3.1 Updates:
30
+
* Auth failures are "optional" for [Azure Config Builders](https://github.com/aspnet/MicrosoftConfigurationBuilders/blob/main/docs/KeyValueConfigBuilders.md#azure-config-builders).
31
+
29
32
### V3 Updates:
30
33
A more complete list of updates [lives here](https://github.com/aspnet/MicrosoftConfigurationBuilders/blob/main/README.md#v3-updates). These are the ones most relevant to this builder:
31
34
*:warning:***Breaking Change*** - `Expand` mode is gone. It has been [replaced by `Token` mode](https://github.com/aspnet/MicrosoftConfigurationBuilders/blob/main/docs/KeyValueConfigBuilders.md#mode).
@@ -20,10 +22,19 @@ The basic usage of this builder is given below. Parameters inside `[]`s are opti
20
22
21
23
*`endpoint` - This specifies the AppConfiguration store to connect to.
22
24
*`connectionString` - The recommendation is to use `endpoint`. ~~This specifies the AppConfiguration store to connect to, along with the Id and Secret necessary to access the service. Be carefulnot to expose any secrets in your code, repos, or App Configuration stores if you use this method for connecting.~~
25
+
*`snapshot` - Use this attribute to draw configuration values from the specific AppConfig snapshot named by the value of this attribute. **Setting this attribute will cause `keyFilter`, `labelFilter`, and `acceptDateTime` to be silently ignored.**
23
26
*`keyFilter` - Use this to select a set of configuration values matching a certain key pattern.
24
27
*`labelFilter` - Only retrieve configuration values that match a certain label.
25
28
*`acceptDateTime` - Instead of versioning ala Azure Key Vault, AppConfiguration uses timestamps. Use this attribute to go back in time to retrieve configuration values from a past state.
26
29
*`useAzureKeyVault` - Enable this feature to allow AzureAppConfigurationBuilder to connect to and retrieve secrets from Azure Key Vault for config values that are stored in Key Vault. The same managed service identity that is used for connecting to the AppConfiguration service will be used to connect to Key Vault. The Key Vault uri is retrieved as part of the data from AppConfiguration and does not need to be specific here. Default is `false`.
30
+
*`preloadValues` - Enable this feature to have the builder pre-load all values from the AppConfiguration store into memory. Essentially the same as a 'Greedy' mode fetch of config values from the AppConfig store - but without dumping them all into the working config section.If you have a large cache of config values, or you have some values (that match key and label filters) that you don't want to pull into application memory - even if they don't get applied to existing config entries - then disable this. Otherwise, it is `true` by default because fetching as many config values as possible in one request is a much more scalable design and will help applications avoid throttling on the service end.
31
+
32
+
### V3.1 Updates:
33
+
* Added Snapshot capabilities.
34
+
* Added preloading all values - on by default.
35
+
* Fixed `GetCredential()` and related option-overload issues.
36
+
* Auth failures are "optional" for [Azure Config Builders](https://github.com/aspnet/MicrosoftConfigurationBuilders/blob/main/docs/KeyValueConfigBuilders.md#azure-config-builders).
37
+
* Fixed bug with key filters in `Strict` mode.
27
38
28
39
### V3 Updates:
29
40
A more complete list of updates [lives here](https://github.com/aspnet/MicrosoftConfigurationBuilders/blob/main/README.md#v3-updates). These are the ones most relevant to this builder:
Copy file name to clipboardExpand all lines: src/packages/assets/Readme.md
+8
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,14 @@ The set of builders produced here are styled as "Key/Value Config Builders." The
9
9
For more information about the builders featured in this project, to report bugs, or submit contributions, please refer to the github project page for [MicrosoftConfigurationBuilders](https://github.com/aspnet/MicrosoftConfigurationBuilders/).
10
10
11
11
12
+
### V3.1 Updates:
13
+
* Added Snapshot capabilities to the [`AzureAppConfigurationBuilder`](https://github.com/aspnet/MicrosoftConfigurationBuilders/blob/main/docs/KeyValueConfigBuilders.md#azureappconfigurationbuilder).
14
+
* Added ability to provide "[default values](https://github.com/aspnet/MicrosoftConfigurationBuilders/blob/main/docs/KeyValueConfigBuilders.md#tokenPattern)" in `Token` mode.
15
+
* Fixed bug with rooted-paths and `Utils.MapPath` in ASP.Net scenarios.
16
+
* Fixed `GetCredential()` and related option-overload issues in [`AzureAppConfigurationBuilder`](https://github.com/aspnet/MicrosoftConfigurationBuilders/blob/main/docs/KeyValueConfigBuilders.md#azureappconfigurationbuilder).
17
+
* Auth failures are "optional" for [Azure Config Builders](https://github.com/aspnet/MicrosoftConfigurationBuilders/blob/main/docs/KeyValueConfigBuilders.md#azure-config-builders).
18
+
* Fixed [`AzureAppConfigurationBuilder`](https://github.com/aspnet/MicrosoftConfigurationBuilders/blob/main/docs/KeyValueConfigBuilders.md#azureappconfigurationbuilder) bug with key filters in `Strict` mode.
19
+
12
20
### V3 Updates:
13
21
*:warning:***Breaking Change*** - `Expand` mode is gone. It has been [replaced by `Token` mode](https://github.com/aspnet/MicrosoftConfigurationBuilders/blob/main/docs/KeyValueConfigBuilders.md#mode).
14
22
*`Utils.MapPath` - This was somewhat broken in ASP.Net scenarios previously. It should now reliably go against `Server.MapPath()` in ASP.Net scenarios. It has also been updated to fall back against the directory of the config file being processed when resolving the app root in the case of a `Configuration` object being created by `ConfigurationManager.OpenConfiguration*` API's rather than being part of a fully-initialized runtime configuration stack.
<NuGetPackageBaseDependencyVersion>"$(VersionMajor).0.0"</NuGetPackageBaseDependencyVersion> <!-- SemVer proposes that non-major updates should be backward compatible. -->
36
41
</PropertyGroup>
37
42
38
43
<!-- Add release type for non-RTM releases. -->
39
44
<PropertyGroupLabel="Prerelease version adjustments"Condition="'$(BuildQuality)' != 'rtm'">
<NuGetPackageBaseDependencyVersion>$(VersionMajor).$(VersionMinor).$(VersionRelease)-$(BuildQuality)</NuGetPackageBaseDependencyVersion> <!-- Bend SemVer guidelines for preview releases. -->
43
48
</PropertyGroup>
44
49
45
50
<!-- Additionaly, add date stamp to 'preview' releases. -->
0 commit comments