Subject: CVS commit: pkgsrc/textproc/py-openapi-core
From: Adam Ciarcinski
Date: 2024-02-21 20:53:03
Message id: 20240221195303.68FD4F9F4@cvs.NetBSD.org

Log Message:
py-openapi-core: updated to 0.19.0

0.19.0
This version focuses on OpenAPI app and support for binary requests and responses.

Features

FastAPI integration
Mimetype parameters (i.e. charset) handling
Parameter deserializers renamed to Style deserializers
Unmarshalling processor enhancement
Option to skip response validation in Django, Falcon and Flask integrations
use explicit arguments (instead of kwargs) in Spec.from_dict and add short note \ 
in documentation how to use base_url for Spec.from_dict
Parameter and header get value refactor
Python 3.12 support
Bump openapi-spec-validator from 0.6.0 to 0.7.0
Use openapi-spec-validator spec version finder
Move to SchemaPath from jsonschema-path package
Specification validation as part of shortcuts
Style deserializing reimplementation with support for all styles
Media type encoding support
Replace mimetype with content_type to include content parameters
Suport for primitive properties casting of urlencoded objects.
Request response binary format support
Starlette middleware
OpenAPI app and high level integration

Bug fixes

aiohttp request host_url include scheme
aiohttp response body check none
Validate empty request body fix
Path finder returns default server
OpenAPI config passed to validators and unmarshallers fix
milti types schema format unmarshal fix

Deprecations

Spec class is deprecated. Use SchemaPath from jsonschema-path package.

Breaking changes

request_class/response_class renamed to request_cls/response_cls in \ 
unmarshalling processors (Django, Falcon and Flask integrations)
ParameterDeserializersFactory renamed to StyleDeserializersFactory
unmarshalling byte and binary formats return bytes
Specification validation is no longer part of Spec object creation and moved to \ 
be part of OpenAPI object creation.
Request and Response protocols' mimetype attribute replaced with content_type
Request protocol's body attribute returns bytes instead of str
Response protocol's data attribute returns bytes instead of str
Unmarshalling no longer raises FormatUnmarshalError

Files:
RevisionActionfile
1.11modifypkgsrc/textproc/py-openapi-core/Makefile
1.6modifypkgsrc/textproc/py-openapi-core/PLIST
1.7modifypkgsrc/textproc/py-openapi-core/distinfo