Data-spec-validator

Latest version: v3.4.1

Safety actively analyzes 640563 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

3.4.1

-----
- Fix `dsv` decorator to work with `DSVError`.
- Fix dsv_feature `spec_name` should not show empty value.

3.4.0

-----

Changes:

- Drop support for Python 3.6
- [feature] `dsv` decorator now have identical behavior for Django and DRF.
- [feature] new dsv_feature `spec_name` to customize the spec name in error messages.

3.3.0

-----

Changes:

- DEPRECATIONS: The decorators support to Django version 1.x and 2.x is dropped. The minimum supported version is Django 3.0.
- [feature] `dsv` decorator support loading payload from Django WSGIRequest for Content-Type: application/json

3.2.0

-----

Changes:

- [feature] `dsv` decorator support Django ASGIRequest class
- [feature] Support validating request data with non-python variable naming convention keys by the `alias' keyword in `Checker`

i.e. `/some/endpoint?a.b=3&c.d=ok&array[]=1&array[]=2&array[]=3`

3.1.0

-----

Changes:

- [feature] `dsv` decorator can support only Django Environment

3.0.1

-----

Changes:

- [fix] Cherry-pick `eac8af90e0313fd312edba1e7f18b3f537bc80ce` for features (combining query_params in POST/PUT/DELETE request)

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.