hashicorp/hcl
### [`v2.16.2`](https://togithub.com/hashicorp/hcl/blob/HEAD/CHANGELOG.md#v2162-March-9-2023)
[Compare Source](https://togithub.com/hashicorp/hcl/compare/v2.16.1...v2.16.2)
##### Bugs Fixed
- ext/typeexpr: Verify type assumptions when applying default values, and ignore input values that do not match type assumptions. ([#594](https://togithub.com/hashicorp/hcl/pull/594))
### [`v2.16.1`](https://togithub.com/hashicorp/hcl/blob/HEAD/CHANGELOG.md#v2161-February-13-2023)
[Compare Source](https://togithub.com/hashicorp/hcl/compare/v2.16.0...v2.16.1)
##### Bugs Fixed
- hclsyntax: Report correct `Range.End` for `FunctionCall` with incomplete argument ([#588](https://togithub.com/hashicorp/hcl/pull/588))
### [`v2.16.0`](https://togithub.com/hashicorp/hcl/blob/HEAD/CHANGELOG.md#v2160-January-30-2023)
[Compare Source](https://togithub.com/hashicorp/hcl/compare/v2.15.0...v2.16.0)
##### Enhancements
- ext/typeexpr: Modify the `Defaults` functionality to implement additional flexibility. HCL will now upcast lists and sets into tuples, and maps into objects, when applying default values if the applied defaults cause the elements within a target collection to have differing types. Previously, this would have resulted in a panic, now HCL will return a modified overall type. ([#574](https://togithub.com/hashicorp/hcl/pull/574))
Users should return to the advice provided by v2.14.0, and apply the go-cty convert functionality *after* setting defaults on a given `cty.Value`, rather than before.
- hclfmt: Avoid rewriting unchanged files. ([#576](https://togithub.com/hashicorp/hcl/pull/576))
- hclsyntax: Simplify the AST for certain string expressions. ([#584](https://togithub.com/hashicorp/hcl/pull/584))
##### Bugs Fixed
- hclwrite: Fix data race in `formatSpaces`. ([#511](https://togithub.com/hashicorp/hcl/pull/511))
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
v2.15.0
->v2.16.2
Release Notes
hashicorp/hcl
### [`v2.16.2`](https://togithub.com/hashicorp/hcl/blob/HEAD/CHANGELOG.md#v2162-March-9-2023) [Compare Source](https://togithub.com/hashicorp/hcl/compare/v2.16.1...v2.16.2) ##### Bugs Fixed - ext/typeexpr: Verify type assumptions when applying default values, and ignore input values that do not match type assumptions. ([#594](https://togithub.com/hashicorp/hcl/pull/594)) ### [`v2.16.1`](https://togithub.com/hashicorp/hcl/blob/HEAD/CHANGELOG.md#v2161-February-13-2023) [Compare Source](https://togithub.com/hashicorp/hcl/compare/v2.16.0...v2.16.1) ##### Bugs Fixed - hclsyntax: Report correct `Range.End` for `FunctionCall` with incomplete argument ([#588](https://togithub.com/hashicorp/hcl/pull/588)) ### [`v2.16.0`](https://togithub.com/hashicorp/hcl/blob/HEAD/CHANGELOG.md#v2160-January-30-2023) [Compare Source](https://togithub.com/hashicorp/hcl/compare/v2.15.0...v2.16.0) ##### Enhancements - ext/typeexpr: Modify the `Defaults` functionality to implement additional flexibility. HCL will now upcast lists and sets into tuples, and maps into objects, when applying default values if the applied defaults cause the elements within a target collection to have differing types. Previously, this would have resulted in a panic, now HCL will return a modified overall type. ([#574](https://togithub.com/hashicorp/hcl/pull/574)) Users should return to the advice provided by v2.14.0, and apply the go-cty convert functionality *after* setting defaults on a given `cty.Value`, rather than before. - hclfmt: Avoid rewriting unchanged files. ([#576](https://togithub.com/hashicorp/hcl/pull/576)) - hclsyntax: Simplify the AST for certain string expressions. ([#584](https://togithub.com/hashicorp/hcl/pull/584)) ##### Bugs Fixed - hclwrite: Fix data race in `formatSpaces`. ([#511](https://togithub.com/hashicorp/hcl/pull/511))Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.