summaryrefslogtreecommitdiff
path: root/packages/integrations/markdoc
diff options
context:
space:
mode:
authorGravatar Houston (Bot) <108291165+astrobot-houston@users.noreply.github.com> 2025-04-15 02:36:51 -0700
committerGravatar GitHub <noreply@github.com> 2025-04-15 10:36:51 +0100
commit59af0cbd0a36a983cd9fefbbca669dae84ce1e94 (patch)
tree31848d4cb87e580a87877080db3e0d963b15dd15 /packages/integrations/markdoc
parentd038030770b294e811beb99c9478fbe4b4cbb968 (diff)
downloadastro-@astrojs/cloudflare@12.5.0.tar.gz
astro-@astrojs/cloudflare@12.5.0.tar.zst
astro-@astrojs/cloudflare@12.5.0.zip
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'packages/integrations/markdoc')
-rw-r--r--packages/integrations/markdoc/CHANGELOG.md36
-rw-r--r--packages/integrations/markdoc/package.json2
2 files changed, 37 insertions, 1 deletions
diff --git a/packages/integrations/markdoc/CHANGELOG.md b/packages/integrations/markdoc/CHANGELOG.md
index b60c3c796..a699cce73 100644
--- a/packages/integrations/markdoc/CHANGELOG.md
+++ b/packages/integrations/markdoc/CHANGELOG.md
@@ -1,5 +1,41 @@
# @astrojs/markdoc
+## 0.14.0
+
+### Minor Changes
+
+- [#13578](https://github.com/withastro/astro/pull/13578) [`406501a`](https://github.com/withastro/astro/commit/406501aeb7f314ae5c31f31a373c270e3b9ec715) Thanks [@stramel](https://github.com/stramel)! - The SVG import feature introduced behind a flag in [v5.0.0](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md#500) is no longer experimental and is available for general use.
+
+ This feature allows you to import SVG files directly into your Astro project as components and inline them into your HTML.
+
+ To use this feature, import an SVG file in your Astro project, passing any common SVG attributes to the imported component.
+
+ ```astro
+ ---
+ import Logo from './path/to/svg/file.svg';
+ ---
+
+ <Logo <Logo width={64} height={64} fill="currentColor" />
+ ```
+
+ If you have been waiting for stabilization before using the SVG Components feature, you can now do so.
+
+ If you were previously using this feature, please remove the experimental flag from your Astro config:
+
+ ```diff
+ import { defineConfig } from 'astro'
+
+ export default defineConfig({
+ - experimental: {
+ - svg: true,
+ - }
+ })
+ ```
+
+ Additionally, a few features that were available during the experimental stage were removed in a previous release. Please see [the v5.6.0 changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md#560) for details if you have not yet already updated your project code for the experimental feature accordingly.
+
+ Please see the [SVG Components guide in docs](https://docs.astro.build/en/guides/images/#svg-components) for more about this feature.
+
## 0.13.4
### Patch Changes
diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json
index 6f07eaf98..9566b4c41 100644
--- a/packages/integrations/markdoc/package.json
+++ b/packages/integrations/markdoc/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/markdoc",
"description": "Add support for Markdoc in your Astro site",
- "version": "0.13.4",
+ "version": "0.14.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",