Added
- Add
_full_cleanflag tobaker.make()andbaker.prepare()to run Django model validation (Falseby default), including thebaker.make(..., _bulk_create=True)path (#523)
Changed
- Fix
related()with reverse M2M relations raisingAttributeError(#601) - [dev] Modernize tox and CI around
tox-uv, dependency groups, reusable coverage/docs tox environments, and docs validation in CI - When using
baker.make(..., _bulk_create=True, _full_clean=True), the operation is wrapped in a transaction to ensure atomic rollback if validation fails - Use the requested
_usingdatabase consistently for generated related objects inbaker.make(..., _bulk_create=True) - Preserve correct parent-to-FK associations in
baker.make(..., _bulk_create=True)when related objects mix saved and unsaved instances
Removed
- Drop EOL Django 4.2 support
GitHub Changelog
- Add
_full_cleanflag to baker.make(), prepare(), and bulk_create() by @benaduo in #591 - Add sponsors section to README by @codingjoe in #607
- Fix bulk_create _using propagation for related objects by @amureki in #608
- Fix sponsors image link in README by @codingjoe in #609
- Modernize tox workflow with uv and docs validation by @amureki in #610
- Bump actions/checkout from 6.0.2 to 6.0.3 by @dependabot[bot] in #611
- Bump astral-sh/setup-uv from 8.1.0 to 8.2.0 by @dependabot[bot] in #612
- Fix #601: Avoid AttributeError when using
relatedwith reverse M2M relation by @SvenMoenig in #613
New Contributors
- @SvenMoenig made their first contribution in #613
Full Changelog: 1.23.5...1.24.0