diff options
Diffstat (limited to 'packages/integrations')
-rw-r--r-- | packages/integrations/cloudflare/package.json | 2 | ||||
-rw-r--r-- | packages/integrations/deno/package.json | 2 | ||||
-rw-r--r-- | packages/integrations/image/CHANGELOG.md | 9 | ||||
-rw-r--r-- | packages/integrations/image/package.json | 4 | ||||
-rw-r--r-- | packages/integrations/markdoc/CHANGELOG.md | 47 | ||||
-rw-r--r-- | packages/integrations/markdoc/package.json | 4 | ||||
-rw-r--r-- | packages/integrations/netlify/package.json | 2 | ||||
-rw-r--r-- | packages/integrations/node/package.json | 2 | ||||
-rw-r--r-- | packages/integrations/partytown/CHANGELOG.md | 6 | ||||
-rw-r--r-- | packages/integrations/partytown/package.json | 2 | ||||
-rw-r--r-- | packages/integrations/svelte/package.json | 2 | ||||
-rw-r--r-- | packages/integrations/tailwind/package.json | 2 | ||||
-rw-r--r-- | packages/integrations/vercel/package.json | 2 | ||||
-rw-r--r-- | packages/integrations/vue/package.json | 2 |
14 files changed, 75 insertions, 13 deletions
diff --git a/packages/integrations/cloudflare/package.json b/packages/integrations/cloudflare/package.json index e97ba7140..c746b1bbb 100644 --- a/packages/integrations/cloudflare/package.json +++ b/packages/integrations/cloudflare/package.json @@ -38,7 +38,7 @@ "tiny-glob": "^0.2.9" }, "peerDependencies": { - "astro": "workspace:^2.1.7" + "astro": "workspace:^2.1.8" }, "devDependencies": { "astro": "workspace:*", diff --git a/packages/integrations/deno/package.json b/packages/integrations/deno/package.json index 6f72bc614..76ae96df8 100644 --- a/packages/integrations/deno/package.json +++ b/packages/integrations/deno/package.json @@ -33,7 +33,7 @@ "esbuild": "^0.15.18" }, "peerDependencies": { - "astro": "workspace:^2.1.7" + "astro": "workspace:^2.1.8" }, "devDependencies": { "astro": "workspace:*", diff --git a/packages/integrations/image/CHANGELOG.md b/packages/integrations/image/CHANGELOG.md index 9104b9003..acae2de03 100644 --- a/packages/integrations/image/CHANGELOG.md +++ b/packages/integrations/image/CHANGELOG.md @@ -1,5 +1,14 @@ # @astrojs/image +## 0.16.3 + +### Patch Changes + +- [#6680](https://github.com/withastro/astro/pull/6680) [`386336441`](https://github.com/withastro/astro/commit/386336441ad70017eea22db0683591126131db21) Thanks [@koriwi](https://github.com/koriwi)! - Invalidates cache when changing serviceEntryPoint + +- Updated dependencies [[`1f783e320`](https://github.com/withastro/astro/commit/1f783e32075c20b13063599696644f5d47b75d8d), [`2e92e9aa9`](https://github.com/withastro/astro/commit/2e92e9aa976735c3ddb647152bb9c4850136e386), [`adecda7d6`](https://github.com/withastro/astro/commit/adecda7d6009793c5d20519a997e3b7afb08ad57), [`386336441`](https://github.com/withastro/astro/commit/386336441ad70017eea22db0683591126131db21), [`7c439868a`](https://github.com/withastro/astro/commit/7c439868a3bc7d466418da9af669966014f3d9fe), [`25cd3e574`](https://github.com/withastro/astro/commit/25cd3e574999c1c7294a089ad8c39df27ccdbf17), [`4bf87c64f`](https://github.com/withastro/astro/commit/4bf87c64ff7e9ca49e0f5c27e06bd49faaf60542), [`fc0ed9c53`](https://github.com/withastro/astro/commit/fc0ed9c53cd374860bbdb2503318a55ca09a2662)]: + - astro@2.1.8 + ## 0.16.2 ### Patch Changes diff --git a/packages/integrations/image/package.json b/packages/integrations/image/package.json index b4d80a83f..4cf72ba5c 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.16.2", + "version": "0.16.3", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -63,7 +63,7 @@ "vite": "^4.1.2" }, "peerDependencies": { - "astro": "workspace:^2.1.7", + "astro": "workspace:^2.1.8", "sharp": ">=0.31.0" }, "peerDependenciesMeta": { diff --git a/packages/integrations/markdoc/CHANGELOG.md b/packages/integrations/markdoc/CHANGELOG.md index f73a9ecc4..74d4a3f33 100644 --- a/packages/integrations/markdoc/CHANGELOG.md +++ b/packages/integrations/markdoc/CHANGELOG.md @@ -1,5 +1,52 @@ # @astrojs/markdoc +## 0.1.0 + +### Minor Changes + +- [#6653](https://github.com/withastro/astro/pull/6653) [`7c439868a`](https://github.com/withastro/astro/commit/7c439868a3bc7d466418da9af669966014f3d9fe) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Simplify Markdoc configuration with a new `markdoc.config.mjs` file. This lets you import Astro components directly to render as Markdoc tags and nodes, without the need for the previous `components` property. This new configuration also unlocks passing variables to your Markdoc from the `Content` component ([see the new docs](https://docs.astro.build/en/guides/integrations-guide/markdoc/#pass-markdoc-variables)). + + ## Migration + + Move any existing Markdoc config from your `astro.config` to a new `markdoc.config.mjs` file at the root of your project. This should be applied as a default export, with the optional `defineMarkdocConfig()` helper for autocomplete in your editor. + + This example configures an `aside` Markdoc tag. Note that components should be imported and applied to the `render` attribute _directly,_ instead of passing the name as a string: + + ```js + // markdoc.config.mjs + import { defineMarkdocConfig } from '@astrojs/markdoc/config'; + import Aside from './src/components/Aside.astro'; + + export default defineMarkdocConfig({ + tags: { + aside: { + render: Aside, + }, + }, + }); + ``` + + You should also remove the `components` prop from your `Content` components. Since components are imported into your config directly, this is no longer needed. + + ```diff + --- + - import Aside from '../components/Aside.astro'; + import { getEntryBySlug } from 'astro:content'; + + const entry = await getEntryBySlug('docs', 'why-markdoc'); + const { Content } = await entry.render(); + --- + + <Content + - components={{ Aside }} + /> + ``` + +### Patch Changes + +- Updated dependencies [[`1f783e320`](https://github.com/withastro/astro/commit/1f783e32075c20b13063599696644f5d47b75d8d), [`2e92e9aa9`](https://github.com/withastro/astro/commit/2e92e9aa976735c3ddb647152bb9c4850136e386), [`adecda7d6`](https://github.com/withastro/astro/commit/adecda7d6009793c5d20519a997e3b7afb08ad57), [`386336441`](https://github.com/withastro/astro/commit/386336441ad70017eea22db0683591126131db21), [`7c439868a`](https://github.com/withastro/astro/commit/7c439868a3bc7d466418da9af669966014f3d9fe), [`25cd3e574`](https://github.com/withastro/astro/commit/25cd3e574999c1c7294a089ad8c39df27ccdbf17), [`4bf87c64f`](https://github.com/withastro/astro/commit/4bf87c64ff7e9ca49e0f5c27e06bd49faaf60542), [`fc0ed9c53`](https://github.com/withastro/astro/commit/fc0ed9c53cd374860bbdb2503318a55ca09a2662)]: + - astro@2.1.8 + ## 0.0.5 ### Patch Changes diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json index b770eb630..f125e3e50 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 pages in your Astro site", - "version": "0.0.5", + "version": "0.1.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -41,7 +41,7 @@ "zod": "^3.17.3" }, "peerDependencies": { - "astro": "workspace:^2.1.0" + "astro": "workspace:^2.1.8" }, "devDependencies": { "@types/chai": "^4.3.1", diff --git a/packages/integrations/netlify/package.json b/packages/integrations/netlify/package.json index 35538fa26..4d368c368 100644 --- a/packages/integrations/netlify/package.json +++ b/packages/integrations/netlify/package.json @@ -39,7 +39,7 @@ "esbuild": "^0.15.18" }, "peerDependencies": { - "astro": "workspace:^2.1.7" + "astro": "workspace:^2.1.8" }, "devDependencies": { "@netlify/edge-handler-types": "^0.34.1", diff --git a/packages/integrations/node/package.json b/packages/integrations/node/package.json index 2f6893e39..21cb8021d 100644 --- a/packages/integrations/node/package.json +++ b/packages/integrations/node/package.json @@ -35,7 +35,7 @@ "server-destroy": "^1.0.1" }, "peerDependencies": { - "astro": "workspace:^2.1.7" + "astro": "workspace:^2.1.8" }, "devDependencies": { "@types/send": "^0.17.1", diff --git a/packages/integrations/partytown/CHANGELOG.md b/packages/integrations/partytown/CHANGELOG.md index a4408fe60..53ecb8ac7 100644 --- a/packages/integrations/partytown/CHANGELOG.md +++ b/packages/integrations/partytown/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/partytown +## 1.2.0 + +### Minor Changes + +- [#6667](https://github.com/withastro/astro/pull/6667) [`aff53c109`](https://github.com/withastro/astro/commit/aff53c109c4f7b08b6b80e58e9ca5cb481131eb5) Thanks [@thebinarymutant](https://github.com/thebinarymutant)! - Expose more partytown config properties + ## 1.1.1 ### Patch Changes diff --git a/packages/integrations/partytown/package.json b/packages/integrations/partytown/package.json index 9b944757e..f44234380 100644 --- a/packages/integrations/partytown/package.json +++ b/packages/integrations/partytown/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/partytown", "description": "Use Partytown to move scripts into a web worker in your Astro project", - "version": "1.1.1", + "version": "1.2.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json index 8ddece204..1149083e4 100644 --- a/packages/integrations/svelte/package.json +++ b/packages/integrations/svelte/package.json @@ -43,7 +43,7 @@ "vite": "^4.1.2" }, "peerDependencies": { - "astro": "workspace:^2.1.7", + "astro": "workspace:^2.1.8", "svelte": "^3.54.0" }, "engines": { diff --git a/packages/integrations/tailwind/package.json b/packages/integrations/tailwind/package.json index cfb94ac16..b2e16adcc 100644 --- a/packages/integrations/tailwind/package.json +++ b/packages/integrations/tailwind/package.json @@ -40,7 +40,7 @@ "vite": "^4.1.2" }, "peerDependencies": { - "astro": "workspace:^2.1.7", + "astro": "workspace:^2.1.8", "tailwindcss": "^3.0.24" }, "pnpm": { diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json index 4ead67050..6d62da0a8 100644 --- a/packages/integrations/vercel/package.json +++ b/packages/integrations/vercel/package.json @@ -53,7 +53,7 @@ "web-vitals": "^3.1.1" }, "peerDependencies": { - "astro": "workspace:^2.1.7" + "astro": "workspace:^2.1.8" }, "devDependencies": { "@types/set-cookie-parser": "^2.4.2", diff --git a/packages/integrations/vue/package.json b/packages/integrations/vue/package.json index b50712619..f778fd5bc 100644 --- a/packages/integrations/vue/package.json +++ b/packages/integrations/vue/package.json @@ -50,7 +50,7 @@ "vue": "^3.2.37" }, "peerDependencies": { - "astro": "workspace:^2.1.7", + "astro": "workspace:^2.1.8", "vue": "^3.2.30" }, "engines": { |