--------------------
Changed
~~~~~~~
- Separate basic search functionality to three different methods in
LDAPConnection: search, paged_search and virtual_list_search.
- LDAPEntry's DN is listed among its attributes under the dn key.
- LDAPClient's set_credentials method uses optional named parameters instead
of tuples.
- LDAPClient's credentials property returns a dict instead of a tuple.
- LDAPURL's filter property and the filter parameters of LDAPConnection's
search methods are renamed to filter_exp.
- The representation of LDAPEntry honours the last call of its
change_attribute method better than previously.
- Drop Heimdal support for advanced Kerberos capabilities (at least
temporarily).
- The get_tls_impl_name, get_vendor_info, has_krb5_support, and set_debug
functions are moved to the utils submodule.
Added
~~~~~
- LDIFReader and LDIFWriter objects for handling LDIF format.
- The delete_old_rdn parameter for LDAPEntry's rename method. (Issue 17)
- Kerberos keytab support for set_credentials (Thanks to Mirraz).
- Utils submodule with escape_filter_exp and escape_attribute_value
functions. (Issue 18)
- An exclude_dn keyword-only argument to LDAPEntry's keys, items and
values methods to exclude the dn key and value from the return values.
- Support for ldapi connection in LDAPURL and LDAPConnection.
- BaseLDAPConnection as a super class for all connection classes.
- Type annotations for several methods.
Fixed
~~~~~
- Several reference counting errors that caused memory leaks. (Issue 19)
- Escaping brackets in LDAPURL's regular expressions. (Issue 22)
- Missing ManageDsaIT control during LDAPConnection's delete.
- Honouring timeout settings for network connections, but only on
Linux with newer OpenLDAP than 2.4.43. (Issue 21)
- Typo in documentation (Thanks to magnuswatn).