Model-bakery

Latest version: v1.20.0

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

Scan your dependencies

Page 5 of 7

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)

1.4.0

Added
- Added postgis version to test settings
- Add support for Python 3.10 [PR 244](https://github.com/model-bakers/model_bakery/pull/244)
- Support for Django 4.0 [PR 236](https://github.com/model-bakers/model_bakery/pull/236)

Changed
- Validate `increment_by` parameter of `seq` helper when `value` is an instance of `datetime` [PR 247](https://github.com/model-bakers/model_bakery/pull/247)
- Fix a simple typo in `bulk_create` disclaimer in docs [PR 245](https://github.com/model-bakers/model_bakery/pull/245)
- Allow relation `_id` fields to use sequences [PR 253](https://github.com/model-bakers/model_bakery/pull/253)
- Fix bulk_create not working with multi-database setup [PR 252](https://github.com/model-bakers/model_bakery/pull/252)
- Conditionally support NullBooleanField, it's under deprecation and will be removed in Django 4.0 [PR 250](https://github.com/model-bakers/model_bakery/pull/250)
- Fix Django max version pin in requirements file [PR 251](https://github.com/model-bakers/model_bakery/pull/251)
- Improve type hinting to return the correct type depending on `_quantity` usage [PR 261](https://github.com/model-bakers/model_bakery/pull/261)

Removed
- Drop official Django 3.1 support. Django 2.2 is still supported, and 3.1 will likely keep working, but it’s not tested [PR 236](https://github.com/model-bakers/model_bakery/pull/236)

1.3.3

Added
- `_bulk_create` flag is not populating related objects as well [PR 206](https://github.com/model-bakers/model_bakery/pull/206)
- Add support for iterators on GFK fields when using _quantity param [PR 207](https://github.com/model-bakers/model_bakery/pull/207)
- Add support for iterators on many-to-many fields [PR237](https://github.com/model-bakers/model_bakery/pull/237)

Changed
- Fix typos in Recipes documentation page [PR 212](https://github.com/model-bakers/model_bakery/pull/212)
- Add `venv` to ignored folders of `flake8` and `pydocstyle` [PR214](https://github.com/model-bakers/model_bakery/pull/214)
- Run `flake8` after code modifications when linting [PR214](https://github.com/model-bakers/model_bakery/pull/214)
- Add typing for `baker.make` and `baker.prepare` [PR213](https://github.com/model-bakers/model_bakery/pull/213)

Page 5 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.