Skip to content

Latest commit

 

History

History
106 lines (72 loc) · 3.45 KB

ChangeLog.md

File metadata and controls

106 lines (72 loc) · 3.45 KB

Changelog

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

Added

  • Accept session_factory in ClientBase.__init__.
  • Helper function to iterate over pages.
  • Accept middleware.

Fixed

  • Handling collections in request bodies.
  • Dropped dependency on std package cgi, which allows running under python 3.13 .

0.11.0 - 2024-08-13

Added

  • 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.

Changed

  • 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

Added

  • Support response envelope objects to allow returning headers together with the body model.

0.9.1 - 2024-05-25

Fixed

  • Moved pytest-asyncio dependency to dev group.

0.9.0 - 2024-05-16

Added

  • Added a default user-agent header.
  • Added support for security scheme combinations.

Changed

  • 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

  • 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

Added

  • Support for arbitrary specification extensions (x- properties).
  • Support iterator result and paging plugin.

Fixed

  • Property cross-validation (e.g. only one property of example and examples is allowed).
  • Bearer security scheme.

0.7.3 - 2022-12-15

Fixed

  • 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

Fixed

  • platformdirs dependency missing from pyproject.

0.7.1 - 2022-12-15

Fixed

  • Error while constructing a type.

0.7.0 - 2022-12-15

Added

  • Support for api responses.
  • py.typed for mypy
  • Support auth object.

Changed

  • Migrated project to monorepo
  • Unified versioning lapidary-render
  • Changed some models to better suite a dynamic library.

Fixed

  • Dynamically creating generic types