CHANGES 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. 1.3.0 - 2017-11-20 - Various improvements and cleanup
  2. -----------------------------------------------------
  3. This release driven primarily by https://bitbucket.org/jdufresne/.
  4. - **Backwards incompatible**: Removed support for obsolete versions of
  5. Django (<=1.7, plus 1.9).
  6. - Fix `#58`_: Delay saving new users as long as possible. This will allow
  7. :setting:`AUTH_LDAP_USER_ATTR_MAP` to populate required fields before creating
  8. a new Django user.
  9. ``LDAPBackend.get_or_create_user()`` is now
  10. :meth:`~django_auth_ldap.backend.LDAPBackend.get_or_build_user` to avoid
  11. confusion. The old name may still be overridden for now.
  12. - Support querying by a field other than the username field with
  13. :setting:`AUTH_LDAP_USER_QUERY_FIELD`.
  14. - New method
  15. :meth:`~django_auth_ldap.backend.LDAPBackend.authenticate_ldap_user()` to
  16. provide pre- and post-authenication hooks.
  17. - Add support for Django 2.0.
  18. .. _#58: https://bitbucket.org/illocution/django-auth-ldap/issues/58/
  19. 1.2.16 - 2017-09-30 - Minor fixes
  20. ---------------------------------
  21. - Fix `#86`_: Better cache key sanitizing.
  22. - Improved handling of LDAPError. A case existed where the error would not get
  23. caught while loading group permissions.
  24. .. _#86: https://bitbucket.org/illocution/django-auth-ldap/issues/86/
  25. 1.2.15 - 2017-08-17 - Documentation improvements
  26. ------------------------------------------------
  27. - Fix `#83`_: Improved documentation for finding the official repository and
  28. contributing.
  29. .. _#83: https://bitbucket.org/illocution/django-auth-ldap/issues/83/
  30. 1.2.14 - 2017-07-24 - User DN caching
  31. -------------------------------------
  32. - Fix `#82`_: Under search/bind mode, the user's DN will now be cached for
  33. performance.
  34. .. _#82: https://bitbucket.org/illocution/django-auth-ldap/issues/82/
  35. 1.2.13 - 2017-06-19 - Selective group mirroring
  36. -----------------------------------------------
  37. - Support selective group mirroring with :setting:`AUTH_LDAP_MIRROR_GROUPS` and
  38. :setting:`AUTH_LDAP_MIRROR_GROUPS_EXCEPT`.
  39. - Fix `#73`_: Work around Django 1.11 bug with multiple authentication backends.
  40. .. _#73: https://bitbucket.org/illocution/django-auth-ldap/issues/73/
  41. 1.2.12 - 2017-05-20 - Complex group queries
  42. -------------------------------------------
  43. - Support for complex group queries via
  44. :class:`~django_auth_ldap.config.LDAPGroupQuery`.
  45. 1.2.11 - 2017-04-22 - Testing and debugging cleanup
  46. ---------------------------------------------------
  47. - Some more descriptive object representations.
  48. - Improved tox.ini organization.
  49. 1.2.9 - 2017-02-14 - Fix python-ldap incompatibility
  50. ----------------------------------------------------
  51. - Fix `#65`_: Ignore python-ldap documentation and accept
  52. :data:`ldap.RES_SEARCH_ENTRY` from :meth:`ldap.LDAPObject.result`.
  53. .. _#65: https://bitbucket.org/illocution/django-auth-ldap/issues/65/
  54. 1.2.8 - 2016-04-18 - AUTH_LDAP_USER_ATTRLIST
  55. --------------------------------------------
  56. - Add :setting:`AUTH_LDAP_USER_ATTRLIST` to override the set of attributes
  57. requested from the LDAP server.
  58. 1.2.7 - 2015-09-29 - Python 3
  59. -----------------------------
  60. - Support Python 3 with `pyldap <https://pypi.python.org/pypi/pyldap>`_.
  61. 1.2.6 - 2015-03-29
  62. ------------------
  63. - Performance improvements to group mirroring (from
  64. `Denver Janke <https://bitbucket.org/denverjanke>`_).
  65. - Add :data:`django_auth_ldap.backend.ldap_error` signal for custom handling of
  66. :exc:`~ldap.LDAPError` exceptions.
  67. - Add :data:`django_auth_ldap.backend.LDAPBackend.default_settings` for
  68. per-subclass default settings.
  69. 1.2.5 - 2015-01-30
  70. ------------------
  71. - Fix interaction between :setting:`AUTH_LDAP_AUTHORIZE_ALL_USERS` and
  72. :setting:`AUTH_LDAP_USER_SEARCH`.
  73. 1.2.4 - 2014-12-28 - nisNetgroup support
  74. ----------------------------------------
  75. - Add support for nisNetgroup groups (thanks to Christopher Bartz).
  76. 1.2.3 - 2014-11-18
  77. ------------------
  78. - Fix `#50`_: Improved escaping for filter strings.
  79. - Accept (and ignore) arbitrary keyword arguments to
  80. :meth:`~django_auth_ldap.backend.LDAPBackend.authenticate`.
  81. .. _#50: https://bitbucket.org/illocution/django-auth-ldap/issue/50/
  82. 1.2.2 - 2014-09-22
  83. ------------------
  84. - Include test harness in source distribution. Some package maintainers find
  85. this helpful.
  86. 1.2.1 - 2014-08-24
  87. ------------------
  88. - More verbose log messages for authentication failures.
  89. 1.2 - 2014-04-10
  90. ----------------
  91. - django-auth-ldap now provides experimental Python 3 support. Python 2.5 was
  92. dropped.
  93. To sum up, django-auth-ldap works with Python 2.6, 2.7, 3.3 and 3.4.
  94. Since python-ldap isn't making progress toward Python 3, if you're using
  95. Python 3, you need to install a fork::
  96. $ pip install git+https://github.com/rbarrois/python-ldap.git@py3
  97. Thanks to `Aymeric Augustin <https://myks.org/en/>`_ for making this happen.
  98. 1.1.8 - 2014-02-01
  99. ------------------
  100. * Fix `#43`_: Update :class:`~django_auth_ldap.config.LDAPSearchUnion` to work for
  101. group searches in addition to user searches.
  102. * Tox no longer supports Python 2.5, so our tests now run on 2.6 and 2.7 only.
  103. .. _#43: https://bitbucket.org/illocution/django-auth-ldap/issue/43/
  104. 1.1.7 - 2013-11-19
  105. ------------------
  106. * Bug fix: :setting:`AUTH_LDAP_GLOBAL_OPTIONS` could be ignored in some cases
  107. (such as :func:`~django_auth_ldap.backend.LDAPBackend.populate_user`).
  108. 1.1.5 - 2013-10-25
  109. ------------------
  110. * Fix `#41`_: Support POSIX group permissions with no gidNumber attribute.
  111. * Support multiple group DNs for \*_FLAGS_BY_GROUP.
  112. .. _#41: https://bitbucket.org/illocution/django-auth-ldap/issue/41/
  113. 1.1.4 - 2013-03-09
  114. ------------------
  115. * Add support for Django 1.5's custom user models.
  116. 1.1.3 - 2013-01-05
  117. ------------------
  118. * Fix `#33`_: Reject empty passwords by default.
  119. Unless :setting:`AUTH_LDAP_PERMIT_EMPTY_PASSWORD` is set to True,
  120. LDAPBackend.authenticate() will immediately return None if the password is
  121. empty. This is technically backwards-incompatible, but it's a more secure
  122. default for those LDAP servers that are configured such that binds without
  123. passwords always succeed.
  124. * Fix `#39`_: Add support for pickling LDAP-authenticated users.
  125. .. _#33: https://bitbucket.org/illocution/django-auth-ldap/issue/33/
  126. .. _#39: https://bitbucket.org/illocution/django-auth-ldap/issue/39/
  127. .. vim: ft=rst nospell tw=80