diff --git a/.changeset/brown-goats-serve.md b/.changeset/brown-goats-serve.md deleted file mode 100644 index 19574439ca6e7..0000000000000 --- a/.changeset/brown-goats-serve.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix image services not being usable on Edge runtimes diff --git a/.changeset/eleven-hotels-roll.md b/.changeset/eleven-hotels-roll.md deleted file mode 100644 index dc4eb3df8e0a1..0000000000000 --- a/.changeset/eleven-hotels-roll.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/rss': patch ---- - -Fix pubDate schema tranformation diff --git a/.changeset/fifty-guests-remember.md b/.changeset/fifty-guests-remember.md deleted file mode 100644 index 8adcf8afd6d4f..0000000000000 --- a/.changeset/fifty-guests-remember.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/vercel': patch ---- - -Correctly handle analytics id where present diff --git a/.changeset/fresh-baboons-switch.md b/.changeset/fresh-baboons-switch.md deleted file mode 100644 index 3d5a686f55d38..0000000000000 --- a/.changeset/fresh-baboons-switch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Escape closing script tag with `define:vars` diff --git a/.changeset/long-starfishes-raise.md b/.changeset/long-starfishes-raise.md deleted file mode 100644 index e081aedbe8390..0000000000000 --- a/.changeset/long-starfishes-raise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix middleware for API endpoints that use `Response`, and log a warning for endpoints that don't use `Response`. diff --git a/.changeset/mighty-shoes-scream.md b/.changeset/mighty-shoes-scream.md deleted file mode 100644 index adacd6ecaa70c..0000000000000 --- a/.changeset/mighty-shoes-scream.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -'astro': minor -'@astrojs/cloudflare': patch -'@astrojs/netlify': patch -'@astrojs/vercel': patch -'@astrojs/image': patch -'@astrojs/deno': patch -'@astrojs/node': patch ---- - -Enable experimental support for hybrid SSR with pre-rendering enabled by default - -__astro.config.mjs__ - ```js -import { defineConfig } from 'astro/config'; -export defaultdefineConfig({ - output: 'hybrid', - experimental: { - hybridOutput: true, - }, -}) - ``` -Then add `export const prerender = false` to any page or endpoint you want to opt-out of pre-rendering. - -__src/pages/contact.astro__ -```astro ---- -export const prerender = false - -if (Astro.request.method === 'POST') { - // handle form submission -} ---- -
- - - -
-``` diff --git a/.changeset/pretty-planets-wink.md b/.changeset/pretty-planets-wink.md deleted file mode 100644 index 23208f833dab1..0000000000000 --- a/.changeset/pretty-planets-wink.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/vercel': minor ---- - -Add `edge-light` and `worker` import condition for worker bundling diff --git a/.changeset/pretty-students-try.md b/.changeset/pretty-students-try.md deleted file mode 100644 index 657d6b6d8df63..0000000000000 --- a/.changeset/pretty-students-try.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@astrojs/markdoc': minor -'astro': patch ---- - -Generate heading `id`s and populate the `headings` property for all Markdoc files diff --git a/.changeset/quiet-gifts-pay.md b/.changeset/quiet-gifts-pay.md deleted file mode 100644 index 55f304aeb7148..0000000000000 --- a/.changeset/quiet-gifts-pay.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/vercel': patch ---- - -Add missing esbuild dependency diff --git a/.changeset/rich-crews-fry.md b/.changeset/rich-crews-fry.md deleted file mode 100644 index 20bd99b680eb3..0000000000000 --- a/.changeset/rich-crews-fry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/cloudflare': minor ---- - -Add `worked` and `worker` import condition for worker bundling diff --git a/.changeset/silver-ties-vanish.md b/.changeset/silver-ties-vanish.md deleted file mode 100644 index 37e994e69db9b..0000000000000 --- a/.changeset/silver-ties-vanish.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@astrojs/cloudflare': patch -'@astrojs/vercel': patch -'@astrojs/solid-js': patch ---- - -Always build edge/worker runtime with Vite `webworker` SSR target diff --git a/.changeset/swift-moons-drop.md b/.changeset/swift-moons-drop.md deleted file mode 100644 index f181941e51a2b..0000000000000 --- a/.changeset/swift-moons-drop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix double prepended forward slash in SSR diff --git a/.changeset/tall-eyes-vanish.md b/.changeset/tall-eyes-vanish.md deleted file mode 100644 index 06b7f62696a2a..0000000000000 --- a/.changeset/tall-eyes-vanish.md +++ /dev/null @@ -1,51 +0,0 @@ ---- -'astro': minor ---- - -Integrations can add new `client:` directives through the `astro:config:setup` hook's `addClientDirective()` API. To enable this API, the user needs to set `experimental.customClientDirectives` to `true` in their config. - -```js -import { defineConfig } from 'astro/config'; -import onClickDirective from 'astro-click-directive'; - -export default defineConfig({ - integrations: [onClickDirective()], - experimental: { - customClientDirectives: true - } -}); -``` - -```js -export default function onClickDirective() { - return { - hooks: { - 'astro:config:setup': ({ addClientDirective }) => { - addClientDirective({ - name: 'click', - entrypoint: 'astro-click-directive/click.js' - }); - }, - } - } -} -``` - -```astro - -``` - -The client directive file (e.g. `astro-click-directive/click.js`) should export a function of type `ClientDirective`: - -```ts -import type { ClientDirective } from 'astro' - -const clickDirective: ClientDirective = (load, opts, el) => { - window.addEventListener('click', async () => { - const hydrate = await load() - await hydrate() - }, { once: true }) -} - -export default clickDirective -``` diff --git a/.changeset/young-impalas-boil.md b/.changeset/young-impalas-boil.md deleted file mode 100644 index bfcb25107e591..0000000000000 --- a/.changeset/young-impalas-boil.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -'@astrojs/cloudflare': patch -'@astrojs/turbolinks': patch -'@astrojs/partytown': patch -'@astrojs/alpinejs': patch -'@astrojs/prefetch': patch -'@astrojs/tailwind': patch -'@astrojs/markdoc': patch -'@astrojs/netlify': patch -'@astrojs/preact': patch -'@astrojs/svelte': patch -'@astrojs/vercel': patch -'@astrojs/react': patch -'@astrojs/solid-js': patch -'@astrojs/markdown-component': patch -'@astrojs/deno': patch -'@astrojs/node': patch -'@astrojs/lit': patch -'@astrojs/mdx': patch -'@astrojs/vue': patch -'@astrojs/markdown-remark': patch -'@astrojs/prism': patch -'@astrojs/rss': patch ---- - -Specify `"files"` field to only publish necessary files diff --git a/packages/astro-prism/CHANGELOG.md b/packages/astro-prism/CHANGELOG.md index 714458b49e5f3..dae8671f9ba06 100644 --- a/packages/astro-prism/CHANGELOG.md +++ b/packages/astro-prism/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/prism +## 2.1.2 + +### Patch Changes + +- [#7104](https://github.com/withastro/astro/pull/7104) [`826e02890`](https://github.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa) Thanks [@bluwy](https://github.com/bluwy)! - Specify `"files"` field to only publish necessary files + ## 2.1.1 ### Patch Changes diff --git a/packages/astro-prism/package.json b/packages/astro-prism/package.json index abf05dffb2bdc..c658e329385f1 100644 --- a/packages/astro-prism/package.json +++ b/packages/astro-prism/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/prism", - "version": "2.1.1", + "version": "2.1.2", "description": "Add Prism syntax highlighting support to your Astro site", "author": "withastro", "type": "module", diff --git a/packages/astro-rss/CHANGELOG.md b/packages/astro-rss/CHANGELOG.md index 20c712dfaba1b..cd17b4fa9f633 100644 --- a/packages/astro-rss/CHANGELOG.md +++ b/packages/astro-rss/CHANGELOG.md @@ -1,5 +1,13 @@ # @astrojs/rss +## 2.4.2 + +### Patch Changes + +- [#7066](https://github.com/withastro/astro/pull/7066) [`a37e67b52`](https://github.com/withastro/astro/commit/a37e67b520dc35dbf40313c77490a97446de2f74) Thanks [@TheOtterlord](https://github.com/TheOtterlord)! - Fix pubDate schema tranformation + +- [#7104](https://github.com/withastro/astro/pull/7104) [`826e02890`](https://github.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa) Thanks [@bluwy](https://github.com/bluwy)! - Specify `"files"` field to only publish necessary files + ## 2.4.1 ### Patch Changes diff --git a/packages/astro-rss/package.json b/packages/astro-rss/package.json index 4151647d0cbcb..a6f65ae67009f 100644 --- a/packages/astro-rss/package.json +++ b/packages/astro-rss/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/rss", "description": "Add RSS feeds to your Astro projects", - "version": "2.4.1", + "version": "2.4.2", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index fc7cf9d6a0d53..e5e8a19edd07e 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,110 @@ # astro +## 2.5.0 + +### Minor Changes + +- [#6991](https://github.com/withastro/astro/pull/6991) [`719002ca5`](https://github.com/withastro/astro/commit/719002ca5b128744fb4316d4a52c5dcd46a42759) Thanks [@MoustaphaDev](https://github.com/MoustaphaDev)! - Enable experimental support for hybrid SSR with pre-rendering enabled by default + + **astro.config.mjs** + + ```js + import { defineConfig } from 'astro/config'; + export defaultdefineConfig({ + output: 'hybrid', + experimental: { + hybridOutput: true, + }, + }) + ``` + + Then add `export const prerender = false` to any page or endpoint you want to opt-out of pre-rendering. + + **src/pages/contact.astro** + + ```astro + --- + export const prerender = false; + + if (Astro.request.method === 'POST') { + // handle form submission + } + --- + +
+ + + +
+ ``` + +- [#7074](https://github.com/withastro/astro/pull/7074) [`73ec6f6c1`](https://github.com/withastro/astro/commit/73ec6f6c16cadb71dafe9f664f0debde072c3173) Thanks [@bluwy](https://github.com/bluwy)! - Integrations can add new `client:` directives through the `astro:config:setup` hook's `addClientDirective()` API. To enable this API, the user needs to set `experimental.customClientDirectives` to `true` in their config. + + ```js + import { defineConfig } from 'astro/config'; + import onClickDirective from 'astro-click-directive'; + + export default defineConfig({ + integrations: [onClickDirective()], + experimental: { + customClientDirectives: true, + }, + }); + ``` + + ```js + export default function onClickDirective() { + return { + hooks: { + 'astro:config:setup': ({ addClientDirective }) => { + addClientDirective({ + name: 'click', + entrypoint: 'astro-click-directive/click.js', + }); + }, + }, + }; + } + ``` + + ```astro + + ``` + + The client directive file (e.g. `astro-click-directive/click.js`) should export a function of type `ClientDirective`: + + ```ts + import type { ClientDirective } from 'astro'; + + const clickDirective: ClientDirective = (load, opts, el) => { + window.addEventListener( + 'click', + async () => { + const hydrate = await load(); + await hydrate(); + }, + { once: true } + ); + }; + + export default clickDirective; + ``` + +### Patch Changes + +- [#7102](https://github.com/withastro/astro/pull/7102) [`4516d7b22`](https://github.com/withastro/astro/commit/4516d7b22c5979cde4537f196b53ae2826ba9561) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fix image services not being usable on Edge runtimes + +- [#7044](https://github.com/withastro/astro/pull/7044) [`914c439bc`](https://github.com/withastro/astro/commit/914c439bccee9fec002c6d92beaa501c398e62ac) Thanks [@Steffan153](https://github.com/Steffan153)! - Escape closing script tag with `define:vars` + +- [#7106](https://github.com/withastro/astro/pull/7106) [`075eee08f`](https://github.com/withastro/astro/commit/075eee08f2e2b0baea008b97f3523f2cb937ee44) Thanks [@ematipico](https://github.com/ematipico)! - Fix middleware for API endpoints that use `Response`, and log a warning for endpoints that don't use `Response`. + +- [#7095](https://github.com/withastro/astro/pull/7095) [`fb84622af`](https://github.com/withastro/astro/commit/fb84622af04f795de8d17f24192de105f70fe910) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Generate heading `id`s and populate the `headings` property for all Markdoc files + +- [#7091](https://github.com/withastro/astro/pull/7091) [`cd410c5eb`](https://github.com/withastro/astro/commit/cd410c5eb71f825259279c27c4c39d0ad282c3f0) Thanks [@MoustaphaDev](https://github.com/MoustaphaDev)! - Fix double prepended forward slash in SSR + +- Updated dependencies [[`826e02890`](https://github.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa)]: + - @astrojs/markdown-remark@2.2.1 + ## 2.4.5 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 56d9ed1028e63..e7d92527e6a0e 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "2.4.5", + "version": "2.5.0", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", @@ -115,7 +115,7 @@ "dependencies": { "@astrojs/compiler": "^1.4.0", "@astrojs/language-server": "^1.0.0", - "@astrojs/markdown-remark": "^2.2.0", + "@astrojs/markdown-remark": "^2.2.1", "@astrojs/telemetry": "^2.1.1", "@astrojs/webapi": "^2.1.1", "@babel/core": "^7.18.2", diff --git a/packages/integrations/alpinejs/CHANGELOG.md b/packages/integrations/alpinejs/CHANGELOG.md index 1d0900477b29d..f19d0c22905a0 100644 --- a/packages/integrations/alpinejs/CHANGELOG.md +++ b/packages/integrations/alpinejs/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/alpinejs +## 0.2.2 + +### Patch Changes + +- [#7104](https://github.com/withastro/astro/pull/7104) [`826e02890`](https://github.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa) Thanks [@bluwy](https://github.com/bluwy)! - Specify `"files"` field to only publish necessary files + ## 0.2.1 ### Patch Changes diff --git a/packages/integrations/alpinejs/package.json b/packages/integrations/alpinejs/package.json index bba68e3333246..d1b6a6b497807 100644 --- a/packages/integrations/alpinejs/package.json +++ b/packages/integrations/alpinejs/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/alpinejs", "description": "Use Alpine within Astro", - "version": "0.2.1", + "version": "0.2.2", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/cloudflare/CHANGELOG.md b/packages/integrations/cloudflare/CHANGELOG.md index 32e477035a616..81a4ea57f9469 100644 --- a/packages/integrations/cloudflare/CHANGELOG.md +++ b/packages/integrations/cloudflare/CHANGELOG.md @@ -1,5 +1,54 @@ # @astrojs/cloudflare +## 6.3.0 + +### Minor Changes + +- [#7092](https://github.com/withastro/astro/pull/7092) [`2a1fa09b3`](https://github.com/withastro/astro/commit/2a1fa09b3199ae35801dd0d02ae293198d9a7382) Thanks [@johannesspohr](https://github.com/johannesspohr)! - Add `worked` and `worker` import condition for worker bundling + +### Patch Changes + +- [#6991](https://github.com/withastro/astro/pull/6991) [`719002ca5`](https://github.com/withastro/astro/commit/719002ca5b128744fb4316d4a52c5dcd46a42759) Thanks [@MoustaphaDev](https://github.com/MoustaphaDev)! - Enable experimental support for hybrid SSR with pre-rendering enabled by default + + **astro.config.mjs** + + ```js + import { defineConfig } from 'astro/config'; + export defaultdefineConfig({ + output: 'hybrid', + experimental: { + hybridOutput: true, + }, + }) + ``` + + Then add `export const prerender = false` to any page or endpoint you want to opt-out of pre-rendering. + + **src/pages/contact.astro** + + ```astro + --- + export const prerender = false; + + if (Astro.request.method === 'POST') { + // handle form submission + } + --- + +
+ + + +
+ ``` + +- [#7101](https://github.com/withastro/astro/pull/7101) [`2994bc52d`](https://github.com/withastro/astro/commit/2994bc52d360bf7ca3681c5f6976e64577cf5209) Thanks [@bluwy](https://github.com/bluwy)! - Always build edge/worker runtime with Vite `webworker` SSR target + +- [#7104](https://github.com/withastro/astro/pull/7104) [`826e02890`](https://github.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa) Thanks [@bluwy](https://github.com/bluwy)! - Specify `"files"` field to only publish necessary files + +- Updated dependencies [[`4516d7b22`](https://github.com/withastro/astro/commit/4516d7b22c5979cde4537f196b53ae2826ba9561), [`914c439bc`](https://github.com/withastro/astro/commit/914c439bccee9fec002c6d92beaa501c398e62ac), [`075eee08f`](https://github.com/withastro/astro/commit/075eee08f2e2b0baea008b97f3523f2cb937ee44), [`719002ca5`](https://github.com/withastro/astro/commit/719002ca5b128744fb4316d4a52c5dcd46a42759), [`fb84622af`](https://github.com/withastro/astro/commit/fb84622af04f795de8d17f24192de105f70fe910), [`cd410c5eb`](https://github.com/withastro/astro/commit/cd410c5eb71f825259279c27c4c39d0ad282c3f0), [`73ec6f6c1`](https://github.com/withastro/astro/commit/73ec6f6c16cadb71dafe9f664f0debde072c3173)]: + - astro@2.5.0 + ## 6.2.4 ### Patch Changes diff --git a/packages/integrations/cloudflare/package.json b/packages/integrations/cloudflare/package.json index 4991ee196a4f0..5541200ba6400 100644 --- a/packages/integrations/cloudflare/package.json +++ b/packages/integrations/cloudflare/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/cloudflare", "description": "Deploy your site to Cloudflare Workers/Pages", - "version": "6.2.4", + "version": "6.3.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -42,7 +42,7 @@ "tiny-glob": "^0.2.9" }, "peerDependencies": { - "astro": "workspace:^2.4.5" + "astro": "workspace:^2.5.0" }, "devDependencies": { "astro": "workspace:*", diff --git a/packages/integrations/deno/CHANGELOG.md b/packages/integrations/deno/CHANGELOG.md index 0e127c085ff7b..9a161c5bc3864 100644 --- a/packages/integrations/deno/CHANGELOG.md +++ b/packages/integrations/deno/CHANGELOG.md @@ -1,5 +1,48 @@ # @astrojs/deno +## 4.1.1 + +### Patch Changes + +- [#6991](https://github.com/withastro/astro/pull/6991) [`719002ca5`](https://github.com/withastro/astro/commit/719002ca5b128744fb4316d4a52c5dcd46a42759) Thanks [@MoustaphaDev](https://github.com/MoustaphaDev)! - Enable experimental support for hybrid SSR with pre-rendering enabled by default + + **astro.config.mjs** + + ```js + import { defineConfig } from 'astro/config'; + export defaultdefineConfig({ + output: 'hybrid', + experimental: { + hybridOutput: true, + }, + }) + ``` + + Then add `export const prerender = false` to any page or endpoint you want to opt-out of pre-rendering. + + **src/pages/contact.astro** + + ```astro + --- + export const prerender = false; + + if (Astro.request.method === 'POST') { + // handle form submission + } + --- + +
+ + + +
+ ``` + +- [#7104](https://github.com/withastro/astro/pull/7104) [`826e02890`](https://github.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa) Thanks [@bluwy](https://github.com/bluwy)! - Specify `"files"` field to only publish necessary files + +- Updated dependencies [[`4516d7b22`](https://github.com/withastro/astro/commit/4516d7b22c5979cde4537f196b53ae2826ba9561), [`914c439bc`](https://github.com/withastro/astro/commit/914c439bccee9fec002c6d92beaa501c398e62ac), [`075eee08f`](https://github.com/withastro/astro/commit/075eee08f2e2b0baea008b97f3523f2cb937ee44), [`719002ca5`](https://github.com/withastro/astro/commit/719002ca5b128744fb4316d4a52c5dcd46a42759), [`fb84622af`](https://github.com/withastro/astro/commit/fb84622af04f795de8d17f24192de105f70fe910), [`cd410c5eb`](https://github.com/withastro/astro/commit/cd410c5eb71f825259279c27c4c39d0ad282c3f0), [`73ec6f6c1`](https://github.com/withastro/astro/commit/73ec6f6c16cadb71dafe9f664f0debde072c3173)]: + - astro@2.5.0 + ## 4.1.0 ### Minor Changes diff --git a/packages/integrations/deno/package.json b/packages/integrations/deno/package.json index e6c6f3ab05082..f5f9657d8bb6c 100644 --- a/packages/integrations/deno/package.json +++ b/packages/integrations/deno/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/deno", "description": "Deploy your site to a Deno server", - "version": "4.1.0", + "version": "4.1.1", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -36,7 +36,7 @@ "esbuild": "^0.15.18" }, "peerDependencies": { - "astro": "workspace:^2.4.5" + "astro": "workspace:^2.5.0" }, "devDependencies": { "astro": "workspace:*", diff --git a/packages/integrations/image/CHANGELOG.md b/packages/integrations/image/CHANGELOG.md index 39335cc5cc8cb..8dd72cf2a75f6 100644 --- a/packages/integrations/image/CHANGELOG.md +++ b/packages/integrations/image/CHANGELOG.md @@ -1,5 +1,46 @@ # @astrojs/image +## 0.16.9 + +### Patch Changes + +- [#6991](https://github.com/withastro/astro/pull/6991) [`719002ca5`](https://github.com/withastro/astro/commit/719002ca5b128744fb4316d4a52c5dcd46a42759) Thanks [@MoustaphaDev](https://github.com/MoustaphaDev)! - Enable experimental support for hybrid SSR with pre-rendering enabled by default + + **astro.config.mjs** + + ```js + import { defineConfig } from 'astro/config'; + export defaultdefineConfig({ + output: 'hybrid', + experimental: { + hybridOutput: true, + }, + }) + ``` + + Then add `export const prerender = false` to any page or endpoint you want to opt-out of pre-rendering. + + **src/pages/contact.astro** + + ```astro + --- + export const prerender = false; + + if (Astro.request.method === 'POST') { + // handle form submission + } + --- + +
+ + + +
+ ``` + +- Updated dependencies [[`4516d7b22`](https://github.com/withastro/astro/commit/4516d7b22c5979cde4537f196b53ae2826ba9561), [`914c439bc`](https://github.com/withastro/astro/commit/914c439bccee9fec002c6d92beaa501c398e62ac), [`075eee08f`](https://github.com/withastro/astro/commit/075eee08f2e2b0baea008b97f3523f2cb937ee44), [`719002ca5`](https://github.com/withastro/astro/commit/719002ca5b128744fb4316d4a52c5dcd46a42759), [`fb84622af`](https://github.com/withastro/astro/commit/fb84622af04f795de8d17f24192de105f70fe910), [`cd410c5eb`](https://github.com/withastro/astro/commit/cd410c5eb71f825259279c27c4c39d0ad282c3f0), [`73ec6f6c1`](https://github.com/withastro/astro/commit/73ec6f6c16cadb71dafe9f664f0debde072c3173)]: + - astro@2.5.0 + ## 0.16.8 ### Patch Changes diff --git a/packages/integrations/image/package.json b/packages/integrations/image/package.json index df2f932de65ba..a685dcd74e01b 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.8", + "version": "0.16.9", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -62,7 +62,7 @@ "vite": "^4.3.1" }, "peerDependencies": { - "astro": "workspace:^2.4.5", + "astro": "workspace:^2.5.0", "sharp": ">=0.31.0" }, "peerDependenciesMeta": { diff --git a/packages/integrations/lit/CHANGELOG.md b/packages/integrations/lit/CHANGELOG.md index 31c9416c1741a..6a1fa51bb9420 100644 --- a/packages/integrations/lit/CHANGELOG.md +++ b/packages/integrations/lit/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/lit +## 2.0.2 + +### Patch Changes + +- [#7104](https://github.com/withastro/astro/pull/7104) [`826e02890`](https://github.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa) Thanks [@bluwy](https://github.com/bluwy)! - Specify `"files"` field to only publish necessary files + ## 2.0.1 ### Patch Changes diff --git a/packages/integrations/lit/package.json b/packages/integrations/lit/package.json index 44f7626ecb9c7..41c03a2183c3a 100644 --- a/packages/integrations/lit/package.json +++ b/packages/integrations/lit/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/lit", - "version": "2.0.1", + "version": "2.0.2", "description": "Use Lit components within Astro", "type": "module", "types": "./dist/index.d.ts", diff --git a/packages/integrations/markdoc/CHANGELOG.md b/packages/integrations/markdoc/CHANGELOG.md index 2df8c3061eb2a..55469f7f481b5 100644 --- a/packages/integrations/markdoc/CHANGELOG.md +++ b/packages/integrations/markdoc/CHANGELOG.md @@ -1,5 +1,18 @@ # @astrojs/markdoc +## 0.2.0 + +### Minor Changes + +- [#7095](https://github.com/withastro/astro/pull/7095) [`fb84622af`](https://github.com/withastro/astro/commit/fb84622af04f795de8d17f24192de105f70fe910) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Generate heading `id`s and populate the `headings` property for all Markdoc files + +### Patch Changes + +- [#7104](https://github.com/withastro/astro/pull/7104) [`826e02890`](https://github.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa) Thanks [@bluwy](https://github.com/bluwy)! - Specify `"files"` field to only publish necessary files + +- Updated dependencies [[`4516d7b22`](https://github.com/withastro/astro/commit/4516d7b22c5979cde4537f196b53ae2826ba9561), [`914c439bc`](https://github.com/withastro/astro/commit/914c439bccee9fec002c6d92beaa501c398e62ac), [`075eee08f`](https://github.com/withastro/astro/commit/075eee08f2e2b0baea008b97f3523f2cb937ee44), [`719002ca5`](https://github.com/withastro/astro/commit/719002ca5b128744fb4316d4a52c5dcd46a42759), [`fb84622af`](https://github.com/withastro/astro/commit/fb84622af04f795de8d17f24192de105f70fe910), [`cd410c5eb`](https://github.com/withastro/astro/commit/cd410c5eb71f825259279c27c4c39d0ad282c3f0), [`73ec6f6c1`](https://github.com/withastro/astro/commit/73ec6f6c16cadb71dafe9f664f0debde072c3173)]: + - astro@2.5.0 + ## 0.1.3 ### Patch Changes diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json index 5ea8895a88973..acda2e24001b9 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.1.3", + "version": "0.2.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -47,10 +47,10 @@ "zod": "^3.17.3" }, "peerDependencies": { - "astro": "workspace:^2.4.5" + "astro": "workspace:^2.5.0" }, "devDependencies": { - "@astrojs/markdown-remark": "^2.2.0", + "@astrojs/markdown-remark": "^2.2.1", "@types/chai": "^4.3.1", "@types/html-escaper": "^3.0.0", "@types/mocha": "^9.1.1", diff --git a/packages/integrations/mdx/CHANGELOG.md b/packages/integrations/mdx/CHANGELOG.md index e78ae02a7168c..8f23d98ba912f 100644 --- a/packages/integrations/mdx/CHANGELOG.md +++ b/packages/integrations/mdx/CHANGELOG.md @@ -1,5 +1,15 @@ # @astrojs/mdx +## 0.19.2 + +### Patch Changes + +- [#7104](https://github.com/withastro/astro/pull/7104) [`826e02890`](https://github.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa) Thanks [@bluwy](https://github.com/bluwy)! - Specify `"files"` field to only publish necessary files + +- Updated dependencies [[`826e02890`](https://github.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa)]: + - @astrojs/markdown-remark@2.2.1 + - @astrojs/prism@2.1.2 + ## 0.19.1 ### Patch Changes diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index 40d9d32c38a3a..52627a5ca7b2c 100644 --- a/packages/integrations/mdx/package.json +++ b/packages/integrations/mdx/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/mdx", "description": "Add support for MDX pages in your Astro site", - "version": "0.19.1", + "version": "0.19.2", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -34,8 +34,8 @@ "test:match": "mocha --timeout 20000 -g" }, "dependencies": { - "@astrojs/markdown-remark": "^2.2.0", - "@astrojs/prism": "^2.1.1", + "@astrojs/markdown-remark": "^2.2.1", + "@astrojs/prism": "^2.1.2", "@mdx-js/mdx": "^2.3.0", "@mdx-js/rollup": "^2.3.0", "acorn": "^8.8.0", diff --git a/packages/integrations/netlify/CHANGELOG.md b/packages/integrations/netlify/CHANGELOG.md index d20a49888f4b6..455c3bce5f3db 100644 --- a/packages/integrations/netlify/CHANGELOG.md +++ b/packages/integrations/netlify/CHANGELOG.md @@ -1,5 +1,48 @@ # @astrojs/netlify +## 2.2.3 + +### Patch Changes + +- [#6991](https://github.com/withastro/astro/pull/6991) [`719002ca5`](https://github.com/withastro/astro/commit/719002ca5b128744fb4316d4a52c5dcd46a42759) Thanks [@MoustaphaDev](https://github.com/MoustaphaDev)! - Enable experimental support for hybrid SSR with pre-rendering enabled by default + + **astro.config.mjs** + + ```js + import { defineConfig } from 'astro/config'; + export defaultdefineConfig({ + output: 'hybrid', + experimental: { + hybridOutput: true, + }, + }) + ``` + + Then add `export const prerender = false` to any page or endpoint you want to opt-out of pre-rendering. + + **src/pages/contact.astro** + + ```astro + --- + export const prerender = false; + + if (Astro.request.method === 'POST') { + // handle form submission + } + --- + +
+ + + +
+ ``` + +- [#7104](https://github.com/withastro/astro/pull/7104) [`826e02890`](https://github.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa) Thanks [@bluwy](https://github.com/bluwy)! - Specify `"files"` field to only publish necessary files + +- Updated dependencies [[`4516d7b22`](https://github.com/withastro/astro/commit/4516d7b22c5979cde4537f196b53ae2826ba9561), [`914c439bc`](https://github.com/withastro/astro/commit/914c439bccee9fec002c6d92beaa501c398e62ac), [`075eee08f`](https://github.com/withastro/astro/commit/075eee08f2e2b0baea008b97f3523f2cb937ee44), [`719002ca5`](https://github.com/withastro/astro/commit/719002ca5b128744fb4316d4a52c5dcd46a42759), [`fb84622af`](https://github.com/withastro/astro/commit/fb84622af04f795de8d17f24192de105f70fe910), [`cd410c5eb`](https://github.com/withastro/astro/commit/cd410c5eb71f825259279c27c4c39d0ad282c3f0), [`73ec6f6c1`](https://github.com/withastro/astro/commit/73ec6f6c16cadb71dafe9f664f0debde072c3173)]: + - astro@2.5.0 + ## 2.2.2 ### Patch Changes diff --git a/packages/integrations/netlify/package.json b/packages/integrations/netlify/package.json index d30e44c90951e..fce39c646a7d5 100644 --- a/packages/integrations/netlify/package.json +++ b/packages/integrations/netlify/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/netlify", "description": "Deploy your site to Netlify", - "version": "2.2.2", + "version": "2.2.3", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -42,7 +42,7 @@ "esbuild": "^0.15.18" }, "peerDependencies": { - "astro": "workspace:^2.4.5" + "astro": "workspace:^2.5.0" }, "devDependencies": { "@netlify/edge-functions": "^2.0.0", diff --git a/packages/integrations/node/CHANGELOG.md b/packages/integrations/node/CHANGELOG.md index 06965e8521da7..384b01c90a420 100644 --- a/packages/integrations/node/CHANGELOG.md +++ b/packages/integrations/node/CHANGELOG.md @@ -1,5 +1,48 @@ # @astrojs/node +## 5.1.4 + +### Patch Changes + +- [#6991](https://github.com/withastro/astro/pull/6991) [`719002ca5`](https://github.com/withastro/astro/commit/719002ca5b128744fb4316d4a52c5dcd46a42759) Thanks [@MoustaphaDev](https://github.com/MoustaphaDev)! - Enable experimental support for hybrid SSR with pre-rendering enabled by default + + **astro.config.mjs** + + ```js + import { defineConfig } from 'astro/config'; + export defaultdefineConfig({ + output: 'hybrid', + experimental: { + hybridOutput: true, + }, + }) + ``` + + Then add `export const prerender = false` to any page or endpoint you want to opt-out of pre-rendering. + + **src/pages/contact.astro** + + ```astro + --- + export const prerender = false; + + if (Astro.request.method === 'POST') { + // handle form submission + } + --- + +
+ + + +
+ ``` + +- [#7104](https://github.com/withastro/astro/pull/7104) [`826e02890`](https://github.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa) Thanks [@bluwy](https://github.com/bluwy)! - Specify `"files"` field to only publish necessary files + +- Updated dependencies [[`4516d7b22`](https://github.com/withastro/astro/commit/4516d7b22c5979cde4537f196b53ae2826ba9561), [`914c439bc`](https://github.com/withastro/astro/commit/914c439bccee9fec002c6d92beaa501c398e62ac), [`075eee08f`](https://github.com/withastro/astro/commit/075eee08f2e2b0baea008b97f3523f2cb937ee44), [`719002ca5`](https://github.com/withastro/astro/commit/719002ca5b128744fb4316d4a52c5dcd46a42759), [`fb84622af`](https://github.com/withastro/astro/commit/fb84622af04f795de8d17f24192de105f70fe910), [`cd410c5eb`](https://github.com/withastro/astro/commit/cd410c5eb71f825259279c27c4c39d0ad282c3f0), [`73ec6f6c1`](https://github.com/withastro/astro/commit/73ec6f6c16cadb71dafe9f664f0debde072c3173)]: + - astro@2.5.0 + ## 5.1.3 ### Patch Changes diff --git a/packages/integrations/node/package.json b/packages/integrations/node/package.json index 152e281e81dbe..f98b58f5927d5 100644 --- a/packages/integrations/node/package.json +++ b/packages/integrations/node/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/node", "description": "Deploy your site to a Node.js server", - "version": "5.1.3", + "version": "5.1.4", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -38,7 +38,7 @@ "server-destroy": "^1.0.1" }, "peerDependencies": { - "astro": "workspace:^2.4.5" + "astro": "workspace:^2.5.0" }, "devDependencies": { "@types/send": "^0.17.1", diff --git a/packages/integrations/partytown/CHANGELOG.md b/packages/integrations/partytown/CHANGELOG.md index d038abce92faa..d6a224fd169d3 100644 --- a/packages/integrations/partytown/CHANGELOG.md +++ b/packages/integrations/partytown/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/partytown +## 1.2.2 + +### Patch Changes + +- [#7104](https://github.com/withastro/astro/pull/7104) [`826e02890`](https://github.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa) Thanks [@bluwy](https://github.com/bluwy)! - Specify `"files"` field to only publish necessary files + ## 1.2.1 ### Patch Changes diff --git a/packages/integrations/partytown/package.json b/packages/integrations/partytown/package.json index 549730f9ee108..b2e9823a782b5 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.2.1", + "version": "1.2.2", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/preact/CHANGELOG.md b/packages/integrations/preact/CHANGELOG.md index 619c305df11ed..78e30ea0bb451 100644 --- a/packages/integrations/preact/CHANGELOG.md +++ b/packages/integrations/preact/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/preact +## 2.1.1 + +### Patch Changes + +- [#7104](https://github.com/withastro/astro/pull/7104) [`826e02890`](https://github.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa) Thanks [@bluwy](https://github.com/bluwy)! - Specify `"files"` field to only publish necessary files + ## 2.1.0 ### Minor Changes diff --git a/packages/integrations/preact/package.json b/packages/integrations/preact/package.json index ccff0a95e6e6f..9cc0c8af67504 100644 --- a/packages/integrations/preact/package.json +++ b/packages/integrations/preact/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/preact", "description": "Use Preact components within Astro", - "version": "2.1.0", + "version": "2.1.1", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/prefetch/CHANGELOG.md b/packages/integrations/prefetch/CHANGELOG.md index b1d0485262678..96cd904bb6054 100644 --- a/packages/integrations/prefetch/CHANGELOG.md +++ b/packages/integrations/prefetch/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/prefetch +## 0.2.2 + +### Patch Changes + +- [#7104](https://github.com/withastro/astro/pull/7104) [`826e02890`](https://github.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa) Thanks [@bluwy](https://github.com/bluwy)! - Specify `"files"` field to only publish necessary files + ## 0.2.1 ### Patch Changes diff --git a/packages/integrations/prefetch/package.json b/packages/integrations/prefetch/package.json index 7c7bc7ea69896..03c7508e91ddc 100644 --- a/packages/integrations/prefetch/package.json +++ b/packages/integrations/prefetch/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/prefetch", "description": "Prefetch page navigations in your Astro site", - "version": "0.2.1", + "version": "0.2.2", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/react/CHANGELOG.md b/packages/integrations/react/CHANGELOG.md index 567a826a3d7c9..4e944d836d1aa 100644 --- a/packages/integrations/react/CHANGELOG.md +++ b/packages/integrations/react/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/react +## 2.1.4 + +### Patch Changes + +- [#7104](https://github.com/withastro/astro/pull/7104) [`826e02890`](https://github.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa) Thanks [@bluwy](https://github.com/bluwy)! - Specify `"files"` field to only publish necessary files + ## 2.1.3 ### Patch Changes diff --git a/packages/integrations/react/package.json b/packages/integrations/react/package.json index 8947f6b161c1d..f8d5af85d1417 100644 --- a/packages/integrations/react/package.json +++ b/packages/integrations/react/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/react", "description": "Use React components within Astro", - "version": "2.1.3", + "version": "2.1.4", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/solid/CHANGELOG.md b/packages/integrations/solid/CHANGELOG.md index 217a736fecf3a..7137bc44d2f32 100644 --- a/packages/integrations/solid/CHANGELOG.md +++ b/packages/integrations/solid/CHANGELOG.md @@ -1,5 +1,13 @@ # @astrojs/solid-js +## 2.1.2 + +### Patch Changes + +- [#7101](https://github.com/withastro/astro/pull/7101) [`2994bc52d`](https://github.com/withastro/astro/commit/2994bc52d360bf7ca3681c5f6976e64577cf5209) Thanks [@bluwy](https://github.com/bluwy)! - Always build edge/worker runtime with Vite `webworker` SSR target + +- [#7104](https://github.com/withastro/astro/pull/7104) [`826e02890`](https://github.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa) Thanks [@bluwy](https://github.com/bluwy)! - Specify `"files"` field to only publish necessary files + ## 2.1.1 ### Patch Changes diff --git a/packages/integrations/solid/package.json b/packages/integrations/solid/package.json index 5d9a236988938..8a1b4d231433d 100644 --- a/packages/integrations/solid/package.json +++ b/packages/integrations/solid/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/solid-js", - "version": "2.1.1", + "version": "2.1.2", "description": "Use Solid components within Astro", "type": "module", "types": "./dist/index.d.ts", diff --git a/packages/integrations/svelte/CHANGELOG.md b/packages/integrations/svelte/CHANGELOG.md index 054c7ac4821a9..8bca6e469e9c3 100644 --- a/packages/integrations/svelte/CHANGELOG.md +++ b/packages/integrations/svelte/CHANGELOG.md @@ -1,5 +1,14 @@ # @astrojs/svelte +## 2.1.2 + +### Patch Changes + +- [#7104](https://github.com/withastro/astro/pull/7104) [`826e02890`](https://github.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa) Thanks [@bluwy](https://github.com/bluwy)! - Specify `"files"` field to only publish necessary files + +- Updated dependencies [[`4516d7b22`](https://github.com/withastro/astro/commit/4516d7b22c5979cde4537f196b53ae2826ba9561), [`914c439bc`](https://github.com/withastro/astro/commit/914c439bccee9fec002c6d92beaa501c398e62ac), [`075eee08f`](https://github.com/withastro/astro/commit/075eee08f2e2b0baea008b97f3523f2cb937ee44), [`719002ca5`](https://github.com/withastro/astro/commit/719002ca5b128744fb4316d4a52c5dcd46a42759), [`fb84622af`](https://github.com/withastro/astro/commit/fb84622af04f795de8d17f24192de105f70fe910), [`cd410c5eb`](https://github.com/withastro/astro/commit/cd410c5eb71f825259279c27c4c39d0ad282c3f0), [`73ec6f6c1`](https://github.com/withastro/astro/commit/73ec6f6c16cadb71dafe9f664f0debde072c3173)]: + - astro@2.5.0 + ## 2.1.1 ### Patch Changes diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json index 6abc3e9d624d9..c574e75c045b0 100644 --- a/packages/integrations/svelte/package.json +++ b/packages/integrations/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/svelte", - "version": "2.1.1", + "version": "2.1.2", "description": "Use Svelte components within Astro", "type": "module", "types": "./dist/index.d.ts", @@ -48,7 +48,7 @@ "vite": "^4.3.1" }, "peerDependencies": { - "astro": "workspace:^2.4.5", + "astro": "workspace:^2.5.0", "svelte": "^3.54.0" }, "engines": { diff --git a/packages/integrations/tailwind/CHANGELOG.md b/packages/integrations/tailwind/CHANGELOG.md index 9c0b5aedc9fab..86aacd0c80704 100644 --- a/packages/integrations/tailwind/CHANGELOG.md +++ b/packages/integrations/tailwind/CHANGELOG.md @@ -1,5 +1,14 @@ # @astrojs/tailwind +## 3.1.3 + +### Patch Changes + +- [#7104](https://github.com/withastro/astro/pull/7104) [`826e02890`](https://github.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa) Thanks [@bluwy](https://github.com/bluwy)! - Specify `"files"` field to only publish necessary files + +- Updated dependencies [[`4516d7b22`](https://github.com/withastro/astro/commit/4516d7b22c5979cde4537f196b53ae2826ba9561), [`914c439bc`](https://github.com/withastro/astro/commit/914c439bccee9fec002c6d92beaa501c398e62ac), [`075eee08f`](https://github.com/withastro/astro/commit/075eee08f2e2b0baea008b97f3523f2cb937ee44), [`719002ca5`](https://github.com/withastro/astro/commit/719002ca5b128744fb4316d4a52c5dcd46a42759), [`fb84622af`](https://github.com/withastro/astro/commit/fb84622af04f795de8d17f24192de105f70fe910), [`cd410c5eb`](https://github.com/withastro/astro/commit/cd410c5eb71f825259279c27c4c39d0ad282c3f0), [`73ec6f6c1`](https://github.com/withastro/astro/commit/73ec6f6c16cadb71dafe9f664f0debde072c3173)]: + - astro@2.5.0 + ## 3.1.2 ### Patch Changes diff --git a/packages/integrations/tailwind/package.json b/packages/integrations/tailwind/package.json index 43c76a5b6fa09..ad8ee6b37956c 100644 --- a/packages/integrations/tailwind/package.json +++ b/packages/integrations/tailwind/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/tailwind", "description": "Use Tailwind CSS to style your Astro site", - "version": "3.1.2", + "version": "3.1.3", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -44,7 +44,7 @@ "vite": "^4.3.1" }, "peerDependencies": { - "astro": "workspace:^2.4.5", + "astro": "workspace:^2.5.0", "tailwindcss": "^3.0.24" }, "pnpm": { diff --git a/packages/integrations/turbolinks/CHANGELOG.md b/packages/integrations/turbolinks/CHANGELOG.md index 5d4ef4b9f5c95..e9bd6a75a2c9b 100644 --- a/packages/integrations/turbolinks/CHANGELOG.md +++ b/packages/integrations/turbolinks/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/turbolinks +## 0.2.2 + +### Patch Changes + +- [#7104](https://github.com/withastro/astro/pull/7104) [`826e02890`](https://github.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa) Thanks [@bluwy](https://github.com/bluwy)! - Specify `"files"` field to only publish necessary files + ## 0.2.1 ### Patch Changes diff --git a/packages/integrations/turbolinks/package.json b/packages/integrations/turbolinks/package.json index d7505030c7c8f..067b8de2862a7 100644 --- a/packages/integrations/turbolinks/package.json +++ b/packages/integrations/turbolinks/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/turbolinks", "description": "Deprecated — Use Turbolinks to speed up page navigation in your Astro site", - "version": "0.2.1", + "version": "0.2.2", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/vercel/CHANGELOG.md b/packages/integrations/vercel/CHANGELOG.md index 00d37c09b13f4..2f4aa505b3f56 100644 --- a/packages/integrations/vercel/CHANGELOG.md +++ b/packages/integrations/vercel/CHANGELOG.md @@ -1,5 +1,58 @@ # @astrojs/vercel +## 3.4.0 + +### Minor Changes + +- [#7103](https://github.com/withastro/astro/pull/7103) [`c91e837e9`](https://github.com/withastro/astro/commit/c91e837e961043e92253148f0f4291856653b993) Thanks [@bluwy](https://github.com/bluwy)! - Add `edge-light` and `worker` import condition for worker bundling + +### Patch Changes + +- [#6876](https://github.com/withastro/astro/pull/6876) [`06ca3702f`](https://github.com/withastro/astro/commit/06ca3702f88ed18a063d2abbbb231615f9f97154) Thanks [@nblackburn](https://github.com/nblackburn)! - Correctly handle analytics id where present + +- [#6991](https://github.com/withastro/astro/pull/6991) [`719002ca5`](https://github.com/withastro/astro/commit/719002ca5b128744fb4316d4a52c5dcd46a42759) Thanks [@MoustaphaDev](https://github.com/MoustaphaDev)! - Enable experimental support for hybrid SSR with pre-rendering enabled by default + + **astro.config.mjs** + + ```js + import { defineConfig } from 'astro/config'; + export defaultdefineConfig({ + output: 'hybrid', + experimental: { + hybridOutput: true, + }, + }) + ``` + + Then add `export const prerender = false` to any page or endpoint you want to opt-out of pre-rendering. + + **src/pages/contact.astro** + + ```astro + --- + export const prerender = false; + + if (Astro.request.method === 'POST') { + // handle form submission + } + --- + +
+ + + +
+ ``` + +- [#7101](https://github.com/withastro/astro/pull/7101) [`2994bc52d`](https://github.com/withastro/astro/commit/2994bc52d360bf7ca3681c5f6976e64577cf5209) Thanks [@bluwy](https://github.com/bluwy)! - Add missing esbuild dependency + +- [#7101](https://github.com/withastro/astro/pull/7101) [`2994bc52d`](https://github.com/withastro/astro/commit/2994bc52d360bf7ca3681c5f6976e64577cf5209) Thanks [@bluwy](https://github.com/bluwy)! - Always build edge/worker runtime with Vite `webworker` SSR target + +- [#7104](https://github.com/withastro/astro/pull/7104) [`826e02890`](https://github.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa) Thanks [@bluwy](https://github.com/bluwy)! - Specify `"files"` field to only publish necessary files + +- Updated dependencies [[`4516d7b22`](https://github.com/withastro/astro/commit/4516d7b22c5979cde4537f196b53ae2826ba9561), [`914c439bc`](https://github.com/withastro/astro/commit/914c439bccee9fec002c6d92beaa501c398e62ac), [`075eee08f`](https://github.com/withastro/astro/commit/075eee08f2e2b0baea008b97f3523f2cb937ee44), [`719002ca5`](https://github.com/withastro/astro/commit/719002ca5b128744fb4316d4a52c5dcd46a42759), [`fb84622af`](https://github.com/withastro/astro/commit/fb84622af04f795de8d17f24192de105f70fe910), [`cd410c5eb`](https://github.com/withastro/astro/commit/cd410c5eb71f825259279c27c4c39d0ad282c3f0), [`73ec6f6c1`](https://github.com/withastro/astro/commit/73ec6f6c16cadb71dafe9f664f0debde072c3173)]: + - astro@2.5.0 + ## 3.3.0 ### Minor Changes diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json index d3dc5a6d82172..012eb264a29be 100644 --- a/packages/integrations/vercel/package.json +++ b/packages/integrations/vercel/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/vercel", "description": "Deploy your site to Vercel", - "version": "3.3.0", + "version": "3.4.0", "type": "module", "author": "withastro", "license": "MIT", @@ -59,7 +59,7 @@ "web-vitals": "^3.1.1" }, "peerDependencies": { - "astro": "workspace:^2.4.5" + "astro": "workspace:^2.5.0" }, "devDependencies": { "@types/set-cookie-parser": "^2.4.2", diff --git a/packages/integrations/vue/CHANGELOG.md b/packages/integrations/vue/CHANGELOG.md index cf020aa99c644..f7a4d84110365 100644 --- a/packages/integrations/vue/CHANGELOG.md +++ b/packages/integrations/vue/CHANGELOG.md @@ -1,5 +1,14 @@ # @astrojs/vue +## 2.1.2 + +### Patch Changes + +- [#7104](https://github.com/withastro/astro/pull/7104) [`826e02890`](https://github.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa) Thanks [@bluwy](https://github.com/bluwy)! - Specify `"files"` field to only publish necessary files + +- Updated dependencies [[`4516d7b22`](https://github.com/withastro/astro/commit/4516d7b22c5979cde4537f196b53ae2826ba9561), [`914c439bc`](https://github.com/withastro/astro/commit/914c439bccee9fec002c6d92beaa501c398e62ac), [`075eee08f`](https://github.com/withastro/astro/commit/075eee08f2e2b0baea008b97f3523f2cb937ee44), [`719002ca5`](https://github.com/withastro/astro/commit/719002ca5b128744fb4316d4a52c5dcd46a42759), [`fb84622af`](https://github.com/withastro/astro/commit/fb84622af04f795de8d17f24192de105f70fe910), [`cd410c5eb`](https://github.com/withastro/astro/commit/cd410c5eb71f825259279c27c4c39d0ad282c3f0), [`73ec6f6c1`](https://github.com/withastro/astro/commit/73ec6f6c16cadb71dafe9f664f0debde072c3173)]: + - astro@2.5.0 + ## 2.1.1 ### Patch Changes diff --git a/packages/integrations/vue/package.json b/packages/integrations/vue/package.json index 6de8c2ad2cbf5..1dd33bc349663 100644 --- a/packages/integrations/vue/package.json +++ b/packages/integrations/vue/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/vue", - "version": "2.1.1", + "version": "2.1.2", "description": "Use Vue components within Astro", "type": "module", "types": "./dist/index.d.ts", @@ -56,7 +56,7 @@ "vue": "^3.2.37" }, "peerDependencies": { - "astro": "workspace:^2.4.5", + "astro": "workspace:^2.5.0", "vue": "^3.2.30" }, "engines": { diff --git a/packages/markdown/component/CHANGELOG.md b/packages/markdown/component/CHANGELOG.md index 51cfaa7e39ec1..ad8e52412b91a 100644 --- a/packages/markdown/component/CHANGELOG.md +++ b/packages/markdown/component/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/markdown-component +## 1.0.4 + +### Patch Changes + +- [#7104](https://github.com/withastro/astro/pull/7104) [`826e02890`](https://github.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa) Thanks [@bluwy](https://github.com/bluwy)! - Specify `"files"` field to only publish necessary files + ## 1.0.3 ### Patch Changes diff --git a/packages/markdown/component/package.json b/packages/markdown/component/package.json index 5cfcfdc7ea07b..73e6a8315a261 100644 --- a/packages/markdown/component/package.json +++ b/packages/markdown/component/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/markdown-component", "description": "Use the legacy Markdown component in your Astro site", - "version": "1.0.3", + "version": "1.0.4", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/markdown/remark/CHANGELOG.md b/packages/markdown/remark/CHANGELOG.md index 0a4fe2f8a16a2..9150ec1eae606 100644 --- a/packages/markdown/remark/CHANGELOG.md +++ b/packages/markdown/remark/CHANGELOG.md @@ -1,5 +1,15 @@ # @astrojs/markdown-remark +## 2.2.1 + +### Patch Changes + +- [#7104](https://github.com/withastro/astro/pull/7104) [`826e02890`](https://github.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa) Thanks [@bluwy](https://github.com/bluwy)! - Specify `"files"` field to only publish necessary files + +- Updated dependencies [[`4516d7b22`](https://github.com/withastro/astro/commit/4516d7b22c5979cde4537f196b53ae2826ba9561), [`914c439bc`](https://github.com/withastro/astro/commit/914c439bccee9fec002c6d92beaa501c398e62ac), [`075eee08f`](https://github.com/withastro/astro/commit/075eee08f2e2b0baea008b97f3523f2cb937ee44), [`719002ca5`](https://github.com/withastro/astro/commit/719002ca5b128744fb4316d4a52c5dcd46a42759), [`fb84622af`](https://github.com/withastro/astro/commit/fb84622af04f795de8d17f24192de105f70fe910), [`cd410c5eb`](https://github.com/withastro/astro/commit/cd410c5eb71f825259279c27c4c39d0ad282c3f0), [`73ec6f6c1`](https://github.com/withastro/astro/commit/73ec6f6c16cadb71dafe9f664f0debde072c3173), [`826e02890`](https://github.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa)]: + - astro@2.5.0 + - @astrojs/prism@2.1.2 + ## 2.2.0 ### Minor Changes diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json index b4a0ae4cebfa3..4e40af840953e 100644 --- a/packages/markdown/remark/package.json +++ b/packages/markdown/remark/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/markdown-remark", - "version": "2.2.0", + "version": "2.2.1", "type": "module", "author": "withastro", "license": "MIT", @@ -28,10 +28,10 @@ "test": "mocha --exit --timeout 20000" }, "peerDependencies": { - "astro": "workspace:^2.4.0" + "astro": "workspace:^2.5.0" }, "dependencies": { - "@astrojs/prism": "^2.1.0", + "@astrojs/prism": "^2.1.2", "github-slugger": "^1.4.0", "import-meta-resolve": "^2.1.0", "rehype-raw": "^6.1.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8415bb9734649..e1deb1f7cc13e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -410,7 +410,7 @@ importers: dependencies: '@astrojs/markdoc': specifier: ^0.1.2 - version: link:../../packages/integrations/markdoc + version: 0.1.2(astro@packages+astro) astro: specifier: ^2.4.1 version: link:../../packages/astro @@ -538,7 +538,7 @@ importers: specifier: ^1.0.0 version: 1.0.0 '@astrojs/markdown-remark': - specifier: ^2.2.0 + specifier: ^2.2.1 version: link:../markdown/remark '@astrojs/telemetry': specifier: ^2.1.1 @@ -3930,7 +3930,7 @@ importers: version: 3.20.6 devDependencies: '@astrojs/markdown-remark': - specifier: ^2.2.0 + specifier: ^2.2.1 version: link:../../markdown/remark '@types/chai': specifier: ^4.3.1 @@ -4054,10 +4054,10 @@ importers: packages/integrations/mdx: dependencies: '@astrojs/markdown-remark': - specifier: ^2.2.0 + specifier: ^2.2.1 version: link:../../markdown/remark '@astrojs/prism': - specifier: ^2.1.1 + specifier: ^2.1.2 version: link:../../astro-prism '@mdx-js/mdx': specifier: ^2.3.0 @@ -5016,7 +5016,7 @@ importers: packages/markdown/remark: dependencies: '@astrojs/prism': - specifier: ^2.1.0 + specifier: ^2.1.2 version: link:../../astro-prism github-slugger: specifier: ^1.4.0 @@ -5461,6 +5461,23 @@ packages: vscode-uri: 3.0.7 dev: false + /@astrojs/markdoc@0.1.2(astro@packages+astro): + resolution: {integrity: sha512-pOHMGQ/az9UOw+3X21cViPlZBwtxYXZpF8bv9pBQquVJGsfrBv4VZhdJkiXkwp2sq+SXa/Bxk02EXhevUVogCQ==} + engines: {node: '>=16.12.0'} + peerDependencies: + astro: '*' + dependencies: + '@markdoc/markdoc': 0.2.2 + astro: link:packages/astro + esbuild: 0.17.18 + gray-matter: 4.0.3 + kleur: 4.1.5 + zod: 3.20.6 + transitivePeerDependencies: + - '@types/react' + - react + dev: false + /@babel/code-frame@7.21.4: resolution: {integrity: sha512-LYvhNKfwWSPpocw8GI7gpK2nq3HSDuEPC/uSYaALSJu9xjsalaaYFOq0Pwt5KmVqwEbZlDu81aLXwBOmD/Fv9g==} engines: {node: '>=6.9.0'}