Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
10 KiB
@astrojs/image
0.3.6
Patch Changes
- #4338
579e2daf8
Thanks @tony-sull! - When using remote images in SSG builds, query parameters from the original image source should be stripped from final build output
0.3.5
Patch Changes
- #4342
c4af8723b
Thanks @tony-sull! - The integration now includes a logger to better track progress in SSG builds. Use the newlogLevel: "debug"
integration option to see detailed logs of every image transformation built in your project.
0.3.4
Patch Changes
- #4279
42fd6936c
Thanks @FredKSchott! - Add better warnings if the integration was not properly configured.
0.3.3
Patch Changes
- #4221
92aa6a75e
Thanks @alex-drocks! - README update
0.3.2
Patch Changes
- #4140
4678a3f35
Thanks @jackmerrill! - Added support for GIF to Animated WEBP images
- #4173
581120818
Thanks @tony-sull! - Fixes a bug related to local image files in SSR builds on Windows
- #4147
c039ea93a
Thanks @crutchcorn! - Enable usage outside of vite contexts, such as the config file
- #4146
97cf0cd89
Thanks @crutchcorn! - Export all "dist" files
0.3.1
Patch Changes
- #4141
65f2d3b4b
Thanks @FredKSchott! - fix windows "bad package export" error
0.3.0
Minor Changes
- #4045
a397b981f
Thanks @tony-sull! - Big improvements to the TypeScript and Language Tools support for@astrojs/image
🎉
0.2.0
Minor Changes
-
#4015
6fd161d76
Thanks @matthewp! - Newoutput
configuration optionThis change introduces a new "output target" configuration option (
output
). Setting the output target lets you decide the format of your final build, either:"static"
(default): A static site. Your final build will be a collection of static assets (HTML, CSS, JS) that you can deploy to any static site host."server"
: A dynamic server application. Your final build will be an application that will run in a hosted server environment, generating HTML dynamically for different requests.
If
output
is omitted from your config, the default value"static"
will be used.When using the
"server"
output target, you must also include a runtime adapter via theadapter
configuration. An adapter will adapt your final build to run on the deployed platform of your choice (Netlify, Vercel, Node.js, Deno, etc).To migrate: No action is required for most users. If you currently define an
adapter
, you will need to also addoutput: 'server'
to your config file to make it explicit that you are building a server. Here is an example of what that change would look like for someone deploying to Netlify:import { defineConfig } from 'astro/config'; import netlify from '@astrojs/netlify/functions'; export default defineConfig({ adapter: netlify(), + output: 'server', });
- #4013
ef9345767
Thanks @tony-sull! - - Fixes two bugs that were blocking SSR support when deployed to a hosting service- The built-in
sharp
service now automatically rotates images based on EXIF data
- The built-in
Patch Changes
- #3961
d73c04a9e
Thanks @tony-sull! - Updates the component to pass thealt
attribute down to the element
- #4048
e60d6d9c1
Thanks @tony-sull! - Removes Node'sfileURLToPath
dependency in the production SSR endpoint
- #4004
ef9c4152b
Thanks @sarah11918! - [READMEs] removed "experimental" from astro add instructions
- #3980
eaf187f2c
Thanks @tony-sull! - Fixing TypeScript definition exports for image components
0.1.3
Patch Changes
- #3957
2a7dd040e
Thanks @tony-sull! - Improves theastro dev
experience when using a third-party hosted image service
- #3965
299b4afca
Thanks @tony-sull! - Adding a unique hash to remote images built for SSG to ensure unique URLs are always de-duplicated
0.1.2
Patch Changes
0.1.1
Patch Changes
- #3876
f9614128
Thanks @tony-sull! - Bug: Updating the component to default to async image decoding
0.1.0
Minor Changes
- #3866
89d76753
Thanks @tony-sull! - The new<Picture />
component adds art direction support for building responsive images with multiple sizes and file types 🎉
Patch Changes
- #3854
b012ee55
Thanks @bholmesdev! - [astro add] Support adapters and third party packages
- #3869
0aaef1c4
Thanks @tony-sull! - Bugfix: fixing a bug that broke builds in NPM workspaces
0.0.4
Patch Changes
- #3812
5ccccace
Thanks @tony-sull! - - Updates how the<Image />
component is exported to support older versions of Astro- Adds an example of using the
<Image />
component in markdown pages
- Adds an example of using the
0.0.3
Patch Changes
- #3795
d143d24c
Thanks @tony-sull! - Automatically adds the requiredvite.optimizeDeps
config forsharp
. Also ensures that only whole numbers are passed to sharp's resize transform
0.0.2
Patch Changes
- #3788
f4943e0f
Thanks @tony-sull! - Initial release! 🎉