3.0.0#
The major breaking changes with the version 3.0 release are:
Minimum required pydicom version is 3.0
Changed
StoragePresentationContexts
to match DCMTK implementationVarious small changes required to support IPv6
Changes#
Move and Get SCPs are now limited to a maximum of 65535 matches (#982)
Minimum supported pydicom version is 3.0 (#981)
Added support for Python 3.13
Updated SOP classes to version 2025b of the DICOM Standard
P-DATA PDUs received during association release are now added to the normal DIMSE messaging queue
The following changes have been made in order to support IPv6 connections:
Changed
AE.associate()
to accept either a str or tuple[str, int, int] as the addr parameter.Changed
AE.associate()
to accept either a tuple[str, int] or tuple[str, int, int, int] as the bind_address keyword parameter.Changed
AE.make_server()
andAE.start_server()
to accept either a tuple[str, int] or tuple[str, int, int, int] as the address parameter.Added
AddressInformation
ServiceUser.address
andServiceUser.port
are now read-only properties.Added
ServiceUser.address_info
.Changed
pynetdicom.transport.AssociationSocket()
to accept anAddressInformation
instance as the address keyword parameter.RequestHandler.local
andRequestHandler.remote
now return anAddressInformation
instanceAdded
T_CONNECT.address_info
A_ASSOCIATE.calling_presentation_address
andA_ASSOCIATE.called_presentation_address
are both now set using anAddressInformation
instance
Added the block optional argument to
Association.abort()
to allow for operation in non-blocking mode.
Enhancements#
Setting the Affected SOP Instance UID for an N-CREATE-RSP message when it’s absent from the N-CREATE-RQ can now be done by adding it to the returned Attribute List dataset (it’ll be removed from the dataset prior to sending) (#995)
Added debugging handlers for the remaining DIMSE-N messages
Added support for IPv6 connections (#984)
Fixes#
Fixed a state machine error caused by receiving N-EVENT-REPORT requests during association release (#820)
Added redundancy to ensure sockets are closed during abort and connection failure (#979)
Handle an exception due to the socket being discarded while trying to send an abort while waiting for the socket to be discarded 🙃 (#806)
Fixed
Association.abort()
causing a deadlock when called within event handlers (#912)