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
clientto separatetypesmodule -
Removed unused
error_response_classfromClientconstructur parameters
-
Added custom
url_compatible_encoderfor params, cookies and headers because Aiohttp expects their values to beint,floatorstrinstances -
model_to_dictnow accepts allpydantic.BaseModel.dictparameters -
utilsmodule added to package export -
encodersmodule added to package export -
All absolute package path exports replaced with relative