Skip to content

Bump django-polymorphic from 4.4.1 to 4.6.0#1724

Merged
felixrindt merged 1 commit intomainfrom
dependabot/pip/django-polymorphic-4.6.0
Jan 10, 2026
Merged

Bump django-polymorphic from 4.4.1 to 4.6.0#1724
felixrindt merged 1 commit intomainfrom
dependabot/pip/django-polymorphic-4.6.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 5, 2026

Bumps django-polymorphic from 4.4.1 to 4.6.0.

Release notes

Sourced from django-polymorphic's releases.

v4.6.0

What's Changed

New Contributors

Full Changelog: jazzband/django-polymorphic@v4.5.1...v4.6.0

v4.5.2

Full Changelog: jazzband/django-polymorphic@v4.5.1...v4.5.2

v4.5.1

What's Changed

Full Changelog: jazzband/django-polymorphic@v4.5.0...v4.5.1

v4.5.0

Deletion Woes Release

... (truncated)

Changelog

Sourced from django-polymorphic's changelog.

v4.6.0 (2026-01-05)

The release fixes longstanding bugs with respect to expected ORM behavior. For a complete list of changes see the v4.6.0 release <https://github.com/jazzband/django-polymorphic/releases/tag/v4.6.0>_.

  • Fixed get_real_instance() should also gracefully retry parents on failure (best effort) <https://github.com/jazzband/django-polymorphic/issues/784>_
  • Fixed polymorphic_primary_key_name no longer points to base classes polymorphic field <https://github.com/jazzband/django-polymorphic/issues/758>_
  • Fixed create_from_super needs to run atomically. <https://github.com/jazzband/django-polymorphic/issues/744>_
  • Fixed Support polymorphic models that have different pk fields/values at different levels of the hierarchy. <https://github.com/jazzband/django-polymorphic/issues/686>_
  • Fixed Issue with .delete(keep_parents=True) <https://github.com/jazzband/django-polymorphic/issues/645>_
  • Fixed PolymorphicChildModelAdmin with show_in_index=False in Django Admin with nav_sidebar <https://github.com/jazzband/django-polymorphic/issues/497>_
  • Fixed ForeignKeyViolation when trying to save an entity when using a non-default db <https://github.com/jazzband/django-polymorphic/issues/486>_
  • Fixed Content types pulled from wrong database when using database routers <https://github.com/jazzband/django-polymorphic/issues/446>_
  • Fixed Copying Polymorphic objects for below the first level not working <https://github.com/jazzband/django-polymorphic/issues/414>_
  • Fixed Getting a specific element from a queryset in an post_delete returns None <https://github.com/jazzband/django-polymorphic/issues/347>_
  • Fixed Reverse related object descriptor is overwritten on class <https://github.com/jazzband/django-polymorphic/issues/71>_

v4.3.1, v4.4.2, v4.5.2 (2026-01-01)

  • Fixed Significant performance regression on polymorphic queryset iteration <https://github.com/jazzband/django-polymorphic/pull/781>_

v4.5.1 (2025-12-24)

  • Fixed 4.5.0 generates a lot of migrations on my project <https://github.com/jazzband/django-polymorphic/pull/759>_
  • Fixed Annotations with F <https://github.com/jazzband/django-polymorphic/pull/755>_
  • Fixed show_in_index=False visibility in admin sites and sidebar <https://github.com/jazzband/django-polymorphic/pull/760>_

v4.5.0 (2025-12-22)

The release fixes longstanding bugs with respect to deletion of polymorphic models.

.. warning::

This version has a bug that generates unnecessary migrations - use 4.5.1 instead!

  • Implemented Deletion fixes <https://github.com/jazzband/django-polymorphic/pull/746>_ This release fixes the longstanding polymorphic deletion bug. The fix should be transparent and not generate new migrations files. If you experience any issues, please report them.
  • Fixed AttributeError Using .alias() On Polymorphic Querysets <https://github.com/jazzband/django-polymorphic/pull/745>_
Commits
  • bb7802a Merge pull request #797 from bckohan/master
  • e3f4af7 bump version, update changelog
  • 1641509 Merge pull request #795 from JohananOppongAmoateng/primary-key-name-regression
  • 1db064d revert meaning of polymorphic_primary_key_name to be the root polymorphic mod...
  • 4882c73 Merge pull request #796 from bckohan/master
  • 3884388 * mop up a few code smells
  • 8c3ac1c Merge pull request #793 from bckohan/issue686
  • 6dc5391 Replace custom parent/child descriptors with non-polymorphic descriptors that...
  • de2941c Merge pull request #789 from JohananOppongAmoateng/252
  • 9d769db add regression tests for issue 252
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 5, 2026
@coveralls
Copy link

coveralls commented Jan 5, 2026

Coverage Status

coverage: 84.428%. remained the same
when pulling 8f4d99a on dependabot/pip/django-polymorphic-4.6.0
into af02db0 on main.

@dependabot dependabot bot force-pushed the dependabot/pip/django-polymorphic-4.6.0 branch 3 times, most recently from 576fbd6 to 33167e2 Compare January 10, 2026 10:45
Bumps [django-polymorphic](https://github.com/jazzband/django-polymorphic) from 4.4.1 to 4.6.0.
- [Release notes](https://github.com/jazzband/django-polymorphic/releases)
- [Changelog](https://github.com/jazzband/django-polymorphic/blob/master/docs/changelog.rst)
- [Commits](jazzband/django-polymorphic@v4.4.1...v4.6.0)

---
updated-dependencies:
- dependency-name: django-polymorphic
  dependency-version: 4.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/django-polymorphic-4.6.0 branch from 33167e2 to 8f4d99a Compare January 10, 2026 10:59
@felixrindt felixrindt merged commit d327caf into main Jan 10, 2026
16 checks passed
@felixrindt felixrindt deleted the dependabot/pip/django-polymorphic-4.6.0 branch January 10, 2026 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants