Skip to content

Bump github.com/hashicorp/hcl/v2 from 2.2.0 to 2.6.0 #375

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 5, 2020

Bumps github.com/hashicorp/hcl/v2 from 2.2.0 to 2.6.0.

Release notes

Sourced from github.com/hashicorp/hcl/v2's releases.

v2.6.0

Enhancements

  • hcldec: Add a new Spec, ValidateSpec, which allows custom validation of values at decode-time. (#387)

Bugs Fixed

  • hclsyntax: Fix panic with combination of sequences and null arguments (#386)
  • hclsyntax: Fix handling of unknown values and sequences (#386)

v2.5.1

Bugs Fixed

  • hclwrite: handle legacy dot access of numeric indexes. (#369)
  • hclwrite: Fix panic for dotted full splat (foo.*) (#374)

v2.5.0

Enhancements

  • hclwrite: Generate multi-line objects and maps. (#372)

v2.4.0 (Apr 13, 2020)

Enhancements

  • The Unicode data tables that HCL uses to produce user-perceived "column" positions in diagnostics and other source ranges are now updated to Unicode 12.0.0, which will cause HCL to produce more accurate column numbers for combining characters introduced to Unicode since Unicode 9.0.0.

Bugs Fixed

  • json: Fix panic when parsing malformed JSON. (#358)

v2.3.0

Enhancements

  • ext/tryfunc: Optional functions try and can to include in your hcl.EvalContext when evaluating expressions, which allow users to make decisions based on the success of expressions. (#330)
  • ext/typeexpr: Now has an optional function convert which you can include in your hcl.EvalContext when evaluating expressions, allowing users to convert values to specific type constraints using the type constraint expression syntax. (#330)
  • ext/typeexpr: A new cty capsule type typeexpr.TypeConstraintType which, when used as either a type constraint for a function parameter or as a type constraint for a hcldec attribute specification will cause the given expression to be interpreted as a type constraint expression rather than a value expression. (#330)
  • ext/customdecode: An optional extension that allows overriding the static decoding behavior for expressions either in function arguments or hcldec attribute specifications. (#330)
  • ext/customdecode: New cty capsuletypes customdecode.ExpressionType and customdecode.ExpressionClosureType which, when used as either a type constraint for a function parameter or as a type constraint for a hcldec attribute specification will cause the given expression (and, for the closure type, also the hcl.EvalContext it was evaluated in) to be captured for later analysis, rather than immediately evaluated. (#330)
Changelog

Sourced from github.com/hashicorp/hcl/v2's changelog.

v2.6.0 (June 4, 2020)

Enhancements

  • hcldec: Add a new Spec, ValidateSpec, which allows custom validation of values at decode-time. (#387)

Bugs Fixed

  • hclsyntax: Fix panic with combination of sequences and null arguments (#386)
  • hclsyntax: Fix handling of unknown values and sequences (#386)

v2.5.1 (May 14, 2020)

Bugs Fixed

  • hclwrite: handle legacy dot access of numeric indexes. (#369)
  • hclwrite: Fix panic for dotted full splat (foo.*) (#374)

v2.5.0 (May 6, 2020)

Enhancements

  • hclwrite: Generate multi-line objects and maps. (#372)

v2.4.0 (Apr 13, 2020)

Enhancements

  • The Unicode data tables that HCL uses to produce user-perceived "column" positions in diagnostics and other source ranges are now updated to Unicode 12.0.0, which will cause HCL to produce more accurate column numbers for combining characters introduced to Unicode since Unicode 9.0.0.

Bugs Fixed

  • json: Fix panic when parsing malformed JSON. (#358)

v2.3.0 (Jan 3, 2020)

Enhancements

  • ext/tryfunc: Optional functions try and can to include in your hcl.EvalContext when evaluating expressions, which allow users to make decisions based on the success of expressions. (#330)
  • ext/typeexpr: Now has an optional function convert which you can include in your hcl.EvalContext when evaluating expressions, allowing users to convert values to specific type constraints using the type constraint expression syntax. (#330)
  • ext/typeexpr: A new cty capsule type typeexpr.TypeConstraintType which, when used as either a type constraint for a function parameter or as a type constraint for a hcldec attribute specification will cause the given expression to be interpreted as a type constraint expression rather than a value expression. (#330)
  • ext/customdecode: An optional extension that allows overriding the static decoding behavior for expressions either in function arguments or hcldec attribute specifications. (#330)
  • ext/customdecode: New cty capsuletypes customdecode.ExpressionType and customdecode.ExpressionClosureType which, when used as either a type constraint for a function parameter or as a type constraint for a hcldec attribute specification will cause the given expression (and, for the closure type, also the hcl.EvalContext it was evaluated in) to be captured for later analysis, rather than immediately evaluated. (#330)
Commits
  • 350d663 v2.6.0 release
  • 7ebdbcb Formatting change on CHANGELOG.md
  • b6a2b60 Update CHANGELOG.md
  • 919ba77 Merge pull request #387 from hashicorp/hcldec-add-validatefuncspec
  • 9c4784b hcldec: add ValidateSpec
  • 92a27b7 Update CHANGELOG.md
  • 47e2447 Merge pull request #386 from hashicorp/mildwonkey/b-null-seq-panic
  • 3733856 pr feedback: check for null first argument
  • 1f97062 hclsyntax: return cty.DynamicVal when encountering (...) and unknown
  • d9969e8 hclsyntax: do not panic when encountering a null + sequence (...)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl) from 2.2.0 to 2.6.0.
- [Release notes](https://github.com/hashicorp/hcl/releases)
- [Changelog](https://github.com/hashicorp/hcl/blob/v2.6.0/CHANGELOG.md)
- [Commits](hashicorp/hcl@v2.2.0...v2.6.0)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 5, 2020
@jpreese jpreese self-requested a review September 6, 2020 18:30
@jpreese jpreese merged commit 2a37ddf into master Sep 6, 2020
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/hashicorp/hcl/v2-2.6.0 branch September 6, 2020 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant