Skip to content

Releases: surenkov/django-pydantic-field

v0.3.10

08 Jul 11:49
4c65566
Compare
Choose a tag to compare

What's Changed

  • Propagate allow_null parameter to base DRF Field by @surenkov in #70

Full Changelog: v0.3.9...v0.3.10

v0.3.9

05 May 20:09
5811ef7
Compare
Choose a tag to compare

What's Changed

  • Bypass field validation on model instantiation if it does not contain a default= argument by @surenkov in #63

Full Changelog: v0.3.8...v0.3.9

v0.3.8: django-jsonform integration

23 Apr 13:45
afa1a5c
Compare
Choose a tag to compare

What's Changed

  • Add django-jsonform widget incorporation for v2 fields by @surenkov in #59

Full Changelog: v0.3.7...v0.3.8

v0.3.7: Bring back compatibility with Pydantic v1

01 Apr 08:23
d3b1f38
Compare
Choose a tag to compare

In 0.3.5, I introduced an incompatibility with Pydantic v1: particularly, importing pydantic_core unconditionally in compatibility layer 👀. Thank you @Abdullah0297445 for the bringing attention to this!

Both 0.3.5 and 0.3.6 were yanked from PyPI, I highly encourage to upgrade your pinned versions if you're the lucky one who has experienced this issue.

What's Changed

  • Removed a dangling import which is causing the install to fail in v0.3.5 and v0.3.6 by @Abdullah0297445 in #60

New Contributors

Full Changelog: v0.3.6...v0.3.7

v0.3.6

30 Mar 15:47
55d0ac7
Compare
Choose a tag to compare

What's Changed

  • Use mode=json for get_prep_value during field value serialization by @surenkov in #57

Full Changelog: v0.3.5...v0.3.6

v0.3.5

30 Mar 14:41
ef706b5
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.4...v0.3.5

v0.3.4

24 Mar 13:45
82a1b89
Compare
Choose a tag to compare

What's Changed

  • Prepare a SchemaField's default value to work with RootModel schemas by @surenkov in #51

Full Changelog: v0.3.3...v0.3.4

v0.3.3

02 Feb 20:21
Compare
Choose a tag to compare

Make sure all expected primitives are exposed during dynamic module resolution in compatibility layer.

Allow (deprecated) django_pydantic_field.rest_framework.AutoSchema import with Pydantic 2.

What's Changed

  • Ensure import resolution for compatibility layer by @surenkov in #48

Full Changelog: v0.3.2...v0.3.3

v0.3.2

30 Jan 21:57
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.3.1...v0.3.2

v0.3.2b1: django-constance compat

27 Jan 19:50
Compare
Choose a tag to compare
Pre-release

Full Changelog: v0.3.1...v0.3.2b1