5.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 #378 for details.
What else changed
- Drop support for django 3.2 by @francoisfreitag in #371
- Add support for Django 5.1 by @francoisfreitag in #373
- Restore testing for Python 3.8 and 3.9 by @francoisfreitag in #375
- Test support for Python 3.13 by @francoisfreitag in #374
Full Changelog: 4.8.0...5.0.0