From 802caec5b3dba668c8d25b3354beb0c6c6a12807 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 15 Sep 2026 16:03:22 +0000 Subject: [PATCH] chore: release (next) --- .changeset/pre.json | 5 ++++- CHANGELOG.md | 20 ++++++++++++++++++++ package.json | 2 +- 3 files changed, 25 insertions(+), 2 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index cd752fc..6136bf3 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -4,5 +4,8 @@ "initialVersions": { "@solidjs/image": "0.2.0" }, - "changesets": [] + "changesets": [ + "solid-two-line", + "swift-owls-cache" + ] } diff --git a/CHANGELOG.md b/CHANGELOG.md index 010759a..098fe71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # @solidjs/image +## 1.0.0-next.0 + +### Major Changes + +- d0a8758: Support Solid 2.0. This release line needs `solid-js` and `@solidjs/web` 2.0 or newer, and apps compile it with `@solidjs/vite-plugin`. Solid 1.x stays on the 0.x line of this package. + + The eager image preload now goes through Solid's `useHead`, so it reaches the page head on the server and in the browser. + +### Minor Changes + +- ad3867c: AVIF now encodes at quality 50 by default, and other formats at 80. AVIF reaches similar visual quality at a lower number, and the old shared default of 80 made AVIF files several times larger. `quality` also accepts an object to set formats one by one. + + Cached files now carry a pipeline version, so a plugin update that changes encoding does not reuse old files. Previews are cached on disk like the variants, each image's file and metadata are read once per build, and cached files unused for a week are removed at startup. + + GIF is now a supported input and is processed by default. Animated GIFs keep every frame when the output is WebP or GIF. + + An eager image is now preloaded from the head and gets a high fetch priority. Lazy images decode asynchronously by default. Props that are set still win. + + Image processing is capped at the number of CPU cores at once. Set `concurrency` to change it. + ## 0.2.0 ### Minor Changes diff --git a/package.json b/package.json index deabcae..a5e9c24 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@solidjs/image", - "version": "0.2.0", + "version": "1.0.0-next.0", "description": "Optimized image components and Vite tooling for Solid.", "type": "module", "license": "MIT",