Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: bump github.com/zclconf/go-cty from 1.16.3 to 1.17.0#19735

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@dependabot
Copy link
Contributor

@dependabotdependabotbot commented on behalf ofgithubSep 8, 2025

Bumpsgithub.com/zclconf/go-cty from 1.16.3 to 1.17.0.

Release notes

Sourced fromgithub.com/zclconf/go-cty's releases.

v1.17.0

cty now requires Go 1.23 or later.

  • cty.Value.Elements offers a moderniter.Seq2-based equivalent ofcty.Value.ElementIterator.

  • cty.DeepValues offers a moderniter.Seq2-based equivalent ofcty.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 withcty.Transform orcty.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 andcty.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 existingcty.Value.HasMark, searching throughout a possibly-nested structure for any values that have the given mark.

  • cty.Value.UnmarkDeep andcty.Value.UnmarkDeepWithPaths are 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.MarkWithPaths now 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.

Changelog

Sourced fromgithub.com/zclconf/go-cty's changelog.

1.17.0 (September 5, 2025)

cty now requires Go 1.23 or later.

  • cty.Value.Elements offers a moderniter.Seq2-based equivalent ofcty.Value.ElementIterator.

  • cty.DeepValues offers a moderniter.Seq2-based equivalent ofcty.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 withcty.Transform orcty.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 andcty.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 existingcty.Value.HasMark, searching throughout a possibly-nested structure for any values that have the given mark.

  • cty.Value.UnmarkDeep andcty.Value.UnmarkDeepWithPaths are 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.MarkWithPaths now 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.

1.16.4 (August 20, 2025)

  • cty.UnknownAsNull now accepts marked values and preserves the given marks in its result. Previously it had no direct support for marks and so would either panic or return incorrect results when given marked values.
Commits
  • da4c600 CHANGELOG: Prepare for v1.17.0 release
  • b13ddd4 cty: Use WrangleMarksDeep for UnmarkDeep and UnmarkDeepWithPaths
  • 4453ac2 cty: Use DeepValues instead of Walk for deep marks inspections
  • f833b10 Bulk replace interface{} -> any
  • d4bb9d4 cty: Various new mark-inspecting helpers
  • 31572cf cty+ctymarks: Deep mark wrangling helper
  • d95a68c cty: Modern iter.Seq2 equivalents of Value.ElementIterator and Walk
  • e76eeea v1.16.4 release
  • 700a2bc cty: UnknownAsNull accepts marked values and preserves marks
  • 3c2b6a0 Prepare for future v1.16.4 release
  • See full diff incompare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting@dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty) from 1.16.3 to 1.17.0.- [Release notes](https://github.com/zclconf/go-cty/releases)- [Changelog](https://github.com/zclconf/go-cty/blob/main/CHANGELOG.md)- [Commits](zclconf/go-cty@v1.16.3...v1.17.0)---updated-dependencies:- dependency-name: github.com/zclconf/go-cty  dependency-version: 1.17.0  dependency-type: direct:production  update-type: version-update:semver-minor...Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotbot added dependenciesPull requests that update a dependency file goPull requests that update go code labelsSep 8, 2025
@github-actionsgithub-actionsbotenabled auto-merge (squash)September 8, 2025 11:41
@github-actionsgithub-actionsbot merged commit2e06b6f intomainSep 8, 2025
30 checks passed
@github-actionsgithub-actionsbot deleted the dependabot/go_modules/github.com/zclconf/go-cty-1.17.0 branchSeptember 8, 2025 11:52
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@github-actionsgithub-actions[bot]github-actions[bot] approved these changes

Assignees

No one assigned

Labels

dependenciesPull requests that update a dependency filegoPull requests that update go code

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant


[8]ページ先頭

©2009-2025 Movatter.jp