Releases: pylakey/pydantic_aiohttp
1.1.0
1.0.1
1.0.0
Full Changelog: 0.8.0...1.0.0
0.8.0
This update introduces a new model, EmptyResponse, which provides a placeholder response class when a response model is not provided. This improves handling of cases where a response model is None by returning an instance of EmptyResponse instead of raising a ValueError, enhancing error management.
Additionally, the version constraint of pydantic has been adjusted to be less than 2, ensuring compatibility. All latest versions will work with Pydantic v2 only.
Full Changelog: 0.7.1...0.8.0
0.7.1
0.7.0
BREAKING
-
All types moved from
client
to separatetypes
module -
Removed unused
error_response_class
fromClient
constructur parameters
-
Added custom
url_compatible_encoder
for params, cookies and headers because Aiohttp expects their values to beint
,float
orstr
instances -
model_to_dict
now accepts allpydantic.BaseModel.dict
parameters -
utils
module added to package export -
encoders
module added to package export -
All absolute package path exports replaced with relative