diff --git a/docs/changelog.rst b/docs/changelog.rst index 8a35cae..741e288 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,16 +1,24 @@ Changelog ========= +Changes in 2.0.2 (2018-02-05) +----------------------------- + +* Fixed manager inheritance behavior for Django 1.11, by automatically enabling ``Meta.manager_inheritance_from_future`` if it's not defined. + This restores the manager inheritance behavior that *django-polymorphic 1.3* provided for Django 1.x projects. +* Fixed internal ``base_objects`` usage. + + Changes in 2.0.1 (2018-02-05) ----------------------------- * Fixed manager inheritance detection for Django 1.11. - It's recommended to use ``Meta.manager_inheritance_from_future`` so Django 1.x code also inherits + It's recommended to use ``Meta.manager_inheritance_from_future`` so Django 1.x code also inherit the ``PolymorphicManager`` in all subclasses. Django 2.0 already does this by default. - This restores the manager inheritance behavior that *django-polymorphic 1.3* enforced for Django 1.x projects. * Deprecated the ``base_objects`` manager. Use ``objects.non_polymorphic()`` instead. +* Optimized detection for dumpdata behavior, avoiding the performance hit of ``__getattribute__()``. * Fixed test management commands diff --git a/docs/conf.py b/docs/conf.py index eb23ed9..ae39fad 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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.1' +version = '2.0.2' # The full version, including alpha/beta/rc tags. -release = '2.0.1' +release = '2.0.2' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 2a39f42..ad82955 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = django-polymorphic -version = 2.0.1 +version = 2.0.2 description = Seamless polymorphic inheritance for Django models long_description = file:README.rst author = Bert Constantin