Skip to content

Commit 651c3ed

Browse files
[Dependency] Bump github.com/hashicorp/go-cty from 1.4.1-0.20200414143053-d3edf31b6320 to 1.4.1 (#4558)
Bumps [github.com/hashicorp/go-cty](https://github.com/hashicorp/go-cty) from 1.4.1-0.20200414143053-d3edf31b6320 to 1.4.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/hashicorp/go-cty/blob/master/CHANGELOG.md">github.com/hashicorp/go-cty's changelog</a>.</em></p> <blockquote> <h1>1.4.1 (March 5, 2025)</h1> <ul> <li><code>function/stdlib</code>: Fix various panics related to sets with unknown element types in the set-manipulation functions. (<a href="https://redirect.github.com/zclconf/go-cty/pull/52">#52</a>)</li> <li><code>json</code>: Remove <code>json.UnmarshalDynamicWithImpliedType</code> function that was only available in hashicorp/go-cty 1.4.1 pseudo-versions. (<a href="https://redirect.github.com/hashicorp/go-cty/pull/6">#6</a>)</li> </ul> <h1>1.4.0 (April 7, 2020)</h1> <ul> <li><code>function/stdlib</code>: The string functions that partition strings into individual characters (grapheme clusters) now use the appropriate segmentation rules from Unicode 12.0.0, while previous versions used Unicode 9.0.0.</li> <li><code>function/stdlib</code>: New functions <code>Replace</code> and <code>RegexReplace</code> for matching and replacing sequences of characters in a given string with another given string. (<a href="https://redirect.github.com/zclconf/go-cty/pull/45">#45</a>)</li> <li><code>function/stdlib</code>: The function <code>Substr</code> will now produce a zero-length string when given a length of zero. Previously it was incorrectly returning the remainder of the string after the given offset. (<a href="https://redirect.github.com/zclconf/go-cty/pull/48">#48</a>)</li> <li><code>function/stdlib</code>: The <code>Floor</code> and <code>Ceil</code> functions will now return an infinity if given an infinity, rather than returning the maximum/minimum integer value. (<a href="https://redirect.github.com/zclconf/go-cty/pull/51">#51</a>)</li> <li><code>cty</code>: Convenience methods for constructing path index steps from normal Go int and string values. (<a href="https://redirect.github.com/zclconf/go-cty/pull/50">#50</a>)</li> </ul> <h1>1.3.1 (March 3, 2020)</h1> <ul> <li><code>convert</code>: Fix incorrect conversion rules for maps of maps that were leading to panics. This will now succeed in some more cases that ought to have been valid, and produce a proper error if there is no valid outcome. (<a href="https://redirect.github.com/zclconf/go-cty/pull/47">#47</a>)</li> <li><code>function/stdlib</code>: Fix an implementation error in the <code>Contains</code> function that was introduced in 1.3.0, so it will now produce a correct result rather than failing with a confusing error message. (<a href="https://redirect.github.com/zclconf/go-cty/pull/46">#46</a>)</li> </ul> <h1>1.3.0 (February 19, 2020)</h1> <ul> <li><code>convert</code>: There are now conversions from map types to object types, as long as the given map type's element type is convertible to all of the object type's attribute types. (<a href="https://redirect.github.com/zclconf/go-cty/pull/42">#42</a>)</li> <li><code>function/stdlib</code>: HashiCorp has contributed a number of additional functions to the standard library that were originally implemented directly inside their Terraform codebase: (<a href="https://redirect.github.com/zclconf/go-cty/pull/37">#37</a>) <ul> <li><code>Element</code>: take an element from a list or tuple by index, using modulo wrap-around.</li> <li><code>CoalesceList</code>: return the first non-empty list argument.</li> <li><code>Compact</code>: take a list of strings and return a new list of strings with all empty strings removed.</li> <li><code>Contains</code>: returns true if a given value appears as an element in a list, tuple, or set.</li> <li><code>Distinct</code>: filters duplicate elements from a list while retaining the order of remaining items.</li> <li><code>ChunkList</code>: turn a list into a list-of-lists where each top-level list is a &quot;chunk&quot; of a particular size of elements from the input.</li> <li><code>Flatten</code>: given a sequence that might contain other sequences, eliminate any intermediate sequences to produce a flat sequence.</li> <li><code>Keys</code>: return a list of keys from a map or object value in lexical order.</li> <li><code>Values</code>: return a list of values from a map in the same order as <code>Keys</code>.</li> <li><code>Lookup</code>: conditional lookup of an element from a map if it's present, or a fallback value if not. (This one differs from its Terraform equivalent in that the default value argument is <em>required</em>.)</li> <li><code>Merge</code>: given one or more maps or objects, merge them together into a single collection.</li> <li><code>ReverseList</code>: given a list, return a new list with the same items in the opposite order.</li> <li><code>SetProduct</code>: compute the cartesian product of one or more sets.</li> <li><code>Slice</code>: extract a consecutive sub-list from a list.</li> <li><code>Zipmap</code>: given a pair of lists of the same length, interpret the first as keys and the second as corresponding values to produce a map.</li> <li>A factory <code>MakeToFunc</code> to build functions that each convert to a particular type constraint.</li> <li><code>TimeAdd</code>: add a duration to a timestamp to produce a new timestamp.</li> <li><code>Ceil</code> and <code>Floor</code>: round a fractional value to the nearest integer, away from or towards zero respectively.</li> <li><code>Log</code>: computes a logarithm in a given base.</li> <li><code>Pow</code>: implements exponentiation.</li> <li><code>ParseInt</code>: parses a string containing digits in a particular base to produce a whole number value.</li> <li><code>Join</code>: concatenates the elements of a list of strings with a given separator to produce a string.</li> <li><code>Split</code>: partitions a string by a given separator, returning a list of strings.</li> <li><code>Sort</code>: sorts a list of strings into lexical order.</li> <li><code>Chomp</code>: removes one or more newline characters from the end of a given string, producing a new string.</li> <li><code>Indent</code>: prepends a number of spaces to all lines except the first in a given string, producing a new string.</li> <li><code>Title</code>: converts a string to &quot;title case&quot;.</li> <li><code>TrimSpace</code>: trims spaces from the start and end of a given string.</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/hashicorp/go-cty/commits/v1.4.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/hashicorp/go-cty&package-manager=go_modules&previous-version=1.4.1-0.20200414143053-d3edf31b6320&new-version=1.4.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-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> NO_CHANGELOG=true Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent ff5cd87 commit 651c3ed

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ go 1.24.0
55
require (
66
github.com/databricks/databricks-sdk-go v0.59.0
77
github.com/golang-jwt/jwt/v4 v4.5.1
8-
github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320
8+
github.com/hashicorp/go-cty v1.4.1
99
github.com/hashicorp/hcl v1.0.0
1010
github.com/hashicorp/hcl/v2 v2.23.0
11+
github.com/hashicorp/terraform-json v0.24.0
1112
github.com/hashicorp/terraform-plugin-framework v1.14.1
1213
github.com/hashicorp/terraform-plugin-framework-validators v0.17.0
1314
github.com/hashicorp/terraform-plugin-go v0.26.0
@@ -52,7 +53,6 @@ require (
5253
github.com/hashicorp/hc-install v0.9.1 // indirect
5354
github.com/hashicorp/logutils v1.0.0 // indirect
5455
github.com/hashicorp/terraform-exec v0.22.0 // indirect
55-
github.com/hashicorp/terraform-json v0.24.0 // indirect
5656
github.com/hashicorp/terraform-registry-address v0.2.4 // indirect
5757
github.com/hashicorp/terraform-svchost v0.1.1 // indirect
5858
github.com/hashicorp/yamux v0.1.1 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ github.com/hashicorp/go-checkpoint v0.5.0/go.mod h1:7nfLNL10NsxqO4iWuW6tWW0HjZuD
105105
github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80=
106106
github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ=
107107
github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48=
108-
github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 h1:1/D3zfFHttUKaCaGKZ/dR2roBXv0vKbSCnssIldfQdI=
109-
github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320/go.mod h1:EiZBMaudVLy8fmjf9Npq1dq9RalhveqZG5w/yz3mHWs=
108+
github.com/hashicorp/go-cty v1.4.1 h1:T4i4kbEKuyMoe4Ujh52Ud07VXr05dnP/Si9JiVDpx3Y=
109+
github.com/hashicorp/go-cty v1.4.1/go.mod h1:EiZBMaudVLy8fmjf9Npq1dq9RalhveqZG5w/yz3mHWs=
110110
github.com/hashicorp/go-hclog v1.6.3 h1:Qr2kF+eVWjTiYmU7Y31tYlP1h0q/X3Nl3tPGdaB11/k=
111111
github.com/hashicorp/go-hclog v1.6.3/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M=
112112
github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo=

0 commit comments

Comments
 (0)