Releases: jazzband/django-polymorphic
Releases · jazzband/django-polymorphic
v4.9.0
Serialization Fix Release
dumpdata should now work in all contexts.
What's Changed
- Create basic base_manager when default_manager supplied by @bckohan in #816
- Use non-polymorphic managers for all invocations of dumpdata by @bckohan in #814
- docs: Add comprehensive fixture support documentation by @JohananOppongAmoateng in #791
- bump version, update changelog by @bckohan in #817
Full Changelog: v4.8.0...v4.9.0
v4.8.0
What's Changed
- bump version, update changelog by @bckohan in #809
- FormSet Bugs by @JohananOppongAmoateng in #756
Full Changelog: v4.7.0...v4.8.0
v4.7.0
Admin bug fixes and docs.
What's Changed
- readme updates by @bckohan in #798
- fix: remove get_preserved_filters and add AdminPreservedFiltersTests by @niltonpimentel02 in #741
- Docs: Add guide for non-admin polymorphic views by @JohananOppongAmoateng in #749
- Fix: Admin Bugs by @JohananOppongAmoateng in #750
- Add raw ID m2m admin test by @bckohan in #803
- Add tests demonstrated Polymorphic through relationships in M2M admin fields by @bckohan in #807
Full Changelog: v4.6.0...v4.7.0
v4.6.0
ORM Bug Fix Release
This release fixes a number of long standing bugs with respect to query behavior and inheritance. Most notably:
- The queryset iterator and get_real_instance will attempt to fetch the correct type even if the polymorphic content type id is wrong. This can happen in legitimate work flows in signal handling during deletes as the child tables are deleted in order.
- The parent/child table forward/reverse onetoone fields are now implemented as descriptors subclassed from the base django descriptors. This fixes a number of bugs wrt to custom primary keys and primary keys of different values within one model's set of parent/child tables.
What's Changed
- add missing changelog entries by @bckohan in #761
- ORM Bugs by @JohananOppongAmoateng in #757
- can the instance_of Q-object be made to accept a string by @JohananOppongAmoateng in #766
- Improve Playwright setup for newcomers by @rodrigobnogueira in #767
- Improve test coverage by @rodrigobnogueira in #768
- add test for #495 by @bckohan in #769
- relax char limits for regression tests by @bckohan in #771
- add generic prefetch test with polymorphic managers by @bckohan in #770
- add a regression test for update_or_create by @bckohan in #772
- Execute create_from_super in a transaction by @bckohan in #773
- fix test error introduced by #773 by @bckohan in #774
- fix test issue introduced by #772 by @bckohan in #775
- Correctly implement PolymorphicModel.delete with keep_parents=True by @bckohan in #776
- Add tests for polymorphic formsets by @rodrigobnogueira in #777
- fix just test recipe argument order, issue introduced by #777 by @bckohan in #778
- Fix n+1 performance regression, add basic query counting performance test by @bckohan in #782
- bump version so latest docs dont look weird by @bckohan in #783
- Implement best effort polymorphic object retrieval by @JohananOppongAmoateng in #752
- implement best effort get_real_instance by @bckohan in #785
- add regression test for issue 295 by @JohananOppongAmoateng in #787
- Add prepare_for_copy utility function. by @JohananOppongAmoateng in #763
- add regression tests for issue 252 by @JohananOppongAmoateng in #789
- Fix descriptors for parent/child table relations. by @bckohan in #793
- Move helper functions off model interface and into utils by @bckohan in #796
- fixed the issue where polymorphic_primary_key_name was incorrect for … by @JohananOppongAmoateng in #795
- bump version, update changelog by @bckohan in #797
New Contributors
- @rodrigobnogueira made their first contribution in #767
Full Changelog: v4.5.1...v4.6.0
v4.5.2
- Fixed #781
Full Changelog: v4.5.1...v4.5.2
v4.4.2
- Fixed #781
Full Changelog: v4.4.1...v4.4.2
v4.3.1
- Fixed #781
Full Changelog: v4.3.0...v4.3.1
v4.5.1
What's Changed
- fix annotate with F by @JohananOppongAmoateng in #755
- Fix show_in_index=False visibility in admin sites and sidebar by @JohananOppongAmoateng in #747
- Fix migration state check false negative by @bckohan in #760
Full Changelog: v4.5.0...v4.5.1
v4.5.0
Deletion Woes Release
Fix longstanding issues with polymorphic deletion!
What's Changed
- fix: AttributeError Using .alias() On Polymorphic Querysets by @JohananOppongAmoateng in #745
- Deletion fixes by @bckohan in #746
- Docs: Add warning about orphaned rows from manual deletion by @JohananOppongAmoateng in #748
- update changelog, bump version by @bckohan in #754
New Contributors
- @JohananOppongAmoateng made their first contribution in #745
Full Changelog: v4.4.1...v4.5.0
v4.4.1
What's Changed
- fix: install just link by @niltonpimentel02 in #736
- Update coverage, bump version by @bckohan in #737
- Fix infinite recursion bug when using only() by @bckohan in #739
- Fix codecov not showing models.py by @bckohan in #738
- update changelog by @bckohan in #740
New Contributors
- @niltonpimentel02 made their first contribution in #736
Full Changelog: v4.4.0...v4.4.1