[TASK] Update cuyz/valinor to v1.17.0 #485
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.16.1
->1.17.0
Release Notes
CuyZ/Valinor (cuyz/valinor)
v1.17.0
Compare Source
Notable changes
Flexible casting setting split
The mapper setting
enableFlexibleCasting
is (softly) deprecated in favor of three distinct modes, which guarantee the same functionalities as before.Allowing scalar value casting:
With this setting enabled, scalar types will accept castable values:
Integer types will accept any valid numeric value, for instance the string value
"42"
.Float types will accept any valid numeric value, for instance the string value
"1337.42"
.String types will accept any integer, float or object implementing the
Stringable
interface.Boolean types will accept any truthy or falsy value:
(string) "true"
,(string) "1"
and(int) 1
will be cast totrue
(string) "false"
,(string) "0"
and(int) 0
will be cast tofalse
Allowing non-sequential lists:
By default, list types will only accept sequential keys starting from 0.
This setting allows the mapper to convert associative arrays to a list with sequential keys.
Allowing undefined values:
Allows the mapper to accept undefined values (missing from the input), by converting them to
null
(if the current type is nullable) or an empty array (if the current type is an object or an iterable).Features
Other
ValueNode
implementation (7e6ccf)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.