- Updated to use the latest versions of the
@azure/core-*
packages - Added a listRevisions.ts sample to show how the listRevisions() API works
Breaking changes from 1.0.0-preview.5:
- The
ConfigurationSetting
'slocked
property has been renamed toreadOnly
to match the nomenclature used throughout the SDK. listConfigurationSettings
andlistRevisions
now takereadOnly
as a value infields
, rather thanlocked
.
- Updated to use the latest version of
@azure/core-tracing
,@azure/core-http
and@azure/core-arm
packages
This release brings our interface a bit closer to what is offered in the Azure SDKs for C# and Java for AppConfig.
This affects the getConfigurationSetting
, addConfigurationSetting
,
setConfigurationSetting
and deleteConfigurationSetting
methods which
no longer take a key
parameter and instead take an object.
In previous previews:
// 1.0.0-preview.3 and below
await client.getConfigurationSetting("MyKey", { label: "MyLabel" });
await client.addConfigurationSetting("MyKey", { label: "MyLabel", value: "MyValue" });
await client.setConfigurationSetting("MyKey", { label: "MyLabel", value: "MyValue" });
await client.deleteConfigurationSetting("MyKey", { label: "MyLabel" });
Now in preview.4:
// 1.0.0-preview.4
await client.getConfigurationSetting({ key: "MyKey", label: "MyLabel" });
await client.addConfigurationSetting({ key: "MyKey", label: "MyLabel", value: "MyValue" });
await client.setConfigurationSetting({ key: "MyKey", label: "MyLabel", value: "MyValue" });
await client.deleteConfigurationSetting({ key: "MyKey", label: "MyLabel" });
listConfigurationSettings
andlistRevisions
have been changed to returnPagedAsyncIterableIterator
's, allowing their results to be iterated by page (also returning HTTP response information) or as an iterator of ConfigurationSetting.setReadOnly
andclearReadOnly
let you mark a setting as read-only (or make it writeable) again, protecting against accidental changes.
- Typings file was incorrectly packaged (#5217)
Republishing as the readme is not properly showing up on npmjs. No other changes.
This is the first release of the @azure/app-configuration package.
This package contains the AppConfigurationClient
to talk to the Azure
App Configuration managed service, with initial support for create, read,
update, delete and search operations with configuration settings.