Skip to content

chore(deps): update module github.com/zclconf/go-cty to v1.18.1 (main)#4841

Merged
elastic-renovate-prod[bot] merged 1 commit into
mainfrom
renovate/main-github.com-zclconf-go-cty-1.x
Apr 23, 2026
Merged

chore(deps): update module github.com/zclconf/go-cty to v1.18.1 (main)#4841
elastic-renovate-prod[bot] merged 1 commit into
mainfrom
renovate/main-github.com-zclconf-go-cty-1.x

Conversation

@elastic-renovate-prod
Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
github.com/zclconf/go-cty indirect minor v1.16.4 -> v1.18.1

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

zclconf/go-cty (github.com/zclconf/go-cty)

v1.18.1

Compare Source

v1.18.0

Compare Source

v1.17.0

Compare Source

cty now requires Go 1.23 or later.

  • cty.Value.Elements offers a modern iter.Seq2-based equivalent of cty.Value.ElementIterator.

  • cty.DeepValues offers a modern iter.Seq2-based equivalent of cty.Walk.

  • cty.Value.WrangleMarksDeep allows inspecting and modifying individual marks throughout a possibly-nested data structure.

    Having now got some experience using marks more extensively in some callers, it's become clear that it's often necessary for different subsystems to be able to collaborate using independent marks without upsetting each other's assumptions. Today that tends to be achieved using hand-written transforms either with cty.Transform or cty.Value.UnmarkDeepWithPaths/cty.Value.MarkWithPaths, both of which can be pretty expensive even in the common case where there are no marks present at all.

    This new function allows inspecting and transforming marks with far less overhead, by creating new values only for parts of a structure that actually need to change and by reusing (rather than recreating) the "payloads" of the values being modified when we know that only the marks have changed.

  • cty.ValueMarksOfType and cty.ValueMarksOfTypeDeep make it easier to use type-based rather than value-based mark schemes, where different values of a common type are used to track a specific kind of relationship with multiple external values.

  • cty.Value.HasMarkDeep provides a "deep" version of the existing cty.Value.HasMark, searching throughout a possibly-nested structure for any values that have the given mark.

  • cty.Value.UnmarkDeep and cty.Value.UnmarkDeepWithPaths are now implemented in terms of cty.Value.WrangleMarksDeep, so they benefit from its reduced overhead. In particular they avoid reconstructing a data structure that contains no marked values at all.

  • cty.Value.MarkWithPaths now has a fast path when it's given a zero-length PathValueMarks, in which case it just returns the value it was given with no modifications.


Configuration

📅 Schedule: Branch creation - "* 1 * * 1-5" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@elastic-renovate-prod elastic-renovate-prod Bot added backport-skip dependencies Pull requests that update a dependency file renovate renovate-auto-approve Team:Security-Cloud Services Security Data Experience - Cloud Services team. labels Apr 22, 2026
@elastic-renovate-prod elastic-renovate-prod Bot requested a review from a team as a code owner April 22, 2026 22:44
@elastic-renovate-prod elastic-renovate-prod Bot added the Team:Security-Cloud Services Security Data Experience - Cloud Services team. label Apr 22, 2026
@elastic-renovate-prod elastic-renovate-prod Bot added this pull request to the merge queue Apr 22, 2026
@mergify mergify Bot added the queued label Apr 22, 2026
@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Apr 22, 2026

Merge Queue Status

This pull request spent 1 hour 18 seconds in the queue, with no time running CI.

Waiting for:
  • check-success=Lint
  • check-success=Manifest Tests
  • check-success=Package Cloudbeat (docker)
  • check-success=Package Cloudbeat (tar.gz)
  • check-success=Test Rego Policies
  • check-success=Unit Test
  • any of:
    • check-neutral = CLA
    • check-skipped = CLA
    • check-success = CLA
  • any of:
    • check-neutral = Package Cloudbeat (docker)
    • check-skipped = Package Cloudbeat (docker)
    • check-success = Package Cloudbeat (docker)
  • any of:
    • check-neutral = Package Cloudbeat (tar.gz)
    • check-skipped = Package Cloudbeat (tar.gz)
    • check-success = Package Cloudbeat (tar.gz)
  • any of:
    • check-neutral = Manifest Tests
    • check-skipped = Manifest Tests
    • check-success = Manifest Tests
  • any of:
    • check-neutral = Test Rego Policies
    • check-skipped = Test Rego Policies
    • check-success = Test Rego Policies
  • any of:
    • check-neutral = Lint
    • check-skipped = Lint
    • check-success = Lint
  • any of:
    • check-neutral = Unit Test
    • check-skipped = Unit Test
    • check-success = Unit Test
All conditions

Reason

Pull request #4841 has been merged manually at 127fe35

Hint

You were too fast!

mergify Bot added a commit that referenced this pull request Apr 22, 2026
mergify Bot added a commit that referenced this pull request Apr 22, 2026
mergify Bot added a commit that referenced this pull request Apr 22, 2026
Merged via the queue into main with commit 127fe35 Apr 23, 2026
34 of 36 checks passed
@elastic-renovate-prod elastic-renovate-prod Bot deleted the renovate/main-github.com-zclconf-go-cty-1.x branch April 23, 2026 00:03
mergify Bot added a commit that referenced this pull request Apr 23, 2026
mergify Bot added a commit that referenced this pull request Apr 23, 2026
mergify Bot added a commit that referenced this pull request Apr 23, 2026
@mergify mergify Bot added dequeued and removed queued labels Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-skip dependencies Pull requests that update a dependency file dequeued renovate renovate-auto-approve Team:Security-Cloud Services Security Data Experience - Cloud Services team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants