Releases: litestar-org/polyfactory
v3.2.0
What's Changed
- chore: remove unused models by @AlexPetul in #794
- fix: Respect
initparameter for SQLAlchemy dataclasses by @AlexPetul in #793 - chore(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #789
- refactor: update pre-commit by @adhtruong in #797
- feat: support ZoneInfo by @Hugo-C in #806
- docs: fix pre-commit mention in favor of prek by @Hugo-C in #807
- fix: add
scoped_sessionandasync_scoped_sessionto type annotations by @AlexPetul in #800 - docs: add Hugo-C as a contributor for code by @allcontributors[bot] in #809
- chore(deps): bump actions/download-artifact from 6 to 7 by @dependabot[bot] in #805
- chore(deps): bump actions/upload-artifact from 5 to 6 by @dependabot[bot] in #804
- chore: update classifiers by @adhtruong in #810
- fix: update literal detection for 3.14 compatibility by @adhtruong in #811
- feat: support pydantic by_name by @adhtruong in #781
- fix: change default docs light theme by @AlexPetul in #808
- chore: prepare v3.2.0 release by @adhtruong in #812
New Contributors
Full Changelog: v3.1.0...v3.2.0
v3.1.0
What's Changed
- perf: micro-optimize
BaseFactory._infer_model_typeby @sobolevn in #731 - ci: add test_success to simplify PR check by @adhtruong in #780
- feat: support NotRequired fields in TypedDictFactory by @adhtruong in #785
- feat: support for custom
collection_classin SQLAlchemy relationships by @AlexPetul in #776 - docs: add AlexPetul as a contributor for code by @allcontributors[bot] in #786
- fix: Skip association proxy creation if creator is not specified by @AlexPetul in #788
- feat: support python 3.14 by @adhtruong in #779
- docs: fix typo in changelog.rst by @sobolevn in #791
- chore: prepare v3.1.0 release by @adhtruong in #792
New Contributors
- @AlexPetul made their first contribution in #776
Full Changelog: v3.0.0...v3.1.0
v3.0.0
v2.22.5
What's Changed
- fix: Use correct field_meta for constrained union types when building field values for coverage by @bullfest in #770
- docs: add bullfest as a contributor for code by @allcontributors[bot] in #777
- chore: prepare v2.22.5 release by @adhtruong in #778
New Contributors
Full Changelog: v2.22.4...v2.22.5
v2.22.4
What's Changed
- docs: fix typo in pydantic_factory.coverage doc string by @RasmusNygren in #763
- docs: add RasmusNygren as a contributor for doc by @allcontributors[bot] in #766
- fix: model coverage generation and use_examples do not compose well by @arembridge in #757
- docs: add arembridge as a contributor for code by @allcontributors[bot] in #767
- chore(deps): bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in #764
- chore(deps): bump actions/download-artifact from 5 to 6 by @dependabot[bot] in #765
- chore: prepare v2.22.4 release by @adhtruong in #775
New Contributors
- @RasmusNygren made their first contribution in #763
- @arembridge made their first contribution in #757
Full Changelog: v2.22.3...v2.22.4
v2.22.3
What's Changed
- chore(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #740
- chore(deps): bump amannn/action-semantic-pull-request from 5 to 6 by @dependabot[bot] in #741
- chore(deps): bump actions/download-artifact from 4 to 5 by @dependabot[bot] in #739
- chore(deps): bump actions/github-script from 7 to 8 by @dependabot[bot] in #743
- chore(deps): bump actions/setup-python from 5 to 6 by @dependabot[bot] in #742
- fix: Pydantic Factory alias generation from version 2.11 by @sandre35 in #718
- chore: Update CODEOWNERS by @adhtruong in #749
- chore(deps): bump github/codeql-action from 3 to 4 by @dependabot[bot] in #756
- chore(deps): bump astral-sh/setup-uv from 6 to 7 by @dependabot[bot] in #755
- fix: remove association proxy default change by @adhtruong in #747
- docs: add migration guide by @adhtruong in #704
- chore: remove unused script by @adhtruong in #716
- chore: prepare v2.22.3 release by @adhtruong in #761
New Contributors
Full Changelog: v2.22.2...v2.22.3
v2.22.2
What's Changed
- fix: pydantic alias handling by @adhtruong in #737
- fix: allow specifying forward references when as string by @adhtruong in #735
- chore(release): bump to v2.22.2 by @adhtruong in #738
Full Changelog: v2.22.1...v2.22.2
v2.22.1
What's Changed
- fix: handle recursive types that use ForwardRef by @adhtruong in #728
- fix: deprecation error not silenced when overridden by @adhtruong in #724
- chore(release): bump to v2.22.1 by @adhtruong in #732
Full Changelog: v2.22.0...v2.22.1
v2.22.0
What's Changed
- chore: remove usage of _AnnotatedAlias by @adhtruong in #693
- chore: warn on deprecated parameter usage by @adhtruong in #689
- feat: Allow usage of Pydantic models containing forward references by @marcuslimdw in #698
- chore(deps): bump astral-sh/setup-uv from 5 to 6 by @dependabot in #696
- docs: add marcuslimdw as a contributor for code by @allcontributors in #699
- refactor: make type utils deterministic by @adhtruong in #688
- perf: avoid deep copy by @adhtruong in #702
- fix: test by adding inheritance in Child class from Parent by @Rub1kCube in #706
- docs: add Rub1kCube as a contributor for test by @allcontributors in #708
- chore(deps): bump dawidd6/action-download-artifact from 9 to 10 by @dependabot in #709
- fix: Generate correct collection size when annotation_types.Len is used by @priyankc in #712
- chore(deps): bump dawidd6/action-download-artifact from 10 to 11 by @dependabot in #714
- fix: no blank children names by @iloveitaly in #666
- feat: add PEP 695 type alias support and improve type handling by @Rub1kCube in #711
- chore(release): bump to v2.22.0 by @adhtruong in #722
New Contributors
- @marcuslimdw made their first contribution in #698
- @Rub1kCube made their first contribution in #706
- @priyankc made their first contribution in #712
Full Changelog: v2.21.0...v2.22.0
v2.21.0
Sponsors 🌟
A huge 'Thank you!' to all other sponsors across Polar.sh, OpenCollective and GitHub Sponsors!
What's Changed
Bug Fixes
(4ae69c8) - Handle pydantic v1 URL and email correctly (#685) by @Xdynix in #685
(18d8579) - Make type alias detection work with typing_extensions 4.13 (#684) by @airwoodix in #684
### Features
(9940230) - Document overriding SQLA column mapping (#671) by @adhtruong in #671
(cc789b5) - Support new type and annotated mapping (#680) by @adhtruong in #680
(36395d9) - Issue 678 use pydantic field examples (#679) by @stardust85 in #679
(02fed72) - Add release command (#687) by @adhtruong in #687
Miscellaneous Tasks
(e0c6941) - Remove sonar (#672) by @adhtruong in #672
Refactor
(00aa862) - Deprecate FieldMeta.random (#663) by @adhtruong in #663
(ade1115) - Migrate to typos (#675) by @adhtruong in #675
New Contributors
- @Xdynix made their first contribution in #685
- @airwoodix made their first contribution in #684
- @stardust85 made their first contribution in #679
Full Changelog: v2.20.0...v2.21.0