Model-bakery

Latest version: v1.18.0

Safety actively analyzes 626474 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

1.9.0

Changed
- Fixed a bug with `seq` being passed a tz-aware start value [PR 353](https://github.com/model-bakers/model_bakery/pull/353)
- Create m2m when using `_bulk_create=True` [PR 354](https://github.com/model-bakers/model_bakery/pull/354)
- [dev] Use official postgis docker image in CI [PR 355](https://github.com/model-bakers/model_bakery/pull/355)

1.8.0

Changed
- Improve `Baker.get_fields()` to subtract lists instead of extra set cast [PR 352](https://github.com/model-bakers/model_bakery/pull/352)

1.7.1

Changed
- Remove warning for future Django deprecation [PR 339](https://github.com/model-bakers/model_bakery/pull/339)

1.7.0

Changed
- Fixed a bug with overwritten `_save_kwargs` and other custom arguments [PR 330](https://github.com/model-bakers/model_bakery/pull/330)

1.6.0

Added
- Python 3.11 support [PR 327](https://github.com/model-bakers/model_bakery/pull/327)
- Django 4.1 support [PR 327](https://github.com/model-bakers/model_bakery/pull/327)
- Added documentation for callables, iterables, sequences [PR 309](https://github.com/model-bakers/model_bakery/pull/309)

Changed
- [dev] Replace changelog reminder action with a custom solution that can ignore Dependabot PRs [PR 328](https://github.com/model-bakers/model_bakery/pull/328)

Removed
- Drop Python 3.6 support [PR 325](https://github.com/model-bakers/model_bakery/pull/325)
- Drop Django 2.2 support [PR 326](https://github.com/model-bakers/model_bakery/pull/326)

1.5.0

Added
- Add py.typed export per [PEP 561](https://www.python.org/dev/peps/pep-0561/) [PR #158](https://github.com/model-bakers/model_bakery/pull/158)

Changed
- Extend type hints in `model_bakery.recipe` module, make `Recipe` class generic [PR 292](https://github.com/model-bakers/model_bakery/pull/292)
- Explicitly add _fill_optional parameters to baker.make and baker.prepare to aid IDE autocomplete function. [PR 264](https://github.com/model-bakers/model_bakery/pull/264)
- Fixed errors with reverse M2M relationships [PR 299](https://github.com/model-bakers/model_bakery/pull/299)
- Fixed errors with reverse M2O relationships [PR 300](https://github.com/model-bakers/model_bakery/pull/300)
- Improve exception message for unknown field types [PR 301](https://github.com/model-bakers/model_bakery/pull/301)
- Fixed random generation of ContentType values when there is no database access [290](https://github.com/model-bakers/model_bakery/pull/290)

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.