Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented May 13, 2023

This PR contains the following updates:

Package Change Age Confidence
github.com/zclconf/go-cty v1.10.0 -> 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

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

v1.13.3

Compare Source

v1.13.2

Compare Source

  • cty: IndexStep.Apply will no longer panic if given a marked collection to traverse through. (#​160).

v1.13.1

Compare Source

v1.13.0

Compare Source

v1.12.2

Compare Source

  • cty: IndexStep.Apply will no longer panic if given a marked collection to traverse through. (#​160).

v1.12.1

Compare Source

v1.12.0

Compare Source

v1.11.1

Compare Source

  • convert: Fix for error when converting empty sets and lists with nested optional attributes by explicitly removing optional attribute information from collections.

v1.11.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.

@codecov
Copy link

codecov bot commented May 13, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.00%. Comparing base (e7c7522) to head (f29a04a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #29   +/-   ##
=======================================
  Coverage   93.00%   93.00%           
=======================================
  Files           3        3           
  Lines         343      343           
=======================================
  Hits          319      319           
  Misses         13       13           
  Partials       11       11           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot changed the title fix(deps): update module github.com/zclconf/go-cty to v1.13.1 fix(deps): update module github.com/zclconf/go-cty to v1.13.2 May 22, 2023
@renovate renovate bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch from 0869c88 to 10ff29d Compare May 22, 2023 18:29
@renovate renovate bot changed the title fix(deps): update module github.com/zclconf/go-cty to v1.13.2 fix(deps): update module github.com/zclconf/go-cty to v1.13.3 Aug 24, 2023
@renovate renovate bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch 2 times, most recently from 63eab33 to 7f5632f Compare August 28, 2023 10:46
@renovate renovate bot changed the title fix(deps): update module github.com/zclconf/go-cty to v1.13.3 fix(deps): update module github.com/zclconf/go-cty to v1.14.0 Aug 30, 2023
@renovate renovate bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch from 7f5632f to 34deca9 Compare August 30, 2023 19:53
@renovate renovate bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch 3 times, most recently from 9d0a26f to c17995e Compare September 13, 2023 04:08
@renovate renovate bot changed the title fix(deps): update module github.com/zclconf/go-cty to v1.14.0 fix(deps): update module github.com/zclconf/go-cty to v1.14.1 Oct 6, 2023
@renovate renovate bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch from c17995e to 7f70192 Compare October 6, 2023 03:52
@renovate renovate bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch from 7f70192 to ff2dae7 Compare January 24, 2024 00:54
@renovate renovate bot changed the title fix(deps): update module github.com/zclconf/go-cty to v1.14.1 fix(deps): update module github.com/zclconf/go-cty to v1.14.2 Jan 24, 2024
@renovate renovate bot changed the title fix(deps): update module github.com/zclconf/go-cty to v1.14.2 fix(deps): 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 ff2dae7 to 3af160c Compare March 1, 2024 02:45
@renovate renovate bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch 2 times, most recently from c62f118 to f29a04a Compare March 21, 2024 00:33
@renovate renovate bot changed the title fix(deps): update module github.com/zclconf/go-cty to v1.14.3 fix(deps): 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 f29a04a to e3cfd79 Compare July 15, 2024 21:53
@renovate
Copy link
Contributor Author

renovate bot commented Jul 15, 2024

ℹ 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):

  • 1 additional dependency was updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.18 -> 1.23
golang.org/x/text v0.9.0 -> v0.11.0

@renovate renovate bot changed the title fix(deps): update module github.com/zclconf/go-cty to v1.14.4 fix(deps): update module github.com/zclconf/go-cty to v1.15.0 Jul 15, 2024
@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 e3cfd79 to 999b1ae Compare November 27, 2024 03:15
@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 force-pushed the renovate/github.com-zclconf-go-cty-1.x branch from 999b1ae to 9e9fe70 Compare January 3, 2025 20:13
@renovate renovate bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch from 9e9fe70 to 88d756f Compare January 14, 2025 04:27
@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 88d756f to 3309433 Compare January 21, 2025 21:09
@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 3309433 to 785dfc2 Compare May 16, 2025 23:40
@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 785dfc2 to 4e9b055 Compare August 21, 2025 02:25
@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 21, 2025
@renovate renovate bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch from 4e9b055 to d1e9166 Compare September 6, 2025 02:41
@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 6, 2025
@renovate renovate bot changed the title fix(deps): update module github.com/zclconf/go-cty to v1.17.0 fix(deps): update module github.com/zclconf/go-cty to v1.17.0 - autoclosed Sep 30, 2025
@renovate renovate bot closed this Sep 30, 2025
@renovate renovate bot deleted the renovate/github.com-zclconf-go-cty-1.x branch September 30, 2025 21:30
@renovate renovate bot changed the title fix(deps): update module github.com/zclconf/go-cty to v1.17.0 - autoclosed fix(deps): update module github.com/zclconf/go-cty to v1.17.0 Oct 7, 2025
@renovate renovate bot reopened this Oct 7, 2025
@renovate renovate bot force-pushed the renovate/github.com-zclconf-go-cty-1.x branch from 6a68ed3 to d1e9166 Compare October 7, 2025 17:46
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.

2 participants