build(deps): Bump github.com/hashicorp/go-cty from 1.4.1-0.20200414143053-d3edf31b6320 to 1.5.0
Closed
Number: #365
Type: Pull Request
State: Closed
Type: Pull Request
State: Closed
Author:
dependabot[bot]
Association: Unknown
Comments: 2
Association: Unknown
Comments: 2
Created:
March 18, 2025 at 04:57 AM UTC
(9 months ago)
(9 months ago)
Updated:
November 28, 2025 at 10:40 AM UTC
(about 6 hours ago)
(about 6 hours ago)
Closed:
November 28, 2025 at 10:40 AM UTC
(about 6 hours ago)
(about 6 hours ago)
Time to Close:
9 months
Labels:
dependencies go
dependencies go
Description:
Bumps github.com/hashicorp/go-cty from 1.4.1-0.20200414143053-d3edf31b6320 to 1.5.0.
Changelog
Sourced from github.com/hashicorp/go-cty's changelog.
1.5.0 (March 17, 2025)
cty: NewValue.HasWhollyKnownTypemethod, for testing whether a value's type could potentially change if any unknown values it was constructed from were to become known. (#55)convert: Fix incorrect panic when converting a tuple with a dynamic-typed null member into a list or set, due to overly-liberal type unification. (#56)1.4.2 (Unreleased)
function/stdlib: Thejsonencodefunction will now correctly accept a null as its argument, and produce the JSON representation"null"rather than returning an error. (#54)convert: Don't panic when asked to convert a tuple of objects to a list type constraint containing a nestedcty.DynamicPseudoType. (#53)1.4.1 (March 5, 2025)
function/stdlib: Fix various panics related to sets with unknown element types in the set-manipulation functions. (#52)json: Removejson.UnmarshalDynamicWithImpliedTypefunction that was only available in hashicorp/go-cty 1.4.1 pseudo-versions. (#6)1.4.0 (April 7, 2020)
function/stdlib: 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.function/stdlib: New functionsReplaceandRegexReplacefor matching and replacing sequences of characters in a given string with another given string. (#45)function/stdlib: The functionSubstrwill 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. (#48)function/stdlib: TheFloorandCeilfunctions will now return an infinity if given an infinity, rather than returning the maximum/minimum integer value. (#51)cty: Convenience methods for constructing path index steps from normal Go int and string values. (#50)1.3.1 (March 3, 2020)
convert: 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. (#47)function/stdlib: Fix an implementation error in theContainsfunction that was introduced in 1.3.0, so it will now produce a correct result rather than failing with a confusing error message. (#46)1.3.0 (February 19, 2020)
convert: 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. (#42)function/stdlib: HashiCorp has contributed a number of additional functions to the standard library that were originally implemented directly inside their Terraform codebase: (#37)
Element: take an element from a list or tuple by index, using modulo wrap-around.CoalesceList: return the first non-empty list argument.Compact: take a list of strings and return a new list of strings with all empty strings removed.Contains: returns true if a given value appears as an element in a list, tuple, or set.Distinct: filters duplicate elements from a list while retaining the order of remaining items.ChunkList: turn a list into a list-of-lists where each top-level list is a "chunk" of a particular size of elements from the input.Flatten: given a sequence that might contain other sequences, eliminate any intermediate sequences to produce a flat sequence.Keys: return a list of keys from a map or object value in lexical order.Values: return a list of values from a map in the same order asKeys.Lookup: 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 required.)Merge: given one or more maps or objects, merge them together into a single collection.ReverseList: given a list, return a new list with the same items in the opposite order.SetProduct: compute the cartesian product of one or more sets.Slice: extract a consecutive sub-list from a list.Zipmap: given a pair of lists of the same length, interpret the first as keys and the second as corresponding values to produce a map.- A factory
MakeToFuncto build functions that each convert to a particular type constraint.TimeAdd: add a duration to a timestamp to produce a new timestamp.CeilandFloor: round a fractional value to the nearest integer, away from or towards zero respectively.
... (truncated)
Commits
- See full diff in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
This pull request is locked.
Package Dependencies
Package:
github.com/hashicorp/go-cty
Ecosystem:
go
go
Version Change:
1.4.1-0.20200414143053-d3edf31b6320 → 1.5.0
Update Type:
Minor
Minor
Technical Details
| ID: | 11464985 |
| UUID: | 2927136850 |
| Node ID: | PR_kwDOG5cpYs6PCO2_ |
| Host: | GitHub |
| Repository: | coder/terraform-provider-coder |