Skip to content

Update module github.com/zclconf/go-cty to v1.19.0#15

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

Update module github.com/zclconf/go-cty to v1.19.0#15
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-zclconf-go-cty-1.x

Conversation

@renovate

@renovate renovate Bot commented Feb 15, 2024

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/zclconf/go-cty v1.13.3v1.19.0 age confidence

Release Notes

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

v1.19.0

Compare Source

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

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

v1.14.4

Compare Source

v1.14.3

Compare Source

v1.14.2

Compare Source

v1.14.1

Compare Source

v1.14.0

Compare Source


Configuration

📅 Schedule: (UTC)

  • 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 changed the title Update module github.com/zclconf/go-cty to v1.14.2 Update module github.com/zclconf/go-cty to v1.14.3 Mar 1, 2024
@renovate
renovate Bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch from 26b53af to 5bae013 Compare March 1, 2024 17:52
@renovate renovate Bot changed the title Update module github.com/zclconf/go-cty to v1.14.3 Update module github.com/zclconf/go-cty to v1.14.4 Mar 21, 2024
@renovate
renovate Bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch from 5bae013 to 70339b1 Compare March 21, 2024 20:53
@renovate
renovate Bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch from 70339b1 to f24cf7c Compare July 17, 2024 05:53
@renovate renovate Bot changed the title Update module github.com/zclconf/go-cty to v1.14.4 Update module github.com/zclconf/go-cty to v1.15.0 Jul 17, 2024
@renovate
renovate Bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch from f24cf7c to 5d6e89c Compare November 27, 2024 17:55
@renovate renovate Bot changed the title Update module github.com/zclconf/go-cty to v1.15.0 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 5d6e89c to 0ea1939 Compare January 4, 2025 05:52
@renovate renovate Bot changed the title Update module github.com/zclconf/go-cty to v1.15.1 Update module github.com/zclconf/go-cty to v1.16.0 Jan 4, 2025
@renovate
renovate Bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch from 0ea1939 to 1dce33d Compare January 15, 2025 04:01
@renovate renovate Bot changed the title Update module github.com/zclconf/go-cty to v1.16.0 Update module github.com/zclconf/go-cty to v1.16.1 Jan 15, 2025
@renovate
renovate Bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch from 1dce33d to 15d5c91 Compare January 24, 2025 04:08
@renovate renovate Bot changed the title Update module github.com/zclconf/go-cty to v1.16.1 Update module github.com/zclconf/go-cty to v1.16.2 Jan 24, 2025
@renovate
renovate Bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch from 15d5c91 to af0b8e7 Compare May 17, 2025 03:53
@renovate renovate Bot changed the title Update module github.com/zclconf/go-cty to v1.16.2 Update module github.com/zclconf/go-cty to v1.16.3 May 17, 2025
@renovate
renovate Bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch from af0b8e7 to 5032113 Compare August 23, 2025 07:50
@renovate renovate Bot changed the title Update module github.com/zclconf/go-cty to v1.16.3 Update module github.com/zclconf/go-cty to v1.16.4 Aug 23, 2025
@renovate
renovate Bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch from 5032113 to d9252aa Compare September 5, 2025 23:34
@renovate renovate Bot changed the title Update module github.com/zclconf/go-cty to v1.16.4 Update module github.com/zclconf/go-cty to v1.17.0 Sep 5, 2025
@renovate
renovate Bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch from d9252aa to 32c9ec1 Compare February 24, 2026 06:07
@renovate renovate Bot changed the title Update module github.com/zclconf/go-cty to v1.17.0 Update module github.com/zclconf/go-cty to v1.18.0 Feb 24, 2026
@renovate
renovate Bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch from 32c9ec1 to 6d28e53 Compare April 19, 2026 05:05
@renovate renovate Bot changed the title Update module github.com/zclconf/go-cty to v1.18.0 Update module github.com/zclconf/go-cty to v1.18.1 Apr 19, 2026
@renovate renovate Bot changed the title Update module github.com/zclconf/go-cty to v1.18.1 Update module github.com/zclconf/go-cty to v1.19.0 Jul 9, 2026
@renovate
renovate Bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch from 6d28e53 to af5a7b2 Compare July 9, 2026 03:53
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.

0 participants