Skip to content

Commit

Permalink
Include depth in example of breaking change importing configurations …
Browse files Browse the repository at this point in the history
…with JSON content types (#815)

* Include depth in example of breaking change importing configurations with JSON content types

* Address PR comments

* Address PR comments

---------

Co-authored-by: Maryanne Njeri <mgichohi@microsoft.com>
  • Loading branch information
MaryanneNjeri and Maryanne Njeri authored Oct 23, 2023
1 parent e4ea04b commit 1bd35b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions releaseNotes/AzureDevOpsPushPipelineExtension.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ Azure App Configuration Push extension for Azure DevOps pipeline can be installe
**Breaking Changes**
- Updated the task to require Node.js 16. It previously required 10.
- Updated the minimum supported azure pipeline agent version to [2.206.1](https://github.com/microsoft/azure-pipelines-agent/releases/tag/v2.206.1) or later. Previously it was [2.144.0](https://github.com/microsoft/azure-pipelines-agent/releases/tag/v2.144.0).
- The behavior when importing configurations with JSON content types such as `application/json` or `application/vnd.mycustomresource+json` has changed. The properties in the provided configuration are serialized as JSON to respect the provided content type. Settings that are expected to end up as JSON serialized strings in App Configuration should now be specified as JSON objects.

- The behavior when importing configurations with JSON content types such as `application/json` or `application/vnd.mycustomresource+json` has changed. The properties in the provided configuration are serialized as JSON to respect the provided content type. Settings that are expected to end up as JSON serialized strings in App Configuration should now be specified as JSON objects. Additionally, the depth property should also be adjusted to match the expected depth the JSON structure will be flattened to.

**Before**
```
Expand Down Expand Up @@ -35,6 +34,7 @@ Azure App Configuration Push extension for Azure DevOps pipeline can be installe
inputs:
azureSubscription: '<subscription>'
AppConfigurationEndpoint: '<store endpoint>'
Depth: 1
....
ContentType: 'application/vnd.microsoft.appconfig.keyvaultref+json;charset=utf-8'
Expand Down

0 comments on commit 1bd35b8

Please sign in to comment.