Releases: litestar-org/polyfactory
Releases · litestar-org/polyfactory
v2.6.3
v2.6.2
What's Changed
Fixes
- Fix random access on lower Python versions by @Goldziher in #301
- Switch to using faker.seed_instance by @Goldziher in #305
Full Changelog: v2.6.1...v2.6.2
v2.6.1
What's Changed
🎉 New Contributors 🎉
- @abdulhaq-e made their first contribution in #295
Fixes
- Fix inheritance support for msgspec by @abdulhaq-e in #295
Documentation
- docs: add abdulhaq-e as a contributor for code by @allcontributors in #297
Full Changelog: v2.6.0...v2.6.1
v2.6.0
What's Changed
New Features 🚀
- Support for configurable length sequence generation by @mdczaplicki in #189
Fixes 🔧
- Fix
const
not being used with pydantic v1 models. by @Goldziher in #293
Full Changelog: v2.5.0...v2.6.0
v2.5.0
What's Changed
🎉 Full 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 #274 as a result of #189
New Features 🚀
- Adjust to Pydantic v2 by @Goldziher in #284
- Use
is_safe_subclass
consistently by @gsakkis in #283 - Add @sourcery-ai config by @JacobCoffee in #271
- Use
DEFAULT_RANDOM
instead of initializing new value in BaseFactory by @mdczaplicki in #275 - Refactor base factory.get_field_value by @gsakkis in #269
Fixes 🔧
Docs 📄
- Update PyPI image, update readme by @JacobCoffee in #266
Internal / Meta
- Fix issue with @all-contributors by @Goldziher in #263
- Add peterschutt as a contributor for maintenance, doc, and test by @allcontributors in #264
Full Changelog: v2.4.0...v2.5.0
v2.4.0
What's Changed
- Add: support for overriding base factories locally by @Goldziher in #238
- Fix: generation of list literals (#239) by @Simske in #240
- Fix: URL constraints and strict pydantic v2 values by @Goldziher in #241
New Contributors
Full Changelog: v2.3.3...v2.4.0
v2.3.3
What's Changed
- Unwrap annotation for URL types (#234) by @VSHUMILIN97 in #235
- Add VSHUMILIN97 as a contributor for code by @allcontributors in #237
- Refactor metadata extraction by @Goldziher in #236
New Contributors
- @VSHUMILIN97 made their first contribution in #235
Full Changelog: v2.3.2...v2.3.3
v2.3.2
What's Changed
- chore: fix constant constraints by @Goldziher in #233
Full Changelog: v2.3.1...v2.3.2
v2.3.1
What's Changed
- Add a default value for
FieldMeta
random
args by @provinzkraut in #232
Full Changelog: v2.3.0...v2.3.1
v2.3.0
What's Changed
- Retrieve field types from result of
get_type_hints()
. by @peterschutt in #229 - Add pydantic V2 Support by @Goldziher in #222
Full Changelog: v2.2.0...v2.3.0