django-auth-ldap/django-auth-ldap (django-auth-ldap)
### [`v5.0.0`](https://redirect.github.com/django-auth-ldap/django-auth-ldap/releases/tag/5.0.0)
[Compare Source](https://redirect.github.com/django-auth-ldap/django-auth-ldap/compare/4.8.0...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](https://redirect.github.com/django-auth-ldap/django-auth-ldap/pull/379/files#diff-849a7e3b629bed1e0cf14c5f6253e9425a280a54284cc70912a24a7a015bdeceR90-R103). 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](https://redirect.github.com/django-auth-ldap/django-auth-ldap/issues/378) for details.
#### What else changed
- Drop support for django 3.2 by [@francoisfreitag](https://redirect.github.com/francoisfreitag) in [https://github.com/django-auth-ldap/django-auth-ldap/pull/371](https://redirect.github.com/django-auth-ldap/django-auth-ldap/pull/371)
- Add support for Django 5.1 by [@francoisfreitag](https://redirect.github.com/francoisfreitag) in [https://github.com/django-auth-ldap/django-auth-ldap/pull/373](https://redirect.github.com/django-auth-ldap/django-auth-ldap/pull/373)
- Restore testing for Python 3.8 and 3.9 by [@francoisfreitag](https://redirect.github.com/francoisfreitag) in [https://github.com/django-auth-ldap/django-auth-ldap/pull/375](https://redirect.github.com/django-auth-ldap/django-auth-ldap/pull/375)
- Test support for Python 3.13 by [@francoisfreitag](https://redirect.github.com/francoisfreitag) in [https://github.com/django-auth-ldap/django-auth-ldap/pull/374](https://redirect.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
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
==4.8.0
->==5.0.0
Release Notes
django-auth-ldap/django-auth-ldap (django-auth-ldap)
### [`v5.0.0`](https://redirect.github.com/django-auth-ldap/django-auth-ldap/releases/tag/5.0.0) [Compare Source](https://redirect.github.com/django-auth-ldap/django-auth-ldap/compare/4.8.0...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](https://redirect.github.com/django-auth-ldap/django-auth-ldap/pull/379/files#diff-849a7e3b629bed1e0cf14c5f6253e9425a280a54284cc70912a24a7a015bdeceR90-R103). 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](https://redirect.github.com/django-auth-ldap/django-auth-ldap/issues/378) for details. #### What else changed - Drop support for django 3.2 by [@francoisfreitag](https://redirect.github.com/francoisfreitag) in [https://github.com/django-auth-ldap/django-auth-ldap/pull/371](https://redirect.github.com/django-auth-ldap/django-auth-ldap/pull/371) - Add support for Django 5.1 by [@francoisfreitag](https://redirect.github.com/francoisfreitag) in [https://github.com/django-auth-ldap/django-auth-ldap/pull/373](https://redirect.github.com/django-auth-ldap/django-auth-ldap/pull/373) - Restore testing for Python 3.8 and 3.9 by [@francoisfreitag](https://redirect.github.com/francoisfreitag) in [https://github.com/django-auth-ldap/django-auth-ldap/pull/375](https://redirect.github.com/django-auth-ldap/django-auth-ldap/pull/375) - Test support for Python 3.13 by [@francoisfreitag](https://redirect.github.com/francoisfreitag) in [https://github.com/django-auth-ldap/django-auth-ldap/pull/374](https://redirect.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.0Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.