summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorMartin Atkins <mart@degeneration.co.uk>2022-01-03 16:35:13 -0800
committerGitHub <noreply@github.com>2022-01-03 16:35:13 -0800
commitcfde516d3c3e84e8d40283959ce5954024021f1b (patch)
tree493a97d117f4b76cf09167f87529584ba1003d23 /CHANGELOG.md
parentff690b9803a30863d0c96031567c9941ec67f178 (diff)
Update CHANGELOG.md
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 02b9566..985f6ea 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,12 +1,17 @@
# HCL Changelog
+## v2.12.0 (Unreleased)
+
+### Enhancements
+
+* hclwrite: New functions `TokensForTuple`, TokensForObject`, and `TokensForFunctionCall` allow for more easily constructing the three constructs which are supported for static analysis and which HCL-based languages typically use in contexts where an expression is used only for its syntax, and not evaluated to produce a real value. For example, these new functions together are sufficient to construct all valid type constraint expressions from [the Type Expressions Extension](./ext/typeexpr/), which is the basis of variable type constraints in the Terraform language at the time of writing. ([#502](https://github.com/hashicorp/hcl/pull/502))
+
## v2.11.1 (Dec 1, 2021)
### Bugs Fixed
* hclsyntax: The type for an upgraded unknown value with a splat expression cannot be known ([#495](https://github.com/hashicorp/hcl/pull/495))
-
## v2.11.0 (Dec 1, 2021)
### Enhancements