Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump io.konform:konform-jvm from 0.4.0 to 0.9.2 in /prime-router #16572

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 17, 2024

Bumps io.konform:konform-jvm from 0.4.0 to 0.9.2.

Release notes

Sourced from io.konform:konform-jvm's releases.

v0.9.2

v0.9.1

  • Allow ValidationPath in validate() and ValidationPath.of

v0.9.0 ValidationPath and userContext

Features:

  • Add ValidationResult.errors containing ValidationError with a ValidationPath to safely inspect and use validation error and paths
  • Add constrain() in ValidationBuilder as a replacement for addConstraint, directly allowing path and userContext to be set
  • Add path() in ValidationBuilder to adjust the reported validation path of a validation error
  • Add userContext() in ValidationBuilder to add any data to the reported validation error
  • Add various utilities to Validation and ValidationResult, or lists of them

Deprecations and breaking changes:

  • Move constraints from io.konform.validation.jsonschema to io.konform.validation.constraints, deprecations can be solved by replacing the import
  • Remove ValidationBuilder.has. Can be replaced by directly adding the validation in the builder
  • Deprecate addConstraint(), use constrain() instead. templateValues are not supported therein, directly add them to the hint.

0.8.0: Subclasses

  • Makes Validation contravariant, allowing a Validation<Animal> to be used as a Validation<Cat> (#151 by @​dhoepelman)
  • Adds ifInstanceOf<T> and requireInstanceOf<T> validations, running a validation only if the value is of a specific subclass (ifInstanceOf) or returning invalid when it's of a different subclass requireInstanceOf (#152 by @​dhoepelman )

0.7.0: Custom validations

  • Enhances custom validations by adding validate and overloading required and ifPresent to transform data before doing the validation, see the "custom validations" section of the README (#65 by @​NikkyAI and @​dhoepelman)
  • Adds support for adding validations on zero-argument functions, which is especially useful for Java getters (#65 by @​NikkyAI)

0.6.2: Kotlin/Native targets

0.6.1: Kotlin/Native macOS

  • Adds release artifacts for Kotlin/Native macOS, which weren't included in 0.6.0 (#119 by @​psuzn)

0.5.0: We're back baby

Commits
  • 15b871b Open up ValidationBuilder for extension (#170)
  • 6ec40a4 Allow ValidationPath in validate() and ValidationPath.of (#169)
  • 2310894 Bump version to 0.9.0 (#168)
  • 6cff5e6 Support altering Constraint path and adding userContext (#167)
  • 8ef4325 Add model for validation path (#155)
  • a2dff2b Move io.konform.validation.jsonschema to io.konform.validation.constraints (#...
  • 7fb9b8e Add Validation.ifPresent and Validation.required (#164)
  • d921b3a BREAKING: Remove ValidationBuilder.has (#163)
  • 52ed85e Update dependency gradle to v8.11 (#159)
  • ece1222 Add List<Validation>.flatten() and List<ValidationResult>.flatten* (#162)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)

Bumps [io.konform:konform-jvm](https://github.com/konform-kt/konform) from 0.4.0 to 0.9.2.
- [Release notes](https://github.com/konform-kt/konform/releases)
- [Commits](konform-kt/konform@v0.4.0...v0.9.2)

---
updated-dependencies:
- dependency-name: io.konform:konform-jvm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner November 17, 2024 08:50
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Nov 17, 2024
Copy link

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants