Skip to content

Commit 95b16ff

Browse files
build(deps): bump github.com/zclconf/go-cty from 1.15.1 to 1.16.2 in /pkg (#1600)
Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty) from 1.15.1 to 1.16.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/zclconf/go-cty/releases">github.com/zclconf/go-cty's releases</a>.</em></p> <blockquote> <h2>v1.16.0</h2> <ul> <li><code>convert</code>: When converting between two different capsule types, will now try to use the &quot;conversion <em>from</em>&quot; implementation from the target type if the source type doesn't have a suitable &quot;conversion <em>to</em>&quot; implementation. (<a href="https://redirect.github.com/zclconf/go-cty/pull/194">#194</a>)</li> <li><code>convert</code>: 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. (<a href="https://redirect.github.com/zclconf/go-cty/pull/198">#198</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/zclconf/go-cty/blob/main/CHANGELOG.md">github.com/zclconf/go-cty's changelog</a>.</em></p> <blockquote> <h1>1.16.2 (January 21, 2025)</h1> <ul> <li><code>json</code>: <code>ImpliedType</code> now returns an error if a JSON object contains two properties of the same name. As a compatibility concession it allows duplicates whose values have the same implied type, since it was unintentionally possible to combine <code>ImpliedType</code> and <code>Unmarshal</code> successfully in that case before, but this is not an endorsement of using duplicate property names since that makes the input ambiguous in any case. (<a href="https://redirect.github.com/zclconf/go-cty/issues/199">#199</a>)</li> <li><code>function/stdlib</code>: <code>ElementFunc</code> no longer crashes when asked for a negative index into a tuple. This fixes a miss in the negative index support added back in v1.15.0. (<a href="https://redirect.github.com/zclconf/go-cty/pull/200">#200</a>)</li> </ul> <h1>1.16.1 (January 13, 2025)</h1> <ul> <li><code>cty</code>: <code>Value.HasElement</code> now treats unknown set elements consistently with how much of the rest of <code>cty</code> treats them.</li> <li><code>function/stdlib</code>: <code>FormatFunc</code> and <code>FormatListFunc</code> now handle unknown and null values of unknown type as arguments, rather than letting the function system's short-circuit behavior take care of it. This allows <code>cty.DynamicVal</code> and <code>cty.NullVal(cty.DynamicPseudoType)</code> to be treated consistently with other values, returning results consistent with the documented behavior, rather than forcing the function to immediately return <code>cty.DynamicVal</code>.</li> </ul> <h1>1.16.0 (January 3, 2025)</h1> <ul> <li><code>convert</code>: When converting between two different capsule types, will now try to use the &quot;conversion <em>from</em>&quot; implementation from the target type if the source type doesn't have a suitable &quot;conversion <em>to</em>&quot; implementation. (<a href="https://redirect.github.com/zclconf/go-cty/pull/194">#194</a>)</li> <li><code>convert</code>: 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. (<a href="https://redirect.github.com/zclconf/go-cty/pull/198">#198</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/zclconf/go-cty/commit/51a6901d0a830f12a1aa4df7972a77f2c88feba0"><code>51a6901</code></a> v1.16.2 release</li> <li><a href="https://github.com/zclconf/go-cty/commit/1c48de357f301f3896bc0f1047850c1f254f6561"><code>1c48de3</code></a> json: ImpliedType rejects duplicate property names of different types</li> <li><a href="https://github.com/zclconf/go-cty/commit/d13b46ed274774de8000a7e706a2179a601e5e7e"><code>d13b46e</code></a> function/stdlib: ElementFunc handles negative index into tuple</li> <li><a href="https://github.com/zclconf/go-cty/commit/0ed0ebb397b63f595b65d7c57b7746e681fe470f"><code>0ed0ebb</code></a> Prepare for future v1.16.2 release</li> <li><a href="https://github.com/zclconf/go-cty/commit/b3195248b2f5981d626e7f112a6b4df729375b07"><code>b319524</code></a> v1.16.1 release</li> <li><a href="https://github.com/zclconf/go-cty/commit/e41d2619d8e9bbb619f06f9ca1b22f0777402ba4"><code>e41d261</code></a> cty: Fix various Value.HasElement quirks, and add tests</li> <li><a href="https://github.com/zclconf/go-cty/commit/8920baaedde2ab8c54d5f429348d09e04fdde428"><code>8920baa</code></a> function/stdlib: FormatFunc and FormatListFunc can handle DynamicPseudoType</li> <li><a href="https://github.com/zclconf/go-cty/commit/6edebd24b4785ea84104c68cd522ffdbcdedb0e7"><code>6edebd2</code></a> Prepare for v1.16.1 development</li> <li><a href="https://github.com/zclconf/go-cty/commit/6e06defc5f817971ab942989ad06752e13446c9c"><code>6e06def</code></a> v1.16.0 release</li> <li><a href="https://github.com/zclconf/go-cty/commit/9dc31e27278d47020b6c0f321fa47c5568b3d453"><code>9dc31e2</code></a> Update CHANGELOG.md</li> <li>Additional commits viewable in <a href="https://github.com/zclconf/go-cty/compare/v1.15.1...v1.16.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/zclconf/go-cty&package-manager=go_modules&previous-version=1.15.1&new-version=1.16.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent e557f02 commit 95b16ff

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pkg/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ require (
1818
github.com/pulumi/pulumi/sdk/v3 v3.151.0
1919
github.com/spf13/cobra v1.9.1
2020
github.com/stretchr/testify v1.10.0
21-
github.com/zclconf/go-cty v1.15.1
21+
github.com/zclconf/go-cty v1.16.2
2222
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56
2323
google.golang.org/grpc v1.67.1
2424
google.golang.org/protobuf v1.36.1

pkg/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,8 +520,8 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de
520520
github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
521521
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
522522
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
523-
github.com/zclconf/go-cty v1.15.1 h1:RgQYm4j2EvoBRXOPxhUvxPzRrGDo1eCOhHXuGfrj5S0=
524-
github.com/zclconf/go-cty v1.15.1/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE=
523+
github.com/zclconf/go-cty v1.16.2 h1:LAJSwc3v81IRBZyUVQDUdZ7hs3SYs9jv0eZJDWHD/70=
524+
github.com/zclconf/go-cty v1.16.2/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE=
525525
github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940 h1:4r45xpDWB6ZMSMNJFMOjqrGHynW3DIBuR2H9j0ug+Mo=
526526
github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940/go.mod h1:CmBdvvj3nqzfzJ6nTCIwDTPZ56aVGvDrmztiO5g3qrM=
527527
go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=

0 commit comments

Comments
 (0)