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 dev.harrel:json-schema from 1.6.1 to 1.7.0 #212

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 1, 2024

Bumps dev.harrel:json-schema from 1.6.1 to 1.7.0.

Release notes

Sourced from dev.harrel:json-schema's releases.

1.7.0

Important notice

Despite the fact that this is just a minor release, there are a few incompatible changes. I believe that they realistically shouldn't affect any users, but if you use this library in an uncommon or advanced way, I'd recommend to familiarize yourself with the "breaking changes" section below.

What's Changed

Breaking changes 🚨

Feature/cross spec by @​harrel56 in harrel56/json-schema#204

General revamp on handling dialects. It supports now cross-dialect references and dynamically infers which dialect should be used based on $schema value.

There are no direct API changes, only these methods change behavior slightly:

  • ValidatorFactory.withDisabledSchemaValidation() - now, setting it to true does not disable vocabularies semantics as well (which I think was more of an unexpected side effect). It will use vocabularies from Dialect instances (official or custom if provided). It still guarantees that meta-schemas will not be resolved, so e.g. schemas with "$schema": "http://json-schema.org/draft-03/schema#" will not fail despite lack of draft3 support.
  • ValidatorFactory.withDialect() - previously, it served as a hard dialect override, meaning just this one dialect would be used regardless of $schema keyword. Now, this method registers your custom dialect and can be called multiple times for multiple registrations.

There is one new method:

  • ValidatorFactory.withDefaultDialect() - it serves similar purpose as ValidatorFactory.withDialect() previously did. By default, it's set on draf2020-12. It's just a fallback when schema does not contain $schema keyword.

Refactor/handle vocabs in evaluator factory by @​harrel56 in harrel56/json-schema#211

If you've overridden Evaluator.getVocabularies(), it will now have no effect as this method is no longer called by the library. If evaluator is dependent on active vocabularies state, it should now be handled in EvaluatorFactory code.

New features 🎉

Dependencies 🗃️

Full Changelog: harrel56/json-schema@1.6.1...1.7.0

Commits
  • bb7c11d prepare for 1.7.0
  • 19a4d16 Merge pull request #210 from harrel56/dependabot/gradle/org.assertj-assertj-c...
  • 71e9dff Merge branch 'master' into dependabot/gradle/org.assertj-assertj-core-3.26.3
  • 755ee23 Merge pull request #209 from harrel56/dependabot/gradle/org.sonarqube-5.1.0.4882
  • 526370c Merge pull request #208 from harrel56/dependabot/gradle/com.fasterxml.jackson...
  • 45dd796 Merge branch 'master' into dependabot/gradle/org.assertj-assertj-core-3.26.3
  • c313359 Merge branch 'master' into dependabot/gradle/org.sonarqube-5.1.0.4882
  • 3c72833 Merge branch 'master' into dependabot/gradle/com.fasterxml.jackson.core-jacks...
  • e514f2a Merge pull request #215 from harrel56/next/1.7.0
  • 3ca6ea4 Merge pull request #212 from harrel56/feature/draft-7
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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 [dev.harrel:json-schema](https://github.com/harrel56/json-schema) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/harrel56/json-schema/releases)
- [Commits](harrel56/json-schema@1.6.1...1.7.0)

---
updated-dependencies:
- dependency-name: dev.harrel:json-schema
  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 August 1, 2024 05:42
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Aug 1, 2024
@github-actions github-actions bot enabled auto-merge (squash) August 1, 2024 05:44
@github-actions github-actions bot merged commit f68ae3e into main Aug 1, 2024
10 checks passed
@github-actions github-actions bot deleted the dependabot/gradle/dev.harrel-json-schema-1.7.0 branch August 1, 2024 05:51
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