Skip to content

Release v6.4.0

Latest

Choose a tag to compare

@github-actions github-actions released this 06 Nov 19:03
· 15 commits to main since this release
ee611f2
  • Feature: The comparison of screenshots uses multiple threads now. The number can be set with the new job
    config option compare-threads (or --compare-threads on the command line), default is one thread per
    CPU core, reduced automatically if the heap is too small. The web server limits the screenshots that are
    compared at the same time by all jobs with jlineup.max-compare-threads.
  • Update: Faster comparison: Screenshots with identical files are not decoded anymore, and the compression
    artifact detection (ignore-compression-artifacts) doesn't sum up a whole window for every different pixel
    anymore. With a texture-tolerance (in ignore-compression-artifacts) greater than 0, the lightness values are
    rounded to 3 decimals now, so pixels exactly at the threshold can be rated differently than before.
  • Bugfix: The quick check for identical images considered images with swapped dimensions (and the same number of
    pixels) as equal.
  • Feature: New three column layout in the HTML report (Before | After | Difference side by side, without slider).
    It can be switched globally with the new toggle next to the Focus button and is remembered in the browser.
  • Bugfix: The Lambda Dockerfiles fell back to outdated defaults (Chrome 150, older Amazon Linux) if the
    build didn't pass CHROME_MAJOR_VERSION/AMI_LINUX_2023_VERSION. scripts/check-latest-versions.sh
    now keeps the defaults in sync with .chrome-version and .al2023-version (--update and new
    --sync), and --check reports differences.
  • Update: New colors in the difference images (and the legend of the HTML report): Rejected pixels are bright red
    instead of white, and all accepted differences (look same, anti-aliasing, compression artifacts, image
    content) use dim colors, so rejected pixels stand out even between many accepted ones. Different sizes are
    dark gray. Look-same pixels don't get redder with the color distance anymore, and both anti-aliasing
    detections share one color.
  • Feature: New option ignore-compression-artifacts (default: off) accepts small, noisy pixel differences of lossy
    images (JPEG, WebP, AVIF) that are encoded twice, i.e. by different CDN nodes. A pixel is accepted if its
    own color distance is small and the average colors of its surrounding square are the same. Besides true,
    it can be a group with radius, max-pixel-color-distance and texture-tolerance.
  • Feature: New option ignore-image-content (default: off) accepts differences inside images whose URL and position
    didn't change, i.e. images exchanged in a CMS under the same URL. Layout, text and overlays on images are
    still compared. The report has switches between the screenshots with and without images.
  • Feature: The reports have a "Download archive" button that saves the report page, report.json, jlineup.log and
    all screenshots as zip file (or into a local folder, where the browser supports it). The shared styles and
    scripts of report.html and report_before.html moved to a common fragment.
  • Feature: Native Linux binaries of jlineup-cli and jlineup-cli-lambda (linux-amd64, linux-arm64) built with
    GraalVM Community Edition. They are built daily and attached to the GitHub releases, but not published
    to Maven Central.
  • Bugfix: Screenshots of small viewports (i.e. 320px mobile) are not upscaled beyond their rendered width in the HTML
    reports anymore. The device pixel ratio is measured in the browser and stored in files.json.
  • Bugfix: The legend of the difference images is rendered once and now shows for every context in the HTML report.
  • Update: Dependency updates (Selenium 4.52.0, Guava 33.8.0, jsoup 1.24.1, AWS dependencies, Chrome
    157.0.8103.38 in Lambda, Amazon Linux 2023.12.20261102)

Commits since v6.3.0

  • ee611f2 Release 6.4.0
  • 175bed3 feat(report): Highlight rejected pixels in bright red and dim accepted differences in difference images
  • 4fe97db chore(deps): bump org.jsoup:jsoup from 1.23.2 to 1.24.1
  • 1e81143 chore(deps): bump step-security/harden-runner from 2.22.2 to 2.22.3
  • 2384afc chore(deps): bump org.jreleaser from 1.26.0 to 1.27.0 (#2317)
  • 46b93b6 chore(deps): bump the aws-dependencies group with 10 updates (#2318)
  • a69afe9 chore(deps): bump jdx/mise-action from 5.2.4 to 5.2.5 (#2320)
  • a03df77 chore(deps): bump com.google.guava:guava from 33.7.2-jre to 33.8.0-jre (#2322)
  • 249dea7 fix(report): Render difference image legend once so it shows for every context
  • ec2a88c docs: Document ignore-compression-artifacts group, max-color-distance and max-anti-alias-color-distance
  • e98f557 refactor(core): Group compression artifact settings in ignore-compression-artifacts
  • eebd65d test(cli): Disable WebKit image content test, WebKit is not installed in CI
  • b4e3f32 docs: Fix javadoc warnings
  • bacb3b3 Add getCompareThreads to reachability metadata for native build.
  • 717d756 chore(deps): bump org.graalvm.sdk:graal-sdk (#2315)
  • f83c1e5 chore(deps): bump com.fasterxml.jackson.core:jackson-databind (#2316)
  • 29866d6 fix(core): Make the archive download button show up in browsers
  • b9fae6f feat(core): Compare screenshots in parallel and speed up compression artifact detection
  • 495d9c3 chore(deps): Override minimatch 9 with 11.0.3 (GHSA-g3hv-75wg-m249)
  • f6362f1 feat(core): Add three column layout toggle to the HTML report
  • 3cec766 chore: Update IDE run configurations
  • cc02aeb feat(core): Add archive download to reports and share styles and scripts
  • ca7644b chore(deps): Override minimatch 10 with 11.0.3 (GHSA-g3hv-75wg-m249)
  • 9e5d6d2 chore(deps): Bump Selenium to 4.52.0
  • 3da4d06 feat(core): Optionally ignore differences inside unchanged images
  • ba6d879 chore(deps): Fix open Dependabot alerts
  • eef0762 feat(core): Optionally ignore compression artifacts of lossy images
  • 211531f fix(cli-lambda): Native image metadata traced against the Lambda acceptance stack
  • f7f78b6 fix(cli): Include the x86_64 Selenium Manager in the native binary
  • bea1e3c feat(cli): Native Linux binaries of jlineup-cli and jlineup-cli-lambda with GraalVM Community Edition
  • 3c8d6d3 chore(deps): Remove explicit netty dependencies from core
  • 716fabe chore(deps): bump graalvmVersion from 25.0.5.0.2 to 25.0.5.0.3 (#2313)
  • fb9648a chore(deps): bump step-security/harden-runner from 2.22.1 to 2.22.2 (#2312)
  • 16a6d57 chore(deps): bump the codeql-steps group with 4 updates (#2311)
  • 54888d0 chore(deps-dev): bump aws-cdk (#2310)
  • c432548 fix(report): Don't upscale screenshots beyond their rendered width
  • c2cee14 ci: Fail the build if the lambda Dockerfile defaults don't match .chrome-version and .al2023-version
  • 3fdbde7 fix(lambda): Keep Dockerfile defaults for Chrome and Amazon Linux in sync with .chrome-version and .al2023-version
  • d421b1d chore: Next snapshot