Migrating to SvelteKit @sveltejs/enhanced-img@1.0.0-next.0
Version @sveltejs/enhanced-img@1.0.0-next.0 introduces 2 breaking changes. This guide details how to update your code.
Released: 6/5/2026
2
Breaking Changes
3
Migration Steps
3
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
Node.jsVitevite-plugin-svelteBreaking Changes
●Issue #1
Requires Node.js version 22 or newer. Users must upgrade their Node.js environment.
●Issue #2
Requires Vite version 8 and `vite-plugin-svelte` version 7. Update these dependencies in your project configuration.
Migration Steps
- 1Ensure your environment uses Node.js 22 or newer.
- 2Update Vite dependency to version 8.
- 3Update `vite-plugin-svelte` dependency to version 7.
Release Summary
This release introduces significant breaking changes, primarily by enforcing newer minimum versions for Node.js, Vite, and vite-plugin-svelte.
Need More Details?
View the full release notes and all changes for SvelteKit @sveltejs/enhanced-img@1.0.0-next.0.
View Full Changelog