All commits to this project will be documented in this file.
67c5720 is the last commit in the changelog before unreleased changes.
- (24701eb) - Constrained 0 length lists (#570) by @marcozzxx810 in #570
- (6f5b78c) - Use provider map for any in coverage (#574) by @adhtruong in #574
- (4aaf656) - Tuple randomized length (#573) by @adhtruong in #573
- (9a83ad6) - Adjust min/max items to valid lengths for Set[Enum] fields (#567) by @adrianeboyd in #567
- (135d7fe) - Handle Optional type recursive models (#584) by @adhtruong in #584
- (6440faa) - Handle recursive collections (#587) by @adhtruong in #587
- (841831d) - Swap word with its antonym to match the context (#575) by @UncleGoogle in #575
- (c0c2704) - Enhance register_fixture return type annotation (#581) by @giulioindev in #581
- (d75b1d2) - Update pre-commit dependencies (#571) by @adhtruong in #571
23281ee ... 67c5720 | See diff for 2.16.2
4928f07 ... 23281ee | See diff for 2.16.1
- (86869c2) - Use provider map for generating value for 'Any' (#522) by @guacs in #522
- (cbe6dfc) - Pydantic factory_use_construct is not propagated to the nested (#549) by @Reskov in #549
- (b09bf64) - Send correct field_meta to avoid over nesting (#527) by @Vegemash in #527
- (740fd34) - Link to GitHub repo (#547) by @Alc-Alc in #547
- (c34e72e) - Add Reskov as a contributor for code (#556) by @allcontributors[bot] in #556
- (3320989) - Add Vegemash as a contributor for code (#562) by @allcontributors[bot] in #562
- (f8e9318) - Migrate formatting to ruff (#554) by @adhtruong in #554
- (36a9cc1) - Bump pydantic (#561) by @Vegemash in #561
- (23281ee) - Bump patch version by @guacs
1d1c7f9 ... 4928f07 | See diff for 2.16.0
- (719495e) - Ignore non-columns types (#510) by @adhtruong in #510
- (bb04b4e) - Favour SA mapped type over impl type (#513) by @adhtruong in #513
- (0032b5e) - Add footer to changelog generation by @JacobCoffee
- (5fd7d6c) - Resolve mypy issues (#540) by @adhtruong in #540
- (9e6edab) - Fix json type error and pg dialect default value e… (#542) by @wangxin688 in #542
- (01d1dbe) - Apply organization theme (#533) by @JacobCoffee in #533
- (5a0a5be) - Polyfactory landing page (#535) by @JacobCoffee in #535
- (2f781ee) - Add wangxin688 as a contributor for code (#544) by @allcontributors[bot] in #544
- (1792c19) - Support nested type in pg.array types and others (#530) by @wangxin688 in #530
- (013135c) - Refresh object in async_session after commit to db (#541) by @wangxin688 in #541
- (e4695a7) - Copy mutable args (#529) by @adhtruong in #529
- (fac9fba) - Upgrade dependencies (#517) by @adhtruong in #517
- (3da64f6) - Update changelog.rst (#537) by @impaktor in #537
- (3e2d22c) - Update maintainer emails (#545) by @guacs in #545
- (6507c6d) - Add codecov coverage, fix badges (#536) by @JacobCoffee in #536
b44c68b ... 1d1c7f9 | See diff for 2.15.0
- (c4e3d91) - Prefer
sqlalchemy.type.impl
if it exists (#502) by @cofin in #502 - (0f8f9e8) - Handle constrained unions properly (#499) by @guacs in #499
- (61c8892) - Fix typo on use_defaults (#497) by @TimDumol in #497
- (9e34fa7) - Add TimDumol as a contributor for doc (#498) by @allcontributors[bot] in #498
- (1078230) - Bump pdm-project/setup-pdm from 3 to 4 (#496) by @dependabot[bot] in #496
- (1d1c7f9) - Release v2.15.0 by @guacs
83f2992 ... b44c68b | See diff for 2.14.1
8dc8e1a ... 83f2992 | See diff for 2.14.0
- (fb4e50a) - Add min version to typing-extensions (#471) by @hsorsky in #471
- (40538c9) - Set as default type for factory only if model is defined (#479) by @guacs in #479
- (c22633c) - Add hsorsky as a contributor for infra (#477) by @allcontributors[bot] in #477
- (b9c2127) - Fix broken uri (#485) by @wer153 in #485
- (8f96365) - Add wer153 as a contributor for doc (#486) by @allcontributors[bot] in #486
- (7ec9eb0) - Fix code block (#484) by @wer153 in #484
- (b33e662) - Allow use of the default value based on configuration (#472) by @guacs in #472
- (80bd012) - Add recursion guard (#468) by @adhtruong in #468
- (c7556e8) - Pass on factory config (#483) by @adhtruong in #483
- (94ad561) - Support type alias (#487) by @adhtruong in #487
- (bb433a4) - Update pre commit (#478) by @guacs in #478
- (2b57706) - Bump actions/cache from 3 to 4 (#488) by @dependabot[bot] in #488
- (83f2992) - Bump minor version by @guacs
fe05c4e ... 8dc8e1a | See diff for 2.13.0
- (b479e4a) - Flatten_annotation behaviour for Optional (#440) by @sam-or in #440
- (6961eaa) - Don't blindly suppress ValueError (#450) by @guacs in #450
- (1407f07) - Bump actions/github-script from 6 to 7 (#438) by @dependabot[bot] in #438
- (1a0da0d) - Bump actions/setup-python from 4 to 5 (#448) by @dependabot[bot] in #448
- (231d311) - Bump github/codeql-action from 2 to 3 (#458) by @dependabot[bot] in #458
- (2695880) - Bump dawidd6/action-download-artifact from 2 to 3 (#459) by @dependabot[bot] in #459
- (fe342e4) - Bump actions/upload-artifact from 3 to 4 (#461) by @dependabot[bot] in #461
- (a371d7f) - Bump actions/download-artifact from 3 to 4 (#462) by @dependabot[bot] in #462
- (0e2f824) - Bump dependencies (#465) by @guacs in #465
- (8dc8e1a) - Bump minor version by @guacs
b7b88a8 ... fe05c4e | See diff for 2.12.0
- (70d49fd) - Handle cases where 'init=False' for dataclasses and attrs models (#433) by @guacs in #433
- (6b7512d) - Correctly handle collections with constrained items (#436) by @guacs in #436
- (2bad951) - Add g0di as a contributor for code, doc, and test (#432) by @allcontributors[bot] in #432
- (155f4a4) - Autofill
model
argument when callingcreate_factory
with receiving factory__model__
(#429) by @g0di in #429 - (b1e8b5e) - Model type coverage batch generation (#390) by @sam-or in #390
63aa272 ... b7b88a8 | See diff for 2.11.0
- (caaee0f) - Handle Required and NonRequired annotations (#422) by @guacs in #422
- (5d64bde) - Respect override of optional nested model fields (#420) by @julioolvr in #420
- (e819c2f) - Add johnraz as a contributor for code, doc, and test (#413) by @allcontributors[bot] in #413
- (0631d80) - Update installation (#414) by @adhtruong in #414
- (11f234c) - Reorder docs and add docs on factories as fields (#418) by @adhtruong in #418
- (a0465c6) - Add julioolvr as a contributor for code, and test (#425) by @allcontributors[bot] in #425
- (5fefa41) - Check if fields declared on the factory belong to the model (#405) by @johnraz in #405
- (e1f7a47) - Support annotation with Constraints (#411) by @guacs in #411
- (0717951) - Deprecate FieldMeta collection params (#417) by @adhtruong in #417
f2c6fe1 ... 63aa272 | See diff for 2.10.0
- (8c88293) - Properly resolve dataclass forward references (#383) by @guacs in #383
- (0064240) - Update makefile (#399) by @JacobCoffee in #399
- (89cd351) - Decouple the handling of collection length configuration from
FieldMeta
(#407) by @guacs in #407
- (c1edfd5) - Install all dependencies for docs build (#404) by @adhtruong in #404
- (cabe03c) - Support sqlalchemy 1.4 (#385) by @adhtruong in #385
- (79360f1) - Move creation of pydantic provider map (#396) by @guacs in #396
- (f555636) - Refactor the msgspec factory to use the fields API (#409) by @guacs in #409
- (8ef78b8) - Fix alternative version installation (#389) by @adhtruong in #389
- (eddb978) - Migrate to pdm and full ruff (#384) by @JacobCoffee in #384
ebf30ff ... f2c6fe1 | See diff for 2.9.0
- (2a20513) - Properly type hint create_factory (#360) by @guacs in #360
- (6cc7b03) -
AttrsFactory
fixes (#370) by @guacs in #370 - (8e41372) - Update fixture size handling (#373) by @adhtruong in #373
- (87a6749) - Dataclass field type not used correctly (#371) by @anthonyjgraff in #371
- (6f4b712) - Add adhtruong as a contributor for doc, test, and code (#375) by @allcontributors[bot] in #375
- (64c4e6c) - Add anthonyjgraff as a contributor for code (#374) by @allcontributors[bot] in #374
- (f2c6fe1) - Add guacs as a contributor for infra, code, and 2 more (#380) by @allcontributors[bot] in #380
- (c76ffc9) - Implement SQLA factory (#369) by @adhtruong in #369
- (fc0bf61) - Update maintainers by @provinzkraut
- (f67f36e) - Ignore .all-contributorsrc for in .pre-commit (#377) by @adhtruong in #377
- (66e9db1) - Fix all-contributors config by @JacobCoffee
- (ec177ec) - Make
pytest
configuration stricter (#363) by @sobolevn in #363 - (95d24cb) - Skip variable length dict test for odmantic (#372) by @guacs in #372
- (adccaf0) - Enable publishing with PyPI trusted publishers (#368) by @provinzkraut in #368
7af5469 ... ebf30ff | See diff for 2.8.2
- (f639c26) - Properly set annotation in union with nested Annotated (#355) by @guacs in #355
- (ebf30ff) - Add minimum version constraint to attrs (#359) by @guacs in #359
7b46b57 ... 7af5469 | See diff for 2.8.1
- (3dba4be) - Use full Python version for venv cache (#352) by @guacs in #352
- (257852a) - Add missing factories to builtin registration (#351) by @guacs in #351
- (e4daf5f) - Add adhtruong as a contributor for code (#346) by @allcontributors[bot] in #346
- (9ffe596) - Expose all options (#350) by @adhtruong in #350
- (7a5a1c9) - Add adhtruong as a contributor for doc (#353) by @allcontributors[bot] in #353
- (4f2e5d8) - Updated dependencies by @Goldziher
- (161c0f6) - Bump actions/checkout from 3 to 4 (#349) by @dependabot[bot] in #349
- (7af5469) - Prepare v2.8.1 (#354) by @guacs in #354
710d3ce ... 7b46b57 | See diff for 2.8.0
- (ea41bbe) - Add 185504a9 as a contributor for code (#339) by @allcontributors[bot] in #339
- (510fabd) - Support constraints for mapping types (#337) by @guacs in #337
- (0228d3d) - Add pydantic's AwareDatetime to the mock map (#333) by @185504a9 in #333
- (bf04fa6) - Updated dependencies (#338) by @Goldziher in #338
04a504b ... 710d3ce | See diff for 2.7.2
3e45f8f ... 04a504b | See diff for 2.7.1
- (2733497) - Add support for Json type in Pydantic factory (#315) by @guacs in #315
- (3aeaa0c) - Constrained strings not deterministic with seed because urandom not seedable (#319) by @klimantje in #319
- (61f1e2e) - Random seed configuration (#321) by @guacs in #321
- (2400fbe) - Include pydantic Field constraints when using Optional type (#323) by @tcrasset in #323
- (8ff7e0f) - Add klimantje as a contributor for code (#320) by @allcontributors[bot] in #320
- (9def5b1) - Add tcrasset as a contributor for code (#324) by @allcontributors[bot] in #324
- (5543e66) - Fix health files (#322) by @JacobCoffee in #322
- (5abe4b3) - Update issue template config by @JacobCoffee
e703593 ... 3e45f8f | See diff for 2.7.0
- (0bfa3b4) - Add litestar rename news link by @JacobCoffee
- (d385561) - Update codeowners (#311) by @JacobCoffee in #311
86585d0 ... e703593 | See diff for 2.6.3
- (7405901) - Remove stray badge (#306) by @JacobCoffee in #306
- (b1f8f6e) - Remove stray character from README by @JacobCoffee
- (c936389) - Update poetry dependencies (#308) by @Goldziher in #308
- (09f896c) - Fix CONTRIBUTING.rst (#310) by @provinzkraut in #310
- (3fadfb7) - Fix annotated field resolution (#309) by @Goldziher in #309
d331ae0 ... 86585d0 | See diff for 2.6.2
- (a2be35a) - Switch to using faker.seed_instance (#305) by @Goldziher in #305
- (86585d0) - 2.6.2 by @Goldziher
- (f54f9f3) - Add passing test for issue 300 (#301) by @Goldziher in #301
79e8145 ... d331ae0 | See diff for 2.6.1
- (7761834) - Add abdulhaq-e as a contributor for code (#297) by @allcontributors[bot] in #297
2b050bb ... 79e8145 | See diff for 2.6.0
- (16cbc99) - Fix pre-commit issues by @Goldziher
- (956472c) - Apply sourcery by @Goldziher
- (5cdfed3) - Updated dependencies by @Goldziher
79e50df ... 2b050bb | See diff for 2.5.0
- (35e10da) - All contributors (#263) by @Goldziher in #263
- (d592836) - Support overriding base factories locally (v2) (#267) by @gsakkis in #267
- (2b8ae48) - Add peterschutt as a contributor for maintenance, doc, and test (#264) by @allcontributors[bot] in #264
- (a53c598) - Update pypi image, update readme (#266) by @JacobCoffee in #266
- (d0c8bfa) - Add mdczaplicki as a contributor for test, and code (#274) by @allcontributors[bot] in #274
- (a7220f3) - Add
sourcery-ai
config (#271) by @JacobCoffee in #271
- (946cf08) - Updated deps by @Goldziher
- (e932f89) - Applied sourcery (#281) by @Goldziher in #281
- (0c0ed22) - Adjust to pydantic v2 (#284) by @Goldziher in #284
- (2b050bb) - Update README for v2.5.0 and pydantic v2 (#285) by @JacobCoffee in #285
5013069 ... 79e50df | See diff for 2.4.0
- (26073c4) - Support overriding base factories locally (#238) by @Goldziher in #238
- (d625936) - Add Simske as a contributor for code (#242) by @allcontributors[bot] in #242
- (2b93de6) - Add danielkatzan as a contributor for doc (#261) by @allcontributors[bot] in #261
- (1511c9e) - Add gegnew as a contributor for code (#262) by @allcontributors[bot] in #262
- (d355511) - Add roeeyn as a contributor for doc (#260) by @allcontributors[bot] in #260
- (c686ddd) - Add gigelu as a contributor for doc (#259) by @allcontributors[bot] in #259
- (9101134) - Add ReznikovRoman as a contributor for code (#258) by @allcontributors[bot] in #258
- (1e4df30) - Add anthonyh209 as a contributor for code (#257) by @allcontributors[bot] in #257
- (c6657e7) - Add avihai-yosef as a contributor for code (#256) by @allcontributors[bot] in #256
- (97cdad2) - Add Iipin as a contributor for code (#254) by @allcontributors[bot] in #254
- (9156cca) - Add thorin-schiffer as a contributor for code (#253) by @allcontributors[bot] in #253
- (02c1daa) - Add lyz-code as a contributor for code (#252) by @allcontributors[bot] in #252
- (e883d58) - Add DaanRademaker as a contributor for code (#251) by @allcontributors[bot] in #251
- (cd2e558) - Add nguyent as a contributor for code (#250) by @allcontributors[bot] in #250
- (af594e3) - Add EltonChou as a contributor for code (#249) by @allcontributors[bot] in #249
- (bac2622) - Add Butch78 as a contributor for code (#248) by @allcontributors[bot] in #248
- (13e80a7) - Add lindycoder as a contributor for code (#247) by @allcontributors[bot] in #247
- (3940de4) - Add peterschutt as a contributor for code (#246) by @allcontributors[bot] in #246
- (e598c7d) - Add phbernardes as a contributor for code (#245) by @allcontributors[bot] in #245
- (24a7766) - Add mciszczon as a contributor for code (#244) by @allcontributors[bot] in #244
- (b8cfe1a) - Add sondrelg as a contributor for code (#243) by @allcontributors[bot] in #243
- (773b364) - URL constraints and strict pydantic v2 values (#241) by @Goldziher in #241
- (00dce8a) - Reformat readme by @Goldziher
aef7acb ... 5013069 | See diff for 2.3.3
- (b9ea84d) - Add VSHUMILIN97 as a contributor for code (#237) by @allcontributors[bot] in #237
36c2f2f ... aef7acb | See diff for 2.3.2
- (5bd544f) - Fix constant constraints (#233) by @Goldziher in #233
f2ba049 ... 2e2f11a | See diff for 2.1.2
- (02a4c97) - Add guacs as a contributor for code (#221) by @allcontributors[bot] in #221
- (d753504) - Remove typeddict imports from typing extensions by @Goldziher
- (2e2f11a) - Resolve pydantic test issues by @Goldziher
d671ac2 ... 47d234b | See diff for 2.1.0
- (1d5c645) - Fix README.md formatting (#197) by @JacobCoffee in #197
- (f767011) - Add sygutss as a contributor for bug (#201) by @allcontributors[bot] in #201
- (36ff02e) - Add chrisbeardy as a contributor for doc (#207) by @allcontributors[bot] in #207
1f8d94c ... d671ac2 | See diff for 2.0.1
- (60cdb30) - Add mdczaplicki as a contributor for code (#185) by @allcontributors[bot] in #185
- (8b5d903) - Add przybylop as a contributor for code (#187) by @allcontributors[bot] in #187
- (16f562f) - Update maintainers (#194) by @JacobCoffee in #194
- (d671ac2) - Bump release version by @JacobCoffee
cb71cd0 ... 1f8d94c | See diff for 2.0.0
- (8097da7) - Update all-contrib placement by @JacobCoffee
- (0814bb8) - Add JacobCoffee as a contributor for doc (#170)Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> by @allcontributors[bot] in #170
- (60511c9) - Add Goldziher as a contributor for infra, test, and code (#171)Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> by @allcontributors[bot] in #171
- (3853048) - Add provinzkraut as a contributor for code, test, and 6 more (#173) by @allcontributors[bot] in #173
- (5f111e4) - Added Create Factory Method by @Butch78
- (b1f83b3) - Improved Inheritance by @Butch78
- (5293860) - Improved notes by @Butch78
- (7ae2678) - Explain how to subclass ModelFactory to create your custom extensions by @lyz-code
- (218522f) - Reorder changes in CHANGELOG (#91) by @ReznikovRoman in #91
- (4c2b931) - 2023 Branding by @JacobCoffee
- (25570f5) - Update polyfactory banner logo by @JacobCoffee
Polyfactory Changelog