Skip to content

v4.0.0 - 2026-04-08

Latest

Choose a tag to compare

@github-actions github-actions released this 08 Apr 22:34
· 1 commit to master since this release

Added

  • Bun-based test serve script and open helper.
  • Biome configuration for linting/formatting.
  • Shared button-controls helper for examples and tests.
  • Browser support notes in the README (Pointer Events + jQuery 4 policy).
  • mise.toml to pin Bun for contributors.
  • Transparent image test coverage (PNG/GIF/WebP/SVG/AVIF) with a checkerboard background.
  • QUnit coverage for zero-image init, pointer fallback, and transparent format init.

Changed

  • Build pipeline now uses Bun scripts and esbuild for JS/CSS minification.
  • Tests are run in the browser via a local server instead of PhantomJS.
  • Pointer Events are used for drag interactions, with mouse/touch fallback.
  • Clip updates now use clip-path with clip as a legacy fallback.
  • README updated to reflect new tooling, browser support, and the upcoming vanilla alternative.
  • jQuery 4 is now the supported baseline (older versions are not officially supported).

Removed

  • Dropped the IE naturalWidth/Height shim in favor of native properties.
  • Hammer.js dependency (no longer required).
  • Legacy dev tools: jshint, csslint, node-qunit-phantomjs, copy-cli, uglify-js, and qunit (unused in-browser CDN remains for tests).
  • Outdated README credits for removed polyfills.
  • JSLint loop annotations.