summaryrefslogtreecommitdiff
path: root/packages/integrations/image
diff options
context:
space:
mode:
Diffstat (limited to 'packages/integrations/image')
-rw-r--r--packages/integrations/image/CHANGELOG.md13
-rw-r--r--packages/integrations/image/package.json2
2 files changed, 14 insertions, 1 deletions
diff --git a/packages/integrations/image/CHANGELOG.md b/packages/integrations/image/CHANGELOG.md
index 4418b0b5a..54b2eaa9d 100644
--- a/packages/integrations/image/CHANGELOG.md
+++ b/packages/integrations/image/CHANGELOG.md
@@ -1,5 +1,18 @@
# @astrojs/image
+## 0.4.0
+
+### Minor Changes
+
+- [#4482](https://github.com/withastro/astro/pull/4482) [`00c605ce3`](https://github.com/withastro/astro/commit/00c605ce350be83a07c5855f7b99ee41eee1ee38) Thanks [@tony-sull](https://github.com/tony-sull)! - `<Image />` and `<Picture />` now support using images in the `/public` directory :tada:
+
+ - Moving handling of local image files into the Vite plugin
+ - Optimized image files are now built to `/dist` with hashes provided by Vite, removing the need for a `/dist/_image` directory
+ - Removes three npm dependencies: `etag`, `slash`, and `tiny-glob`
+ - Replaces `mrmime` with the `mime` package already used by Astro's SSR server
+ - Simplifies the injected `_image` route to work for both `dev` and `build`
+ - Adds a new test suite for using images with `@astrojs/mdx` - including optimizing images straight from `/public`
+
## 0.3.7
### Patch Changes
diff --git a/packages/integrations/image/package.json b/packages/integrations/image/package.json
index 1cf5d4351..2937f3dfb 100644
--- a/packages/integrations/image/package.json
+++ b/packages/integrations/image/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/image",
"description": "Load and transform images in your Astro site.",
- "version": "0.3.7",
+ "version": "0.4.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",