Skip to content

chore: release (next) - #11

Open
github-actions[bot] wants to merge 1 commit into
1.xfrom
changeset-release/1.x
Open

github-actions[bot] wants to merge 1 commit into
1.xfrom
changeset-release/1.x

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to 1.x, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

1.x is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on 1.x.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants