Bonsai

Latest version: v1.5.2

Safety actively analyzes 613705 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

1.5.2

--------------------

Changed
~~~~~~~

- The module is no longer tested with 3.7.
- LDAP_X_CONNECTING is an accepted return status during binding
while using asynchronous connection.

Added
~~~~~

- Debug hint about SSL/TLS errors to the documentation (PR 76,
thanks to senfomat)
- Python 3.12 to the CI pipeline.

Fixed
~~~~~

- Type annotation for set_async_connection_class. (PR 77, thanks
to Yanonix)
- Documentation about setup.cfg for Apple Silicon (PR 81, thanks
to chefkoch-de42)

1.5.1

--------------------

Changed
~~~~~~~

- Improved type annotations, set __all__ attributes for the modules.

Added
~~~~~

- py.typed file for type checking. (Issue 74)
- Python 3.11 to the CI pipeline.

Fixed
~~~~~

- UnboundLocalError in AIOConnectionPool.spawn (PR 71, thanks to rra)
and in ConnectionPool.spawn.
- Parsing LDIF values containing colon as a non-first character
in LDIFReader. (Issue 72)
- Passing keyword arguments to the connect method while opening
connections in ConnectionPool.

1.5.0

--------------------

Changed
~~~~~~~

- Closed connections are not put back to the connection pool. (Issue 64,
thanks to rra)
- Removed poetry as a build requirement. It's not used for the build,
only for the development environment.
- Using asynccontextmanager for AIOConnectionPool that's been introduced
in Python 3.7.

Added
~~~~~

- Setter methods for ACE, ACL and SecurityDescriptor properties.
- ACE.__eq__ method to check ACE objects' equality.
- New is_access_allowed and is_access_denied flags for ACEType.

Fixed
~~~~~

- Unnecessary library directories setting in setup.py.
- SetUp method of the Tornado tests for Tornado 6.2.

1.4.0

--------------------

Changed
~~~~~~~

- Last release with Python 3.6 support, the module no longer will be
tested with 3.6.
- Providing empty user and password with GSSAPI/GSS-SPNGO mechanisms
will use the logon credentials for authentication on Windows instead
of an anonymous bind.
- Remove unnecessary read-only property overrides. These properties will
raise AttributeError, when trying to set them.

Added
~~~~~

- LDAPClient.set_sasl_security_properties method and sasl_security_properties
read-only property for setting SASL security properties.
- TrioLDAPConnection class for supporting trio asynchronous module.

Fixed
~~~~~

- Password hash failure, when new password is set with
LDAPConnection.modify_password. (Issue 57, thanks to morian)
- LDAPConnection.modify_password not returning True, when new password
is provided. (Issue 59, thanks to morian)

1.3.0

--------------------

Changed
~~~~~~~

- Drop support for Python 3.5, the module requires at least 3.6.
- Allow space in LDAPDN's attribute type. (Issue 52)
- LDAPClient.server_chase_referrals is set to False by default.
- Preventing to set both password and keytab as credentials.

Added
~~~~~

- New ignore_referrals attribute for LDAPClient to be able to simply skip
LDAP referrals in search results.
- New submodule for working with Active Directory: ACE, ACL, SecurityDescriptor
and UserAccountControl classes.

Fixed
~~~~~

- Deadlock when waiting for finishing the init thread on macOS.

1.2.1

--------------------

Changed
~~~~~~~

- Asynchronous connection process during socket initialisation is disabled
by default on every platform. It caused TLS errors on newer Ubuntus (18.04+).
Use set_connect_async explicitly to enable it.
- LDAPClient's server_chase_referrals is set to False automatically before
starting a paged_search.
- Using urllib.parse for LDAPURL, instead of regular expressions.

Fixed
~~~~~

- Freeing resources allocated by the LDAP structure during LDAPConnection's
deallocation. (Issue 45)
- Package name in documentation. (Thanks to ikreb7)

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.