Update dependency io.konform:konform to v0.9.0 #40
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:
0.6.2
->0.9.0
Release Notes
konform-kt/konform (io.konform:konform)
v0.9.0
: ValidationPath and userContextFeatures:
ValidationResult.errors
containingValidationError
with aValidationPath
to safely inspect and use validation error and pathsconstrain()
in ValidationBuilder as a replacement foraddConstraint
, directly allowingpath
anduserContext
to be setpath()
in ValidationBuilder to adjust the reported validation path of a validation erroruserContext()
in ValidationBuilder to add any data to the reported validation errorValidation
andValidationResult
, or lists of themDeprecations and breaking changes:
io.konform.validation.jsonschema
toio.konform.validation.constraints
, deprecations can be solved by replacing the importValidationBuilder.has
. Can be replaced by directly adding the validation in the builderaddConstraint()
, useconstrain()
instead. templateValues are not supported therein, directly add them to the hint.v0.8.0
: 0.8.0: SubclassesValidation
contravariant, allowing aValidation<Animal>
to be used as aValidation<Cat>
(#151 by @dhoepelman)ifInstanceOf<T>
andrequireInstanceOf<T>
validations, running a validation only if the value is of a specific subclass (ifInstanceOf) or returning invalid when it's of a different subclassrequireInstanceOf
(#152 by @dhoepelman )v0.7.0
: 0.7.0: Custom validationsvalidate
and overloadingrequired
andifPresent
to transform data before doing the validation, see the "custom validations" section of the README (#65 by @NikkyAI and @dhoepelman)Configuration
📅 Schedule: Branch creation - "before 3am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.