Skip to content

v0.6.7

Latest

Choose a tag to compare

@AghastyGD AghastyGD released this 21 Sep 09:43
929e732

🚀 What's New in v0.6.7

✨ Features

  • Improved UUID support in Django model serialization:

    • UUIDField and UUIDAutoField are now correctly mapped to str.

    • Foreign keys referencing UUID primary keys are serialized into strings.

    • Enhanced get_pydantic_type to prioritize UUIDField before AutoField.

🛠️ Fixes

  • Fixed Pydantic validation errors when returning UUID primary keys.

  • Added parse_model_int helper to properly convert string path parameters into the correct type for model PKs in CRUD routes.

  • Ensured compatibility with projects using DEFAULT_AUTO_FIELD = "core.fields.UUIDAutoField".

  • No breaking changes for projects using standard integer AutoField PKs.

🔗 Links