Skip to content

1.4.0

Choose a tag to compare

@peshay peshay released this 08 Dec 13:21
· 51 commits to main since this release

New Features

1. FFmpeg Codec Support

  • Added support for the following additional codecs:
    • libvpx (VP8/VP9)
    • libopus (Opus audio codec)
    • libx264 (H.264/AVC)
    • libx265 (H.265/HEVC)
    • libdav1d (AV1 decoder)

2. Software Version Updates

  • Ghostscript: Upgraded to 10.04.0.
  • ImageMagick: Upgraded to 7.1.1-41.
  • FFmpeg: Upgraded to 7.1.
  • ExifTool: Upgraded to 13.00.

3. Dependencies

  • Added the following dependencies in the Dockerfile:
    • libimage-exiftool-perl
    • python3-psutil
  • Improved package management with autoremove for better cleanup.

4. Test Enhancements

  • Migrated test_installation.py to pytest for improved readability and maintainability.
  • Expanded test logic to cover updated dependencies.

5. Dynamic Resource Management

  • Introduced dynamic ImageMagick policy configuration based on:
    • Container memory limits.
    • Number of service instances.

Bug Fixes

1. XML Configuration

  • Enhanced error handling in:
    • update_facility_paths:
      • Added logic to create missing XML elements.
      • Included debug messages for updated paths.
    • handle_office_facility:
      • Improved handling of missing path elements.
      • Added debug messages for successful updates.

2. Graceful Shutdown

  • Ensured application calls sys.exit(0) after handling KeyboardInterrupt for smoother shutdowns.

3. Error Handling

  • Improved validation for:
    • Missing or malformed VOLUMES_INFO environment variables.
    • Missing process IDs in stop_service_client.

4. Path Adjustments

  • Adjusted PYTHONPATH in test_health_check.py to include the project root.

Summary

This release delivers significant updates, including:

  • Expanded codec support for FFmpeg.
  • Version upgrades for Ghostscript, ImageMagick, FFmpeg, and ExifTool.
  • Dynamic ImageMagick policy configuration based on container memory.
  • Improved error handling in XML configuration and shutdown processes.
  • Modernized testing infrastructure for better reliability.

These changes improve functionality, resource management, and overall application stability.