fix(deps): update module github.com/hashicorp/hcl/v2 to v2.18.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
github.com/hashicorp/hcl/v2 | require | minor |
v2.17.0 -> v2.18.0
|
Release Notes
hashicorp/hcl (github.com/hashicorp/hcl/v2)
v2.18.0
Enhancements
-
HCL now uses the tables from Unicode 15 when performing string normalization and character segmentation. HCL was previously using the Unicode 13 tables.
For calling applications where consistent Unicode support is important, consider also upgrading to Go 1.21 at the same time as adopting HCL v2.18.0 so that the standard library unicode tables (used for case folding, etc) will also be from Unicode 15.
v2.17.1
Enhancements
- hclsyntax: When evaluating string templates that have a long known constant prefix, HCL will truncate the known prefix to avoid creating excessively-large refinements. String prefix refinements are intended primarily for relatively-short fixed prefixes, such as
https://
at the start of a URL known to use that scheme. (#617) - ext/tryfunc: The "try" and "can" functions now handle unknown values slightly more precisely, and so can return known values in more situations when given expressions referring to unknown symbols. (#622)
Bugs Fixed
- ext/typeexpr: Will no longer try to refine unknown values of unknown type when dealing with a user-specified type constraint containing the
any
keyword, avoiding an incorrect panic at runtime. (#625) - ext/typeexpr: Now correctly handles attempts to declare the same object type attribute multiple times by returning an error. Previously this could potentially panic by creating an incoherent internal state. (#624)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.