Bump to v2.1

fix_request_path_info
Diederik van der Boor 2019-07-15 09:51:57 +02:00
parent 59c020ee50
commit 3422dee676
No known key found for this signature in database
GPG Key ID: 4FA014E0305E73C1
3 changed files with 11 additions and 9 deletions

View File

@ -1,20 +1,22 @@
Changelog
=========
Changes in 2.1 (tbd)
--------------------
Changes in 2.1 (2019-07-15)
---------------------------
* Added Django 2.2 support.
* Change iterable class for ``.non_polymorphic()``, to completely cirvumvent polymorphic.
* Changed ``.non_polymorphic()``, to use a different iterable class that completely cirvumvent polymorphic.
* Changed SQL for ``instance_of`` filter: use ``IN`` statement instead of ``OR`` clauses.
* Changed queryset iteration to implement ``prefetch_related()`` support.
* Fixed Django 3.0 alpha compatibility.
* Fixed compatibility with current django-extra-views_ in ``polymorphic.contrib.extra_views``.
* Fixed missing hiding of the add-button of polymorphic lines in the Django admin.
* Fixed ``prefetch_related()`` support on polymorphic M2M relations.
* Fixed model subclass ``___`` selector for abstract/proxy models.
* Fixed model subclass ``___`` selector for models with a custom ``OneToOneField(parent_link=True)``.
* Fixed unwanted results on calling ``queryset.get_real_instances([])``.
* Fixed ``prefetch_related()`` support.
* Fixed unwanted ``TypeError`` exception when ``PolymorphicTypeInvalid`` should have raised.
* Optimized SQL for ``instance_of`` filter: use ``IN`` statement instead of ``OR`` clauses.
* Fixed hiding the add-button of polymorphic lines in the Django admin.
* Reformatted all files with black
Changes in 2.0.3 (2018-08-24)

View File

@ -61,9 +61,9 @@ copyright = u"2013, Bert Constantin, Chris Glass, Diederik van der Boor"
# built documents.
#
# The short X.Y version.
version = "2.0.3"
version = "2.1"
# The full version, including alpha/beta/rc tags.
release = "2.0.3"
release = "2.1"
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.

View File

@ -1,6 +1,6 @@
[metadata]
name = django-polymorphic
version = 2.0.3
version = 2.1
description = Seamless polymorphic inheritance for Django models
long_description = file:README.rst
author = Bert Constantin