1.2.1 (2023-09-13)
Bugs Fixed
-
FeatureFlagConfigurationSetting
andSecretReferenceConfigurationSetting
will now retain custom attributes in the setting value. Previously, only attributes that were defined in the associated JSON schema were allowed and unknown attributes were discarded. -
Added the ability to create
FeatureFlagConfigurationSetting
andSecretReferenceConfigurationSetting
instances with an ETag, matchingConfigurationSetting
. This allows all setting types to use the GetConfigurationSettingAsync overload that acceptsonlyIfUnchanged.
Previously, this was not possible for specialized settings types. -
Added the ability to create
FeatureFlagConfigurationSetting
andSecretReferenceConfigurationSetting
instances for testing purposes using theConfigurationModelFactory
. It was previously not possible to populate service-owned fields when testing. -
Marked a constructor overload of
ConfigurationSetting
that was intended for testing purposes as non-visible, as theConfigurationModelFactory
should instead be used. -
Fixed a bug where a disposed content stream was used to attempt deserialization in some scenarios, such as using a custom
HttpMessageHandler
that returnsStringContent
.