Skip to content

Releases: python-openapi/openapi-schema-validator

0.9.0

Choose a tag to compare

@p1c2u p1c2u released this 27 Apr 17:30

Features

  • Enforce properties required flag #290

Fixes

  • OAS 3.1/3.2 discriminator is annotation-only #279

Backward incompatibilities

  • OAS31Validator and OAS32Validator no longer use discriminator-driven schema selection for oneOf, anyOf, or allOf.
  • For OpenAPI 3.1 and 3.2, discriminator is now treated as a hint/annotation and does not change validation outcome.
  • Validation results may change for schemas that previously relied on discriminator-based narrowing or on discriminator mapping resolution errors during validation.

0.8.1

Choose a tag to compare

@p1c2u p1c2u released this 02 Mar 08:45

Features

  • Speed up validate() with validator caching and optional schema-check fast path #273

0.8.0

Choose a tag to compare

@p1c2u p1c2u released this 26 Feb 18:24

Security

  • Harden validate defaults for remote $ref resolution #270

Backward incompatibilities

  • By default, validate uses a local-only empty registry to avoid implicit remote $ref retrieval. To resolve external references, pass an explicit registry. Set allow_remote_references=True only if you explicitly accept jsonschema's default remote retrieval behavior.

0.7.3

Choose a tag to compare

@p1c2u p1c2u released this 26 Feb 17:37

Features

  • Support official OAS 3.2 dialect and set it as default #263
  • Add optional ecma-regex backend for strict OpenAPI pattern validation #267

Fixes

  • Fix OAS 3.0 byte format validation to enforce strict base64 #265

0.7.2

Choose a tag to compare

@p1c2u p1c2u released this 24 Feb 18:20

Features

  • OAS 3.1 dialect registration and validator discovery #262

0.7.1

Choose a tag to compare

@p1c2u p1c2u released this 23 Feb 22:24

Features

  • Add OpenAPI 3.2.0 support (OAS32Validator) #256

0.7.0

Choose a tag to compare

@p1c2u p1c2u released this 23 Feb 12:52

Features

  • OAS30 strict validator #251

Fixes

  • Ignore readOnly/writeOnly set to False #248
  • Discriminator handling for non-object instances #249
  • Narrower handling around unresolved refs #250

Breaking changes

  • OAS30Validator with schema type string only accepts str (before accepted both str and bytes) #251
  • Added support for Python 3.12, 3.13 and 3.14 #205 #247
  • Dropped support for Python 3.8 and 3.9 #205 #246

0.6.3

Choose a tag to compare

@p1c2u p1c2u released this 10 Jan 18:00

Bug fixes

  • Remove jsonschema-specifications version limit #149
  • References docs example fix #178

0.6.2

Choose a tag to compare

@p1c2u p1c2u released this 05 Oct 11:16

Bug fixes

  • OAS30Validator readonly writeonly fix #135

0.6.1

Choose a tag to compare

@p1c2u p1c2u released this 20 Sep 20:02

Bug fixes

  • Jsonschema package keywords module rename fix #132