Skip to content

Bump jsonschema from 0.59.0 to 0.61.2 - #68

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/jsonschema-0.60.2
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/jsonschema-0.60.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Bumps jsonschema from 0.59.0 to 0.61.2.

Release notes

Sourced from jsonschema's releases.

[Python] Release 0.61.2

Fixed

  • References inside a registered resource resolving against the URI it was registered under instead of its $id. #1862

Performance

  • Validation of deeply nested instances against recursive schemas takes time linear in their nesting depth.
  • unevaluatedProperties next to if, dependentSchemas, anyOf or oneOf checked in one pass over the object by is_valid, without validating those subschemas again.
  • Validation of Python instances checks the common value types inline.
  • propertyNames validating each str key itself instead of a new string built from its text.
  • allOf branches that only check properties, required or type: object checked in one pass over the object by is_valid.
  • required beside properties and additionalProperties: false checked in the same pass over the object by is_valid.
  • $refs to a subschema another $ref already compiled dispatched once instead of twice.
  • unevaluatedProperties matching property names by their first and last bytes instead of hashing them.
  • additionalProperties that only checks type decided without entering the subschema for each value by is_valid.
  • Literal-prefix patterns rejecting a property name on its first byte before comparing the rest.
  • Integer const and enum values compared directly instead of through their decimal forms.
  • Root dictionary keys checked with one type comparison each before validation.
  • Dictionary lookups leaving the exception state untouched unless a key comparison raises.

[Ruby] Release 0.61.2

Fixed

  • References inside a registered resource resolving against the URI it was registered under instead of its $id. #1862

Performance

  • Validation of deeply nested instances against recursive schemas takes time linear in their nesting depth.
  • unevaluatedProperties next to if, dependentSchemas, anyOf or oneOf checked in one pass over the object by is_valid, without validating those subschemas again.
  • allOf branches that only check properties, required or type: object checked in one pass over the object by is_valid.
  • required beside properties and additionalProperties: false checked in the same pass over the object by is_valid.
  • $refs to a subschema another $ref already compiled dispatched once instead of twice.
  • unevaluatedProperties matching property names by their first and last bytes instead of hashing them.
  • additionalProperties that only checks type decided without entering the subschema for each value by is_valid.
  • Literal-prefix patterns rejecting a property name on its first byte before comparing the rest.
  • Integer const and enum values compared directly instead of through their decimal forms.
  • propertyNames validating each String key itself instead of a new string built from its text.

[Rust] Release 0.61.2

Fixed

  • References inside a registered resource resolving against the URI it was registered under instead of its $id. #1862

Performance

  • Validation of deeply nested instances against recursive schemas takes time linear in their nesting depth.
  • unevaluatedProperties next to if, dependentSchemas, anyOf or oneOf checked in one pass over the object by is_valid, without validating those subschemas again.
  • allOf branches that only check properties, required or type: object checked in one pass over the object by is_valid.
  • required beside properties and additionalProperties: false checked in the same pass over the object by is_valid.

... (truncated)

Changelog

Sourced from jsonschema's changelog.

[0.61.2] - 2026-11-12

Fixed

  • References inside a registered resource resolving against the URI it was registered under instead of its $id. #1862

Performance

  • Validation of deeply nested instances against recursive schemas takes time linear in their nesting depth.
  • unevaluatedProperties next to if, dependentSchemas, anyOf or oneOf checked in one pass over the object by is_valid, without validating those subschemas again.
  • allOf branches that only check properties, required or type: object checked in one pass over the object by is_valid.
  • required beside properties and additionalProperties: false checked in the same pass over the object by is_valid.
  • $refs to a subschema another $ref already compiled dispatched once instead of twice.
  • unevaluatedProperties matching property names by their first and last bytes instead of hashing them.
  • additionalProperties that only checks type decided without entering the subschema for each value by is_valid.
  • Literal-prefix patterns rejecting a property name on its first byte before comparing the rest.
  • propertyNames reusing one buffer per thread for the names it checks instead of allocating one per object.
  • propertyNames on the jsonb instance representation reusing one buffer per thread for the names it checks.
  • Integer const and enum values compared directly instead of through their decimal forms with arbitrary-precision.

[0.61.1] - 2026-11-10

Added

  • PatternCache and ValidationOptions::with_pattern_cache to compile each regex once across validator builds.

Fixed

  • dereference following $ref in keywords that hold data, such as const and examples. #1858
  • pattern over one character class under a large bounded count, such as ^.{0,404600}$, failing with a regex engine error on the empty string when the size limit was raised to compile it.

Performance

  • pattern and patternProperties with a large bounded count over one character class, such as ^.{0,262144}$ or [^\p{C}]{1,2048}, build without unrolling the count and fit the default size limit.
  • pattern and patternProperties match anchored character-class patterns such as ^[a-z0-9-]+$ without a regex engine.

[0.61.0] - 2026-11-08

Added

  • Evaluation::root() and OutputUnit for walking evaluation output units without serializing them.

Fixed

  • . in pattern and patternProperties matched \r, U+2028 and U+2029 (it should reject every line terminator).
  • evaluate() reported a missing single required name beside additionalProperties: false at /additionalProperties (it should be /required).
  • Numeric keywords misjudging whole floats past 2^53. #1825
  • Building a validator with an explicit draft retrieving the schema's $schema URI.
  • format: "date-time", "date" and "time" accepting +, ,, -, . or / where RFC 3339 requires a digit. #1829
  • $ref pointers through a numeric object key (#/responses/200) skipping the references under their target.

... (truncated)

Commits
  • e232cf8 chore(ruby): Release 0.61.2
  • 0e82636 chore(rust): Release 0.61.2
  • e95e006 docs: Update benchmarks
  • a09b5cc perf: Validate String keys themselves in propertyNames on Ruby
  • 4bbb621 perf: Look up dict keys without saving the exception state
  • 2264db0 perf: Validate str keys themselves in propertyNames
  • c04c799 chore: Update fancy-regex to 0.20.2
  • c4fcb4a perf: Match unevaluatedProperties names by their heads instead of hashing them
  • a86c5fb perf: Accept exact str root keys with one type comparison
  • 64b3d83 perf: Compare integer const and enum values directly with arbitrary preci...
  • Additional commits viewable in compare view


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Oct 31, 2026
@dependabot
dependabot Bot requested review from ForVic and JacbK as code owners October 31, 2026 19:53
Bumps [jsonschema](https://github.com/Stranger6667/jsonschema) from 0.59.0 to 0.61.2.
- [Release notes](https://github.com/Stranger6667/jsonschema/releases)
- [Changelog](https://github.com/Stranger6667/jsonschema/blob/master/CHANGELOG.md)
- [Commits](Stranger6667/jsonschema@ruby-v0.59.0...ruby-v0.61.2)

---
updated-dependencies:
- dependency-name: jsonschema
  dependency-version: 0.60.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Bump jsonschema from 0.59.0 to 0.60.2 Bump jsonschema from 0.59.0 to 0.61.2 Nov 19, 2026
@dependabot
dependabot Bot force-pushed the dependabot/cargo/jsonschema-0.60.2 branch from b059cc7 to 72fa099 Compare November 19, 2026 17:16
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 rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants