All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning, and the format of this file is based on Keep a Changelog.
0.12.0 - 2024-10-21
- Accept session_factory in
ClientBase.__init__
. - Helper function to iterate over pages.
- Accept middleware.
- Handling collections in request bodies.
- Dropped dependency on std package cgi, which allows running under python 3.13 .
0.11.0 - 2024-08-13
- Always return response body and headers (metadata, possibly
None
) model as result of operation methods. - Use pydantic to encode request parameters and decode response headers.
- Response annotation accepts metadata model, which can be used to send headers and or parameters.
- Raise exceptions for error responses and undeclared responses.
- Serialization styles are now classes.
- Response annotation uses explicit Body argument
- Instead of response models, return values are always a
tuple[body, metadata]
0.10.0 - 2024-06-01
- Support response envelope objects to allow returning headers together with the body model.
0.9.1 - 2024-05-25
- Moved pytest-asyncio dependency to dev group.
0.9.0 - 2024-05-16
- Added a default user-agent header.
- Added support for security scheme combinations.
- Changed the programming paradigm from dynamic with scaffolding to declarative via annotations.
- Changed authentication model to NamedAuth.
- Updated required python version to 3.9, following httpx-auth
- Removed support for invalid HTTP status codes patterns, like 20X (OAS3.1 4.8.16.2).
- Removed Absent class #50.
0.8.0 - 2023-01-02
- Support for arbitrary specification extensions (x- properties).
- Support iterator result and paging plugin.
- Property cross-validation (e.g. only one property of example and examples is allowed).
- Bearer security scheme.
0.7.3 - 2022-12-15
- None error on missing x-lapidary-responses-global
- Enum params are rendered as their string representation instead of value.
0.7.2 - 2022-12-15
- platformdirs dependency missing from pyproject.
0.7.1 - 2022-12-15
- Error while constructing a type.
0.7.0 - 2022-12-15
- Support for api responses.
- py.typed for mypy
- Support auth object.
- Migrated project to monorepo
- Unified versioning lapidary-render
- Changed some models to better suite a dynamic library.
- Dynamically creating generic types