diff options
53 files changed, 148 insertions, 163 deletions
diff --git a/.changeset/angry-dryers-hang.md b/.changeset/angry-dryers-hang.md deleted file mode 100644 index 7c1e4c3f4..000000000 --- a/.changeset/angry-dryers-hang.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@astrojs/rss": patch ---- - -Restores `rssSchema` to a zod object diff --git a/.changeset/angry-zebras-fly.md b/.changeset/angry-zebras-fly.md deleted file mode 100644 index b68699cd7..000000000 --- a/.changeset/angry-zebras-fly.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"astro": patch ---- - -Improves the wording of a few confusing error messages diff --git a/.changeset/breezy-plants-smoke.md b/.changeset/breezy-plants-smoke.md deleted file mode 100644 index 034ab448a..000000000 --- a/.changeset/breezy-plants-smoke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"astro": patch ---- - -Fixes types generation from Content Collections config file diff --git a/.changeset/calm-jobs-pay.md b/.changeset/calm-jobs-pay.md deleted file mode 100644 index 703605413..000000000 --- a/.changeset/calm-jobs-pay.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/node': minor ---- - -Add trailingSlash support to NodeJS adapter diff --git a/.changeset/cold-bobcats-shave.md b/.changeset/cold-bobcats-shave.md deleted file mode 100644 index ac05fde49..000000000 --- a/.changeset/cold-bobcats-shave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"astro": patch ---- - -Applies the correct escaping to identifiers used with `transition:name`. diff --git a/.changeset/heavy-beers-tickle.md b/.changeset/heavy-beers-tickle.md deleted file mode 100644 index f6b19aa74..000000000 --- a/.changeset/heavy-beers-tickle.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -"@astrojs/alpinejs": minor ---- - -Allows extending Alpine using the new `entrypoint` configuration - -You can extend Alpine by setting the `entrypoint` option to a root-relative import specifier (for example, `entrypoint: "/src/entrypoint"`). - -The default export of this file should be a function that accepts an Alpine instance prior to starting, allowing the use of custom directives, plugins and other customizations for advanced use cases. - -```js -// astro.config.mjs -import { defineConfig } from 'astro/config'; -import alpine from '@astrojs/alpinejs'; - -export default defineConfig({ - // ... - integrations: [alpine({ entrypoint: '/src/entrypoint' })], -}); -``` - -```js -// src/entrypoint.ts -import type { Alpine } from 'alpinejs' - -export default (Alpine: Alpine) => { - Alpine.directive('foo', el => { - el.textContent = 'bar'; - }) -} -```
\ No newline at end of file diff --git a/.changeset/rotten-masks-rhyme.md b/.changeset/rotten-masks-rhyme.md deleted file mode 100644 index 595659c34..000000000 --- a/.changeset/rotten-masks-rhyme.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"astro": patch ---- - -Fixes an issue where 404 responses from endpoints were replaced with contents of 404.astro in dev mode. diff --git a/.changeset/seven-kiwis-join.md b/.changeset/seven-kiwis-join.md deleted file mode 100644 index 328d9a342..000000000 --- a/.changeset/seven-kiwis-join.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"create-astro": patch ---- - -Fixes `@astrojs/check` and `typescript` addition to `package.json` dependencies when the user has decided not to auto-install dependencies diff --git a/.changeset/spicy-tips-remember.md b/.changeset/spicy-tips-remember.md deleted file mode 100644 index d1a3b6f5e..000000000 --- a/.changeset/spicy-tips-remember.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"astro": patch ---- - -Adds telemetry for when apps are toggled in the dev toolbar. This data is completely anonymous and only the names of built-in apps are shared with us. This data will help us monitor how much the dev toolbar is used and which apps are used more. For more information on how Astro collects telemetry, visit the following page: https://astro.build/telemetry/ diff --git a/.changeset/strange-students-shake.md b/.changeset/strange-students-shake.md deleted file mode 100644 index 9e5bd382b..000000000 --- a/.changeset/strange-students-shake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"astro": patch ---- - -Fixes environment variables replacement for `export const prerender` diff --git a/.changeset/tame-crabs-reply.md b/.changeset/tame-crabs-reply.md deleted file mode 100644 index e20c17528..000000000 --- a/.changeset/tame-crabs-reply.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"astro": patch ---- - -Refactors internals of the `astro:i18n` module to be more maintainable. diff --git a/.changeset/twenty-papayas-agree.md b/.changeset/twenty-papayas-agree.md deleted file mode 100644 index 980f35987..000000000 --- a/.changeset/twenty-papayas-agree.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"astro": patch ---- - -Simplifies internals that handle middleware. diff --git a/.changeset/two-ducks-give.md b/.changeset/two-ducks-give.md deleted file mode 100644 index 578246939..000000000 --- a/.changeset/two-ducks-give.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@astrojs/vercel": patch ---- - -Fixes an issue where the serverless function ignored cookies added using Astro.cookies. diff --git a/examples/basics/package.json b/examples/basics/package.json index 6d4f97825..78ffc82f8 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.2.4" + "astro": "^4.2.5" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 8a988f43c..b676f067b 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -12,8 +12,8 @@ }, "dependencies": { "@astrojs/mdx": "^2.1.0", - "@astrojs/rss": "^4.0.3", + "@astrojs/rss": "^4.0.4", "@astrojs/sitemap": "^3.0.5", - "astro": "^4.2.4" + "astro": "^4.2.5" } } diff --git a/examples/component/package.json b/examples/component/package.json index e34db92c0..551b06190 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.2.4" + "astro": "^4.2.5" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index d6dba38a7..84bf85327 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/alpinejs": "^0.3.2", + "@astrojs/alpinejs": "^0.4.0", "@types/alpinejs": "^3.13.5", "alpinejs": "^3.13.3", - "astro": "^4.2.4" + "astro": "^4.2.5" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index 57a0cb109..48936fc75 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/lit": "^4.0.1", "@webcomponents/template-shadowroot": "^0.2.1", - "astro": "^4.2.4", + "astro": "^4.2.5", "lit": "^2.8.0" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index aed44ca94..950b4800c 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -16,7 +16,7 @@ "@astrojs/solid-js": "^4.0.1", "@astrojs/svelte": "^5.0.3", "@astrojs/vue": "^4.0.8", - "astro": "^4.2.4", + "astro": "^4.2.5", "preact": "^10.19.2", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 4ddaa990a..b312c8faa 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^3.1.0", "@preact/signals": "^1.2.1", - "astro": "^4.2.4", + "astro": "^4.2.5", "preact": "^10.19.2" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index f03359a0d..86a28db95 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -14,7 +14,7 @@ "@astrojs/react": "^3.0.9", "@types/react": "^18.2.37", "@types/react-dom": "^18.2.15", - "astro": "^4.2.4", + "astro": "^4.2.5", "react": "^18.2.0", "react-dom": "^18.2.0" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index df5af1cd1..694a1bbcf 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/solid-js": "^4.0.1", - "astro": "^4.2.4", + "astro": "^4.2.5", "solid-js": "^1.8.5" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index f2c35fd7c..4cc02b354 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/svelte": "^5.0.3", - "astro": "^4.2.4", + "astro": "^4.2.5", "svelte": "^4.2.5" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 5ff5b2cef..a44c0ad87 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/vue": "^4.0.8", - "astro": "^4.2.4", + "astro": "^4.2.5", "vue": "^3.3.8" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index b07972e13..bb5ad321c 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/node": "^8.0.0", - "astro": "^4.2.4" + "@astrojs/node": "^8.1.0", + "astro": "^4.2.5" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 192a5d86a..145983e68 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.2.4" + "astro": "^4.2.5" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/middleware/package.json b/examples/middleware/package.json index dfc479a1a..f3c38cedd 100644 --- a/examples/middleware/package.json +++ b/examples/middleware/package.json @@ -12,8 +12,8 @@ "server": "node dist/server/entry.mjs" }, "dependencies": { - "@astrojs/node": "^8.0.0", - "astro": "^4.2.4", + "@astrojs/node": "^8.1.0", + "astro": "^4.2.5", "html-minifier": "^4.0.0" }, "devDependencies": { diff --git a/examples/minimal/package.json b/examples/minimal/package.json index bf67cd4ae..6354e9761 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.2.4" + "astro": "^4.2.5" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index 57c4a3a0d..498826d0e 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.2.4" + "astro": "^4.2.5" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 24a8771d3..be9a8b7ce 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.2.4" + "astro": "^4.2.5" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 2b37fc9ea..cd2f4ec94 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -12,9 +12,9 @@ "server": "node dist/server/entry.mjs" }, "dependencies": { - "@astrojs/node": "^8.0.0", + "@astrojs/node": "^8.1.0", "@astrojs/svelte": "^5.0.3", - "astro": "^4.2.4", + "astro": "^4.2.5", "svelte": "^4.2.5" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index cc877fb2b..b3fa0da50 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.2.4", + "astro": "^4.2.5", "sass": "^1.69.5", "sharp": "^0.32.6" } diff --git a/examples/view-transitions/package.json b/examples/view-transitions/package.json index 39b0101b0..2ffbdb953 100644 --- a/examples/view-transitions/package.json +++ b/examples/view-transitions/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@astrojs/tailwind": "^5.1.0", - "@astrojs/node": "^8.0.0", - "astro": "^4.2.4" + "@astrojs/node": "^8.1.0", + "astro": "^4.2.5" } } diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index 83bd3c048..d46cacba3 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -12,6 +12,6 @@ }, "dependencies": { "@astrojs/markdoc": "^0.8.3", - "astro": "^4.2.4" + "astro": "^4.2.5" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index 47b517cf5..b3fae7e91 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/markdown-remark": "^4.2.0", - "astro": "^4.2.4", + "astro": "^4.2.5", "hast-util-select": "^6.0.2", "rehype-autolink-headings": "^7.1.0", "rehype-slug": "^6.0.0", diff --git a/examples/with-markdown-shiki/package.json b/examples/with-markdown-shiki/package.json index c2eea06f3..e5b8a9f27 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.2.4" + "astro": "^4.2.5" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 85ed71cc1..9e2b2ad9b 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/mdx": "^2.1.0", "@astrojs/preact": "^3.1.0", - "astro": "^4.2.4", + "astro": "^4.2.5", "preact": "^10.19.2" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 801fd3acd..40f93fe0a 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^3.1.0", "@nanostores/preact": "^0.5.0", - "astro": "^4.2.4", + "astro": "^4.2.5", "nanostores": "^0.9.5", "preact": "^10.19.2" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 30658b5cc..188a1c4c2 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -14,7 +14,7 @@ "@astrojs/mdx": "^2.1.0", "@astrojs/tailwind": "^5.1.0", "@types/canvas-confetti": "^1.6.3", - "astro": "^4.2.4", + "astro": "^4.2.5", "autoprefixer": "^10.4.15", "canvas-confetti": "^1.9.1", "postcss": "^8.4.28", diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index 7f601435e..bbf139805 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^4.2.4", + "astro": "^4.2.5", "vitest": "^1.2.1" } } diff --git a/packages/astro-rss/CHANGELOG.md b/packages/astro-rss/CHANGELOG.md index e12cfe358..c8aff3986 100644 --- a/packages/astro-rss/CHANGELOG.md +++ b/packages/astro-rss/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/rss +## 4.0.4 + +### Patch Changes + +- [#9797](https://github.com/withastro/astro/pull/9797) [`457e8b6422704ba23347c766a8bb9c101c2aba0b`](https://github.com/withastro/astro/commit/457e8b6422704ba23347c766a8bb9c101c2aba0b) Thanks [@wkillerud](https://github.com/wkillerud)! - Restores `rssSchema` to a zod object + ## 4.0.3 ### Patch Changes diff --git a/packages/astro-rss/package.json b/packages/astro-rss/package.json index e3ae85a46..2c12c75bb 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": "4.0.3", + "version": "4.0.4", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 84a4818b9..1fb0bc738 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,25 @@ # astro +## 4.2.5 + +### Patch Changes + +- [#9818](https://github.com/withastro/astro/pull/9818) [`d688954c5adba75b0d676694fbf5fb0da1c0af13`](https://github.com/withastro/astro/commit/d688954c5adba75b0d676694fbf5fb0da1c0af13) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Improves the wording of a few confusing error messages + +- [#9680](https://github.com/withastro/astro/pull/9680) [`5d7db1dbb0ff06db98e08b0ca241ff09d0b8b44d`](https://github.com/withastro/astro/commit/5d7db1dbb0ff06db98e08b0ca241ff09d0b8b44d) Thanks [@loucyx](https://github.com/loucyx)! - Fixes types generation from Content Collections config file + +- [#9822](https://github.com/withastro/astro/pull/9822) [`bd880e8437ea2df16f322f604865c1148a9fd4cf`](https://github.com/withastro/astro/commit/bd880e8437ea2df16f322f604865c1148a9fd4cf) Thanks [@liruifengv](https://github.com/liruifengv)! - Applies the correct escaping to identifiers used with `transition:name`. + +- [#9830](https://github.com/withastro/astro/pull/9830) [`f3d22136e53fd902310024519fc4de83f0a58039`](https://github.com/withastro/astro/commit/f3d22136e53fd902310024519fc4de83f0a58039) Thanks [@lilnasy](https://github.com/lilnasy)! - Fixes an issue where 404 responses from endpoints were replaced with contents of 404.astro in dev mode. + +- [#9816](https://github.com/withastro/astro/pull/9816) [`2a44c8f93201958fba2d1e83046eabcaef186b7c`](https://github.com/withastro/astro/commit/2a44c8f93201958fba2d1e83046eabcaef186b7c) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Adds telemetry for when apps are toggled in the dev toolbar. This data is completely anonymous and only the names of built-in apps are shared with us. This data will help us monitor how much the dev toolbar is used and which apps are used more. For more information on how Astro collects telemetry, visit the following page: https://astro.build/telemetry/ + +- [#9807](https://github.com/withastro/astro/pull/9807) [`b3f313138bb314e2b416c29cda507383c2a9f816`](https://github.com/withastro/astro/commit/b3f313138bb314e2b416c29cda507383c2a9f816) Thanks [@bluwy](https://github.com/bluwy)! - Fixes environment variables replacement for `export const prerender` + +- [#9790](https://github.com/withastro/astro/pull/9790) [`267c5aa2c7706f0ea3447f20a09d85aa560866ad`](https://github.com/withastro/astro/commit/267c5aa2c7706f0ea3447f20a09d85aa560866ad) Thanks [@lilnasy](https://github.com/lilnasy)! - Refactors internals of the `astro:i18n` module to be more maintainable. + +- [#9776](https://github.com/withastro/astro/pull/9776) [`dc75180aa698b298264362bab7f00391af427798`](https://github.com/withastro/astro/commit/dc75180aa698b298264362bab7f00391af427798) Thanks [@lilnasy](https://github.com/lilnasy)! - Simplifies internals that handle middleware. + ## 4.2.4 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 538243b44..f055df681 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "4.2.4", + "version": "4.2.5", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", diff --git a/packages/create-astro/CHANGELOG.md b/packages/create-astro/CHANGELOG.md index fe41f6db6..c379e8c83 100644 --- a/packages/create-astro/CHANGELOG.md +++ b/packages/create-astro/CHANGELOG.md @@ -1,5 +1,11 @@ # create-astro +## 4.7.2 + +### Patch Changes + +- [#9813](https://github.com/withastro/astro/pull/9813) [`fecba30a1abb7ca65dfb8f506dde77117fa447d1`](https://github.com/withastro/astro/commit/fecba30a1abb7ca65dfb8f506dde77117fa447d1) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Fixes `@astrojs/check` and `typescript` addition to `package.json` dependencies when the user has decided not to auto-install dependencies + ## 4.7.1 ### Patch Changes diff --git a/packages/create-astro/package.json b/packages/create-astro/package.json index 454b28874..e9bd0bc23 100644 --- a/packages/create-astro/package.json +++ b/packages/create-astro/package.json @@ -1,6 +1,6 @@ { "name": "create-astro", - "version": "4.7.1", + "version": "4.7.2", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/integrations/alpinejs/CHANGELOG.md b/packages/integrations/alpinejs/CHANGELOG.md index 7c50d2533..e54875d08 100644 --- a/packages/integrations/alpinejs/CHANGELOG.md +++ b/packages/integrations/alpinejs/CHANGELOG.md @@ -1,5 +1,37 @@ # @astrojs/alpinejs +## 0.4.0 + +### Minor Changes + +- [#9751](https://github.com/withastro/astro/pull/9751) [`1153331cbbaa66a88645d15c6e949432210d4acc`](https://github.com/withastro/astro/commit/1153331cbbaa66a88645d15c6e949432210d4acc) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Allows extending Alpine using the new `entrypoint` configuration + + You can extend Alpine by setting the `entrypoint` option to a root-relative import specifier (for example, `entrypoint: "/src/entrypoint"`). + + The default export of this file should be a function that accepts an Alpine instance prior to starting, allowing the use of custom directives, plugins and other customizations for advanced use cases. + + ```js + // astro.config.mjs + import { defineConfig } from 'astro/config'; + import alpine from '@astrojs/alpinejs'; + + export default defineConfig({ + // ... + integrations: [alpine({ entrypoint: '/src/entrypoint' })], + }); + ``` + + ```js + // src/entrypoint.ts + import type { Alpine } from 'alpinejs' + + export default (Alpine: Alpine) => { + Alpine.directive('foo', el => { + el.textContent = 'bar'; + }) + } + ``` + ## 0.3.2 ### Patch Changes diff --git a/packages/integrations/alpinejs/package.json b/packages/integrations/alpinejs/package.json index f612167a8..f7f17da9e 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.3.2", + "version": "0.4.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/node/CHANGELOG.md b/packages/integrations/node/CHANGELOG.md index 20fc634bf..837dcd16b 100644 --- a/packages/integrations/node/CHANGELOG.md +++ b/packages/integrations/node/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/node +## 8.1.0 + +### Minor Changes + +- [#9080](https://github.com/withastro/astro/pull/9080) [`a12196d6b59e39f5d405734ecdbf6f6b42b39a93`](https://github.com/withastro/astro/commit/a12196d6b59e39f5d405734ecdbf6f6b42b39a93) Thanks [@msxdan](https://github.com/msxdan)! - Add trailingSlash support to NodeJS adapter + ## 8.0.0 ### Major Changes diff --git a/packages/integrations/node/package.json b/packages/integrations/node/package.json index d1811ce6f..339535476 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": "8.0.0", + "version": "8.1.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/vercel/CHANGELOG.md b/packages/integrations/vercel/CHANGELOG.md index 283a9838e..f624887f4 100644 --- a/packages/integrations/vercel/CHANGELOG.md +++ b/packages/integrations/vercel/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/vercel +## 7.0.2 + +### Patch Changes + +- [#9809](https://github.com/withastro/astro/pull/9809) [`3435b7f1e1ca38fdee8f3b89e2d2667f125d01b5`](https://github.com/withastro/astro/commit/3435b7f1e1ca38fdee8f3b89e2d2667f125d01b5) Thanks [@lilnasy](https://github.com/lilnasy)! - Fixes an issue where the serverless function ignored cookies added using Astro.cookies. + ## 7.0.1 ### Patch Changes diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json index 845d26350..bb876d8c1 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": "7.0.1", + "version": "7.0.2", "type": "module", "author": "withastro", "license": "MIT", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d44b17292..3632b4bee 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -128,7 +128,7 @@ importers: examples/basics: dependencies: astro: - specifier: ^4.2.4 + specifier: ^4.2.5 version: link:../../packages/astro examples/blog: @@ -137,25 +137,25 @@ importers: specifier: ^2.1.0 version: link:../../packages/integrations/mdx '@astrojs/rss': - specifier: ^4.0.3 + specifier: ^4.0.4 version: link:../../packages/astro-rss '@astrojs/sitemap': specifier: ^3.0.5 version: link:../../packages/integrations/sitemap astro: - specifier: ^4.2.4 + specifier: ^4.2.5 version: link:../../packages/astro examples/component: devDependencies: astro: - specifier: ^4.2.4 + specifier: ^4.2.5 version: link:../../packages/astro examples/framework-alpine: dependencies: '@astrojs/alpinejs': - specifier: ^0.3.2 + specifier: ^0.4.0 version: link:../../packages/integrations/alpinejs '@types/alpinejs': specifier: ^3.13.5 @@ -164,7 +164,7 @@ importers: specifier: ^3.13.3 version: 3.13.3 astro: - specifier: ^4.2.4 + specifier: ^4.2.5 version: link:../../packages/astro examples/framework-lit: @@ -176,7 +176,7 @@ importers: specifier: ^0.2.1 version: 0.2.1 astro: - specifier: ^4.2.4 + specifier: ^4.2.5 version: link:../../packages/astro lit: specifier: ^2.8.0 @@ -200,7 +200,7 @@ importers: specifier: ^4.0.8 version: link:../../packages/integrations/vue astro: - specifier: ^4.2.4 + specifier: ^4.2.5 version: link:../../packages/astro preact: specifier: ^10.19.2 @@ -230,7 +230,7 @@ importers: specifier: ^1.2.1 version: 1.2.1(preact@10.19.3) astro: - specifier: ^4.2.4 + specifier: ^4.2.5 version: link:../../packages/astro preact: specifier: ^10.19.2 @@ -248,7 +248,7 @@ importers: specifier: ^18.2.15 version: 18.2.18 astro: - specifier: ^4.2.4 + specifier: ^4.2.5 version: link:../../packages/astro react: specifier: ^18.2.0 @@ -263,7 +263,7 @@ importers: specifier: ^4.0.1 version: link:../../packages/integrations/solid astro: - specifier: ^4.2.4 + specifier: ^4.2.5 version: link:../../packages/astro solid-js: specifier: ^1.8.5 @@ -275,7 +275,7 @@ importers: specifier: ^5.0.3 version: link:../../packages/integrations/svelte astro: - specifier: ^4.2.4 + specifier: ^4.2.5 version: link:../../packages/astro svelte: specifier: ^4.2.5 @@ -287,7 +287,7 @@ importers: specifier: ^4.0.8 version: link:../../packages/integrations/vue astro: - specifier: ^4.2.4 + specifier: ^4.2.5 version: link:../../packages/astro vue: specifier: ^3.3.8 @@ -296,25 +296,25 @@ importers: examples/hackernews: dependencies: '@astrojs/node': - specifier: ^8.0.0 + specifier: ^8.1.0 version: link:../../packages/integrations/node astro: - specifier: ^4.2.4 + specifier: ^4.2.5 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^4.2.4 + specifier: ^4.2.5 version: link:../../packages/astro examples/middleware: dependencies: '@astrojs/node': - specifier: ^8.0.0 + specifier: ^8.1.0 version: link:../../packages/integrations/node astro: - specifier: ^4.2.4 + specifier: ^4.2.5 version: link:../../packages/astro html-minifier: specifier: ^4.0.0 @@ -327,31 +327,31 @@ importers: examples/minimal: dependencies: astro: - specifier: ^4.2.4 + specifier: ^4.2.5 version: link:../../packages/astro examples/non-html-pages: dependencies: astro: - specifier: ^4.2.4 + specifier: ^4.2.5 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^4.2.4 + specifier: ^4.2.5 version: link:../../packages/astro examples/ssr: dependencies: '@astrojs/node': - specifier: ^8.0.0 + specifier: ^8.1.0 version: link:../../packages/integrations/node '@astrojs/svelte': specifier: ^5.0.3 version: link:../../packages/integrations/svelte astro: - specifier: ^4.2.4 + specifier: ^4.2.5 version: link:../../packages/astro svelte: specifier: ^4.2.5 @@ -360,7 +360,7 @@ importers: examples/starlog: dependencies: astro: - specifier: ^4.2.4 + specifier: ^4.2.5 version: link:../../packages/astro sass: specifier: ^1.69.5 @@ -372,13 +372,13 @@ importers: examples/view-transitions: devDependencies: '@astrojs/node': - specifier: ^8.0.0 + specifier: ^8.1.0 version: link:../../packages/integrations/node '@astrojs/tailwind': specifier: ^5.1.0 version: link:../../packages/integrations/tailwind astro: - specifier: ^4.2.4 + specifier: ^4.2.5 version: link:../../packages/astro examples/with-markdoc: @@ -387,7 +387,7 @@ importers: specifier: ^0.8.3 version: link:../../packages/integrations/markdoc astro: - specifier: ^4.2.4 + specifier: ^4.2.5 version: link:../../packages/astro examples/with-markdown-plugins: @@ -396,7 +396,7 @@ importers: specifier: ^4.2.0 version: link:../../packages/markdown/remark astro: - specifier: ^4.2.4 + specifier: ^4.2.5 version: link:../../packages/astro hast-util-select: specifier: ^6.0.2 @@ -417,7 +417,7 @@ importers: examples/with-markdown-shiki: dependencies: astro: - specifier: ^4.2.4 + specifier: ^4.2.5 version: link:../../packages/astro examples/with-mdx: @@ -429,7 +429,7 @@ importers: specifier: ^3.1.0 version: link:../../packages/integrations/preact astro: - specifier: ^4.2.4 + specifier: ^4.2.5 version: link:../../packages/astro preact: specifier: ^10.19.2 @@ -444,7 +444,7 @@ importers: specifier: ^0.5.0 version: 0.5.0(nanostores@0.9.5)(preact@10.19.3) astro: - specifier: ^4.2.4 + specifier: ^4.2.5 version: link:../../packages/astro nanostores: specifier: ^0.9.5 @@ -465,7 +465,7 @@ importers: specifier: ^1.6.3 version: 1.6.4 astro: - specifier: ^4.2.4 + specifier: ^4.2.5 version: link:../../packages/astro autoprefixer: specifier: ^10.4.15 @@ -483,7 +483,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^4.2.4 + specifier: ^4.2.5 version: link:../../packages/astro vitest: specifier: ^1.2.1 |