Drf-pydantic

Latest version: v2.2.0

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

Scan your dependencies

Page 1 of 2

2.2.0

What's Changed
* Json field support by djbios in https://github.com/georgebv/drf-pydantic/pull/20
* Support custom fields and serializers by georgebv in https://github.com/georgebv/drf-pydantic/pull/19

New Contributors
* djbios made their first contribution in https://github.com/georgebv/drf-pydantic/pull/20

**Full Changelog**: https://github.com/georgebv/drf-pydantic/compare/v2.1.0...v2.2.0

2.1.0

- Added `typing.Literal` support
- Added `enum.Enum` support
- Added support for numeric constraints , e.g. `Field(gt=...)`
- Added support for `decimal.Decimal` constraints, e.g. `Field(max_digits=5, decimal_places=2)`

What's Changed
* Support for new fields and improved test coverage by georgebv in https://github.com/georgebv/drf-pydantic/pull/18


**Full Changelog**: https://github.com/georgebv/drf-pydantic/compare/v2.0.0...v2.1.0

2.0.0

This is a complete rewrite of `drf-pydantic` to support pydantic v2

What's Changed
* v2 release by georgebv in https://github.com/georgebv/drf-pydantic/pull/17


**Full Changelog**: https://github.com/georgebv/drf-pydantic/compare/v1.0.0...v2.0.0

1.0.0

**Full Changelog**: https://github.com/georgebv/drf-pydantic/compare/v0.5.0...v1.0.0

0.5.0

What's Changed
* Add Enum support by thommor in https://github.com/georgebv/drf-pydantic/pull/10

New Contributors
* thommor made their first contribution in https://github.com/georgebv/drf-pydantic/pull/10

**Full Changelog**: https://github.com/georgebv/drf-pydantic/compare/v0.4.1...v0.5.0

0.4.1

What's Changed
* Fixed gt incrementing by 1, fixed generic container bug by georgebv in https://github.com/georgebv/drf-pydantic/pull/7


**Full Changelog**: https://github.com/georgebv/drf-pydantic/compare/v0.4.0...v0.4.1

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.