Description
<!-- markdownlint-disable --> <p align="center"> <img src="https://github.com/litestar-org/branding/blob/473f54621e55cde9acbb6fcab7fc03036173eb3d/assets/Branding%20-%20PNG%20-%20Transparent/Polyfactory%20-%20Banner%20-%20Inline%20-%20Light.png?raw=true" alt="Polyfactory Logo - Light" width="100%" height="auto" /> </p> <!-- markdownlint-restore --> <div align="center"> <!-- prettier-ignore-start --> | Project | | Status | | --------- | :-- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | CI/CD | | [](https://github.com/litestar-org/polyfactory/actions/workflows/publish.yml) [](https://github.com/litestar-org/polyfactory/actions/workflows/ci.yml) [](https://github.com/litestar-org/polyfactory/actions/workflows/pages/pages-build-deployment) | | Quality | | [](https://codecov.io/github/litestar-org/polyfactory)
Release History
| Version | Changes | Urgency | Date |
|---|---|---|---|
| 3.3.0 | Imported from PyPI (3.3.0) | Low | 4/21/2026 |
| v3.3.0 | ## What's Changed * fix: improve test stability by @adhtruong in https://github.com/litestar-org/polyfactory/pull/813 * chore(deps): bump dawidd6/action-download-artifact from 11 to 12 by @dependabot[bot] in https://github.com/litestar-org/polyfactory/pull/815 * feat: add `__persistence__method__` to SQLAlchemyFactory by @AlexPetul in https://github.com/litestar-org/polyfactory/pull/818 * chore(deps): bump dawidd6/action-download-artifact from 12 to 13 by @dependabot[bot] in https://github.c | Low | 2/22/2026 |
| v3.2.0 | ## What's Changed * chore: remove unused models by @AlexPetul in https://github.com/litestar-org/polyfactory/pull/794 * fix: Respect `init` parameter for SQLAlchemy dataclasses by @AlexPetul in https://github.com/litestar-org/polyfactory/pull/793 * chore(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in https://github.com/litestar-org/polyfactory/pull/789 * refactor: update pre-commit by @adhtruong in https://github.com/litestar-org/polyfactory/pull/797 * feat: support ZoneInf | Low | 12/21/2025 |
| v3.1.0 | ## What's Changed * perf: micro-optimize `BaseFactory._infer_model_type` by @sobolevn in https://github.com/litestar-org/polyfactory/pull/731 * ci: add test_success to simplify PR check by @adhtruong in https://github.com/litestar-org/polyfactory/pull/780 * feat: support NotRequired fields in TypedDictFactory by @adhtruong in https://github.com/litestar-org/polyfactory/pull/785 * feat: support for custom `collection_class` in SQLAlchemy relationships by @AlexPetul in https://github.com/lites | Low | 11/25/2025 |
| v3.0.0 | ## What's Changed * chore: v3 release by @adhtruong in https://github.com/litestar-org/polyfactory/pull/720 **Full Changelog**: https://github.com/litestar-org/polyfactory/compare/v2.22.5...v3.0.0 | Low | 11/15/2025 |
| v2.22.5 | ## What's Changed * fix: Use correct field_meta for constrained union types when building field values for coverage by @bullfest in https://github.com/litestar-org/polyfactory/pull/770 * docs: add bullfest as a contributor for code by @allcontributors[bot] in https://github.com/litestar-org/polyfactory/pull/777 * chore: prepare v2.22.5 release by @adhtruong in https://github.com/litestar-org/polyfactory/pull/778 ## New Contributors * @bullfest made their first contribution in https://gith | Low | 11/15/2025 |
| v2.22.4 | ## What's Changed * docs: fix typo in pydantic_factory.coverage doc string by @RasmusNygren in https://github.com/litestar-org/polyfactory/pull/763 * docs: add RasmusNygren as a contributor for doc by @allcontributors[bot] in https://github.com/litestar-org/polyfactory/pull/766 * fix: model coverage generation and __use_examples__ do not compose well by @arembridge in https://github.com/litestar-org/polyfactory/pull/757 * docs: add arembridge as a contributor for code by @allcontributors[bot | Low | 11/10/2025 |
| v2.22.3 | ## What's Changed * chore(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in https://github.com/litestar-org/polyfactory/pull/740 * chore(deps): bump amannn/action-semantic-pull-request from 5 to 6 by @dependabot[bot] in https://github.com/litestar-org/polyfactory/pull/741 * chore(deps): bump actions/download-artifact from 4 to 5 by @dependabot[bot] in https://github.com/litestar-org/polyfactory/pull/739 * chore(deps): bump actions/github-script from 7 to 8 by @dependabot[bot] i | Low | 10/18/2025 |
| v2.22.2 | ## What's Changed * fix: pydantic alias handling by @adhtruong in https://github.com/litestar-org/polyfactory/pull/737 * fix: allow specifying forward references when as string by @adhtruong in https://github.com/litestar-org/polyfactory/pull/735 * chore(release): bump to v2.22.2 by @adhtruong in https://github.com/litestar-org/polyfactory/pull/738 **Full Changelog**: https://github.com/litestar-org/polyfactory/compare/v2.22.1...v2.22.2 | Low | 8/15/2025 |
| v2.22.1 | ## What's Changed * fix: handle recursive types that use ForwardRef by @adhtruong in https://github.com/litestar-org/polyfactory/pull/728 * fix: deprecation error not silenced when overridden by @adhtruong in https://github.com/litestar-org/polyfactory/pull/724 * chore(release): bump to v2.22.1 by @adhtruong in https://github.com/litestar-org/polyfactory/pull/732 **Full Changelog**: https://github.com/litestar-org/polyfactory/compare/v2.22.0...v2.22.1 | Low | 7/14/2025 |
| v2.22.0 | ## What's Changed * chore: remove usage of _AnnotatedAlias by @adhtruong in https://github.com/litestar-org/polyfactory/pull/693 * chore: warn on deprecated parameter usage by @adhtruong in https://github.com/litestar-org/polyfactory/pull/689 * feat: Allow usage of Pydantic models containing forward references by @marcuslimdw in https://github.com/litestar-org/polyfactory/pull/698 * chore(deps): bump astral-sh/setup-uv from 5 to 6 by @dependabot in https://github.com/litestar-org/polyfacto | Low | 7/1/2025 |
| v2.21.0 | # Sponsors π A huge 'Thank you!' to all other sponsors across [Polar.sh](https://polar.sh/litestar-org), [OpenCollective](https://opencollective.com/litestar) and [GitHub Sponsors](https://github.com/sponsors/litestar-org/)! ## What's Changed ### Bug Fixes ([4ae69c8](https://github.com/litestar-org/polyfactory/commit/4ae69c81c61e70269c004794abf3abca31700e87)) - Handle pydantic v1 URL and email correctly (#685) by [@Xdynix](https://github.com/Xdynix) in [#685](https://github.com/lite | Low | 4/18/2025 |
| v2.20.0 | # Sponsors π A huge 'Thank you!' to all other sponsors across [Polar.sh](https://polar.sh/litestar-org), [OpenCollective](https://opencollective.com/litestar) and [GitHub Sponsors](https://github.com/sponsors/litestar-org/)! ## What's Changed ###Β New Features π * feat: described an ability to use async data in factory fields; refactored factories/base and some tests by @nisemenov in https://github.com/litestar-org/polyfactory/pull/641 * feat: simplify pytest plugin by @adhtruong i | Low | 3/21/2025 |
| v2.19.0 | # Sponsors π Thanks to these incredible business sponsors: [Scalar](https://scalar.com/) (@scalar), [Telemetry Sports](https://telemetrysports.com/) (via @chris-telemetry), [Stok](https://www.stok.kr/) (@stok-team) A huge 'Thank you!' to all other sponsors across [Polar.sh](https://polar.sh/litestar-org), [OpenCollective](https://opencollective.com/litestar) and [GitHub Sponsors](https://github.com/sponsors/litestar-org/)! ## What's Changed ### New Features π * feat(sqla_facto | Low | 1/29/2025 |
| v2.18.1 | # Sponsors π Thanks to these incredible business sponsors: [Scalar](https://scalar.com/) (@scalar), [Telemetry Sports](https://telemetrysports.com/) (via @chris-telemetry), [Stok](https://www.stok.kr/) (@stok-team) A huge 'Thank you!' to all other sponsors across [Polar.sh](https://polar.sh/litestar-org), [OpenCollective](https://opencollective.com/litestar) and [GitHub Sponsors](https://github.com/sponsors/litestar-org/)! ## What's Changed * fix: handle nullable SQLA constraints by | Low | 11/26/2024 |
| v2.18.0 | # Sponsors π Thanks to these incredible business sponsors: [Scalar](https://scalar.com/) (@scalar), [Telemetry Sports](https://telemetrysports.com/) (via @chris-telemetry), [Stok](https://www.stok.kr/) (@stok-team) A huge 'Thank you!' to all other sponsors across [Polar.sh](https://polar.sh/litestar-org), [OpenCollective](https://opencollective.com/litestar) and [GitHub Sponsors](https://github.com/sponsors/litestar-org/)! # What's Changed ## New Features π * Handle SQLA column | Low | 11/6/2024 |
| v2.17.0 | # Sponsors π Thanks to these incredible business sponsors: [Scalar](https://scalar.com/) (@scalar), [Telemetry Sports](https://telemetrysports.com/) (via @chris-telemetry), [Stok](https://www.stok.kr/) (@stok-team) A huge 'Thank you!' to all other sponsors across [Polar.sh](https://polar.sh/litestar-org), [OpenCollective](https://opencollective.com/litestar) and [GitHub Sponsors](https://github.com/sponsors/litestar-org/)! ## What's Changed * fix: constrained 0 length lists by @marc | Low | 9/22/2024 |
| v2.16.2 | # Sponsors π Thanks to these incredible business sponsors: [Scalar](https://scalar.com/) (@scalar), [Telemetry Sports](https://telemetrysports.com/) (via @chris-telemetry), [Stok](https://www.stok.kr/) (@stok-team) A huge 'Thank you!' to all other sponsors across [Polar.sh](https://polar.sh/litestar-org), [OpenCollective](https://opencollective.com/litestar) and [GitHub Sponsors](https://github.com/sponsors/litestar-org/)! # What's Changed ## Fixes π§ * Nested model in collection | Low | 7/9/2024 |
| v2.16.1 | # Sponsors π Thanks to these incredible business sponsors: [Scalar](https://scalar.com/) (@scalar), [Telemetry Sports](https://telemetrysports.com/) (via @chris-telemetry), [Stok](https://www.stok.kr/) (@stok-team) A huge 'Thank you!' to all other sponsors across [Polar.sh](https://polar.sh/litestar-org), [OpenCollective](https://opencollective.com/litestar) and [GitHub Sponsors](https://github.com/sponsors/litestar-org/)! # What's Changed ## New Contributors * @Alc-Alc made thei | Low | 7/8/2024 |
| v2.16.0 | ## Sponsors π Thanks to these incredible business sponsors: [Scalar](https://scalar.com/) (@scalar), [Telemetry Sports](https://telemetrysports.com/) (via @chris-telemetry), [Stok](https://www.stok.kr/) (@stok-team) A huge 'Thank you!' to all other sponsors across [Polar.sh](https://polar.sh/litestar-org), [OpenCollective](https://opencollective.com/litestar) and [GitHub Sponsors](https://github.com/sponsors/litestar-org/)! ## What's Changed ### New Contributors * @wangxin688 mad | Low | 5/13/2024 |
| v2.15.0 | # β€οΈ Sponsors β€οΈ [GitHub Sponsors](https://github.com/sponsors/litestar-org/): [Scalar](https://scalar.com/), [Telemetry Sports](https://telemetrysports.com/) (via @chris-telemetry), [Stok](https://www.stok.kr/) (https://github.com/stok-team), @benjamin-kirkbride, @crisog, @geeshta, @cbscsm [OpenCollective](https://opencollective.com/litestar): Christian Y, Anonymous # What's Changed ## Fixes π§ * fix: prefer `sqlalchemy.type.impl` if it exists by @cofin in https://github.com/litestar-o | Low | 3/2/2024 |
| v2.14.1 | β€οΈ Sponsors β€οΈ [GitHub Sponsors](https://github.com/sponsors/litestar-org/): [Scalar](https://scalar.com/), [Telemetry Sports](https://telemetrysports.com/) (via @chris-telemetry), [Stok](https://www.stok.kr/) (https://github.com/stok-team), @benjamin-kirkbride, @crisog, @geeshta, @cbscsm [OpenCollective](https://opencollective.com/litestar): Christian Y, Anonymous # What's Changed ## Fixes π§ * Fix the handling of union types by @guacs in https://github.com/litestar-org/polyfactory/pul | Low | 1/20/2024 |
| v2.14.0 | # β€οΈ Sponsors β€οΈ [GitHub Sponsors](https://github.com/sponsors/litestar-org/): [Scalar](https://scalar.com/), [Telemetry Sports](https://telemetrysports.com/) (via @chris-telemetry), [Stok](https://www.stok.kr/) (@stok-team), @benjamin-kirkbride, @crisog, @geeshta, @cbscsm [OpenCollective](https://opencollective.com/litestar): Christian Y, Anonymous # What's Changed ## New Features π * Use the default value if available and `__use_default__` is set to `True` by @guacs in https://github | Low | 1/19/2024 |
| v2.13.0 | # β€οΈ Sponsors β€οΈ [GitHub Sponsors](https://github.com/sponsors/litestar-org/): [Scalar](https://scalar.com/), [Telemetry Sports](https://telemetrysports.com/) (via @chris-telemetry) @benjamin-kirkbride @crisog @geeshta [OpenCollective](https://opencollective.com/litestar): Christian Y, Anonymous # What's Changed ## New Features π * Infer `__model__` from generic type args by @Mityuha in https://github.com/litestar-org/polyfactory/pull/452 ## Fixes π§ * Handle Optional types in `flatt | Low | 12/19/2023 |
| v2.12.0 | # β€οΈ Sponsors β€οΈ [GitHub Sponsors](https://github.com/sponsors/litestar-org/): [Telemetry Sports](https://telemetrysports.com/) (via @chris-telemetry) @benjamin-kirkbride @crisog @geeshta [OpenCollective](https://opencollective.com/litestar): Christian Y, Anonymous # What's Changed ## New Features π * Set `factory.__model__` as default for `model` argument in `create_factory` by @g0di in https://github.com/litestar-org/polyfactory/pull/429 * Model type coverage generation by @sam-or in | Low | 11/13/2023 |
| v2.11.0 | # π° Sponsors π° [GitHub Sponsors](https://github.com/sponsors/litestar-org/): @benjamin-kirkbride @crisog [OpenCollective](https://opencollective.com/litestar): Christian Y, Anonymous # What's Changed ## New Features π * Check if fields declared on the factory belong to the model by @johnraz in https://github.com/litestar-org/polyfactory/pull/405 * Support annotation with `Constraints` by @guacs in https://github.com/litestar-org/polyfactory/pull/411 * Deprecate `FieldMeta` collect | Low | 10/23/2023 |
| v2.10.0 | # π° Sponsors π° [GitHub Sponsors](https://github.com/sponsors/litestar-org/): @benjamin-kirkbride @crisog [OpenCollective](https://opencollective.com/litestar): Christian Y, Anonymous # What's Changed ## New Features π * Support SQLA14 by @adhtruong in https://github.com/litestar-org/polyfactory/pull/385 ## Fixes π§ * Properly resolve dataclass forward references by @guacs in https://github.com/litestar-org/polyfactory/pull/383 * Fix alternative version installation by @adhtruon | Low | 10/16/2023 |
| v2.9.0 | # π New Contributors π * @anthonyjgraff made their first contribution in https://github.com/litestar-org/polyfactory/pull/371 # π° Sponsors π° [GitHub Sponsors](https://github.com/sponsors/litestar-org/): @benjamin-kirkbride, @crisog [OpenCollective](https://opencollective.com/litestar): Christian Y, GitHub Sponsors, Shubham Prajapati, Snyk, Matteo # What's Changed ## New Features π * Implement `sqlalchemy` factory by @adhtruong in https://github.com/litestar-org/polyfactory/pul | Low | 9/19/2023 |
| v2.8.2 | ## π New Contributors π * @sobolevn made their first contribution in https://github.com/litestar-org/polyfactory/pull/361 ## π° Sponsors π° [GitHub Sponsors](https://github.com/sponsors/litestar-org/): @benjamin-kirkbride, @crisog [OpenCollective](https://opencollective.com/litestar): Christian Y, GitHub Sponsors, Shubham Prajapati, Snyk ## What's Changed ### π§ Fixes * fix: properly set annotation in union with Annotated constraints in subtypes by @guacs in https://github.com/ | Low | 9/16/2023 |
| v2.8.1 | # What's Changed ## Fixes π§ * Add missing factories to builtin registration by @guacs in https://github.com/litestar-org/polyfactory/pull/351 ## Docs π * Explain all the factory configuration options by @adhtruong in https://github.com/litestar-org/polyfactory/pull/350 ## Infra π * Use full Python version for venv cache by @guacs in https://github.com/litestar-org/polyfactory/pull/352 * Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/litestar-org/polyfact | Low | 9/10/2023 |
| v2.8.0 | # π New Contributors π * @185504a9 made their first contribution in https://github.com/litestar-org/polyfactory/pull/333 # What's Changed ## New Features π * Added support for constraints for mapping types by @guacs in https://github.com/litestar-org/polyfactory/pull/337 * Added support for pydantic's date types by @185504a9 in https://github.com/litestar-org/polyfactory/pull/333 ## Fixes π§ * Ensure no override of Faker instance by @guacs in https://github.com/litestar-org/pol | Low | 8/26/2023 |
| v2.7.2 | ## Fixes π§ * fix: pydantic core import by @guacs in https://github.com/litestar-org/polyfactory/pull/329 **Full Changelog**: https://github.com/litestar-org/polyfactory/compare/v2.7.1...v2.7.2 | Low | 8/9/2023 |
| v2.7.1 | # π New Contributors π * @klimantje made their first contribution in https://github.com/litestar-org/polyfactory/pull/319 * @tcrasset made their first contribution in https://github.com/litestar-org/polyfactory/pull/323 # What's Changed ## Infra π * infra: fix communiity health files by @JacobCoffee in https://github.com/litestar-org/polyfactory/pull/322 ## Fixes π§ * fix: add support for Json type in Pydantic factory by @guacs in https://github.com/litestar-org/polyfactory/pu | Low | 8/8/2023 |
| v2.7.0 | ## What's Changed * infra: update codeowners by @JacobCoffee in https://github.com/litestar-org/polyfactory/pull/311 * feat: implementation of Attrs Factory by @guacs in https://github.com/litestar-org/polyfactory/pull/313 **Full Changelog**: https://github.com/litestar-org/polyfactory/compare/v2.6.3...v2.7.0 | Low | 7/28/2023 |
| v2.6.3 | ## What's Changed * fix annotated field resolution by @Goldziher in https://github.com/litestar-org/polyfactory/pull/309 **Full Changelog**: https://github.com/litestar-org/polyfactory/compare/v2.6.2...v2.6.3 | Low | 7/21/2023 |
| v2.6.2 | ## What's Changed ## Fixes * Fix random access on lower Python versions by @Goldziher in https://github.com/litestar-org/polyfactory/pull/301 * Switch to using faker.seed_instance by @Goldziher in https://github.com/litestar-org/polyfactory/pull/305 **Full Changelog**: https://github.com/litestar-org/polyfactory/compare/v2.6.1...v2.6.2 | Low | 7/14/2023 |
| v2.6.1 | # What's Changed ## π New Contributors π * @abdulhaq-e made their first contribution in https://github.com/litestar-org/polyfactory/pull/295 ## Fixes * Fix inheritance support for msgspec by @abdulhaq-e in https://github.com/litestar-org/polyfactory/pull/295 ## Documentation * docs: add abdulhaq-e as a contributor for code by @allcontributors in https://github.com/litestar-org/polyfactory/pull/297 **Full Changelog**: https://github.com/litestar-org/polyfactory/compare/v2.6.0... | Low | 7/10/2023 |
| v2.6.0 | ## What's Changed New Features π * Support for configurable length sequence generation by @mdczaplicki in https://github.com/litestar-org/polyfactory/pull/189 Fixes π§ * Fix `const` not being used with pydantic v1 models. by @Goldziher in https://github.com/litestar-org/polyfactory/pull/293 **Full Changelog**: https://github.com/litestar-org/polyfactory/compare/v2.5.0...v2.6.0 | Low | 7/9/2023 |
| v2.5.0 | ## What's Changed π Full [](https://pydantic.dev) Support with the it's official release: https://github.com/pydantic/pydantic/releases/tag/v2.0 π ### New Contributions π₯ * @mdczaplicki as a contributor for test, and code by @allcontributors in https://github.com/litestar-org/polyfactory/pull/274 as | Low | 6/30/2023 |
| v2.4.0 | ## What's Changed * Add: support for overriding base factories locally by @Goldziher in https://github.com/litestar-org/polyfactory/pull/238 * Fix: generation of list literals (#239) by @Simske in https://github.com/litestar-org/polyfactory/pull/240 * Fix: URL constraints and strict pydantic v2 values by @Goldziher in https://github.com/litestar-org/polyfactory/pull/241 ## New Contributors * @Simske made their first contribution in https://github.com/litestar-org/polyfactory/pull/240 * | Low | 6/25/2023 |
| v2.3.3 | ## What's Changed * Unwrap annotation for URL types (#234) by @VSHUMILIN97 in https://github.com/litestar-org/polyfactory/pull/235 * Add VSHUMILIN97 as a contributor for code by @allcontributors in https://github.com/litestar-org/polyfactory/pull/237 * Refactor metadata extraction by @Goldziher in https://github.com/litestar-org/polyfactory/pull/236 ## New Contributors * @VSHUMILIN97 made their first contribution in https://github.com/litestar-org/polyfactory/pull/235 **Full Changelog* | Low | 6/22/2023 |
| v2.3.2 | ## What's Changed * chore: fix constant constraints by @Goldziher in https://github.com/litestar-org/polyfactory/pull/233 **Full Changelog**: https://github.com/litestar-org/polyfactory/compare/v2.3.1...v2.3.2 | Low | 6/18/2023 |
| v2.3.1 | ## What's Changed * Add a default value for `FieldMeta` `random` args by @provinzkraut in https://github.com/litestar-org/polyfactory/pull/232 **Full Changelog**: https://github.com/litestar-org/polyfactory/compare/v2.3.0...v2.3.1 | Low | 6/18/2023 |
| v2.3.0 | ## What's Changed * Retrieve field types from result of `get_type_hints()`. by @peterschutt in https://github.com/litestar-org/polyfactory/pull/229 * Add pydantic V2 Support by @Goldziher in https://github.com/litestar-org/polyfactory/pull/222 **Full Changelog**: https://github.com/litestar-org/polyfactory/compare/v2.2.0...v2.3.0 | Low | 6/18/2023 |
| v2.2.0 | ## What's Changed * Add msgspec.Struct factory by @guacs in https://github.com/litestar-org/polyfactory/pull/226 **Full Changelog**: https://github.com/litestar-org/polyfactory/compare/v2.1.2...v2.2.0 | Low | 5/29/2023 |
| v2.1.2 | ## What's Changed * Bump requests from 2.30.0 to 2.31.0 by @dependabot in https://github.com/litestar-org/polyfactory/pull/219 * Include missing types in creating constrained field values by @guacs in https://github.com/litestar-org/polyfactory/pull/220 * docs: add guacs as a contributor for code by @allcontributors in https://github.com/litestar-org/polyfactory/pull/221 * fix type provider for UUID by @guacs in https://github.com/litestar-org/polyfactory/pull/224 ## New Contributors * @ | Low | 5/28/2023 |
| v2.1.1 | ## What's Changed * Fix handle_complex_type for Union of Literals by @gsakkis in https://github.com/litestar-org/polyfactory/pull/213 * Fix create_random_integer to include the upper bound by @gsakkis in https://github.com/litestar-org/polyfactory/pull/214 * Fix PydanticFieldMeta.from_model_field() for Optional fields by @gsakkis in https://github.com/litestar-org/polyfactory/pull/215 **Full Changelog**: https://github.com/litestar-org/polyfactory/compare/v2.1.0...v2.1.1 | Low | 5/17/2023 |
| v2.1.0 | ## What's Changed ### New Features * Factory inheritance by @gsakkis in https://github.com/litestar-org/polyfactory/pull/203 * Add support for custom root types in Pydantic model factory by @Iipin in https://github.com/litestar-org/polyfactory/pull/210 * Enhancement: PostGenerated classmethods by @gsakkis in https://github.com/litestar-org/polyfactory/pull/204 ### Bug Fixes * Fix: Random union types for dict by @sygutss in https://github.com/litestar-org/polyfactory/pull/200 * Misc. f | Low | 5/6/2023 |
| v2.0.1 | ## What's Changed ### New Features * Bson field support for odmantic models by @gsakkis in https://github.com/litestar-org/polyfactory/pull/193 ### Bug Fixes * Make polyfactory work with Ellipsis in dataclasses by @mdczaplicki in https://github.com/litestar-org/polyfactory/pull/183 * Fix missing f-string when raising `ConfigurationException` for unsupported model type by @przybylop in https://github.com/litestar-org/polyfactory/pull/186 ### Documentation * docs: add mdczaplicki as a | Low | 4/28/2023 |
| v2.0.0 | ## What's Changed * Add constrained abstraction by @Goldziher in https://github.com/litestar-org/polyfactory/pull/175 **Full Changelog**: https://github.com/litestar-org/polyfactory/compare/v2.0.0alpha1...v2.0.0 | Low | 4/16/2023 |
| v2.0.0alpha1 | ## What's Changed ### Bugfixes * Make `MissingDependencyException` a subclass of ImportError by @provinzkraut in https://github.com/litestar-org/polyfactory/pull/167 * Fix #164: Remove hard pytest dependency by @provinzkraut in https://github.com/litestar-org/polyfactory/pull/165 ### Documentation * Add documentation by @Goldziher in https://github.com/litestar-org/polyfactory/pull/156 * Add persistence examples by @Goldziher in https://github.com/litestar-org/polyfactory/pull/157 | Low | 4/11/2023 |
