Polyfactory

Latest version: v2.20.0

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 6

2.16.0

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
* `See All commits in v2.16.0 <https://github.com/litestar-org/polyfactory/commits/v2.16.0>`_

`1d1c7f9 <https://github.com/litestar-org/polyfactory/commit/1d1c7f9d02f9c7a8eb977dc0624bf5a045d55ddc>`_ ... `4928f07 <https://github.com/litestar-org/polyfactory/commit/4928f0735ad58adc63f093062b4938dfc5003ea9>`_ | `See diff for 2.16.0 <https://github.com/litestar-org/polyfactory/compare/1d1c7f9d02f9c7a8eb977dc0624bf5a045d55ddc...4928f0735ad58adc63f093062b4938dfc5003ea9>`_

Bug Fixes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* (`719495e <https://github.com/litestar-org/polyfactory/commit/719495e6dca5c6938975b6bc0456205d28e2c90d>`_) - Ignore non-columns types (#510) by `adhtruong <https://github.com/adhtruong>`_ in `#510 <https://github.com/litestar-org/polyfactory/pull/510>`_
* (`bb04b4e <https://github.com/litestar-org/polyfactory/commit/bb04b4e81764289ba5a138c0b82faa73bb4e5257>`_) - Favour SA mapped type over impl type (#513) by `adhtruong <https://github.com/adhtruong>`_ in `#513 <https://github.com/litestar-org/polyfactory/pull/513>`_
* (`0032b5e <https://github.com/litestar-org/polyfactory/commit/0032b5e962906239ecd4c4bd7276dc0d9e9f142d>`_) - Add footer to changelog generation by `JacobCoffee <https://github.com/JacobCoffee>`_
* (`5fd7d6c <https://github.com/litestar-org/polyfactory/commit/5fd7d6c2bedb3c602e009618137c6ab215172625>`_) - Resolve mypy issues (#540) by `adhtruong <https://github.com/adhtruong>`_ in `#540 <https://github.com/litestar-org/polyfactory/pull/540>`_
* (`9e6edab <https://github.com/litestar-org/polyfactory/commit/9e6edabd4ee5242c54f3ddb66e539a415da86901>`_) - Fix json type error and pg dialect default value e… (#542) by `wangxin688 <https://github.com/wangxin688>`_ in `#542 <https://github.com/litestar-org/polyfactory/pull/542>`_

Documentation
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* (`01d1dbe <https://github.com/litestar-org/polyfactory/commit/01d1dbeb46cc722b075dba85cfd6bcb94505e65d>`_) - Apply organization theme (#533) by `JacobCoffee <https://github.com/JacobCoffee>`_ in `#533 <https://github.com/litestar-org/polyfactory/pull/533>`_
* (`5a0a5be <https://github.com/litestar-org/polyfactory/commit/5a0a5bed4ddb679868d9365a5ffbcc6c3fed686c>`_) - Polyfactory landing page (#535) by `JacobCoffee <https://github.com/JacobCoffee>`_ in `#535 <https://github.com/litestar-org/polyfactory/pull/535>`_
* (`2f781ee <https://github.com/litestar-org/polyfactory/commit/2f781eee7f06436661874a4e469c601bb0de6cd4>`_) - Add wangxin688 as a contributor for code (#544) by `allcontributors[bot] <https://github.com/allcontributors[bot]>`_ in `#544 <https://github.com/litestar-org/polyfactory/pull/544>`_

Features
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* (`1792c19 <https://github.com/litestar-org/polyfactory/commit/1792c19fc100b16b610902c19c90b2031420c57e>`_) - Support nested type in pg.array types and others (#530) by `wangxin688 <https://github.com/wangxin688>`_ in `#530 <https://github.com/litestar-org/polyfactory/pull/530>`_
* (`013135c <https://github.com/litestar-org/polyfactory/commit/013135c17387e451d88a7b73157ad08333649112>`_) - Refresh object in async_session after commit to db (#541) by `wangxin688 <https://github.com/wangxin688>`_ in `#541 <https://github.com/litestar-org/polyfactory/pull/541>`_
* (`e4695a7 <https://github.com/litestar-org/polyfactory/commit/e4695a7d16e1a63b7cce036ca653d839ea0104fb>`_) - Copy mutable args (#529) by `adhtruong <https://github.com/adhtruong>`_ in `#529 <https://github.com/litestar-org/polyfactory/pull/529>`_

Miscellaneous Tasks
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* (`fac9fba <https://github.com/litestar-org/polyfactory/commit/fac9fbad94f0a82a062bfdac11b2da19f906e32f>`_) - Upgrade dependencies (#517) by `adhtruong <https://github.com/adhtruong>`_ in `#517 <https://github.com/litestar-org/polyfactory/pull/517>`_
* (`3da64f6 <https://github.com/litestar-org/polyfactory/commit/3da64f615056c8d2f11c6bfc55c86877a89c2414>`_) - Update changelog.rst (#537) by `impaktor <https://github.com/impaktor>`_ in `#537 <https://github.com/litestar-org/polyfactory/pull/537>`_
* (`3e2d22c <https://github.com/litestar-org/polyfactory/commit/3e2d22c5bafc5ed984338be54c3eace3cacc720f>`_) - Update maintainer emails (#545) by `guacs <https://github.com/guacs>`_ in `#545 <https://github.com/litestar-org/polyfactory/pull/545>`_

Ci
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* (`6507c6d <https://github.com/litestar-org/polyfactory/commit/6507c6d86094dbcf678083e3ce7d06a5b4dd2f60>`_) - Add codecov coverage, fix badges (#536) by `JacobCoffee <https://github.com/JacobCoffee>`_ in `#536 <https://github.com/litestar-org/polyfactory/pull/536>`_

2.15.0

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
* `See All commits in v2.15.0 <https://github.com/litestar-org/polyfactory/commits/v2.15.0>`_

`b44c68b <https://github.com/litestar-org/polyfactory/commit/b44c68b0c1d8c253f828edbbfc88c3f39ec2fdca>`_ ... `1d1c7f9 <https://github.com/litestar-org/polyfactory/commit/1d1c7f9d02f9c7a8eb977dc0624bf5a045d55ddc>`_ | `See diff for 2.15.0 <https://github.com/litestar-org/polyfactory/compare/b44c68b0c1d8c253f828edbbfc88c3f39ec2fdca...1d1c7f9d02f9c7a8eb977dc0624bf5a045d55ddc>`_

Bug Fixes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* (`c4e3d91 <https://github.com/litestar-org/polyfactory/commit/c4e3d919368d158f839a6ea6278a28007fb7f5dc>`_) - Prefer ``sqlalchemy.type.impl`` if it exists (#502) by `cofin <https://github.com/cofin>`_ in `#502 <https://github.com/litestar-org/polyfactory/pull/502>`_
* (`0f8f9e8 <https://github.com/litestar-org/polyfactory/commit/0f8f9e8d0dbd6156ef55d2d61dc6831c4e59c0b0>`_) - Handle constrained unions properly (#499) by `guacs <https://github.com/guacs>`_ in `#499 <https://github.com/litestar-org/polyfactory/pull/499>`_

Documentation
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* (`61c8892 <https://github.com/litestar-org/polyfactory/commit/61c889229f40e9a454b4dbbaff3e620940ea99ad>`_) - Fix typo on use_defaults (#497) by `TimDumol <https://github.com/TimDumol>`_ in `#497 <https://github.com/litestar-org/polyfactory/pull/497>`_
* (`9e34fa7 <https://github.com/litestar-org/polyfactory/commit/9e34fa7aa36acd104e61222dac1507bc1efeefd7>`_) - Add TimDumol as a contributor for doc (#498) by `allcontributors[bot] <https://github.com/allcontributors[bot]>`_ in `#498 <https://github.com/litestar-org/polyfactory/pull/498>`_

Features
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* (`46ecdc6 <https://github.com/litestar-org/polyfactory/commit/46ecdc67f998464d82cf834ff048376283e29ac8>`_) - Support Pydantic v1 and v2 simultaneously (#492) by `guacs <https://github.com/guacs>`_ in `#492 <https://github.com/litestar-org/polyfactory/pull/492>`_

Miscellaneous Tasks
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* (`1078230 <https://github.com/litestar-org/polyfactory/commit/10782304e0d835a5583e7360a4712fae76749c4a>`_) - Bump pdm-project/setup-pdm from 3 to 4 (#496) by `dependabot[bot] <https://github.com/dependabot[bot]>`_ in `#496 <https://github.com/litestar-org/polyfactory/pull/496>`_
* (`1d1c7f9 <https://github.com/litestar-org/polyfactory/commit/1d1c7f9d02f9c7a8eb977dc0624bf5a045d55ddc>`_) - Release v2.15.0 by `guacs <https://github.com/guacs>`_

Refactor
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* (`2acfdc6 <https://github.com/litestar-org/polyfactory/commit/2acfdc6ab96f3ecb504c9c89960198fc8a1effd9>`_) - Change order of imports for pydantic v1 (#509) by `guacs <https://github.com/guacs>`_ in `#509 <https://github.com/litestar-org/polyfactory/pull/509>`_

Testing
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* (`1ae2d52 <https://github.com/litestar-org/polyfactory/commit/1ae2d528b018ac4d6773b423f3ab8af8d91f4f7b>`_) - Refactor the tests to move tests to correct places (#495) by `guacs <https://github.com/guacs>`_ in `#495 <https://github.com/litestar-org/polyfactory/pull/495>`_

2.14.1

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
* `See All commits in v2.14.1 <https://github.com/litestar-org/polyfactory/commits/v2.14.1>`_

`83f2992 <https://github.com/litestar-org/polyfactory/commit/83f299231d631e5a361a515616b0d88daa1d3fd7>`_ ... `b44c68b <https://github.com/litestar-org/polyfactory/commit/b44c68b0c1d8c253f828edbbfc88c3f39ec2fdca>`_ | `See diff for 2.14.1 <https://github.com/litestar-org/polyfactory/compare/83f299231d631e5a361a515616b0d88daa1d3fd7...b44c68b0c1d8c253f828edbbfc88c3f39ec2fdca>`_

Bug Fixes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* (`fa50e20 <https://github.com/litestar-org/polyfactory/commit/fa50e20a333b0778119c4256558e05088b26b5c4>`_) - Handle unions properly (#491) by `guacs <https://github.com/guacs>`_ in `#491 <https://github.com/litestar-org/polyfactory/pull/491>`_

Miscellaneous Tasks
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* (`b44c68b <https://github.com/litestar-org/polyfactory/commit/b44c68b0c1d8c253f828edbbfc88c3f39ec2fdca>`_) - Bump patch version by `guacs <https://github.com/guacs>`_

2.14.0

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
* `See All commits in v2.14.0 <https://github.com/litestar-org/polyfactory/commits/v2.14.0>`_

`8dc8e1a <https://github.com/litestar-org/polyfactory/commit/8dc8e1a4594a75ad9a16e1b6f5041b6044fc4f51>`_ ... `83f2992 <https://github.com/litestar-org/polyfactory/commit/83f299231d631e5a361a515616b0d88daa1d3fd7>`_ | `See diff for 2.14.0 <https://github.com/litestar-org/polyfactory/compare/8dc8e1a4594a75ad9a16e1b6f5041b6044fc4f51...83f299231d631e5a361a515616b0d88daa1d3fd7>`_

Bug Fixes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* (`fb4e50a <https://github.com/litestar-org/polyfactory/commit/fb4e50acaa0796ed7164457c6c767c3351530a81>`_) - Add min version to typing-extensions (#471) by `hsorsky <https://github.com/hsorsky>`_ in `#471 <https://github.com/litestar-org/polyfactory/pull/471>`_
* (`40538c9 <https://github.com/litestar-org/polyfactory/commit/40538c9a0a4e9ec72b6a8864fc4e6f1293715603>`_) - Set as default type for factory only if model is defined (#479) by `guacs <https://github.com/guacs>`_ in `#479 <https://github.com/litestar-org/polyfactory/pull/479>`_

Documentation
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* (`c22633c <https://github.com/litestar-org/polyfactory/commit/c22633ccf76e0fa58bc53795dfedb78a6abfb807>`_) - Add hsorsky as a contributor for infra (#477) by `allcontributors[bot] <https://github.com/allcontributors[bot]>`_ in `#477 <https://github.com/litestar-org/polyfactory/pull/477>`_
* (`b9c2127 <https://github.com/litestar-org/polyfactory/commit/b9c212799a3144aa81b43a93f663d20e4d3036ab>`_) - Fix broken uri (#485) by `wer153 <https://github.com/wer153>`_ in `#485 <https://github.com/litestar-org/polyfactory/pull/485>`_
* (`8f96365 <https://github.com/litestar-org/polyfactory/commit/8f963653a949ae8e5b768473bb654a989b4416fe>`_) - Add wer153 as a contributor for doc (#486) by `allcontributors[bot] <https://github.com/allcontributors[bot]>`_ in `#486 <https://github.com/litestar-org/polyfactory/pull/486>`_
* (`7ec9eb0 <https://github.com/litestar-org/polyfactory/commit/7ec9eb010a1fae8db5807ae4f1934771909e3a38>`_) - Fix code block (#484) by `wer153 <https://github.com/wer153>`_ in `#484 <https://github.com/litestar-org/polyfactory/pull/484>`_

Features
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* (`b33e662 <https://github.com/litestar-org/polyfactory/commit/b33e6621ee6add4fdd2e327834401830f6771d4b>`_) - Allow use of the default value based on configuration (#472) by `guacs <https://github.com/guacs>`_ in `#472 <https://github.com/litestar-org/polyfactory/pull/472>`_
* (`80bd012 <https://github.com/litestar-org/polyfactory/commit/80bd012fbfb3d22e087dafd68173e633ec727175>`_) - Add recursion guard (#468) by `adhtruong <https://github.com/adhtruong>`_ in `#468 <https://github.com/litestar-org/polyfactory/pull/468>`_
* (`c7556e8 <https://github.com/litestar-org/polyfactory/commit/c7556e8e5eafaebfdc0dded747ae4e8a144b7cc7>`_) - Pass on factory config (#483) by `adhtruong <https://github.com/adhtruong>`_ in `#483 <https://github.com/litestar-org/polyfactory/pull/483>`_
* (`94ad561 <https://github.com/litestar-org/polyfactory/commit/94ad5611772e2bed977b693a030f517b3567a6ea>`_) - Support type alias (#487) by `adhtruong <https://github.com/adhtruong>`_ in `#487 <https://github.com/litestar-org/polyfactory/pull/487>`_

Miscellaneous Tasks
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* (`bb433a4 <https://github.com/litestar-org/polyfactory/commit/bb433a4291ede8147858585ebf0cff9c7cc53eb1>`_) - Update pre commit (#478) by `guacs <https://github.com/guacs>`_ in `#478 <https://github.com/litestar-org/polyfactory/pull/478>`_
* (`2b57706 <https://github.com/litestar-org/polyfactory/commit/2b57706fbd4b9120d5a31643e51098cac65df1da>`_) - Bump actions/cache from 3 to 4 (#488) by `dependabot[bot] <https://github.com/dependabot[bot]>`_ in `#488 <https://github.com/litestar-org/polyfactory/pull/488>`_
* (`83f2992 <https://github.com/litestar-org/polyfactory/commit/83f299231d631e5a361a515616b0d88daa1d3fd7>`_) - Bump minor version by `guacs <https://github.com/guacs>`_

2.13.0

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
* `See All commits in v2.13.0 <https://github.com/litestar-org/polyfactory/commits/v2.13.0>`_

`fe05c4e <https://github.com/litestar-org/polyfactory/commit/fe05c4e60a50d8f043e4d1dbee5ea0a0c4d9abd8>`_ ... `8dc8e1a <https://github.com/litestar-org/polyfactory/commit/8dc8e1a4594a75ad9a16e1b6f5041b6044fc4f51>`_ | `See diff for 2.13.0 <https://github.com/litestar-org/polyfactory/compare/fe05c4e60a50d8f043e4d1dbee5ea0a0c4d9abd8...8dc8e1a4594a75ad9a16e1b6f5041b6044fc4f51>`_

Bug Fixes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* (`b479e4a <https://github.com/litestar-org/polyfactory/commit/b479e4af4617d108cbd90890cbda4408ee51ba4a>`_) - Flatten_annotation behaviour for Optional (#440) by `sam-or <https://github.com/sam-or>`_ in `#440 <https://github.com/litestar-org/polyfactory/pull/440>`_
* (`6961eaa <https://github.com/litestar-org/polyfactory/commit/6961eaa3b65fc63b716e854bd2eb28b5bc96e029>`_) - Don't blindly suppress ValueError (#450) by `guacs <https://github.com/guacs>`_ in `#450 <https://github.com/litestar-org/polyfactory/pull/450>`_

Features
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* (`623d8c9 <https://github.com/litestar-org/polyfactory/commit/623d8c97c2a178cc9721fa7b562ce2aee3eddea2>`_) - Optional ``__model__`` type (#452) by `Mityuha <https://github.com/Mityuha>`_ in `#452 <https://github.com/litestar-org/polyfactory/pull/452>`_

Miscellaneous Tasks
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* (`1407f07 <https://github.com/litestar-org/polyfactory/commit/1407f07fed3223a11f89b8b9d0019d581f08c1d3>`_) - Bump actions/github-script from 6 to 7 (#438) by `dependabot[bot] <https://github.com/dependabot[bot]>`_ in `#438 <https://github.com/litestar-org/polyfactory/pull/438>`_
* (`1a0da0d <https://github.com/litestar-org/polyfactory/commit/1a0da0df63d694525ecd19ef990495f5765ba1ba>`_) - Bump actions/setup-python from 4 to 5 (#448) by `dependabot[bot] <https://github.com/dependabot[bot]>`_ in `#448 <https://github.com/litestar-org/polyfactory/pull/448>`_
* (`231d311 <https://github.com/litestar-org/polyfactory/commit/231d311643b6f3bc022d7de44f58866f1edcb217>`_) - Bump github/codeql-action from 2 to 3 (#458) by `dependabot[bot] <https://github.com/dependabot[bot]>`_ in `#458 <https://github.com/litestar-org/polyfactory/pull/458>`_
* (`2695880 <https://github.com/litestar-org/polyfactory/commit/2695880a444406c21942b80ad9472ab0212dd98c>`_) - Bump dawidd6/action-download-artifact from 2 to 3 (#459) by `dependabot[bot] <https://github.com/dependabot[bot]>`_ in `#459 <https://github.com/litestar-org/polyfactory/pull/459>`_
* (`fe342e4 <https://github.com/litestar-org/polyfactory/commit/fe342e49f35df85db27f42444cdb7e74fae090da>`_) - Bump actions/upload-artifact from 3 to 4 (#461) by `dependabot[bot] <https://github.com/dependabot[bot]>`_ in `#461 <https://github.com/litestar-org/polyfactory/pull/461>`_
* (`a371d7f <https://github.com/litestar-org/polyfactory/commit/a371d7fb0ac0ec323aabe85dca9bb63e41cbd36a>`_) - Bump actions/download-artifact from 3 to 4 (#462) by `dependabot[bot] <https://github.com/dependabot[bot]>`_ in `#462 <https://github.com/litestar-org/polyfactory/pull/462>`_
* (`0e2f824 <https://github.com/litestar-org/polyfactory/commit/0e2f824e72a5f682c91f1ed0a2862d36c5661e45>`_) - Bump dependencies (#465) by `guacs <https://github.com/guacs>`_ in `#465 <https://github.com/litestar-org/polyfactory/pull/465>`_
* (`8dc8e1a <https://github.com/litestar-org/polyfactory/commit/8dc8e1a4594a75ad9a16e1b6f5041b6044fc4f51>`_) - Bump minor version by `guacs <https://github.com/guacs>`_

2.12.0

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
* `See All commits in v2.12.0 <https://github.com/litestar-org/polyfactory/commits/v2.12.0>`_

`b7b88a8 <https://github.com/litestar-org/polyfactory/commit/b7b88a8a86d735c36df60b2e2af3a6322008152f>`_ ... `fe05c4e <https://github.com/litestar-org/polyfactory/commit/fe05c4e60a50d8f043e4d1dbee5ea0a0c4d9abd8>`_ | `See diff for 2.12.0 <https://github.com/litestar-org/polyfactory/compare/b7b88a8a86d735c36df60b2e2af3a6322008152f...fe05c4e60a50d8f043e4d1dbee5ea0a0c4d9abd8>`_

Bug Fixes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* (`70d49fd <https://github.com/litestar-org/polyfactory/commit/70d49fdf6cde700a403a807d26d0d3ea5c86cd44>`_) - Handle cases where 'init=False' for dataclasses and attrs models (#433) by `guacs <https://github.com/guacs>`_ in `#433 <https://github.com/litestar-org/polyfactory/pull/433>`_
* (`6b7512d <https://github.com/litestar-org/polyfactory/commit/6b7512d7b3d0c1b9b90dbc94e1667b40aba5bf87>`_) - Correctly handle collections with constrained items (#436) by `guacs <https://github.com/guacs>`_ in `#436 <https://github.com/litestar-org/polyfactory/pull/436>`_

Documentation
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* (`2bad951 <https://github.com/litestar-org/polyfactory/commit/2bad951dc90c6acfb7f88efab0222873ba903191>`_) - Add g0di as a contributor for code, doc, and test (#432) by `allcontributors[bot] <https://github.com/allcontributors[bot]>`_ in `#432 <https://github.com/litestar-org/polyfactory/pull/432>`_

Features
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* (`155f4a4 <https://github.com/litestar-org/polyfactory/commit/155f4a44d14290dce18edd2c5999f38915c3039b>`_) - Autofill ``model`` argument when calling ``create_factory`` with receiving factory ``__model__`` (#429) by `g0di <https://github.com/g0di>`_ in `#429 <https://github.com/litestar-org/polyfactory/pull/429>`_
* (`b1e8b5e <https://github.com/litestar-org/polyfactory/commit/b1e8b5ec02fdfb37c179cf6e37bb0772e61de1aa>`_) - Model type coverage batch generation (#390) by `sam-or <https://github.com/sam-or>`_ in `#390 <https://github.com/litestar-org/polyfactory/pull/390>`_

Page 2 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.