ChangeLog
=========

1.4.0 (2019-07-11)
------------------

*New:*

    * *[#177]* Add BooleanField.
    * Add support for Django 2.2 and python 3.7

*Bugfix:*

    * *[#3]* Allow to change objects found at subtree scope.
    * *[#190]* Check bind state of connection before unbinding.

1.3.0 (2018-12-12)
------------------

*New:*

    * *[#80]* Use ReconnectLDAPObject to survive flaky LDAP servers.
    * *[#164]* Register __in lookup for DateTimeField and TimestampField.
    * *[#166]* Support and test on Python 3.7.
    * *[#175]* Add support for Django 2.1


1.2.0 (2018-07-28)
------------------

*Bugfix:*

    * *[#153]* Don't send empty updates to the LDAP Server.
    * *[#159]* Fix saving composite PK objects.
    * *[#140]* Fix ordering by distinguished name.
    * *[#57]* Deduplicate values in ``ListField``.

*New:*

    * Normalize value of nullable empty attributes: return ``0`` / ``0.0`` if the field is not nullable,
      ``None`` otherwise.

*Packaging:*

    * Include required test files in the 'sdist' tarball; these can be required by projects.


1.1.0 (2018-07-14)
------------------

*New:*

    * Switch back to ``python-ldap`` instead of ``pyldap``. Users updating a virtualenv must
      uninstall ``pyldap`` **before** installing ``python-ldap``:

      .. code-block:: sh

          pip uninstall pyldap
          pip install python-ldap

    * Add ``DateTimeField`` and ``TimestampField``, with proper lookups.

1.0.0 (2018-03-06)
------------------

*New:*

    * Add support for Django 2.0

*Deprecation:*

    * Drop support for Django <1.11 (we only support the latest Django version,
      and the Django LTS preceding that version).

0.9.0 (2017-06-14)
------------------

*Bugfix:*

    * Restore support for raw LDAP options

*New:*

    * Add support for Django 1.11

*Deprecation:*

    * Drop support for Django 1.9 (we only support 2 LTS and 2 latest releases)


.. _v0.8.0:

0.8.0 (2017-01-24)
------------------

*Bufix:*

    * Improve Django 1.10 support: fix errors with ``makemigrations``

*New:*

    * Add query timeout support, through the ``QUERY_TIMEOUT`` setting
    * Handle paginated results, tunable by the ``PAGE_SIZE`` setting

.. _v0.7.0:

0.7.0 (2016-10-24)
------------------

*New:*

    * Add support for Django ≥ 1.10
    * Allow ``__in`` lookups for int/float fields

*Bugfix:*

    * Remove all remaining warnings

*Deprecation:*

    * Drop support for Django < 1.8

.. _v0.6.0:

0.6.0 (2016-06-06)
------------------

*Bugfix:*

    * Implement connection recycling according to Django defaults

*Deprecation:*

    * Remove support code for Django < 1.7

.. _v0.5.1:

0.5.1 (2016-06-04)
------------------

*New:*

    * Add direct ``dn`` lookup (e.g ``MyModel.objects.get(dn=x)``)


.. _v0.5.0:

0.5.0 (2016-06-01)
------------------

*New:*

    * Add support for Python ≥ 3.4, Django 1.9


.. vim:set ft=rst:
