Skip to content

[DEPENDENCIES] Update module github.com/zclconf/go-cty to v1.18.1#172

Open
tl-renovate[bot] wants to merge 1 commit intomasterfrom
renovate/github.com-zclconf-go-cty-1.x
Open

[DEPENDENCIES] Update module github.com/zclconf/go-cty to v1.18.1#172
tl-renovate[bot] wants to merge 1 commit intomasterfrom
renovate/github.com-zclconf-go-cty-1.x

Conversation

@tl-renovate
Copy link
Copy Markdown

@tl-renovate tl-renovate Bot commented Feb 24, 2026

This PR contains the following updates:

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

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.

v1.16.4

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, 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.

@tl-renovate tl-renovate Bot added the dependencies Pull requests that update a dependency file label Feb 24, 2026
@tl-renovate tl-renovate Bot requested a review from a team as a code owner February 24, 2026 03:12
@tl-renovate
Copy link
Copy Markdown
Author

tl-renovate Bot commented Feb 24, 2026

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.23.0 -> 1.25

@tl-renovate tl-renovate Bot added the dependencies Pull requests that update a dependency file label Feb 24, 2026
@tl-renovate tl-renovate Bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch from 1682b23 to 3e68d3f Compare April 17, 2026 03:13
@tl-renovate tl-renovate Bot changed the title [DEPENDENCIES] Update module github.com/zclconf/go-cty to v1.18.0 [DEPENDENCIES] Update module github.com/zclconf/go-cty to v1.18.1 Apr 17, 2026
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

Development

Successfully merging this pull request may close these issues.

0 participants