Up to [cvs.NetBSD.org] / pkgsrc / textproc / py-openapi-core
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-openapi-core: updated to 0.19.5 0.19.5 Features Add django decorator Updates Allow Starlette 0.41.x and FastAPI 0.115.x; bump to 0.41.2 and 0.115.4, respectively
depend on www/py-django instead of py-django3
py-openapi-core: allow Python 3.13 Now that py-falcon supports it. Update test dependencies and test status.
py-falcon: Broken with Python 3.13, uses deprecated cgi module
*: clean-up after python38 removal
py-openapi-core: updated to 0.19.4 0.19.4 Features Starlette 0.38.x support Bug fixes Fix resolvers not updating properly when referencing other files. Fix RequestUnmarshalResult body type Fix Starlette streaming response for HTTPMiddleware
py-openapi-core: updated to 0.19.3 0.19.3 Bug fixes Fix resolver for jsonschema validator created by SchemaValidatorsFactory Use base_uri from schema path for spec validation Openapi 3.0 unmarshalling None with nullable subschema fix Deprecations spec_base_uri configuration is deprecated. Use base_uri parameter in OpenAPI.from_dict and OpenAPI.from_file if you want to define it.
py-openapi-core: updated to 0.19.2 0.19.2 Falcon multi-value query parameters fix Fix a DeprecationWarning from aiohttp in TestPetPhotoView Fix hyphen characters in path parameters
py-openapi-core: updated to 0.19.1 0.19.1 Features Path finder cls configuration Bug fixes Invalid usage of super() when having multi-baseclass inheritance Fix content-type when no space after semicolon Protocols body and data attributes docstrings fix
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
py-openapi-core: updated to 0.18.2 0.18.2 Bug fixes Deprecated spec validator fix + warnings resolved
*: latest py-sphinx only support Python 3.9+
python/wheel.mk: simplify a lot, and switch to 'installer' for installation This follows the recommended bootstrap method (flit_core, build, installer). However, installer installs different files than pip, so update PLISTs for all packages using wheel.mk and bump their PKGREVISIONs.
py-openapi-core: updated to 0.18.1 0.18.1 Bug fixes Ignore formats for other types in unmarshalling process Features More media types supported Unmarshalling customizations in middlewares (FalconOpenAPIMiddleware, FlaskOpenAPIView, FlaskOpenAPIViewDecorator) Documentation Changed doc indentation from 3 to 4
py-openapi-core: updated to 0.18.0 0.18.0 Upgrades Compatibility with jsonschema 4.18, jsonschema-spec 0.2, openapi-schema-validator 0.6 and openapi-spec-validator 0.6 Update dependencies Deprecations 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 Format validators ignore other types and pass (in accordance with the specification) Remove deprecated features 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
py-openapi-core: updated to 0.17.1 0.17.1 Include tests in sdist archives add python 3.11 support 0.17.0 shortcuts high level public api expose ParametersError context property deprecated Spec.create deprecated Validators refactor Webhooks support Rename UnmarshalContext to ValidationContext Fix PATH_PARAMETER_PATTERN for DRF default value pattern. Fix falcon response data none Shortcuts backward compatible RequestValidator and ResponseValidator backward compatibility Fix flask decorator function return other types Fix integration Request Response factories check types fix Fix Requests request dont allow fragments Fix openapi packages update and tests unmarshallers integration tests Unmarshallers and validators refactor Shortcuts refactor Media type deserializers refactor 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
py-openapi-core: updated to 0.16.1 0.16.1 lists as additional properties fix x-model extension optional 0.16.0 Switch to jsonschema-spec Use auto-detect validator proxy OpenAPI 3.1 support + Auto-detect proxies and request / response validator protocols Add py.typed to mark package as supporting typing Refuse to cast str or bytes to array x-model extension import model class Add deepObject support Add anyOf support Separate werkzeug support Starlette support 0.15.0 Parameter deserialize complex scenario support Response headers support Response headers support for contrib Drop python 2.7 support Drop python 3.5 support Drop python 3.6 support Add python 3.10 support Falcon2 support drop Django2 support drop Support basic re_path for Django integration unused NoValue type removed attrs remove and use dataclasses backport for python 3.6 Request validation parameters dataclass Handle missing MIME type in MediaTypeFinder Limit openapi dependencies upper bounds switch to pathable Get rid of create_spec shortcut Request and Response protocols validator factories removed from validation shortcuts Predefined openapi validators Customization refactor Static types with mypy
*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS
py-openapi-core: mark as not for python 2.7
textproc/py-openapi-core: import py-openapi-core-0.14.2 Openapi-core is a Python library that adds client-side and server-side support for the OpenAPI Specification v3.