Skip to content

Releases: Ge0rg3/flask-parameter-validation

Flask-Parameter-Validation v2.4.0

13 Aug 14:42
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.3.0...v2.4.0

Flask-Parameter-Validation v2.3.0

26 Feb 16:47
Compare
Choose a tag to compare

Thanks all for continued project usage, and especially to the new project maintainer @smt5541 for the majority of this update 🙌

Features:

Bug fixes:

Flask-Parameter-Validation v2.2.0

16 Nov 11:15
Compare
Choose a tag to compare

Thanks all for using the library. Below are the changes since the last release.
Features:

Bug fixes:

  • Fix issue where non-JSON payloads would error (commit by Charlie-Mindified)
  • Fix issue where file inputs would fail without length checks (PR by borisowww)
  • Allow list inputs on Query, File and Form (PR by summersz)
  • Fix issue where forms did not have type conversion (PR by summersz)
  • Fix issue where async functions would crash (PR by summersz)

Project Rewrite

06 Aug 14:50
Compare
Choose a tag to compare

Pushing out an entire project re-write, due to #2.
It turns out that the typing library is really messy under-the-hood and changes radically from version-to-version, so this release fixes all of these issues.
Other changes include:

  • Fixed min_list_length and max_list_length erroring
  • Allowed typing.List within typing.Union
  • Renamed min_length and max_length to min_str_length and max_str_length for clarity
  • Error handling is now done handled very differently - the user has more control over the error message by looking at the exception args