Skip to content

Releases: python-openapi/openapi-core

0.18.0a1

18 Jun 12:52
Compare
Choose a tag to compare
0.18.0a1 Pre-release
Pre-release

This version drops support for Python 3.7

Features

  • Compatibility with jsonschema 4.18, jsonschema-spec 0.2, openapi-schema-validator 0.6 and openapi-spec-validator 0.6 #597
    • spec_url parameter of Spec.from_dict is deprecated. Use base_uri instead.
    • ref_resolver_handlers parameter of Spec.from_dict is deprecated. Use handlers instead.

Backward incompatibilities

  • Drop python 3.7 support #595
  • Format validators ignore other types and pass (in accordance with the specification) #597
  • Remove deprecated features #598
    • Spec.create method
    • spec as a first parameter for validate_request and validate_response shortcuts
    • validator parameter for validate_request and validate_response shortcuts
    • return unmarshalling data result for validate_request and validate_response shortcuts
    • RequestValidator, ResponseValidator and openapi_ objects
    • custom_deserializersparameter
    • custom_formattersparameter

0.17.2

15 Jun 13:31
Compare
Choose a tag to compare

Features

  • Integrations: Add support for aiohttp.web #571

Fixes

  • Integrations: requests strip mimetype fix #553
  • Unmarshalling: any unmarshaller get types fix #555
  • Shortcuts: validate_request and validate_response show deprecation warning on return value use only #589

0.17.1

17 Mar 08:45
Compare
Choose a tag to compare

Changelog

  • Include tests in sdist archives #537
  • add python 3.11 support #538

0.17.0

06 Mar 12:37
Compare
Choose a tag to compare

Changelog

  • shortcuts high level public api expose #465
  • ParametersError context property deprecated #462
  • Spec.create deprecated #463
  • Validators refactor #457
  • Webhooks support #470
  • Rename UnmarshalContext to ValidationContext #472
  • Fix PATH_PARAMETER_PATTERN for DRF default value pattern. #468
  • Fix falcon response data none #471
  • Shortcuts backward compatible #482
  • RequestValidator and ResponseValidator backward compatibility #487
  • Fix flask decorator function return other types #489
  • Fix integration Request Response factories check types fix #490
  • Fix Requests request dont allow fragments #491
  • Fix openapi packages update and tests #498
  • unmarshallers integration tests #497
  • Unmarshallers and validators refactor #508
  • Shortcuts refactor #517
  • Media type deserializers refactor #518

Backward incompatibilities

  • Schema unmarshalling/validation returns Invalid* exception (InvalidData, InvalidParameter, InvalidRequestBody, InvalidHeader). Use __cause__ property to get root cause exception.
  • InvalidSecurity exception renamed to SecurityNotFound

0.16.6

02 Mar 07:51
Compare
Choose a tag to compare

Changelog

  • openapi-schema-validator 0.5.2 tests compatibility fix #527

0.17.0a3

20 Feb 14:53
Compare
Choose a tag to compare
0.17.0a3 Pre-release
Pre-release

Changelog

  • Fix Requests request dont allow fragments #491
  • Fix openapi packages update and tests #498
  • unmarshallers integration tests #497
  • Unmarshallers and validators refactor #508
  • Shortcuts refactor #517
  • Media type deserializers refactor #518

0.17.0a2

26 Jan 04:48
Compare
Choose a tag to compare
0.17.0a2 Pre-release
Pre-release

Changelog

  • Shortcuts backward compatible #482
  • RequestValidator and ResponseValidator backward compatibility #487
  • Fix flask decorator function return other types #489
  • Fix integration Request Response factories check types fix #490

0.17.0a1

23 Jan 11:01
Compare
Choose a tag to compare
0.17.0a1 Pre-release
Pre-release

Changelog

  • shortcuts high level public api expose #465
  • ParametersError context property deprecated #462
  • Spec.create deprecated #463
  • Validators refactor #457
  • Webhooks support #470
  • Rename UnmarshalContext to ValidationContext #472
  • Fix PATH_PARAMETER_PATTERN for DRF default value pattern. #468
  • Fix falcon response data none #471

Backward incompatibilities

  • request parameter for validate_request shortcut function moved to first position
  • request and response parameters for validate_response shortcut function moved to first and second position
  • Schema unmarshalling/validation returns Invalid* exception (InvalidData, InvalidParameter, InvalidRequestBody, InvalidHeader). Use __cause__ property to get root cause exception.
  • InvalidSecurity exception renamed to SecurityNotFound

0.16.5

18 Jan 01:42
Compare
Choose a tag to compare

Changelog

  • validators public api expose #455
  • allow openapi-schema-validator 0.4 #458

0.16.4

21 Dec 07:19
Compare
Choose a tag to compare

Changelog

  • better unmarshaller finders with refactor #447