polyfactory icon indicating copy to clipboard operation
polyfactory copied to clipboard

Polyfactory v3 roadmap

Open adhtruong opened this issue 9 months ago • 2 comments

Summary

Polyfactory v3 is coming 🚀

Any help, PRs on these appreciated and welcome

Things to do before v3

  • [x] Deprecate use of random in FieldMeta
  • [x] Mark additional unused typing utils as deprecated
  • [x] State warning for change in SQLAlchemyFactory settings

Things to do for v3

  • [ ] Remove deprecated functionality
  • [ ] Drop Python 3.8 support and remove 3.8 specific code
  • [ ] Change settings for SQLAFactory to enable relationships by default
  • [ ] Add migration guide

adhtruong avatar Mar 21 '25 09:03 adhtruong

#568 ?

Goldziher avatar Apr 18 '25 10:04 Goldziher

#568 ?

Hi @Goldziher, PRs welcome for this but unlikely to make one myself for this. Using v3 to remove deprecated functionality and change some defaults. If adding new features, then can be added before or after v3

adhtruong avatar Apr 18 '25 10:04 adhtruong

Picking up work on this again now I have more free time.

Remaining steps,

  1. Merge docs PR https://github.com/litestar-org/polyfactory/pull/704
  2. Revert changes for SQLAlchemyFactory.__set_association_proxy__. This has had some strange behaviour when I've tested it
  3. Do final v2 release
  4. v3 release 🚀

adhtruong avatar Sep 14 '25 12:09 adhtruong