Releases: model-bakers/model_bakery
Releases · model-bakers/model_bakery
1.10.1
1.10.0
Added
- Django 4.2 support
Changed
- [dev] Switch to Python 3.11 release in CI
- [dev] Unify and simplify tox config with tox-py
- [dev]
pre-commit autoupdate && pre-commit run --all-files
- [dev] Run
pyupgrade
with Python 3.7 as a base - [dev] PEP 621: Migrate from setup.py and setup.cfg to pyproject.toml
- [dev] Convert
format
and some string interpolations tofstring
New Contributors
- @cclauss made their first contribution in #372
- @adamchainz made their first contribution in #375
Full Changelog: 1.9.0...1.10.0
1.9.0
1.8.0
1.7.1
What's Changed
- fix future deprecate warning of
django.utils.timezone.utc
by @jairhenrique in #339 - docs: Fix a few typos by @timgates42 in #345
Dependencies
- Bump pycodestyle from 2.9.0 to 2.9.1 by @dependabot in #344
- Bump flake8 from 5.0.3 to 5.0.4 by @dependabot in #343
- Bump black from 22.6.0 to 22.8.0 by @dependabot in #342
- Bump pytest from 7.1.2 to 7.1.3 by @dependabot in #350
- Bump mypy from 0.971 to 0.981 by @dependabot in #351
Full Changelog: 1.7.0...1.7.1
1.7.0
Changed
- Fixed a bug with overwritten
_save_kwargs
and other custom arguments PR #330
Dependencies
- Bump pillow from 9.1.1 to 9.2.0 by @dependabot in #331
- Bump black from 22.3.0 to 22.6.0 by @dependabot in #333
- Bump pip-tools from 6.6.2 to 6.8.0 by @dependabot in #332
- Bump pycodestyle from 2.8.0 to 2.9.0 by @dependabot in #334
- Bump mypy from 0.961 to 0.971 by @dependabot in #335
- Bump flake8 from 4.0.1 to 5.0.2 by @dependabot in #336
- Bump pre-commit from 2.19.0 to 2.20.0 by @dependabot in #337
- Bump flake8 from 5.0.2 to 5.0.3 by @dependabot in #338
Full Changelog: 1.6.0...1.7.0
1.6.0
Added
- Python 3.11 support PR #327
- Django 4.1 support PR #327
- Added documentation for callables, iterables, sequences PR #309
Changed
- [dev] Replace changelog reminder action with a custom solution that can ignore Dependabot PRs PR #328
Removed
New Contributors
- @magdumsuraj07 made their first contribution in #309
Full Changelog: 1.5.0...1.6.0
1.5.0
Added
Changed
- Extend type hints in
model_bakery.recipe
module, makeRecipe
class generic PR #292 - Explicitly add _fill_optional parameters to baker.make and baker.prepare to aid IDE autocomplete function. PR #264
- Fixed errors with reverse M2M relationships PR #299
- Fixed errors with reverse M2O relationships PR #300
- Improve exception message for unknown field types PR #301
- Fixed random generation of ContentType values when there is no database access #290
1.4.0
Added
- Added postgis version to test settings
- Add support for Python 3.10 PR #244
- Support for Django 4.0 PR #236
Changed
- Validate
increment_by
parameter ofseq
helper whenvalue
is an instance ofdatetime
PR #247 - Fix a simple typo in
bulk_create
disclaimer in docs PR #245 - Allow relation
_id
fields to use sequences PR #253 - Fix bulk_create not working with multi-database setup PR #252
- Conditionally support NullBooleanField, it's under deprecation and will be removed in Django 4.0 PR #250
- Fix Django max version pin in requirements file PR #251
- Improve type hinting to return the correct type depending on
_quantity
usage PR #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
New Contributors
- @bnjmn made their first contribution in #245
- @jairhenrique made their first contribution in #244
- @ashiazed made their first contribution in #251
- @SmileyChris made their first contribution in #261
Full Changelog: 1.3.3...1.4.0