Releases: axe312ger/sqip
Releases · axe312ger/sqip
Beta 2
🎉 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-blurhashplugin — generate compact BlurHash placeholders - New
sqip-plugin-triangleplugin — Delaunay triangulation-based placeholders - New
sqip-loader(webpack) andvite-plugin-sqip(Vite) bundler integrations - Interactive Astro demo app with side-by-side plugin comparison — sqip.vercel.app
--printCLI parameter to output SVG directly to stdout- CSS blur support — uses modern
filter: blur()by default, with legacy SVGfeGaussianBlurstill 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
potraceandvibrantlibraries - 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
