summaryrefslogtreecommitdiff
path: root/.changeset
diff options
context:
space:
mode:
authorGravatar Erika <3019731+Princesseuh@users.noreply.github.com> 2023-08-16 10:21:05 +0200
committerGravatar GitHub <noreply@github.com> 2023-08-16 10:21:05 +0200
commitb76c166bdd8e28683f62806aef968d1e0c3b06d9 (patch)
tree31a737ce2999e8cd625f3948b4bf326ed8b6489a /.changeset
parente12a1018429eb506a8507a4b9ae57388be4d0f7f (diff)
downloadastro-b76c166bdd8e28683f62806aef968d1e0c3b06d9.tar.gz
astro-b76c166bdd8e28683f62806aef968d1e0c3b06d9.tar.zst
astro-b76c166bdd8e28683f62806aef968d1e0c3b06d9.zip
feat: unflag experimental.assets (#7921)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Diffstat (limited to '.changeset')
-rw-r--r--.changeset/warm-weeks-yell.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/.changeset/warm-weeks-yell.md b/.changeset/warm-weeks-yell.md
new file mode 100644
index 000000000..9c0ca21da
--- /dev/null
+++ b/.changeset/warm-weeks-yell.md
@@ -0,0 +1,13 @@
+---
+"astro": major
+---
+
+`astro:assets` is now enabled by default. If you were previously using the `experimental.assets` flag, please remove it from your config. Also note that the previous `@astrojs/image` integration is incompatible, and must be removed.
+
+This also brings two important changes to using images in Astro:
+
+- New ESM shape: importing an image will now return an object with different properties describing the image such as its path, format and dimensions. This is a breaking change and may require you to update your existing images.
+- In Markdown, MDX, and Markdoc, the `![]()` syntax will now resolve relative images located anywhere in your project in addition to remote images and images stored in the `public/` folder. This notably unlocks storing images next to your content.
+
+Please see our existing [Assets page in Docs](https://docs.astro.build/en/guides/assets/) for more information about using `astro:assets`.
+