Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,30 @@
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)
-------------------

Expand All @@ -17,6 +35,8 @@ v4.5.1 (2025-12-24)
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!
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "django-polymorphic"
version = "4.5.2"
version = "4.6.0"
description = "Seamless polymorphic inheritance for Django models."
readme = "README.md"
license = "BSD-3-Clause"
Expand Down
2 changes: 1 addition & 1 deletion src/polymorphic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
Seamless Polymorphic Inheritance for Django Models
"""

VERSION = "4.5.2"
VERSION = "4.6.0"

__title__ = "Django Polymorphic"
__version__ = VERSION # version synonym for backwards compatibility
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading