DicomEdit 6.9.0 Release Notes
DicomEdit 6.9 is backwards compatible with all version 6 releases. All previous 6.x scripts should work unchanged.
DicomEdit 6.9 includes updates to ensure compatibility with XNAT 1.10.0, building with Java 21 and removing a legacy dependency on the dcm4che2 DICOM library. These updates do not impact users and are only of concern to developers using the DicomEdit6 library directly (see Breaking Changes for Developers).
Bug Fixes:
blankValues[]/collectValues[]on UN VR tags: Value comparison for tags with VRUN(Unknown) now operates on the raw byte representation rather than the string representation. This preserves backward-compatible behavior from the dcm4che2 era, where terminating NUL bytes were included in comparisons, preventing false positives when blanking known values in UN-typed elements.
Breaking Changes for Developers:
Java 21 is required. DicomEdit 6 is now compiled with Java 21, consistent with the jump to Java 21 in XNAT.
dcm4che2 removed. The
dcm4che-core(dcm4che2) dependency has been removed entirely. Internal utilities (DicomObjectTagVisitor,NewUIDScriptFunction,UIDUtils) now use dcm4che3 equivalents (org.dcm4che3.util.TagUtils,org.dcm4che3.util.UIDUtils).ScriptApplicatorI.apply(File, DicomObject)signature changed. The overload that accepted a dcm4che2DicomObjectnow accepts aDicomObjectI. Callers passing a raw dcm4che2 object must wrap it in aDicomObjectIimplementation before calling this method.