Update module github.com/zclconf/go-cty to v1.18.1 - autoclosed#107
Closed
renovate[bot] wants to merge 1 commit into
Closed
Update module github.com/zclconf/go-cty to v1.18.1 - autoclosed#107renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
b1e4528 to
d22368a
Compare
d22368a to
5351ab1
Compare
5351ab1 to
39ed59f
Compare
39ed59f to
4ade93d
Compare
4ade93d to
052c790
Compare
052c790 to
6c5e253
Compare
Contributor
Author
ℹ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
6c5e253 to
e52bfcd
Compare
Contributor
Author
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
e52bfcd to
bf23300
Compare
bf23300 to
9ec23e5
Compare
9ec23e5 to
a770064
Compare
a770064 to
150de4a
Compare
150de4a to
5190e60
Compare
a60432d to
6465a0c
Compare
6465a0c to
c59adfc
Compare
Owner
|
Merged by #119 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.16.3→v1.18.1Release Notes
zclconf/go-cty (github.com/zclconf/go-cty)
v1.18.1Compare Source
v1.18.0Compare Source
v1.17.0Compare Source
ctynow requires Go 1.23 or later.cty.Value.Elementsoffers a moderniter.Seq2-based equivalent ofcty.Value.ElementIterator.cty.DeepValuesoffers a moderniter.Seq2-based equivalent ofcty.Walk.cty.Value.WrangleMarksDeepallows 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.Transformorcty.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.ValueMarksOfTypeandcty.ValueMarksOfTypeDeepmake 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.HasMarkDeepprovides a "deep" version of the existingcty.Value.HasMark, searching throughout a possibly-nested structure for any values that have the given mark.cty.Value.UnmarkDeepandcty.Value.UnmarkDeepWithPathsare now implemented in terms ofcty.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.MarkWithPathsnow has a fast path when it's given a zero-lengthPathValueMarks, in which case it just returns the value it was given with no modifications.v1.16.4Compare Source
Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.