|
1 | 1 | Released 3.5.0 (unreleased) |
2 | 2 |
|
| 3 | +Breaking: |
| 4 | +* ``ldap.schema.models.SchemaElement.token_defaults`` class attribute had to |
| 5 | + go, we couldn't find a safe way to keep it working with subclasses and are |
| 6 | + unaware of any users either |
| 7 | + |
3 | 8 | API changes: |
4 | 9 | * The deprecated ``OPT_X_TLS`` option has been removed, as announced in the |
5 | 10 | 3.4.3 release notes. The ``OPT_X_TLS_*`` option constants (such as |
6 | 11 | ``OPT_X_TLS_NEWCTX`` and ``OPT_X_TLS_REQUIRE_CERT``) are unaffected. |
| 12 | +* ldap.DummyLock has been removed as it has been useless since Python3.7 |
| 13 | +* ldap.controls.KNOWN_RESPONSE_CONTROLS now only contains ResponseControl |
| 14 | + types |
| 15 | +* Iterating ``ldap.schema.Entry`` now correctly iterates over the visible keys, |
| 16 | + not internal representation |
| 17 | +* code better aligns with documentation: |
| 18 | + * ``ldap.controls.simple.AuthorizationIdentityResponseControl`` now decodes |
| 19 | + returned identity as documented |
| 20 | + * ``LDAPObject``'s `*_s` functions actually return None as advertised |
| 21 | + * ``LDIFParser`` now correctly ignores unknown url schemes rather than |
| 22 | + attaching ``None`` as value |
| 23 | + * People overriding ``SyncreplConsumer.syncrepl_present`` will no longer see |
| 24 | + ``SyncDoneControl.refreshDeletes`` have a value of ``None`` |
| 25 | +* If using the search MixIn classes (including SyncreplConsumer) and replacing |
| 26 | + the relevant controls in ``KNOWN_RESPONSE_CONTROLS`` at the same time, make |
| 27 | + sure you subclass the original implementations |
| 28 | +* Calling ``ldap.schema.SubSchema.get_structural_oc`` with incompatible |
| 29 | + STRUCTURAL object classes has produced undefined behaviour in the past and it |
| 30 | + does again. This and ``ldap.schema.{SubSchema,Entry}.attribute_types`` with |
| 31 | + DIT content rules enforced will raise an error in future versions |
| 32 | + |
| 33 | +Fixes: |
| 34 | +* ``ldap.controls.pwdpolicy.PasswordExpiredControl`` finally returns reported |
| 35 | + status |
| 36 | + |
| 37 | +Deprecations: |
| 38 | +* See above note for ``ldap.schema.SubSchema.get_structural_oc`` and its users |
| 39 | +* ``ldap.schema.tokenizer.extract_tokens`` has been replaced with |
| 40 | + ``ldap.schema.tokenizer.parse_tokens`` and will go away eventually |
| 41 | +* ``_ldap`` module is now a stub forwarding to ``ldap._ldap``, ``_ldap`` will |
| 42 | + go away eventually |
7 | 43 |
|
8 | 44 | Infrastructure: |
9 | 45 | * Building from source now requires setuptools >= 77, needed for the |
|
0 commit comments