Skip to content

Commit

Permalink
Prepare for v2.16.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
alisdair committed Jan 30, 2023
1 parent 8849dbc commit d180583
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
# HCL Changelog

## v2.16.0 (Unreleased)
## v2.16.0 (January 30, 2023)

### Bugs Fixed
### 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://github.com/hashicorp/hcl/pull/574))

### Enhancements
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://github.com/hashicorp/hcl/pull/576))
* hclsyntax: Simplify the AST for certain string expressions. ([#584](https://github.com/hashicorp/hcl/pull/584))

### Bugs Fixed

* ext/typeexpr: 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. ([#574](https://github.com/hashicorp/hcl/pull/574))
* hclwrite: Fix data race in `formatSpaces`. ([#511](https://github.com/hashicorp/hcl/pull/511))

## v2.15.0 (November 10, 2022)

Expand Down

0 comments on commit d180583

Please sign in to comment.