Uplink v0.6.0._ Release Notes
-
โ Added
- The
session
property to theConsumer
base class, exposing the consumer instance's configuration and allowing for the persistence of certain properties across requests sent from that instance. - The
params
decorator, which when applied to a method of aConsumer
subclass, can add static query parameters to each API call. - The
converters.Factory
base class for defining integrations with other serialization formats and libraries. - The
uplink.install
decorator for registering extensions, such as a customconverters.Factory
implementation, to be applied broadly.
๐ Fixed
- Issue with detecting
typing.List
andtyping.Dict
for converting collections on Python 3.7. - โ
RuntimeWarning
that "ClientSession.close
was never awaited" when usingaiohttp >= 3.0
.
๐ Changed
- When using the
marshmallow
integration, Uplink no longer suppressesSchema
validation errors on deserialization; users can now handle these exceptions directly.
- The