Skip to content

Releases: axe312ger/sqip

Beta 2

03 Mar 17:25

Choose a tag to compare

Beta 2 Pre-release
Pre-release

🎉 Try the new interactive demo: sqip.vercel.app

This is the first beta release of sqip v1, representing a massive overhaul since the last alpha 38 release (May 2022) — 100+ commits covering new plugins, bundler integrations, ESM migration, and a full documentation rewrite.

New Features

  • New sqip-plugin-blurhash plugin — generate compact BlurHash placeholders
  • New sqip-plugin-triangle plugin — Delaunay triangulation-based placeholders
  • New sqip-loader (webpack) and vite-plugin-sqip (Vite) bundler integrations
  • Interactive Astro demo app with side-by-side plugin comparison — sqip.vercel.app
  • --print CLI parameter to output SVG directly to stdout
  • CSS blur support — uses modern filter: blur() by default, with legacy SVG feGaussianBlur still available (#335, #336)
  • Background color detection & transparent pixel support
  • Background rectangle removal option for the Primitive plugin
  • Improved error messages when plugins fail to load or throw
  • Export more types for better TypeScript DX

Breaking Changes

  • Minimum Node.js version bumped to v20
  • Migrated to ESM — all packages are now ESM-only
  • Upgraded SVGO v3 → v4 and sharp 0.32 → 0.34

Fixes & Improvements

  • Blur plugin now works with transparent primitive backgrounds
  • Buffer input fix (#292)
  • Pixel plugin auto-scales to match original aspect ratio
  • Replaced cheerio with svg.js for SVG manipulation
  • Migrated to better-maintained potrace and vibrant libraries
  • SVG dimensions preserved for better preview quality
  • Comprehensive documentation rewrite with per-plugin READMEs
  • Unit test coverage improved to 93%
  • Migrated test framework from Jest to Vitest

Full changelog

All commits since Alpha 38: sqip@1.0.0-alpha.38...sqip@1.0.0-beta.2

Alpha 38

09 May 18:58

Choose a tag to compare

Alpha 38 Pre-release
Pre-release
  • Support for transparent images!
  • Dependency updates
  • Minor fixes

We go beta soon!

Screenshot 2022-05-09 at 20 57 54