Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 1, 2025

Bumps dev.harrel:json-schema from 1.7.3 to 1.8.1.

Release notes

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

1.8.1

This patch reverts most of the breaking changes introduced in 1.8.0. Enforcing every JsonNode implementation to comply with Java's equals & hashCode was not necessary - in this release it works in more "hybrid" way, so the built-in JsonNode implementations take advantage of equals & hashCode, while 3rd party JsonNode implementations do not use it and fall back to old default equality check.

Summing up: custom JsonNode implementation don't need to worry about equality checks between the nodes as it will be handled automatically (assuming of course that implementation is compliant with the test suite).

What's Changed

Fixes 🛠️

Dependencies 🗃️

Full Changelog: harrel56/json-schema@1.8.0...1.8.1

1.8.0

What's Changed

Breaking changes for users implementing custom JsonNode 🚨

  • Performance/json node refactor, redesign node equality by @​harrel56 in harrel56/json-schema#264 - previous method isEqualTo has been removed and now JsonNode implementations are required to follow standard Java's equals & hashCode contract. Please note that equality checks are used in some keywords like const, enum or uniqueKeys, so proper equals & hashCode implementation is crucial. Version 1.8.1 gets rid of the necessity of handling equality logic yourself. Now the only backward incompatible change is that method isEqualTo is gone (it's logic has been moved to internal classes).

New features 🎉

Performance related 📈

Dependencies 🗃️

Full Changelog: harrel56/json-schema@1.7.3...1.8.0

Commits
  • 38a56a0 prepare for 1.8.1
  • 0eff0d7 Merge pull request #278 from harrel56/fix/property-names-with-enum
  • 41b892c Merge branch 'master' into fix/property-names-with-enum
  • 350f24b Merge pull request #279 from harrel56/chore/update-test-suite-20250223-200414
  • c84bed3 ignore new idn-hostname tests
  • a3c3c5b chore(test-suite): regenerate YAML test suite
  • d378185 chore(test-suite): update official test suite from json-schema-org/JSON-Schem...
  • ebe9c97 unused import
  • ef033a9 add tests for nodes equivalence in schema
  • 3ffbf5e move to another class
  • 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.7.3 to 1.8.1.
- [Release notes](https://github.com/harrel56/json-schema/releases)
- [Commits](harrel56/json-schema@1.7.3...1.8.1)

---
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 March 1, 2025 06:00
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Mar 1, 2025
@github-actions github-actions bot enabled auto-merge (squash) March 1, 2025 06:02
@github-actions github-actions bot merged commit ac42371 into main Mar 1, 2025
10 checks passed
@github-actions github-actions bot deleted the dependabot/gradle/dev.harrel-json-schema-1.8.1 branch March 1, 2025 06:07
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