Unreleased
Released 2025-04-02
Features
- Support for Pydantic v1 namespace. (thanks to @Merinorus)
Released 2024-01-08
Features
- Support Pydantic 2. Drop support for Pydantic 1. (thanks to @jkseppan)
Released 2022-09-25
Features
- Allow raising
flask_pydantic.ValidationError
by settingFLASK_PYDANTIC_VALIDATION_ERROR_RAISE=True
Released 2022-07-31
Features
- Add validation for form data
- Handle extra headers returned by route functions
Internal
- Cleanup pipelines, drop python 3.6 tests, test on MacOS images
Released 2021-10-28
Features
- Support for passing parameters to
flask.Request.get_json
function viavalidate
'sget_json_params
parameter
Internal
- Add tests for Python 3.10 to pipeline
Released 2021-05-09
Features
- Return
400
response when model's__root__
validation fails
Released 2021-04-26
Bugfixes
- ignore return-type annotations
Released 2021-04-08
Bugfixes
- recognize mime types with character encoding standard
Released 2021-04-05
Features
- add support for URL path parameters parsing and validation
Released 2021-03-26
- do pin specific versions of required packages
Released 2021-03-09
Bugfixes
- fix type annotations of decorated method
Released 2021-02-18
Bugfixes
- parsing of query parameters in older versions of python 3.6
Released 2021-01-31
Features
- improve README, example app
- add support for pydantic's custom root types
Released 2021-01-17
Features
- add
Flask
classifier
Released 2020-09-10
Features
- add support for alias feature in response models
Released 2020-09-08
Features
- add possibility to specify models using keyword arguments
Released 2020-08-07
Features
- add support for python version
3.6
Released 2020-08-02
Features
- add proper parsing and validation of array query parameters
Released 2020-07-20
- add possibility to configure response status code after
ValidationError
using flask app config valueFLASK_PYDANTIC_VALIDATION_ERROR_STATUS_CODE
Released 2020-06-11
Features
- return
415 - Unsupported media type
response for requests to endpoints with specified body model with other content type thanapplication/json
.
Released 2020-01-15
Bugfixes
- do not try to access query or body requests parameters unless model is provided~~