Skip to content

Latest commit

 

History

History
299 lines (149 loc) · 7.57 KB

File metadata and controls

299 lines (149 loc) · 7.57 KB

@sveltejs/enhanced-img

0.10.3

Patch Changes

  • fix: use jpg as a fallback format when source doesn't have an alpha channel (#15243)

0.10.2

Patch Changes

  • fix: upgrade vite-imagetools to 9.0.3 for fix to caching bug (#15305)

0.10.1

Patch Changes

  • fix: replace erroneous import.meta.DEV with import.meta.env.DEV in generated code (#15285)

0.10.0

Minor Changes

  • feat: re-export the Picture type from vite-imagetools (#15225)

0.9.3

Patch Changes

  • fix: ensure compatibility with vite-plugin-svelte@7 (use api.filter instead of api.idFilter) (#15179)

0.9.2

Patch Changes

  • chore: remove duplicate caching layer (#14988)

0.9.1

Patch Changes

  • fix: update vite-imagetools for caching fixes to avoid crashes (#14976)

0.9.0

Minor Changes

  • chore(deps): update dependency vite-imagetools to v9 (#14608)

0.8.5

Patch Changes

  • fix: warn rather than crash when non-enhanced image dynamically passed to enhanced:img (#14845)

0.8.4

Patch Changes

  • fix: add script block only when there are imports to add (#14604)

0.8.3

Patch Changes

  • chore: update "homepage" field in package.json (#14579)

0.8.2

Patch Changes

  • chore: upgrade sharp to 0.34.4 (#14478)

0.8.1

Patch Changes

  • fix(perf): correctly apply id filter from vite-plugin-svelte (#14248)

0.8.0

Minor Changes

  • breaking: upgrade to vite-imagetools 8 to auto-rotate images (#14172)

0.7.1

Patch Changes

  • chore: add .git to the end of package.json repository url (#14134)

0.7.0

Minor Changes

  • breaking: use new filters and enhancements from vite-plugin-svelte. Requires vite >= 6.3 and vite-plugin-svelte >= 6.0. (#13967)

0.6.1

Patch Changes

  • feat: allow vite-plugin-svelte 6 peer dependency (#13921)

0.6.0

Minor Changes

0.5.1

Patch Changes

  • chore(deps): upgrade sharp to 0.34.1 (#13611)

0.5.0

Minor Changes

  • feat: add support for targeting enhanced\:img in CSS (#13617)

0.4.4

Patch Changes

0.4.3

Patch Changes

  • fix: properly handle multiple SVGs (#13127)

0.4.2

Patch Changes

  • feat: set intrinsic width and height for SVGs (#13126)

  • perf: directly inline values since Svelte no longer inlines variables into template (#13035)

0.4.1

Patch Changes

  • fix: correctly handle <enhanced:img /> elements nested in other DOM elements (#12945)

0.4.0

Minor Changes

  • breaking: require Svelte 5 (#12822)

0.3.10

Patch Changes

  • docs: update URLs for new svelte.dev site (#12857)

0.3.9

Patch Changes

  • chore: upgrade svelte-parse-markup (#12793)

0.3.8

Patch Changes

  • fix: import node:process instead of using globals (#12641)

0.3.7

Patch Changes

  • fix: avoid duplicating width/height attributes (#12673)

0.3.6

Patch Changes

0.3.5

Patch Changes

  • perf: hoist vite asset declarations to module block (#12627)

0.3.4

Patch Changes

  • perf: apply performance optimization to dev srcset (#12621)

0.3.3

Patch Changes

  • chore: configure provenance in a simpler manner (#12570)

0.3.2

Patch Changes

0.3.1

Patch Changes

  • fix: make *?enhanced imports available in the ambient context (#12363)

0.3.0

Minor Changes

  • breaking: return plugin synchronously from enhancedImages() (#12297)

Patch Changes

  • chore: add keywords for discovery in npm search (#12330)

0.2.1

Patch Changes

  • fix: use correct type for *?enhanced imports (#12224)

0.2.0

Minor Changes

  • feat: upgrade vite-imagetools to v7. caches build output by default (#12055)

0.1.9

Patch Changes

  • fix: support shorthand attribute syntax (#11884)

0.1.8

Patch Changes

  • fix: correct images cache key to avoid collisions when images have same name (#11602)

0.1.7

Patch Changes

0.1.6

Patch Changes

  • chore: upgrade vite-imagetools (#11122)

0.1.5

Patch Changes

  • fix: correctly generate client-side code (#11059)

0.1.4

Patch Changes

  • fix: avoid creating conflicting import statements (#11047)

0.1.3

Patch Changes

  • fix: only resolve images if optimizable (#11041)

0.1.2

Patch Changes

  • fix: refresh in dev mode when an image changes (#11033)

  • fix: auto-import of svg images (4426daebe)

0.1.1

Patch Changes

  • feat: add experimental @sveltejs/enhanced-img package (#10788)