Releases: MikeWooster/api-client
Releases · MikeWooster/api-client
v2.0.0
Added
- Support for Python 3.10 through 3.14.
- A
py.typedmarker so type checkers use the bundled inline type hints (#77). - A wheel is now published alongside the source distribution.
Changed
- Minimum supported Python is now 3.10.
- Type hints modernised to use PEP 604 unions (
X | None) and built-in generics. clone()preserves attributes set in subclass constructors (#73).@endpointincludes inherited attributes and ignores methods and functions (#68).- Breaking: paginator
next_pagecallbacks now receive aResponseobject instead of the
decoded body. Useresponse.get_json()for the body andresponse.get_original()for the
underlying response (e.g. headers and links) (#86).
Removed
- Support for Python 3.6, 3.7, 3.8 and 3.9.
- The
OptionalDict,OptionalStr,OptionalIntandOptionalJsonTypealiases fromapiclient.utils.typing(useX | Nonedirectly).
Fixed
version 1.3.1
- Add a bad response handler (https://github.com/MikeWooster/api-client#custom-error-handling)
- Allow users to pass in a request strategy (https://github.com/MikeWooster/api-client#request-strategy)
version 1.3.0
Users now have the option of installing package api-client-jsonmarshal which will perform the same actions. This allows usage of python versions 3.6+
deprecate yaml usage. this removes another unnecessary dependency.
version 1.2.2
- Mark jsonmarshal usage for deprecation - this has been extracted to an external package.
- remove unnecessary logging
- update docs
- small fixes
version 1.2.1
- fix issue where blank response body raised exceptions. blank response bodies now return None.
- marked the yaml response handler as to be deprecated.
v1.2.0: version: 1.2.0
- Add support for marshalling/unmarshalling to/from json -> dataclasses.
- switch to using github actions
- remove deprecated features
- Allow header authentication to pass in extra headers required for
authenticating the client.
v1.2.0rc1: version: 1.2.0
- Add support for marshalling/unmarshalling to/from json -> dataclasses. - switch to using github actions - remove deprecated features - Allow header authentication to pass in extra headers required for authenticating the client.