Update dependency django-auth-ldap to v5
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
django-auth-ldap (changelog) | dependencies | major |
^2.1.1 -> ^5.0.0
|
Release Notes
django-auth-ldap/django-auth-ldap
v5.1.0
What's Changed
- Allow importing the backend without loading apps by @francoisfreitag in https://github.com/django-auth-ldap/django-auth-ldap/pull/382 (Closes #380)
- Drop support for EOL Python 3.8 by @francoisfreitag in https://github.com/django-auth-ldap/django-auth-ldap/pull/383
Full Changelog: https://github.com/django-auth-ldap/django-auth-ldap/compare/5.0.0...5.1.0
v5.0.0
Breaking changes
An LDAPError
during an LDAP search operation would cause the library to assume an empty result set.
When mirroring groups, only a portion of a user groups would be mirrored. Allowing them to proceed with authentication may then break application access controls, as membership to a group (imagine an exclude group) would be missing.
The library now systematically sends the ldap_error
django signal. If an LDAPError
occurs during an operation, the operation is aborted. In particular, when mirroring groups (LDAPUser._mirror_groups
), an AuthenticationFailed
might now be raised.
See https://github.com/django-auth-ldap/django-auth-ldap/issues/378 for details.
What else changed
- Drop support for django 3.2 by @francoisfreitag in https://github.com/django-auth-ldap/django-auth-ldap/pull/371
- Add support for Django 5.1 by @francoisfreitag in https://github.com/django-auth-ldap/django-auth-ldap/pull/373
- Restore testing for Python 3.8 and 3.9 by @francoisfreitag in https://github.com/django-auth-ldap/django-auth-ldap/pull/375
- Test support for Python 3.13 by @francoisfreitag in https://github.com/django-auth-ldap/django-auth-ldap/pull/374
Full Changelog: https://github.com/django-auth-ldap/django-auth-ldap/compare/4.8.0...5.0.0
v4.8.0
What's Changed
- Add support for custom username field by @InzGIBA in https://github.com/django-auth-ldap/django-auth-ldap/pull/368
New Contributors
- @InzGIBA made their first contribution in https://github.com/django-auth-ldap/django-auth-ldap/pull/368
Full Changelog: https://github.com/django-auth-ldap/django-auth-ldap/compare/4.7.0...4.8.0
v4.7.0
What's Changed
- Add support for Django 5.0 by @francoisfreitag in https://github.com/django-auth-ldap/django-auth-ldap/pull/356
- Drop Django 4.1 by @francoisfreitag in https://github.com/django-auth-ldap/django-auth-ldap/pull/366
Full Changelog: https://github.com/django-auth-ldap/django-auth-ldap/compare/4.6.0...4.7.0
v4.6.0
What's Changed
- Add support for Python 3.12 by @francoisfreitag in https://github.com/django-auth-ldap/django-auth-ldap/pull/349
Full Changelog: https://github.com/django-auth-ldap/django-auth-ldap/compare/4.5.0...4.6.0
v4.5.0
What's Changed
- Allow to reload DN when using user-bind and DN-template by @sevdog in https://github.com/django-auth-ldap/django-auth-ldap/pull/347
New Contributors
- @sevdog made their first contribution in https://github.com/django-auth-ldap/django-auth-ldap/pull/347
Full Changelog: https://github.com/django-auth-ldap/django-auth-ldap/compare/4.4.0...4.5.0
v4.4.0
What's Changed
- Drop support for Python 3.7 by @francoisfreitag in https://github.com/django-auth-ldap/django-auth-ldap/pull/343
Full Changelog: https://github.com/django-auth-ldap/django-auth-ldap/compare/4.3.0...4.4.0
v4.3.0
What's Changed
- Add changelog URL to PyPI package metadata by @intgr in https://github.com/django-auth-ldap/django-auth-ldap/pull/330
- Drop support for Django 4.0, add Django 4.2 by @francoisfreitag in https://github.com/django-auth-ldap/django-auth-ldap/pull/332
New Contributors
- @intgr made their first contribution in https://github.com/django-auth-ldap/django-auth-ldap/pull/330
Full Changelog: https://github.com/django-auth-ldap/django-auth-ldap/compare/4.2.0...4.3.0
v4.2.0
What's Changed
- Move LDAPSetting to the config module by @francoisfreitag in https://github.com/django-auth-ldap/django-auth-ldap/pull/289
- Drop support for Django 2.2 by @francoisfreitag in https://github.com/django-auth-ldap/django-auth-ldap/pull/319
- Add support for Django 4.1 by @francoisfreitag in https://github.com/django-auth-ldap/django-auth-ldap/pull/317
- Add support for Python 3.11 by @francoisfreitag in https://github.com/django-auth-ldap/django-auth-ldap/pull/329
Full Changelog: https://github.com/django-auth-ldap/django-auth-ldap/compare/4.1.0...4.2.0
v4.1.0
What's Changed
- Fix is_member_of when group_dn does not exist in ldap by @tparsa in https://github.com/django-auth-ldap/django-auth-ldap/pull/303
- Prefer relative imports in the django_auth_ldap package by @francoisfreitag in https://github.com/django-auth-ldap/django-auth-ldap/pull/290
- Verify logging for TLS connection by @francoisfreitag in https://github.com/django-auth-ldap/django-auth-ldap/pull/294
- Add debug logging before bind or search_as by @stevecj in https://github.com/django-auth-ldap/django-auth-ldap/pull/291
- Log variable data separately by @francoisfreitag in https://github.com/django-auth-ldap/django-auth-ldap/pull/292
- Docs: Use newer locations for python-ldap and tox in intersphinx by @francoisfreitag in https://github.com/django-auth-ldap/django-auth-ldap/pull/283
- Move releases to GitHub by @francoisfreitag in https://github.com/django-auth-ldap/django-auth-ldap/pull/282
- Drop support for EOL Python 3.6 and Django 3.1 by @francoisfreitag in https://github.com/django-auth-ldap/django-auth-ldap/pull/298
New Contributors
- @stevecj made their first contribution in https://github.com/django-auth-ldap/django-auth-ldap/pull/291
- @tparsa made their first contribution in https://github.com/django-auth-ldap/django-auth-ldap/pull/303
Full Changelog: https://github.com/django-auth-ldap/django-auth-ldap/compare/4.0.0...4.1.0
v4.0.0
What's Changed
- Add request object to the ldap_error signal by @sdolemelipone in https://github.com/django-auth-ldap/django-auth-ldap/pull/264
- Clarify AUTH_LDAP_FIND_GROUP_PERMS and AUTH_LDAP_MIRROR_GROUPS by @francoisfreitag in https://github.com/django-auth-ldap/django-auth-ldap/pull/265
- Add support for Python 3.10 by @francoisfreitag in https://github.com/django-auth-ldap/django-auth-ldap/pull/259
- Add note about rearranging authentication backends by @johnthagen in https://github.com/django-auth-ldap/django-auth-ldap/pull/270
- Drop deprecated setup.py by @francoisfreitag in https://github.com/django-auth-ldap/django-auth-ldap/pull/273
- Switch CI to main release of Python 3.10 by @francoisfreitag in https://github.com/django-auth-ldap/django-auth-ldap/pull/276
- Adjust tests to python-ldap==3.4.0 by @francoisfreitag in https://github.com/django-auth-ldap/django-auth-ldap/pull/280
- Add support for Django 4.0 by @francoisfreitag in https://github.com/django-auth-ldap/django-auth-ldap/pull/279
- Improve comment from backend.py by @francoisfreitag in https://github.com/django-auth-ldap/django-auth-ldap/pull/275
New Contributors
- @sdolemelipone made their first contribution in https://github.com/django-auth-ldap/django-auth-ldap/pull/264
Full Changelog: https://github.com/django-auth-ldap/django-auth-ldap/compare/3.0.0...4.0.0
v3.0.0
v2.4.0
v2.3.0
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.