Releases: litestar-org/polyfactory
v2.18.1
Sponsors 🌟
Thanks to these incredible business sponsors:
Scalar (@scalar), Telemetry Sports (via @chris-telemetry), Stok (@stok-team)
A huge 'Thank you!' to all other sponsors across Polar.sh, OpenCollective and GitHub Sponsors!
What's Changed
- fix: handle nullable SQLA constraints by @adhtruong in #602
- chore(release): bump release version by @adhtruong in #608
Full Changelog: v2.18.0...v2.18.1
v2.18.0
Sponsors 🌟
Thanks to these incredible business sponsors:
Scalar (@scalar), Telemetry Sports (via @chris-telemetry), Stok (@stok-team)
A huge 'Thank you!' to all other sponsors across Polar.sh, OpenCollective and GitHub Sponsors!
What's Changed
New Features 🚀
- Handle SQLA column constraints by @adhtruong in #594
Infra 🚆
- Update docs preview upload by @adhtruong in #597
- Add SQLA async to test dependencies by @adhtruong in #595
Full Changelog: v2.17.0...v2.18.0
v2.17.0
Sponsors 🌟
Thanks to these incredible business sponsors:
Scalar (@scalar), Telemetry Sports (via @chris-telemetry), Stok (@stok-team)
A huge 'Thank you!' to all other sponsors across Polar.sh, OpenCollective and GitHub Sponsors!
What's Changed
- fix: constrained 0 length lists by @marcozzxx810 in #570
- build: update pre-commit dependencies by @adhtruong in #571
- fix: use provider map for any in coverage by @adhtruong in #574
- fix: tuple randomized length by @adhtruong in #573
- feat(#579): enhance register_fixture return type annotation by @giulioindev in #581
- docs: swap word with its antonym to match the context by @UncleGoogle in #575
- fix: Adjust min/max items to valid lengths for Set[Enum] fields by @adrianeboyd in #567
- fix: handle Optional type recursive models by @adhtruong in #584
- fix: handle recursive collections by @adhtruong in #587
- chore(release): bump release version by @adhtruong in #588
New Contributors
- @marcozzxx810 made their first contribution in #570
- @giulioindev made their first contribution in #581
- @UncleGoogle made their first contribution in #575
- @adrianeboyd made their first contribution in #567
Full Changelog: v2.16.2...v2.17.0
v2.16.2
Sponsors 🌟
Thanks to these incredible business sponsors:
Scalar (@scalar), Telemetry Sports (via @chris-telemetry), Stok (@stok-team)
A huge 'Thank you!' to all other sponsors across Polar.sh, OpenCollective and GitHub Sponsors!
What's Changed
Fixes 🔧
Full Changelog: v2.16.1...v2.16.2
v2.16.1
Sponsors 🌟
Thanks to these incredible business sponsors:
Scalar (@scalar), Telemetry Sports (via @chris-telemetry), Stok (@stok-team)
A huge 'Thank you!' to all other sponsors across Polar.sh, OpenCollective and GitHub Sponsors!
What's Changed
New Contributors
- @Alc-Alc made their first contribution in #547
- @Reskov made their first contribution in #549
- @Vegemash made their first contribution in #561
Fixes 🔧
- Use provider map for generating value for 'Any' by @guacs in #522
- Pydantic factory_use_construct is not propagated to the nested by @Reskov in #549
- Send correct field_meta to avoid over nesting in coverage by @Vegemash in #527
Docs 📚
Infra 🚆
- Migrate formatting to ruff by @adhtruong in #554
- Bump pydantic version by @Vegemash in #561
Full Changelog: v2.16.0...v2.16.1
v2.16.0
Sponsors 🌟
Thanks to these incredible business sponsors:
Scalar (@scalar), Telemetry Sports (via @chris-telemetry), Stok (@stok-team)
A huge 'Thank you!' to all other sponsors across Polar.sh, OpenCollective and GitHub Sponsors!
What's Changed
New Contributors
- @wangxin688 made their first contribution in #530
- @impaktor made their first contribution in #537
Fixes 🔧
- Ignore non-columns types by @adhtruong in #510
- Favour SA mapped type over impl type by @adhtruong in #513
- Update typing by @adhtruong in #540
- Fix json type error and pg dialect default value by @wangxin688 in #542
New Features 🚀
- Support nested type in pg.array types and others by @wangxin688 in #530
- Refresh object in async_session after commit to db by @wangxin688 in #541
- Copy mutable args by @adhtruong in #529
Docs 📚
- Apply organization theme by @JacobCoffee in #533
- Update Polyfactory landing page by @JacobCoffee in #535
- Update changelog.rst by @impaktor in #537
Infra 🚆
- Add codecov coverage, fix badges by @JacobCoffee in #536
Full Changelog: v2.15.0...v2.16.0
v2.15.0
❤️ Sponsors ❤️
GitHub Sponsors: Scalar, Telemetry Sports (via @chris-telemetry), Stok (https://github.com/stok-team), @benjamin-kirkbride, @crisog, @geeshta, @cbscsm
OpenCollective: Christian Y, Anonymous
What's Changed
Fixes 🔧
- fix: prefer
sqlalchemy.type.impl
if it exists by @cofin in #502 - fix: constrained unions by @guacs in #499
New Features 🚀
Docs 📚
New Contributors
Full Changelog: v2.14.1...v2.15.0
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, Anonymous
What's Changed
Fixes 🔧
Full Changelog: 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, Anonymous
What's Changed
New Features 🚀
- Use the default value if available and
__use_default__
is set toTrue
by @guacs in #472 - Add support for recursive models by @adhtruong in #468
- Add support for Python 3.12 type alias syntax by @adhtruong in #487
Fixes 🔧
- Pin
typing-extensions
to a minimum version of 4.6.0 by @hsorsky in #471 - Set as default type for factory only if model is defined by @guacs in #479
- Properly pass factory configurations to child factories by @adhtruong in #483
Docs 📚
Infra 🚆
- Update pre commit hooks versions by @guacs in #478
- Bump actions/cache from 3 to 4 by @dependabot in #488
New Contributors
Full Changelog: v2.13.0...v2.14.0
v2.13.0
❤️ Sponsors ❤️
GitHub Sponsors: Scalar, Telemetry Sports (via @chris-telemetry) @benjamin-kirkbride @crisog @geeshta
OpenCollective: Christian Y, Anonymous
What's Changed
New Features 🚀
Fixes 🔧
- Handle Optional types in
flatten_annotation
by @sam-or in #440 - Don't blindly suppress ValueError by @guacs in #450
New Contributors
Full Changelog: v2.12.0...v2.13.0