1.3.0#
Fixes#
Exceptions raised during generator operation for C-GET and C-MOVE services now handled properly.
fsm.AA_4andfsm.AA_8now send A-P-ABORT to the service user rather than an A-ABORTFixed rejected contexts not being included in the Presentation Context Definition Results List when acting as the association Acceptor.
The Message ID values for C-MOVE and C-GET sub-operations now iterate instead of just re-using 1. (#315)
The default
loggingconfiguration no longer uses a non-NullHandler (#321)Fixed Unified Procedure Step’s SOP Class UID variable names
Fixed memory leak caused by keeping old
Associationthreads around after they died (#328)
Enhancements#
Added event-handler system as a replacement for the callback system
Added events.py module with the defined events, Event class and event-related support functions.
Added _handlers.py module with standard logging handlers
Added
bind(),unbind(),get_handlers()andget_events()toAssociationandAssociationServerclasses.Add
assocproperties toDIMSEServiceProviderandACSEclasses
_config.ENFORCE_UID_CONFORMANCEadded which determines the level of conformance required for UIDs. IfTruethen all UIDs are required to meet the UID rules in the DICOM Standard, ifFalse(default) then UIDs only need to meet the length requirement. (#316, #322)Support added for Modality Performed Procedure Step Management - only with the event-handler system. (#56)
Changes#
The following have been removed as per planned deprecation:
AE.start(),AE.stop(),AE.address,AE.bind_address,AE.local_socket,AE.portAssociation.send_c_cancel_find(),Association.send_c_cancel_get(),Association.send_c_cancel_move()
All callback related class methods are deprecated and will be removed in v1.4. Use the event-handler system instead.
_config.DECODE_STORE_DATASETSis deprecated and will be removed in v1.4. Use the event-handler system instead.DIMSEServiceProviderinit now takes theAssociationas its only parameter.dul,dimse_timeoutandmaximum_pdu_sizeproperties added instead.