Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Jul 15, 2024

This PR contains the following updates:

Package Change Age Confidence
github.com/zclconf/go-cty v1.14.4 -> v1.17.0 age confidence

Release Notes

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

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

v1.16.3

Compare Source

v1.16.2

Compare Source

v1.16.1

Compare Source

v1.16.0

Compare Source

  • convert: When converting between two different capsule types, will now try to use the "conversion from" implementation from the target type if the source type doesn't have a suitable "conversion to" implementation. (#​194)
  • convert: When converting to a map whose element type is an object type with optional attributes, will no longer construct a broken result when a final map is empty. (#​198)

v1.15.1

Compare Source

v1.15.0

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 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch from 82ae899 to 2606959 Compare November 27, 2024 04:01
@renovate renovate bot changed the title fix(deps): update module github.com/zclconf/go-cty to v1.15.0 fix(deps): update module github.com/zclconf/go-cty to v1.15.1 Nov 27, 2024
@renovate renovate bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch from 2606959 to f145833 Compare January 3, 2025 22:31
@renovate renovate bot changed the title fix(deps): update module github.com/zclconf/go-cty to v1.15.1 fix(deps): update module github.com/zclconf/go-cty to v1.16.0 Jan 3, 2025
@renovate renovate bot changed the title fix(deps): update module github.com/zclconf/go-cty to v1.16.0 fix(deps): update module github.com/zclconf/go-cty to v1.16.1 Jan 14, 2025
@renovate renovate bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch from f145833 to 1124139 Compare January 14, 2025 04:20
@renovate renovate bot changed the title fix(deps): update module github.com/zclconf/go-cty to v1.16.1 fix(deps): update module github.com/zclconf/go-cty to v1.16.2 Jan 21, 2025
@renovate renovate bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch from 1124139 to 75e3fe8 Compare January 21, 2025 21:35
@renovate renovate bot changed the title fix(deps): update module github.com/zclconf/go-cty to v1.16.2 fix(deps): update module github.com/zclconf/go-cty to v1.16.3 May 16, 2025
@renovate renovate bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch from 75e3fe8 to de14af8 Compare May 16, 2025 22:52
@renovate renovate bot changed the title fix(deps): update module github.com/zclconf/go-cty to v1.16.3 fix(deps): update module github.com/zclconf/go-cty to v1.16.4 Aug 20, 2025
@renovate renovate bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch from de14af8 to 59268e3 Compare August 20, 2025 23:59
@renovate renovate bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch from 59268e3 to 7f7c409 Compare September 5, 2025 22:01
@renovate renovate bot changed the title fix(deps): update module github.com/zclconf/go-cty to v1.16.4 fix(deps): update module github.com/zclconf/go-cty to v1.17.0 Sep 5, 2025
@renovate
Copy link
Author

renovate bot commented Sep 5, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -t ./...
go: module github.com/zclconf/[email protected] requires go >= 1.23; switching to go1.24.8
go: downloading go1.24.8 (linux/amd64)
go: download go1.24.8: golang.org/[email protected]: verifying module: checksum database disabled by GOSUMDB=off

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant