Update dependency django-auth-ldap to v5
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
django-auth-ldap (changelog) | dependencies | major |
^4.0 -> ^5.1
|
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
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.