Sourced from polyfactory's releases.
v2.14.1
❤️ Sponsors ❤️ GitHub Sponsors: Scalar, Telemetry Sports (via
@chris-telemetry
), Stok (https://github.com/stok-team),@benjamin-kirkbride
,@crisog
,@geeshta
,@cbscsm
OpenCollective: Christian Y, AnonymousWhat's Changed
Fixes 🔧
- Fix the handling of union types by
@guacs
in litestar-org/polyfactory#491Full Changelog: https://github.com/litestar-org/polyfactory/compare/v2.14.0...v2.14.1
v2.14.0
❤️ Sponsors ❤️
GitHub Sponsors: Scalar, Telemetry Sports (via
@chris-telemetry
), Stok (@stok-team
),@benjamin-kirkbride
,@crisog
,@geeshta
,@cbscsm
OpenCollective: Christian Y, AnonymousWhat's Changed
New Features 🚀
- Use the default value if available and
__use_default__
is set toTrue
by@guacs
in litestar-org/polyfactory#472- Add support for recursive models by
@adhtruong
in litestar-org/polyfactory#468- Add support for Python 3.12 type alias syntax by
@adhtruong
in litestar-org/polyfactory#487Fixes 🔧
- Pin
typing-extensions
to a minimum version of 4.6.0 by@hsorsky
in litestar-org/polyfactory#471- Set as default type for factory only if model is defined by
@guacs
in litestar-org/polyfactory#479- Properly pass factory configurations to child factories by
@adhtruong
in litestar-org/polyfactory#483Docs 📚
- Fix broken uri by
@wer153
in litestar-org/polyfactory#485- Fix code block by
@wer153
in litestar-org/polyfactory#484Infra 🚆
- Update pre commit hooks versions by
@guacs
in litestar-org/polyfactory#478- Bump actions/cache from 3 to 4 by
@dependabot
in litestar-org/polyfactory#488New Contributors
@hsorsky
made their first contribution in litestar-org/polyfactory#471@wer153
made their first contribution in litestar-org/polyfactory#485Full Changelog: https://github.com/litestar-org/polyfactory/compare/v2.13.0...v2.14.0
b44c68b
chore: bump patch versionfa50e20
fix: handle unions properly (#491)83f2992
chore: bump minor version94ad561
feat: support type alias (#487)2b57706
chore(deps): bump actions/cache from 3 to 4 (#488)c7556e8
feat: pass on factory config (#483)7ec9eb0
docs: fix code block (#484)8f96365
docs: add wer153 as a contributor for doc (#486)b9c2127
docs: fix broken uri (#485)80bd012
feat: add recursion guard (#468)