------
Fixed
^^^^^
- Fix enums not quoted, allowing using of str enums for filters (1776)
- Primary key field should not be nullable in pydantic schema (1778)
- Fix ambiguous column name when grouping with joining (1766)
- Fix same model returned by pydantic_model_creator calls with different arguments (1741)
Added
^^^^^
- JSONField adds optional generic support, and supports OpenAPI document generation by specifying `field_type` as a pydantic BaseModel (1763)
- Add table_name_generator attribute to Tortoise.init for dynamic table name generation (1770)
- Support for annotation and joins F() expressions (1761) (1765)
- Allow use of annotate fields within Case-When expression (1748)
- Added new queryset methods: last(), latest(), earliest() (1754) (1756)
Changed
^^^^^^^
- Change old pydantic docs link to new one (1775).
- Refactored pydantic_model_creator, interface not changed (1745)
- Values are no longer validated to be right type upon loading from database (1750)
- Refactored private field names in queryset classes (1751)