Skip to content

chore(deps): bump python-hcl2 from 8.1.2 to 8.1.3 in /api/terraform/python/layer_openai - #781

Merged
mergify[bot] merged 1 commit into
mainfrom
dependabot/pip/api/terraform/python/layer_openai/python-hcl2-8.1.3
Sep 1, 2026
Merged

mergify[bot] merged 1 commit into
mainfrom
dependabot/pip/api/terraform/python/layer_openai/python-hcl2-8.1.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Bumps python-hcl2 from 8.1.2 to 8.1.3.

Release notes

Sourced from python-hcl2's releases.

v8.1.3

What's Changed

Several fixes below change the values loads() returns for input that already parsed without error in 8.1.x — negative integer literals, both strip_string_quotes behaviours, and the two heredoc body fixes. The previous result was a bug in each case, so this stays a patch release; re-check your expectations if you built around the old values.

Fixed

  • Restore py.typed marker so type checkers recognize hcl2 (and cli) as typed packages. (#299)
  • Parse heredocs with an empty body again. A marker immediately followed by its closing delimiter failed to match, and the lexer then ran on to a later delimiter, silently absorbing the attributes in between. Thanks, @​livingstaccato (#312)
  • Negative integer literals load as numbers again instead of ${-N} expression strings, matching negative floats and the pre-8.x behaviour. Thanks, @​livingstaccato (#311)
  • strip_string_quotes no longer unquotes string literals nested inside expressions, which produced invalid HCL such as ${upper(x)} from upper("x"). Thanks, @​livingstaccato (#313)
  • strip_string_quotes now resolves escape sequences, so the values it yields match what the option documents. Escapes naming a codepoint outside the Unicode range, or a lone surrogate, are preserved verbatim rather than raising. Thanks, @​livingstaccato (#313)
  • Parse files with CRLF (\r\n) line endings, including heredocs. A \r acting as part of a line ending is ignored, so a CRLF file reconstructs with LF endings; a \r that is content — inside a quoted string or a heredoc body — is preserved. Thanks, @​agu2347 (#317)
  • Flattened heredoc bodies keep their trailing blank lines and trailing spaces instead of being right-stripped away, for both <<MARKER and <<-MARKER. The closing marker line's own indentation is still removed, and a blank line no longer cancels the <<- dedent. Thanks, @​agu2347 (#318)
  • Parse heredocs whose delimiter is a single character, such as <<E. The spec defines the delimiter as an Identifier, which permits one character. (#323)
  • preserve_heredocs=False combined with strip_string_quotes now returns the heredoc body as a plain multi-line string instead of escaping every newline to a literal \n. The escaping is still applied to the quoted source form produced without strip_string_quotes. (#324)

Full Changelog: amplify-education/python-hcl2@v8.1.2...v8.1.3

Changelog

Sourced from python-hcl2's changelog.

[8.1.3] - 2026-08-26

Several fixes below change the values loads() returns for input that already parsed without error in 8.1.x — negative integer literals, both strip_string_quotes behaviours, and the two heredoc body fixes. The previous result was a bug in each case, so this stays a patch release; re-check your expectations if you built around the old values.

Fixed

  • Restore py.typed marker so type checkers recognize hcl2 (and cli) as typed packages. (#299)
  • Parse heredocs with an empty body again. A marker immediately followed by its closing delimiter failed to match, and the lexer then ran on to a later delimiter, silently absorbing the attributes in between. Thanks, @​livingstaccato (#312)
  • Negative integer literals load as numbers again instead of ${-N} expression strings, matching negative floats and the pre-8.x behaviour. Thanks, @​livingstaccato (#311)
  • strip_string_quotes no longer unquotes string literals nested inside expressions, which produced invalid HCL such as ${upper(x)} from upper("x"). Thanks, @​livingstaccato (#313)
  • strip_string_quotes now resolves escape sequences, so the values it yields match what the option documents. Escapes naming a codepoint outside the Unicode range, or a lone surrogate, are preserved verbatim rather than raising. Thanks, @​livingstaccato (#313)
  • Parse files with CRLF (\r\n) line endings, including heredocs. A \r acting as part of a line ending is ignored, so a CRLF file reconstructs with LF endings; a \r that is content — inside a quoted string or a heredoc body — is preserved. Thanks, @​agu2347 (#317)
  • Flattened heredoc bodies keep their trailing blank lines and trailing spaces instead of being right-stripped away, for both <<MARKER and <<-MARKER. The closing marker line's own indentation is still removed, and a blank line no longer cancels the <<- dedent. Thanks, @​agu2347 (#318)
  • Parse heredocs whose delimiter is a single character, such as <<E. The spec defines the delimiter as an Identifier, which permits one character. (#323)
  • preserve_heredocs=False combined with strip_string_quotes now returns the heredoc body as a plain multi-line string instead of escaping every newline to a literal \n. The escaping is still applied to the quoted source form produced without strip_string_quotes. (#324)
Commits
  • 1874eb7 chore: prepare 8.1.3 release changelog (#325)
  • ca51f4b docs: credit contributors in the unreleased changelog entries (#322)
  • 06279a0 fix: return heredoc bodies as real multi-line values when unquoting (#303) (#...
  • 37c0b8f fix: parse heredocs with a single-character delimiter (#314) (#323)
  • e8647d9 chore: sort imports so ruff check passes on main (#320)
  • f7531ef chore: union-merge CHANGELOG.md to stop parallel PRs conflicting (#319)
  • e0c0207 Fix heredoc bodies losing trailing blank lines/spaces to a greedy rstrip (#318)
  • 8973c4c Fix CRLF (\r\n) line endings failing to parse (#317)
  • 0015121 fix: make strip_string_quotes yield values, not broken source (#308, #310) (#...
  • 205f4ba fix: load negative integer literals as numbers (#307) (#311)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added automated pr dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Sep 1, 2026
@github-actions
github-actions Bot requested a review from lpm0073 September 1, 2026 03:22
@mergify

mergify Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

Bumps [python-hcl2](https://github.com/amplify-education/python-hcl2) from 8.1.2 to 8.1.3.
- [Release notes](https://github.com/amplify-education/python-hcl2/releases)
- [Changelog](https://github.com/amplify-education/python-hcl2/blob/main/CHANGELOG.md)
- [Commits](amplify-education/python-hcl2@v8.1.2...v8.1.3)

---
updated-dependencies:
- dependency-name: python-hcl2
  dependency-version: 8.1.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/api/terraform/python/layer_openai/python-hcl2-8.1.3 branch from 4d7a69d to 566cba7 Compare September 1, 2026 03:24
@mergify
mergify Bot merged commit 1f884ad into main Sep 1, 2026
2 checks passed
@dependabot
dependabot Bot deleted the dependabot/pip/api/terraform/python/layer_openai/python-hcl2-8.1.3 branch September 1, 2026 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated pr dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant