chore: bump github.com/zclconf/go-cty from 1.14.1 to 1.16.3
Closed
Number: #555
Type: Pull Request
State: Closed
Type: Pull Request
State: Closed
Author:
dependabot[bot]
Association: Contributor
Comments: 0
Association: Contributor
Comments: 0
Created:
May 19, 2025 at 11:40 AM UTC
(5 months ago)
(5 months ago)
Updated:
May 31, 2025 at 01:02 AM UTC
(5 months ago)
(5 months ago)
Closed:
May 31, 2025 at 01:02 AM UTC
(5 months ago)
(5 months ago)
Time to Close:
12 days
Labels:
stale dependencies go
stale dependencies go
Description:
Bumps github.com/zclconf/go-cty from 1.14.1 to 1.16.3.
Release notes
Sourced from github.com/zclconf/go-cty's releases.
v1.16.0
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)
Changelog
Sourced from github.com/zclconf/go-cty's changelog.
1.16.3 (May 16, 2025)
convert: Now generates more specific error messages in various cases of type conversion failure, giving additional information about the type that was given as compared to the type that was wanted by the caller.1.16.2 (January 21, 2025)
json:ImpliedTypenow 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 combineImpliedTypeandUnmarshalsuccessfully in that case before, but this is not an endorsement of using duplicate property names since that makes the input ambiguous in any case. (#199)function/stdlib:ElementFuncno 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. (#200)1.16.1 (January 13, 2025)
cty:Value.HasElementnow treats unknown set elements consistently with how much of the rest ofctytreats them.function/stdlib:FormatFuncandFormatListFuncnow 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 allowscty.DynamicValandcty.NullVal(cty.DynamicPseudoType)to be treated consistently with other values, returning results consistent with the documented behavior, rather than forcing the function to immediately returncty.DynamicVal.1.16.0 (January 3, 2025)
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)1.15.1 (November 26, 2024)
function: Function calls can now return more mark-related information when called with unknown values when neitherAllowMarksnorAllowUnknownare set for a particular parameter. (#196)1.15.0 (July 15, 2024)
function/stdlib: Theelementfunction now accepts negative indices, extending the illusion of an infinitely-long list into the negative direction too.cty: The various "transform" functions were previously incorrectly propagating marks from a parent object down to attribute values when calling the caller-provided transform functions. The marks will now no longer be propagated downwards, which is consistent with the treatment of collection and tuple elements. If your transform function needs to take into account context about marks of upstream containers then you can maintain a stack of active marks in yourTransformerimplementation, pushing inEnterand popping inExit. (#185)1.14.4 (March 20, 2024)
msgpack: Now uses string encoding instead of float encoding for a whole number that is too large to fit in any of MessagePack's integer types.function/stdlib: Type conversion functions (constructed withMakeToFunc) can now convert null values of unknown type into null values of the target type, rather than returning an unknown value in that case.json: Will now correctly reject attempts to encodecty.DynamicVal, whereas before it would just produce an invalid JSON document without any error. (This is invalid because JSON encoding cannot support unknown values at all;cty.DynamicValis a special case of unknown value where even the type isn't known.)1.14.3 (February 29, 2024)
msgpack: Fixed edge-case bug that could cause loss of floating point precision when round-tripping due to incorrectly using a MessagePack integer to represent a large non-integral number. #176cty: Fixed some false-negative numeric equality test results by comparing numbers as integers when possible. #1761.14.2 (January 23, 2024)
convert: Converting from an unknown map value to an object type now correctly handles the situation where the map element type disagrees with an optional attribute of the target type, since when a map value is unknown we don't yet know which keys it has and thus cannot predict what subset of the elements will get converted as attributes in the resulting object. (#175)
Commits
a49320fPrepare for v1.16.3 release89f0621convert: More forthcoming about cause in MismatchMessage67d85b6Prepare for a future v1.16.3 release51a6901v1.16.2 release1c48de3json: ImpliedType rejects duplicate property names of different typesd13b46efunction/stdlib: ElementFunc handles negative index into tuple0ed0ebbPrepare for future v1.16.2 releaseb319524v1.16.1 releasee41d261cty: Fix various Value.HasElement quirks, and add tests8920baafunction/stdlib: FormatFunc and FormatListFunc can handle DynamicPseudoType- Additional commits viewable in compare view
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 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)
Pull Request Statistics
Commits:
1
1
Files Changed:
2
2
Additions:
+3
+3
Deletions:
-3
-3
Package Dependencies
Technical Details
| ID: | 764202 |
| UUID: | 2528466461 |
| Node ID: | PR_kwDOLmBl1M6WtVYd |
| Host: | GitHub |
| Repository: | Txim0520/https-github.com-coder-coder |
| Mergeable: | Yes |
| Merge State: | Unstable |