mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
[ci] release (#11276)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
fd3645fe83
commit
58a321193e
43 changed files with 129 additions and 178 deletions
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixes a bug that prevented cookies from being set when using experimental rewrites
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Drop duplicated brackets in data collections schema generation.
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixes a case where rewriting `/` would cause an issue, when `trailingSlash` was set to `"never"`.
|
|
|
@ -1,27 +0,0 @@
|
||||||
---
|
|
||||||
'astro': minor
|
|
||||||
---
|
|
||||||
|
|
||||||
Adds [`ShikiTransformer`](https://shiki.style/packages/transformers#shikijs-transformers) support to the [`<Code />`](https://docs.astro.build/en/reference/api-reference/#code-) component with a new `transformers` prop.
|
|
||||||
|
|
||||||
Note that `transformers` only applies classes and you must provide your own CSS rules to target the elements of your code block.
|
|
||||||
|
|
||||||
```astro
|
|
||||||
---
|
|
||||||
import { transformerNotationFocus } from '@shikijs/transformers'
|
|
||||||
import { Code } from 'astro:components'
|
|
||||||
|
|
||||||
const code = `const foo = 'hello'
|
|
||||||
const bar = ' world'
|
|
||||||
console.log(foo + bar) // [!code focus]
|
|
||||||
`
|
|
||||||
---
|
|
||||||
|
|
||||||
<Code {code} lang="js" transformers={[transformerNotationFocus()]} />
|
|
||||||
|
|
||||||
<style is:global>
|
|
||||||
pre.has-focused .line:not(.focused) {
|
|
||||||
filter: blur(1px);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
```
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Reverts a logic where it wasn't possible to rewrite `/404` in static mode. It's **now possible** again
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixes type generation for empty content collections
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Improves type-checking and error handling to catch case where an image import is passed directly to `getImage()`
|
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
"astro": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixes a case where `defineAction` autocomplete for the `accept` prop would not show `"form"` as a possible value
|
|
|
@ -1,22 +0,0 @@
|
||||||
---
|
|
||||||
"astro": minor
|
|
||||||
---
|
|
||||||
|
|
||||||
Improves the developer experience of the `500.astro` file by passing it a new `error` prop.
|
|
||||||
|
|
||||||
When an error is thrown, the special `src/pages/500.astro` page now automatically receives the error as a prop. This allows you to display more specific information about the error on a custom 500 page.
|
|
||||||
|
|
||||||
```astro
|
|
||||||
---
|
|
||||||
// src/pages/500.astro
|
|
||||||
interface Props {
|
|
||||||
error: unknown
|
|
||||||
}
|
|
||||||
|
|
||||||
const { error } = Astro.props
|
|
||||||
---
|
|
||||||
|
|
||||||
<div>{error instanceof Error ? error.message : 'Unknown error'}</div>
|
|
||||||
```
|
|
||||||
|
|
||||||
If an error occurs rendering this page, your host's default 500 error page will be shown to your visitor in production, and Astro's default error overlay will be shown in development.
|
|
|
@ -1,7 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Corrects an inconsistency in dev where middleware would run for prerendered 404 routes.
|
|
||||||
Middleware is not run for prerendered 404 routes in production, so this was incorrect.
|
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
---
|
|
||||||
'astro': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixes an issue that would break `Astro.request.url` and `Astro.request.headers` in `astro dev` if HTTP/2 was enabled.
|
|
||||||
|
|
||||||
HTTP/2 is now enabled by default in `astro dev` if `https` is configured in the Vite config.
|
|
|
@ -11,6 +11,6 @@
|
||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"astro": "^4.10.3"
|
"astro": "^4.11.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,6 +14,6 @@
|
||||||
"@astrojs/mdx": "^3.1.1",
|
"@astrojs/mdx": "^3.1.1",
|
||||||
"@astrojs/rss": "^4.0.6",
|
"@astrojs/rss": "^4.0.6",
|
||||||
"@astrojs/sitemap": "^3.1.6",
|
"@astrojs/sitemap": "^3.1.6",
|
||||||
"astro": "^4.10.3"
|
"astro": "^4.11.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
],
|
],
|
||||||
"scripts": {},
|
"scripts": {},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^4.10.3"
|
"astro": "^4.11.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"astro": "^4.0.0"
|
"astro": "^4.0.0"
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
"test": "vitest run"
|
"test": "vitest run"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"astro": "^4.10.3",
|
"astro": "^4.11.0",
|
||||||
"@astrojs/react": "^3.6.0",
|
"@astrojs/react": "^3.6.0",
|
||||||
"react": "^18.3.1",
|
"react": "^18.3.1",
|
||||||
"react-dom": "^18.3.1",
|
"react-dom": "^18.3.1",
|
||||||
|
|
|
@ -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.0",
|
"alpinejs": "^3.14.0",
|
||||||
"astro": "^4.10.3"
|
"astro": "^4.11.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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.10.3",
|
"astro": "^4.11.0",
|
||||||
"lit": "^3.1.4"
|
"lit": "^3.1.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
"@astrojs/vue": "^4.5.0",
|
"@astrojs/vue": "^4.5.0",
|
||||||
"@types/react": "^18.3.3",
|
"@types/react": "^18.3.3",
|
||||||
"@types/react-dom": "^18.3.0",
|
"@types/react-dom": "^18.3.0",
|
||||||
"astro": "^4.10.3",
|
"astro": "^4.11.0",
|
||||||
"preact": "^10.22.0",
|
"preact": "^10.22.0",
|
||||||
"react": "^18.3.1",
|
"react": "^18.3.1",
|
||||||
"react-dom": "^18.3.1",
|
"react-dom": "^18.3.1",
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/preact": "^3.5.0",
|
"@astrojs/preact": "^3.5.0",
|
||||||
"@preact/signals": "^1.2.3",
|
"@preact/signals": "^1.2.3",
|
||||||
"astro": "^4.10.3",
|
"astro": "^4.11.0",
|
||||||
"preact": "^10.22.0"
|
"preact": "^10.22.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
"@astrojs/react": "^3.6.0",
|
"@astrojs/react": "^3.6.0",
|
||||||
"@types/react": "^18.3.3",
|
"@types/react": "^18.3.3",
|
||||||
"@types/react-dom": "^18.3.0",
|
"@types/react-dom": "^18.3.0",
|
||||||
"astro": "^4.10.3",
|
"astro": "^4.11.0",
|
||||||
"react": "^18.3.1",
|
"react": "^18.3.1",
|
||||||
"react-dom": "^18.3.1"
|
"react-dom": "^18.3.1"
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/solid-js": "^4.4.0",
|
"@astrojs/solid-js": "^4.4.0",
|
||||||
"astro": "^4.10.3",
|
"astro": "^4.11.0",
|
||||||
"solid-js": "^1.8.17"
|
"solid-js": "^1.8.17"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/svelte": "^5.6.0",
|
"@astrojs/svelte": "^5.6.0",
|
||||||
"astro": "^4.10.3",
|
"astro": "^4.11.0",
|
||||||
"svelte": "^4.2.18"
|
"svelte": "^4.2.18"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/vue": "^4.5.0",
|
"@astrojs/vue": "^4.5.0",
|
||||||
"astro": "^4.10.3",
|
"astro": "^4.11.0",
|
||||||
"vue": "^3.4.29"
|
"vue": "^3.4.29"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,6 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/node": "^8.3.1",
|
"@astrojs/node": "^8.3.1",
|
||||||
"astro": "^4.10.3"
|
"astro": "^4.11.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
],
|
],
|
||||||
"scripts": {},
|
"scripts": {},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^4.10.3"
|
"astro": "^4.11.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"astro": "^4.0.0"
|
"astro": "^4.0.0"
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/node": "^8.3.1",
|
"@astrojs/node": "^8.3.1",
|
||||||
"astro": "^4.10.3",
|
"astro": "^4.11.0",
|
||||||
"html-minifier": "^4.0.0"
|
"html-minifier": "^4.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
|
@ -11,6 +11,6 @@
|
||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"astro": "^4.10.3"
|
"astro": "^4.11.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,6 @@
|
||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"astro": "^4.10.3"
|
"astro": "^4.11.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,6 @@
|
||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"astro": "^4.10.3"
|
"astro": "^4.11.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/node": "^8.3.1",
|
"@astrojs/node": "^8.3.1",
|
||||||
"@astrojs/svelte": "^5.6.0",
|
"@astrojs/svelte": "^5.6.0",
|
||||||
"astro": "^4.10.3",
|
"astro": "^4.11.0",
|
||||||
"svelte": "^4.2.18"
|
"svelte": "^4.2.18"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"astro": "^4.10.3",
|
"astro": "^4.11.0",
|
||||||
"sass": "^1.77.5",
|
"sass": "^1.77.5",
|
||||||
"sharp": "^0.33.3"
|
"sharp": "^0.33.3"
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,6 +15,6 @@
|
||||||
"./app": "./dist/app.js"
|
"./app": "./dist/app.js"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^4.10.3"
|
"astro": "^4.11.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,6 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/tailwind": "^5.1.0",
|
"@astrojs/tailwind": "^5.1.0",
|
||||||
"@astrojs/node": "^8.3.1",
|
"@astrojs/node": "^8.3.1",
|
||||||
"astro": "^4.10.3"
|
"astro": "^4.11.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,6 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/markdoc": "^0.11.0",
|
"@astrojs/markdoc": "^0.11.0",
|
||||||
"astro": "^4.10.3"
|
"astro": "^4.11.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/markdown-remark": "^5.1.0",
|
"@astrojs/markdown-remark": "^5.1.0",
|
||||||
"astro": "^4.10.3",
|
"astro": "^4.11.0",
|
||||||
"hast-util-select": "^6.0.2",
|
"hast-util-select": "^6.0.2",
|
||||||
"rehype-autolink-headings": "^7.1.0",
|
"rehype-autolink-headings": "^7.1.0",
|
||||||
"rehype-slug": "^6.0.0",
|
"rehype-slug": "^6.0.0",
|
||||||
|
|
|
@ -11,6 +11,6 @@
|
||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"astro": "^4.10.3"
|
"astro": "^4.11.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/mdx": "^3.1.1",
|
"@astrojs/mdx": "^3.1.1",
|
||||||
"@astrojs/preact": "^3.5.0",
|
"@astrojs/preact": "^3.5.0",
|
||||||
"astro": "^4.10.3",
|
"astro": "^4.11.0",
|
||||||
"preact": "^10.22.0"
|
"preact": "^10.22.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/preact": "^3.5.0",
|
"@astrojs/preact": "^3.5.0",
|
||||||
"@nanostores/preact": "^0.5.1",
|
"@nanostores/preact": "^0.5.1",
|
||||||
"astro": "^4.10.3",
|
"astro": "^4.11.0",
|
||||||
"nanostores": "^0.10.3",
|
"nanostores": "^0.10.3",
|
||||||
"preact": "^10.22.0"
|
"preact": "^10.22.0"
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
"@astrojs/mdx": "^3.1.1",
|
"@astrojs/mdx": "^3.1.1",
|
||||||
"@astrojs/tailwind": "^5.1.0",
|
"@astrojs/tailwind": "^5.1.0",
|
||||||
"@types/canvas-confetti": "^1.6.4",
|
"@types/canvas-confetti": "^1.6.4",
|
||||||
"astro": "^4.10.3",
|
"astro": "^4.11.0",
|
||||||
"autoprefixer": "^10.4.19",
|
"autoprefixer": "^10.4.19",
|
||||||
"canvas-confetti": "^1.9.3",
|
"canvas-confetti": "^1.9.3",
|
||||||
"postcss": "^8.4.38",
|
"postcss": "^8.4.38",
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
"test": "vitest"
|
"test": "vitest"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"astro": "^4.10.3",
|
"astro": "^4.11.0",
|
||||||
"vitest": "^1.6.0"
|
"vitest": "^1.6.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,75 @@
|
||||||
# astro
|
# astro
|
||||||
|
|
||||||
|
## 4.11.0
|
||||||
|
|
||||||
|
### Minor Changes
|
||||||
|
|
||||||
|
- [#11197](https://github.com/withastro/astro/pull/11197) [`4b46bd9`](https://github.com/withastro/astro/commit/4b46bd9bdcbb302f294aa27b8aa07099e104fa17) Thanks [@braebo](https://github.com/braebo)! - Adds [`ShikiTransformer`](https://shiki.style/packages/transformers#shikijs-transformers) support to the [`<Code />`](https://docs.astro.build/en/reference/api-reference/#code-) component with a new `transformers` prop.
|
||||||
|
|
||||||
|
Note that `transformers` only applies classes and you must provide your own CSS rules to target the elements of your code block.
|
||||||
|
|
||||||
|
```astro
|
||||||
|
---
|
||||||
|
import { transformerNotationFocus } from '@shikijs/transformers';
|
||||||
|
import { Code } from 'astro:components';
|
||||||
|
|
||||||
|
const code = `const foo = 'hello'
|
||||||
|
const bar = ' world'
|
||||||
|
console.log(foo + bar) // [!code focus]
|
||||||
|
`;
|
||||||
|
---
|
||||||
|
|
||||||
|
<Code {code} lang="js" transformers={[transformerNotationFocus()]} />
|
||||||
|
|
||||||
|
<style is:global>
|
||||||
|
pre.has-focused .line:not(.focused) {
|
||||||
|
filter: blur(1px);
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
```
|
||||||
|
|
||||||
|
- [#11134](https://github.com/withastro/astro/pull/11134) [`9042be0`](https://github.com/withastro/astro/commit/9042be049157ce859355f911565bc0c3d68f0aa1) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Improves the developer experience of the `500.astro` file by passing it a new `error` prop.
|
||||||
|
|
||||||
|
When an error is thrown, the special `src/pages/500.astro` page now automatically receives the error as a prop. This allows you to display more specific information about the error on a custom 500 page.
|
||||||
|
|
||||||
|
```astro
|
||||||
|
---
|
||||||
|
// src/pages/500.astro
|
||||||
|
interface Props {
|
||||||
|
error: unknown;
|
||||||
|
}
|
||||||
|
|
||||||
|
const { error } = Astro.props;
|
||||||
|
---
|
||||||
|
|
||||||
|
<div>{error instanceof Error ? error.message : 'Unknown error'}</div>
|
||||||
|
```
|
||||||
|
|
||||||
|
If an error occurs rendering this page, your host's default 500 error page will be shown to your visitor in production, and Astro's default error overlay will be shown in development.
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- [#11280](https://github.com/withastro/astro/pull/11280) [`fd3645f`](https://github.com/withastro/astro/commit/fd3645fe8364ec5e280b6802d1468867890d463c) Thanks [@ascorbic](https://github.com/ascorbic)! - Fixes a bug that prevented cookies from being set when using experimental rewrites
|
||||||
|
|
||||||
|
- [#11275](https://github.com/withastro/astro/pull/11275) [`bab700d`](https://github.com/withastro/astro/commit/bab700d69085b1de8f03fc1b0b31651f709cbfe3) Thanks [@syhily](https://github.com/syhily)! - Drop duplicated brackets in data collections schema generation.
|
||||||
|
|
||||||
|
- [#11272](https://github.com/withastro/astro/pull/11272) [`ea987d7`](https://github.com/withastro/astro/commit/ea987d7da589ead9aa4b550f167f5e2f6c939d2e) Thanks [@ematipico](https://github.com/ematipico)! - Fixes a case where rewriting `/` would cause an issue, when `trailingSlash` was set to `"never"`.
|
||||||
|
|
||||||
|
- [#11272](https://github.com/withastro/astro/pull/11272) [`ea987d7`](https://github.com/withastro/astro/commit/ea987d7da589ead9aa4b550f167f5e2f6c939d2e) Thanks [@ematipico](https://github.com/ematipico)! - Reverts a logic where it wasn't possible to rewrite `/404` in static mode. It's **now possible** again
|
||||||
|
|
||||||
|
- [#11264](https://github.com/withastro/astro/pull/11264) [`5a9c9a6`](https://github.com/withastro/astro/commit/5a9c9a60e7c32aa461b86b5bc667cb955e23d4d9) Thanks [@Fryuni](https://github.com/Fryuni)! - Fixes type generation for empty content collections
|
||||||
|
|
||||||
|
- [#11279](https://github.com/withastro/astro/pull/11279) [`9a08d74`](https://github.com/withastro/astro/commit/9a08d74bc00ae2c3bc254f99580a22ce4df1d002) Thanks [@ascorbic](https://github.com/ascorbic)! - Improves type-checking and error handling to catch case where an image import is passed directly to `getImage()`
|
||||||
|
|
||||||
|
- [#11292](https://github.com/withastro/astro/pull/11292) [`7f8f347`](https://github.com/withastro/astro/commit/7f8f34799528ed0b2011e1ea273bd0636f6e767d) Thanks [@jdtjenkins](https://github.com/jdtjenkins)! - Fixes a case where `defineAction` autocomplete for the `accept` prop would not show `"form"` as a possible value
|
||||||
|
|
||||||
|
- [#11273](https://github.com/withastro/astro/pull/11273) [`cb4d078`](https://github.com/withastro/astro/commit/cb4d07819f0dbdfd94bc4f084edf7720ada01323) Thanks [@ascorbic](https://github.com/ascorbic)! - Corrects an inconsistency in dev where middleware would run for prerendered 404 routes.
|
||||||
|
Middleware is not run for prerendered 404 routes in production, so this was incorrect.
|
||||||
|
|
||||||
|
- [#11284](https://github.com/withastro/astro/pull/11284) [`f4b029b`](https://github.com/withastro/astro/commit/f4b029b08264268c68fc81ea25b264e81f47e683) Thanks [@ascorbic](https://github.com/ascorbic)! - Fixes an issue that would break `Astro.request.url` and `Astro.request.headers` in `astro dev` if HTTP/2 was enabled.
|
||||||
|
|
||||||
|
HTTP/2 is now enabled by default in `astro dev` if `https` is configured in the Vite config.
|
||||||
|
|
||||||
## 4.10.3
|
## 4.10.3
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "astro",
|
"name": "astro",
|
||||||
"version": "4.10.3",
|
"version": "4.11.0",
|
||||||
"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",
|
||||||
|
|
|
@ -128,7 +128,7 @@ importers:
|
||||||
examples/basics:
|
examples/basics:
|
||||||
dependencies:
|
dependencies:
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.10.3
|
specifier: ^4.11.0
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
|
|
||||||
examples/blog:
|
examples/blog:
|
||||||
|
@ -143,13 +143,13 @@ importers:
|
||||||
specifier: ^3.1.6
|
specifier: ^3.1.6
|
||||||
version: link:../../packages/integrations/sitemap
|
version: link:../../packages/integrations/sitemap
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.10.3
|
specifier: ^4.11.0
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
|
|
||||||
examples/component:
|
examples/component:
|
||||||
devDependencies:
|
devDependencies:
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.10.3
|
specifier: ^4.11.0
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
|
|
||||||
examples/container-with-vitest:
|
examples/container-with-vitest:
|
||||||
|
@ -158,7 +158,7 @@ importers:
|
||||||
specifier: ^3.6.0
|
specifier: ^3.6.0
|
||||||
version: link:../../packages/integrations/react
|
version: link:../../packages/integrations/react
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.10.3
|
specifier: ^4.11.0
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
react:
|
react:
|
||||||
specifier: ^18.3.1
|
specifier: ^18.3.1
|
||||||
|
@ -189,7 +189,7 @@ importers:
|
||||||
specifier: ^3.14.0
|
specifier: ^3.14.0
|
||||||
version: 3.14.0
|
version: 3.14.0
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.10.3
|
specifier: ^4.11.0
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
|
|
||||||
examples/framework-lit:
|
examples/framework-lit:
|
||||||
|
@ -201,7 +201,7 @@ importers:
|
||||||
specifier: ^0.2.1
|
specifier: ^0.2.1
|
||||||
version: 0.2.1
|
version: 0.2.1
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.10.3
|
specifier: ^4.11.0
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
lit:
|
lit:
|
||||||
specifier: ^3.1.4
|
specifier: ^3.1.4
|
||||||
|
@ -231,7 +231,7 @@ importers:
|
||||||
specifier: ^18.3.0
|
specifier: ^18.3.0
|
||||||
version: 18.3.0
|
version: 18.3.0
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.10.3
|
specifier: ^4.11.0
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
preact:
|
preact:
|
||||||
specifier: ^10.22.0
|
specifier: ^10.22.0
|
||||||
|
@ -261,7 +261,7 @@ importers:
|
||||||
specifier: ^1.2.3
|
specifier: ^1.2.3
|
||||||
version: 1.2.3(preact@10.22.0)
|
version: 1.2.3(preact@10.22.0)
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.10.3
|
specifier: ^4.11.0
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
preact:
|
preact:
|
||||||
specifier: ^10.22.0
|
specifier: ^10.22.0
|
||||||
|
@ -279,7 +279,7 @@ importers:
|
||||||
specifier: ^18.3.0
|
specifier: ^18.3.0
|
||||||
version: 18.3.0
|
version: 18.3.0
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.10.3
|
specifier: ^4.11.0
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
react:
|
react:
|
||||||
specifier: ^18.3.1
|
specifier: ^18.3.1
|
||||||
|
@ -294,7 +294,7 @@ importers:
|
||||||
specifier: ^4.4.0
|
specifier: ^4.4.0
|
||||||
version: link:../../packages/integrations/solid
|
version: link:../../packages/integrations/solid
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.10.3
|
specifier: ^4.11.0
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
solid-js:
|
solid-js:
|
||||||
specifier: ^1.8.17
|
specifier: ^1.8.17
|
||||||
|
@ -306,7 +306,7 @@ importers:
|
||||||
specifier: ^5.6.0
|
specifier: ^5.6.0
|
||||||
version: link:../../packages/integrations/svelte
|
version: link:../../packages/integrations/svelte
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.10.3
|
specifier: ^4.11.0
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
svelte:
|
svelte:
|
||||||
specifier: ^4.2.18
|
specifier: ^4.2.18
|
||||||
|
@ -318,7 +318,7 @@ importers:
|
||||||
specifier: ^4.5.0
|
specifier: ^4.5.0
|
||||||
version: link:../../packages/integrations/vue
|
version: link:../../packages/integrations/vue
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.10.3
|
specifier: ^4.11.0
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
vue:
|
vue:
|
||||||
specifier: ^3.4.29
|
specifier: ^3.4.29
|
||||||
|
@ -330,13 +330,13 @@ importers:
|
||||||
specifier: ^8.3.1
|
specifier: ^8.3.1
|
||||||
version: link:../../packages/integrations/node
|
version: link:../../packages/integrations/node
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.10.3
|
specifier: ^4.11.0
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
|
|
||||||
examples/integration:
|
examples/integration:
|
||||||
devDependencies:
|
devDependencies:
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.10.3
|
specifier: ^4.11.0
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
|
|
||||||
examples/middleware:
|
examples/middleware:
|
||||||
|
@ -345,7 +345,7 @@ importers:
|
||||||
specifier: ^8.3.1
|
specifier: ^8.3.1
|
||||||
version: link:../../packages/integrations/node
|
version: link:../../packages/integrations/node
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.10.3
|
specifier: ^4.11.0
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
html-minifier:
|
html-minifier:
|
||||||
specifier: ^4.0.0
|
specifier: ^4.0.0
|
||||||
|
@ -358,19 +358,19 @@ importers:
|
||||||
examples/minimal:
|
examples/minimal:
|
||||||
dependencies:
|
dependencies:
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.10.3
|
specifier: ^4.11.0
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
|
|
||||||
examples/non-html-pages:
|
examples/non-html-pages:
|
||||||
dependencies:
|
dependencies:
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.10.3
|
specifier: ^4.11.0
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
|
|
||||||
examples/portfolio:
|
examples/portfolio:
|
||||||
dependencies:
|
dependencies:
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.10.3
|
specifier: ^4.11.0
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
|
|
||||||
examples/ssr:
|
examples/ssr:
|
||||||
|
@ -382,7 +382,7 @@ importers:
|
||||||
specifier: ^5.6.0
|
specifier: ^5.6.0
|
||||||
version: link:../../packages/integrations/svelte
|
version: link:../../packages/integrations/svelte
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.10.3
|
specifier: ^4.11.0
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
svelte:
|
svelte:
|
||||||
specifier: ^4.2.18
|
specifier: ^4.2.18
|
||||||
|
@ -391,7 +391,7 @@ importers:
|
||||||
examples/starlog:
|
examples/starlog:
|
||||||
dependencies:
|
dependencies:
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.10.3
|
specifier: ^4.11.0
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
sass:
|
sass:
|
||||||
specifier: ^1.77.5
|
specifier: ^1.77.5
|
||||||
|
@ -403,7 +403,7 @@ importers:
|
||||||
examples/toolbar-app:
|
examples/toolbar-app:
|
||||||
devDependencies:
|
devDependencies:
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.10.3
|
specifier: ^4.11.0
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
|
|
||||||
examples/view-transitions:
|
examples/view-transitions:
|
||||||
|
@ -415,7 +415,7 @@ importers:
|
||||||
specifier: ^5.1.0
|
specifier: ^5.1.0
|
||||||
version: link:../../packages/integrations/tailwind
|
version: link:../../packages/integrations/tailwind
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.10.3
|
specifier: ^4.11.0
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
|
|
||||||
examples/with-markdoc:
|
examples/with-markdoc:
|
||||||
|
@ -424,7 +424,7 @@ importers:
|
||||||
specifier: ^0.11.0
|
specifier: ^0.11.0
|
||||||
version: link:../../packages/integrations/markdoc
|
version: link:../../packages/integrations/markdoc
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.10.3
|
specifier: ^4.11.0
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
|
|
||||||
examples/with-markdown-plugins:
|
examples/with-markdown-plugins:
|
||||||
|
@ -433,7 +433,7 @@ importers:
|
||||||
specifier: ^5.1.0
|
specifier: ^5.1.0
|
||||||
version: link:../../packages/markdown/remark
|
version: link:../../packages/markdown/remark
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.10.3
|
specifier: ^4.11.0
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
hast-util-select:
|
hast-util-select:
|
||||||
specifier: ^6.0.2
|
specifier: ^6.0.2
|
||||||
|
@ -454,7 +454,7 @@ importers:
|
||||||
examples/with-markdown-shiki:
|
examples/with-markdown-shiki:
|
||||||
dependencies:
|
dependencies:
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.10.3
|
specifier: ^4.11.0
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
|
|
||||||
examples/with-mdx:
|
examples/with-mdx:
|
||||||
|
@ -466,7 +466,7 @@ importers:
|
||||||
specifier: ^3.5.0
|
specifier: ^3.5.0
|
||||||
version: link:../../packages/integrations/preact
|
version: link:../../packages/integrations/preact
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.10.3
|
specifier: ^4.11.0
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
preact:
|
preact:
|
||||||
specifier: ^10.22.0
|
specifier: ^10.22.0
|
||||||
|
@ -481,7 +481,7 @@ importers:
|
||||||
specifier: ^0.5.1
|
specifier: ^0.5.1
|
||||||
version: 0.5.1(nanostores@0.10.3)(preact@10.22.0)
|
version: 0.5.1(nanostores@0.10.3)(preact@10.22.0)
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.10.3
|
specifier: ^4.11.0
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
nanostores:
|
nanostores:
|
||||||
specifier: ^0.10.3
|
specifier: ^0.10.3
|
||||||
|
@ -502,7 +502,7 @@ importers:
|
||||||
specifier: ^1.6.4
|
specifier: ^1.6.4
|
||||||
version: 1.6.4
|
version: 1.6.4
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.10.3
|
specifier: ^4.11.0
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
autoprefixer:
|
autoprefixer:
|
||||||
specifier: ^10.4.19
|
specifier: ^10.4.19
|
||||||
|
@ -520,7 +520,7 @@ importers:
|
||||||
examples/with-vitest:
|
examples/with-vitest:
|
||||||
dependencies:
|
dependencies:
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.10.3
|
specifier: ^4.11.0
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
vitest:
|
vitest:
|
||||||
specifier: ^1.6.0
|
specifier: ^1.6.0
|
||||||
|
@ -2569,27 +2569,6 @@ importers:
|
||||||
specifier: ^3.4.29
|
specifier: ^3.4.29
|
||||||
version: 3.4.29(typescript@5.4.5)
|
version: 3.4.29(typescript@5.4.5)
|
||||||
|
|
||||||
packages/astro/test/fixtures/container-dev-renderers:
|
|
||||||
dependencies:
|
|
||||||
'@astrojs/react':
|
|
||||||
specifier: workspace:*
|
|
||||||
version: link:../../../../integrations/react
|
|
||||||
'@astrojs/vue':
|
|
||||||
specifier: workspace:*
|
|
||||||
version: link:../../../../integrations/vue
|
|
||||||
astro:
|
|
||||||
specifier: workspace:*
|
|
||||||
version: link:../../..
|
|
||||||
react:
|
|
||||||
specifier: ^18.3.1
|
|
||||||
version: 18.3.1
|
|
||||||
react-dom:
|
|
||||||
specifier: ^18.3.1
|
|
||||||
version: 18.3.1(react@18.3.1)
|
|
||||||
vue:
|
|
||||||
specifier: ^3.4.29
|
|
||||||
version: 3.4.29(typescript@5.4.5)
|
|
||||||
|
|
||||||
packages/astro/test/fixtures/content:
|
packages/astro/test/fixtures/content:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@astrojs/mdx':
|
'@astrojs/mdx':
|
||||||
|
|
Loading…
Reference in a new issue