Skip to content

v1.1.0

Choose a tag to compare

@rbraunm rbraunm released this 27 May 19:44
· 5 commits to main since this release
bd42d28

PHP 8.x compatibility, bug fixes, integration tests, and documentation.

Bug fixes

  • compress() was broken. An undefined variable meant the method silently did nothing on every call. Fixed.
  • dcmcjpeg and dcmdjpeg binary paths were swapped. Compress was calling the decompressor and vice versa. Fixed in both the Windows and Linux path blocks.
  • PHP 8.2 dynamic property deprecations. Added missing $template and $temp_dir property declarations on dicom_convert.

Compatibility

  • Now requires PHP 8.0+ (declared in composer.json). Tested through PHP 8.4.
  • No breaking API changes from v1.0.0.

Testing

  • New integration test suite (tests/) using pydicom and pynetdicom for independent cross-validation. Every conversion, tag operation, and network call is verified by a completely separate DICOM implementation — not just read back by the same tools that wrote it.

Documentation

  • Full README.md with usage examples verified against live PHP, API reference, and testing instructions.
  • ROADMAP.md outlining v2.0.0 (modern PHP refactor) and feature expansion plans.

Known issues

  • jpg_to_dcm() does not work on current DCMTK versions due to warning-handling logic that prevents pixel data embedding. Tracked for v2.0.0.