Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] release #4921

Merged
merged 1 commit into from
Sep 30, 2022
Merged

[ci] release #4921

merged 1 commit into from
Sep 30, 2022

Conversation

astrobot-houston
Copy link
Contributor

@astrobot-houston astrobot-houston commented Sep 29, 2022

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 main, this PR will be updated.

Releases

@astrojs/image@0.9.0

Minor Changes

  • #4909 989298961 Thanks @tony-sull! - Adds caching support for transformed images 🎉

    Local images will be cached for 1 year and invalidated when the original image file is changed.

    Remote images will be cached based on the fetch() response's cache headers, similar to how a CDN would manage the cache.

    cacheDir

    By default, transformed images will be cached to ./node_modules/.astro/image. This can be configured in the integration's config options.

    export default defineConfig({
    	integrations: [image({
        // may be useful if your hosting provider allows caching between CI builds
        cacheDir: "./.cache/image"
      })]
    });
    

    Caching can also be disabled by using cacheDir: false.

Patch Changes

  • #4933 64a1d712e Thanks @tony-sull! - Fixes a bug in dev when <Image /> is used for a local image with no transformations

astro@1.4.1

Patch Changes

@github-actions github-actions bot added the pkg: integration Related to any renderer integration (scope) label Sep 29, 2022
@github-actions github-actions bot force-pushed the changeset-release/main branch 5 times, most recently from 09ca85c to 892d441 Compare September 30, 2022 17:29
@github-actions github-actions bot force-pushed the changeset-release/main branch from 892d441 to e7dba8b Compare September 30, 2022 17:31
@tony-sull tony-sull merged commit 2ffdaff into main Sep 30, 2022
@tony-sull tony-sull deleted the changeset-release/main branch September 30, 2022 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: integration Related to any renderer integration (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants