0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-13 22:11:20 -05:00

[ci] release (#12427)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Houston (Bot) 2024-11-15 03:27:27 -08:00 committed by GitHub
parent 453ec6b12f
commit 5509117415
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
35 changed files with 96 additions and 96 deletions

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Fixes a potential null access in the clientside router

View file

@ -1,20 +0,0 @@
---
'@astrojs/svelte': major
---
Adds support for Svelte 5. Svelte 3 and 4 are no longer supported.
The integration will now also no longer add `vitePreprocess()` by default if a preprocessor is not set up in `svelte.config.js`. It is recommended to set up the Svelte config manually so that features like IDE completion and syntax highlighting work properly.
If you're using SCSS, Stylus, etc in your Svelte component style tags, make sure that the preprocessor is also set up in `svelte.config.js`. For example:
```js
// svelte.config.js
import { vitePreprocess } from '@astrojs/svelte';
export default {
preprocess: vitePreprocess(),
};
```
Refer to the [Svelte 5 migration guide](https://svelte.dev/docs/svelte/v5-migration-guide) and [`@sveltejs/vite-plugin-svelte` changelog](https://github.com/sveltejs/vite-plugin-svelte/blob/main/packages/vite-plugin-svelte/CHANGELOG.md#400) for details of their respective breaking changes.

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Fixes an issue where scripts were not correctly injected during the build. The issue was triggered when there were injected routes with the same `entrypoint` and different `pattern`

View file

@ -1,5 +0,0 @@
---
'@astrojs/solid-js': patch
---
Handles checking Svelte 5 component functions to avoid processing them as Solid components

View file

@ -11,6 +11,6 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^4.16.12" "astro": "^4.16.13"
} }
} }

View file

@ -14,6 +14,6 @@
"@astrojs/mdx": "^3.1.9", "@astrojs/mdx": "^3.1.9",
"@astrojs/rss": "^4.0.9", "@astrojs/rss": "^4.0.9",
"@astrojs/sitemap": "^3.2.1", "@astrojs/sitemap": "^3.2.1",
"astro": "^4.16.12" "astro": "^4.16.13"
} }
} }

View file

@ -15,7 +15,7 @@
], ],
"scripts": {}, "scripts": {},
"devDependencies": { "devDependencies": {
"astro": "^4.16.12" "astro": "^4.16.13"
}, },
"peerDependencies": { "peerDependencies": {
"astro": "^4.0.0" "astro": "^4.0.0"

View file

@ -12,7 +12,7 @@
"test": "vitest run" "test": "vitest run"
}, },
"dependencies": { "dependencies": {
"astro": "^4.16.12", "astro": "^4.16.13",
"@astrojs/react": "^3.6.2", "@astrojs/react": "^3.6.2",
"react": "^18.3.1", "react": "^18.3.1",
"react-dom": "^18.3.1", "react-dom": "^18.3.1",

View file

@ -14,6 +14,6 @@
"@astrojs/alpinejs": "^0.4.0", "@astrojs/alpinejs": "^0.4.0",
"@types/alpinejs": "^3.13.10", "@types/alpinejs": "^3.13.10",
"alpinejs": "^3.14.3", "alpinejs": "^3.14.3",
"astro": "^4.16.12" "astro": "^4.16.13"
} }
} }

View file

@ -13,7 +13,7 @@
"dependencies": { "dependencies": {
"@astrojs/lit": "^4.3.0", "@astrojs/lit": "^4.3.0",
"@webcomponents/template-shadowroot": "^0.2.1", "@webcomponents/template-shadowroot": "^0.2.1",
"astro": "^4.16.12", "astro": "^4.16.13",
"lit": "^3.2.1" "lit": "^3.2.1"
} }
} }

View file

@ -13,12 +13,12 @@
"dependencies": { "dependencies": {
"@astrojs/preact": "^3.5.3", "@astrojs/preact": "^3.5.3",
"@astrojs/react": "^3.6.2", "@astrojs/react": "^3.6.2",
"@astrojs/solid-js": "^4.4.2", "@astrojs/solid-js": "^4.4.3",
"@astrojs/svelte": "^5.7.3", "@astrojs/svelte": "^6.0.0",
"@astrojs/vue": "^4.5.2", "@astrojs/vue": "^4.5.2",
"@types/react": "^18.3.12", "@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1", "@types/react-dom": "^18.3.1",
"astro": "^4.16.12", "astro": "^4.16.13",
"preact": "^10.24.3", "preact": "^10.24.3",
"react": "^18.3.1", "react": "^18.3.1",
"react-dom": "^18.3.1", "react-dom": "^18.3.1",

View file

@ -13,7 +13,7 @@
"dependencies": { "dependencies": {
"@astrojs/preact": "^3.5.3", "@astrojs/preact": "^3.5.3",
"@preact/signals": "^1.3.0", "@preact/signals": "^1.3.0",
"astro": "^4.16.12", "astro": "^4.16.13",
"preact": "^10.24.3" "preact": "^10.24.3"
} }
} }

View file

@ -14,7 +14,7 @@
"@astrojs/react": "^3.6.2", "@astrojs/react": "^3.6.2",
"@types/react": "^18.3.12", "@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1", "@types/react-dom": "^18.3.1",
"astro": "^4.16.12", "astro": "^4.16.13",
"react": "^18.3.1", "react": "^18.3.1",
"react-dom": "^18.3.1" "react-dom": "^18.3.1"
} }

View file

@ -11,8 +11,8 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"@astrojs/solid-js": "^4.4.2", "@astrojs/solid-js": "^4.4.3",
"astro": "^4.16.12", "astro": "^4.16.13",
"solid-js": "^1.9.3" "solid-js": "^1.9.3"
} }
} }

View file

@ -11,8 +11,8 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"@astrojs/svelte": "^5.7.3", "@astrojs/svelte": "^6.0.0",
"astro": "^4.16.12", "astro": "^4.16.13",
"svelte": "^5.1.16" "svelte": "^5.1.16"
} }
} }

View file

@ -12,7 +12,7 @@
}, },
"dependencies": { "dependencies": {
"@astrojs/vue": "^4.5.2", "@astrojs/vue": "^4.5.2",
"astro": "^4.16.12", "astro": "^4.16.13",
"vue": "^3.5.12" "vue": "^3.5.12"
} }
} }

View file

@ -12,6 +12,6 @@
}, },
"dependencies": { "dependencies": {
"@astrojs/node": "^8.3.4", "@astrojs/node": "^8.3.4",
"astro": "^4.16.12" "astro": "^4.16.13"
} }
} }

View file

@ -15,7 +15,7 @@
], ],
"scripts": {}, "scripts": {},
"devDependencies": { "devDependencies": {
"astro": "^4.16.12" "astro": "^4.16.13"
}, },
"peerDependencies": { "peerDependencies": {
"astro": "^4.0.0" "astro": "^4.0.0"

View file

@ -11,6 +11,6 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^4.16.12" "astro": "^4.16.13"
} }
} }

View file

@ -11,6 +11,6 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^4.16.12" "astro": "^4.16.13"
} }
} }

View file

@ -13,8 +13,8 @@
}, },
"dependencies": { "dependencies": {
"@astrojs/node": "^8.3.4", "@astrojs/node": "^8.3.4",
"@astrojs/svelte": "^5.7.3", "@astrojs/svelte": "^6.0.0",
"astro": "^4.16.12", "astro": "^4.16.13",
"svelte": "^5.1.16" "svelte": "^5.1.16"
} }
} }

View file

@ -10,7 +10,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^4.16.12", "astro": "^4.16.13",
"sass": "^1.80.6", "sass": "^1.80.6",
"sharp": "^0.33.3" "sharp": "^0.33.3"
} }

View file

@ -15,6 +15,6 @@
"./app": "./dist/app.js" "./app": "./dist/app.js"
}, },
"devDependencies": { "devDependencies": {
"astro": "^4.16.12" "astro": "^4.16.13"
} }
} }

View file

@ -12,6 +12,6 @@
}, },
"dependencies": { "dependencies": {
"@astrojs/markdoc": "^0.11.5", "@astrojs/markdoc": "^0.11.5",
"astro": "^4.16.12" "astro": "^4.16.13"
} }
} }

View file

@ -13,7 +13,7 @@
"dependencies": { "dependencies": {
"@astrojs/mdx": "^3.1.9", "@astrojs/mdx": "^3.1.9",
"@astrojs/preact": "^3.5.3", "@astrojs/preact": "^3.5.3",
"astro": "^4.16.12", "astro": "^4.16.13",
"preact": "^10.24.3" "preact": "^10.24.3"
} }
} }

View file

@ -13,7 +13,7 @@
"dependencies": { "dependencies": {
"@astrojs/preact": "^3.5.3", "@astrojs/preact": "^3.5.3",
"@nanostores/preact": "^0.5.2", "@nanostores/preact": "^0.5.2",
"astro": "^4.16.12", "astro": "^4.16.13",
"nanostores": "^0.11.3", "nanostores": "^0.11.3",
"preact": "^10.24.3" "preact": "^10.24.3"
} }

View file

@ -14,7 +14,7 @@
"@astrojs/mdx": "^3.1.9", "@astrojs/mdx": "^3.1.9",
"@astrojs/tailwind": "^5.1.2", "@astrojs/tailwind": "^5.1.2",
"@types/canvas-confetti": "^1.6.4", "@types/canvas-confetti": "^1.6.4",
"astro": "^4.16.12", "astro": "^4.16.13",
"autoprefixer": "^10.4.20", "autoprefixer": "^10.4.20",
"canvas-confetti": "^1.9.3", "canvas-confetti": "^1.9.3",
"postcss": "^8.4.47", "postcss": "^8.4.47",

View file

@ -12,7 +12,7 @@
"test": "vitest" "test": "vitest"
}, },
"dependencies": { "dependencies": {
"astro": "^4.16.12", "astro": "^4.16.13",
"vitest": "^2.1.4" "vitest": "^2.1.4"
} }
} }

View file

@ -1,5 +1,13 @@
# astro # astro
## 4.16.13
### Patch Changes
- [#12436](https://github.com/withastro/astro/pull/12436) [`453ec6b`](https://github.com/withastro/astro/commit/453ec6b12f8c021e0bd0fd0ea9f71c8fc280f4b1) Thanks [@martrapp](https://github.com/martrapp)! - Fixes a potential null access in the clientside router
- [#12392](https://github.com/withastro/astro/pull/12392) [`0462219`](https://github.com/withastro/astro/commit/0462219612183b65867aaaef9fa538d89f201999) Thanks [@apatel369](https://github.com/apatel369)! - Fixes an issue where scripts were not correctly injected during the build. The issue was triggered when there were injected routes with the same `entrypoint` and different `pattern`
## 4.16.12 ## 4.16.12
### Patch Changes ### Patch Changes

View file

@ -1,6 +1,6 @@
{ {
"name": "astro", "name": "astro",
"version": "4.16.12", "version": "4.16.13",
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
"type": "module", "type": "module",
"author": "withastro", "author": "withastro",

View file

@ -1,5 +1,11 @@
# @astrojs/solid-js # @astrojs/solid-js
## 4.4.3
### Patch Changes
- [#12364](https://github.com/withastro/astro/pull/12364) [`9fc2ab8`](https://github.com/withastro/astro/commit/9fc2ab8cc848739a21bfa3f754e9bec4926dc034) Thanks [@jdtjenkins](https://github.com/jdtjenkins)! - Handles checking Svelte 5 component functions to avoid processing them as Solid components
## 4.4.2 ## 4.4.2
### Patch Changes ### Patch Changes

View file

@ -1,6 +1,6 @@
{ {
"name": "@astrojs/solid-js", "name": "@astrojs/solid-js",
"version": "4.4.2", "version": "4.4.3",
"description": "Use Solid components within Astro", "description": "Use Solid components within Astro",
"type": "module", "type": "module",
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",

View file

@ -1,5 +1,26 @@
# @astrojs/svelte # @astrojs/svelte
## 6.0.0
### Major Changes
- [#12364](https://github.com/withastro/astro/pull/12364) [`9fc2ab8`](https://github.com/withastro/astro/commit/9fc2ab8cc848739a21bfa3f754e9bec4926dc034) Thanks [@jdtjenkins](https://github.com/jdtjenkins)! - Adds support for Svelte 5. Svelte 3 and 4 are no longer supported.
The integration will now also no longer add `vitePreprocess()` by default if a preprocessor is not set up in `svelte.config.js`. It is recommended to set up the Svelte config manually so that features like IDE completion and syntax highlighting work properly.
If you're using SCSS, Stylus, etc in your Svelte component style tags, make sure that the preprocessor is also set up in `svelte.config.js`. For example:
```js
// svelte.config.js
import { vitePreprocess } from '@astrojs/svelte';
export default {
preprocess: vitePreprocess(),
};
```
Refer to the [Svelte 5 migration guide](https://svelte.dev/docs/svelte/v5-migration-guide) and [`@sveltejs/vite-plugin-svelte` changelog](https://github.com/sveltejs/vite-plugin-svelte/blob/main/packages/vite-plugin-svelte/CHANGELOG.md#400) for details of their respective breaking changes.
## 5.7.3 ## 5.7.3
### Patch Changes ### Patch Changes

View file

@ -1,6 +1,6 @@
{ {
"name": "@astrojs/svelte", "name": "@astrojs/svelte",
"version": "5.7.3", "version": "6.0.0",
"description": "Use Svelte components within Astro", "description": "Use Svelte components within Astro",
"type": "module", "type": "module",
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",

58
pnpm-lock.yaml generated
View file

@ -139,7 +139,7 @@ importers:
examples/basics: examples/basics:
dependencies: dependencies:
astro: astro:
specifier: ^4.16.12 specifier: ^4.16.13
version: link:../../packages/astro version: link:../../packages/astro
examples/blog: examples/blog:
@ -154,13 +154,13 @@ importers:
specifier: ^3.2.1 specifier: ^3.2.1
version: link:../../packages/integrations/sitemap version: link:../../packages/integrations/sitemap
astro: astro:
specifier: ^4.16.12 specifier: ^4.16.13
version: link:../../packages/astro version: link:../../packages/astro
examples/component: examples/component:
devDependencies: devDependencies:
astro: astro:
specifier: ^4.16.12 specifier: ^4.16.13
version: link:../../packages/astro version: link:../../packages/astro
examples/container-with-vitest: examples/container-with-vitest:
@ -169,7 +169,7 @@ importers:
specifier: ^3.6.2 specifier: ^3.6.2
version: link:../../packages/integrations/react version: link:../../packages/integrations/react
astro: astro:
specifier: ^4.16.12 specifier: ^4.16.13
version: link:../../packages/astro version: link:../../packages/astro
react: react:
specifier: ^18.3.1 specifier: ^18.3.1
@ -200,7 +200,7 @@ importers:
specifier: ^3.14.3 specifier: ^3.14.3
version: 3.14.3 version: 3.14.3
astro: astro:
specifier: ^4.16.12 specifier: ^4.16.13
version: link:../../packages/astro version: link:../../packages/astro
examples/framework-lit: examples/framework-lit:
@ -212,7 +212,7 @@ importers:
specifier: ^0.2.1 specifier: ^0.2.1
version: 0.2.1 version: 0.2.1
astro: astro:
specifier: ^4.16.12 specifier: ^4.16.13
version: link:../../packages/astro version: link:../../packages/astro
lit: lit:
specifier: ^3.2.1 specifier: ^3.2.1
@ -227,10 +227,10 @@ importers:
specifier: ^3.6.2 specifier: ^3.6.2
version: link:../../packages/integrations/react version: link:../../packages/integrations/react
'@astrojs/solid-js': '@astrojs/solid-js':
specifier: ^4.4.2 specifier: ^4.4.3
version: link:../../packages/integrations/solid version: link:../../packages/integrations/solid
'@astrojs/svelte': '@astrojs/svelte':
specifier: ^5.7.3 specifier: ^6.0.0
version: link:../../packages/integrations/svelte version: link:../../packages/integrations/svelte
'@astrojs/vue': '@astrojs/vue':
specifier: ^4.5.2 specifier: ^4.5.2
@ -242,7 +242,7 @@ importers:
specifier: ^18.3.1 specifier: ^18.3.1
version: 18.3.1 version: 18.3.1
astro: astro:
specifier: ^4.16.12 specifier: ^4.16.13
version: link:../../packages/astro version: link:../../packages/astro
preact: preact:
specifier: ^10.24.3 specifier: ^10.24.3
@ -272,7 +272,7 @@ importers:
specifier: ^1.3.0 specifier: ^1.3.0
version: 1.3.0(preact@10.24.3) version: 1.3.0(preact@10.24.3)
astro: astro:
specifier: ^4.16.12 specifier: ^4.16.13
version: link:../../packages/astro version: link:../../packages/astro
preact: preact:
specifier: ^10.24.3 specifier: ^10.24.3
@ -290,7 +290,7 @@ importers:
specifier: ^18.3.1 specifier: ^18.3.1
version: 18.3.1 version: 18.3.1
astro: astro:
specifier: ^4.16.12 specifier: ^4.16.13
version: link:../../packages/astro version: link:../../packages/astro
react: react:
specifier: ^18.3.1 specifier: ^18.3.1
@ -302,10 +302,10 @@ importers:
examples/framework-solid: examples/framework-solid:
dependencies: dependencies:
'@astrojs/solid-js': '@astrojs/solid-js':
specifier: ^4.4.2 specifier: ^4.4.3
version: link:../../packages/integrations/solid version: link:../../packages/integrations/solid
astro: astro:
specifier: ^4.16.12 specifier: ^4.16.13
version: link:../../packages/astro version: link:../../packages/astro
solid-js: solid-js:
specifier: ^1.9.3 specifier: ^1.9.3
@ -314,10 +314,10 @@ importers:
examples/framework-svelte: examples/framework-svelte:
dependencies: dependencies:
'@astrojs/svelte': '@astrojs/svelte':
specifier: ^5.7.3 specifier: ^6.0.0
version: link:../../packages/integrations/svelte version: link:../../packages/integrations/svelte
astro: astro:
specifier: ^4.16.12 specifier: ^4.16.13
version: link:../../packages/astro version: link:../../packages/astro
svelte: svelte:
specifier: ^5.1.16 specifier: ^5.1.16
@ -329,7 +329,7 @@ importers:
specifier: ^4.5.2 specifier: ^4.5.2
version: link:../../packages/integrations/vue version: link:../../packages/integrations/vue
astro: astro:
specifier: ^4.16.12 specifier: ^4.16.13
version: link:../../packages/astro version: link:../../packages/astro
vue: vue:
specifier: ^3.5.12 specifier: ^3.5.12
@ -341,25 +341,25 @@ importers:
specifier: ^8.3.4 specifier: ^8.3.4
version: 8.3.4(astro@packages+astro) version: 8.3.4(astro@packages+astro)
astro: astro:
specifier: ^4.16.12 specifier: ^4.16.13
version: link:../../packages/astro version: link:../../packages/astro
examples/integration: examples/integration:
devDependencies: devDependencies:
astro: astro:
specifier: ^4.16.12 specifier: ^4.16.13
version: link:../../packages/astro version: link:../../packages/astro
examples/minimal: examples/minimal:
dependencies: dependencies:
astro: astro:
specifier: ^4.16.12 specifier: ^4.16.13
version: link:../../packages/astro version: link:../../packages/astro
examples/portfolio: examples/portfolio:
dependencies: dependencies:
astro: astro:
specifier: ^4.16.12 specifier: ^4.16.13
version: link:../../packages/astro version: link:../../packages/astro
examples/ssr: examples/ssr:
@ -368,10 +368,10 @@ importers:
specifier: ^8.3.4 specifier: ^8.3.4
version: 8.3.4(astro@packages+astro) version: 8.3.4(astro@packages+astro)
'@astrojs/svelte': '@astrojs/svelte':
specifier: ^5.7.3 specifier: ^6.0.0
version: link:../../packages/integrations/svelte version: link:../../packages/integrations/svelte
astro: astro:
specifier: ^4.16.12 specifier: ^4.16.13
version: link:../../packages/astro version: link:../../packages/astro
svelte: svelte:
specifier: ^5.1.16 specifier: ^5.1.16
@ -380,7 +380,7 @@ importers:
examples/starlog: examples/starlog:
dependencies: dependencies:
astro: astro:
specifier: ^4.16.12 specifier: ^4.16.13
version: link:../../packages/astro version: link:../../packages/astro
sass: sass:
specifier: ^1.80.6 specifier: ^1.80.6
@ -392,7 +392,7 @@ importers:
examples/toolbar-app: examples/toolbar-app:
devDependencies: devDependencies:
astro: astro:
specifier: ^4.16.12 specifier: ^4.16.13
version: link:../../packages/astro version: link:../../packages/astro
examples/with-markdoc: examples/with-markdoc:
@ -401,7 +401,7 @@ importers:
specifier: ^0.11.5 specifier: ^0.11.5
version: link:../../packages/integrations/markdoc version: link:../../packages/integrations/markdoc
astro: astro:
specifier: ^4.16.12 specifier: ^4.16.13
version: link:../../packages/astro version: link:../../packages/astro
examples/with-mdx: examples/with-mdx:
@ -413,7 +413,7 @@ importers:
specifier: ^3.5.3 specifier: ^3.5.3
version: link:../../packages/integrations/preact version: link:../../packages/integrations/preact
astro: astro:
specifier: ^4.16.12 specifier: ^4.16.13
version: link:../../packages/astro version: link:../../packages/astro
preact: preact:
specifier: ^10.24.3 specifier: ^10.24.3
@ -428,7 +428,7 @@ importers:
specifier: ^0.5.2 specifier: ^0.5.2
version: 0.5.2(nanostores@0.11.3)(preact@10.24.3) version: 0.5.2(nanostores@0.11.3)(preact@10.24.3)
astro: astro:
specifier: ^4.16.12 specifier: ^4.16.13
version: link:../../packages/astro version: link:../../packages/astro
nanostores: nanostores:
specifier: ^0.11.3 specifier: ^0.11.3
@ -449,7 +449,7 @@ importers:
specifier: ^1.6.4 specifier: ^1.6.4
version: 1.6.4 version: 1.6.4
astro: astro:
specifier: ^4.16.12 specifier: ^4.16.13
version: link:../../packages/astro version: link:../../packages/astro
autoprefixer: autoprefixer:
specifier: ^10.4.20 specifier: ^10.4.20
@ -467,7 +467,7 @@ importers:
examples/with-vitest: examples/with-vitest:
dependencies: dependencies:
astro: astro:
specifier: ^4.16.12 specifier: ^4.16.13
version: link:../../packages/astro version: link:../../packages/astro
vitest: vitest:
specifier: ^2.1.4 specifier: ^2.1.4