Skip to content

PictureComparer 0.7.0

Latest
Compare
Choose a tag to compare
@maksik997 maksik997 released this 09 Dec 20:25
· 3 commits to master since this release
c7f6895

Release Date: 09.12.2024

This is the first stable release of PictureComparer, delivering new features, performance improvements, and significant codebase modernization.

What's New?

Added:

  • New Interfaces and Classes:
    • Grouper interface and its implementation CRC32Grouper.
    • Processor class, which orchestrates the entire processing pipeline.
    • AdaptiveCache class: Implements an Adaptive Cache System using the Caffeine Cache library.
  • Logging:
    • Integrated the SLF4J framework with Logback as the native implementation.
  • Tests:
    • Added tests for algorithms and the new Processor class.

Changed:

  • Algorithm Interface:
    • Refactored the Algorithm interface.
    • Adjusted all Algorithm implementations to align with the updated interface version.
  • Core Components:
    • Updated FileOperator and FileVisitor to use the new logging system.
  • Algorithms:
    - Refactored the PixelByPixel algorithm implementation.
    - Updated JavaDoc for the PerceptualHash algorithm.
  • Documentation:
    • Updated pom.xml and README.md.

Removed:

  • Removed Deprecated Components:
    • RecordProcessor, ImageRecord, and Record classes.
    • LoggingInterface and TinyLog support.
    • FileUtils interface.

Release Notes

  • This version focuses on scalability, modularity, and modernizing the codebase.
  • Performance improvements have been achieved via the Caffeine Cache integration.
  • All major logging has been streamlined using SLF4J.
  • Check out our new documentation for more details.

How to Upgrade

  1. Ensure you are running JDK 21 or higher.
  2. Update your dependencies to include the latest version of PictureComparer
  3. Review the new Processor class and updated Algorithm interface to adapt custom implementation if necessary.