You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
0.22.0
Added
Global constraints via meta.
Allow functional indexes.
Expose further parameters for UniqueConstraints.
no_copy attribute for fields.
Changes
Breaking: Factories pass now the kwargs as dict to get_pydantic_type, get_column_type, get_constraints.
This allows now modifying the arguments passed down to the field.
Breaking: init_fields_mapping doesn't initializes the field stats anymore.
Breaking: model rebuilds are executed lazily when calling init_fields_mapping not when assigning fields manually anymore.
Fixed
Indexes and unique_together worked only for fields with columns of the same name.
MigrateConfig has no get_registry_copy.
Migrations have duplicate fks and crash.
ContentTypes were not copyable.
VirtualCascade was not automatically enabled.
Improve lazyness by splitting in two variable sets.