Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update model-bakery to 1.20.0 #1558

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pyup-bot
Copy link
Collaborator

This PR updates model-bakery from 1.17.0 to 1.20.0.

Changelog

1.20.0

Added
- Support to Field `db_default` value
- Support to Python 3.13

1.19.5

Changed
- Reset `content_type` and `object_id` fields when the content object is `None`

1.19.4

Changed
- Allow `None` value for generic foreign keys within iterators
- Make `TextField` generator respect `max_length`
- Deprecate `model_bakery.random_gen.gen_text` in favor of `model_bakery.random_gen.gen_string`

1.19.3

Changed
- Do not handle GFK fields when the object is None

1.19.2

Added
- docs: Add Django settings example for custom field generators

Changed
- Align GFK and content type fields generation
- Allow `prepare()` to be used with GFK

1.19.1

Changed
- Handle bulk creation when using reverse related name

1.19.0

Added
- Add Django 5.1 support

1.18.3

Changed
- Fix support of `GenericForeignKey` fields in combination with `_fill_optional`

1.18.2

Changed
- Fix `make_recipe` to work with `_quantity` (28)

1.18.1

Changed
- Replace expensive `count()` with cheap `exists()`

1.18.0

Added
- Add Django 5.0 support

Changed
- Allow baking without `contenttypes` framework

Removed
- Drop Django 3.2 and 4.1 support (reached end of life)
Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant