1.1.0#
Fixes#
No longer using a list as the default value for the
transfer_syntaxkeyword argument inAE.add_requested_context(),AE.add_supported_context()andpresentation.build_context()Completely fixed handling a maximum PDU length of 0. (#193)
DIMSEMessagesubclass creation andDIMSEMessage.primitive_to_messageshould now be thread-safe (#137)Fixed A-RELEASE collision not being implemented correctly. (#269)
Fixed bugs in
fsm.AR_8andfsm.AA_7.Fixed DUL not handling the service user sending A-P-ABORT primitives. (#270)
Fixed the DUL endlessly waiting in State 13 if the remote didn’t close the connection and there was data still available to be read. (#272)
Enhancements#
Changes#
AE.quit()is deprecated and will be removed in v1.2. UseAE.stop()instead.DIMSEMessage.IDis deprecated and will be removed in v1.2. UseDIMSEMessage.context_idinstead.Added
_globals.pyfor frequently used global constants.utils.validate_ae_titlechanged to only return bytes for Python 3AE.require_calling_aetnow takes a list of AE titles (as bytes) rather than a single AE title. If set to a non-empty list then association requests will be rejected unless the value of the Calling AE Title parameter matches one of those in the list. If set to an empty list (default) then all associations will be accepted (unless rejected for other reasons). (#192)AE.require_called_aetshould now be set using a bool. If True then any association requests will be rejected unless the value of the Called AE Title parameter matchesAE.ae_title. If False (default) then no matching will be performed and all associations accepted (unless rejected for other reasons). (#184)ACSE.is_releasedis deprecated and will be removed in v1.2. UseACSE.is_release_requestedinstead.ACSE.release_associationis deprecated and will be removed in v1.2. UseACSE.negotiate_releaseinstead.The association acceptor no longer aborts an accepted association if there are no accepted presentation contexts. The association requestor still does.
Default ACSE timeout changed to 30 s and default network timeout to 60 s.