[ci] release (#12919)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Houston (Bot) 2025-01-09 01:46:30 -08:00 committed by GitHub
parent 9962b09329
commit 5f16a4c524
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
45 changed files with 130 additions and 165 deletions

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Fixes a bug where Astro attempted to decode a request URL multiple times, resulting in an unexpected behaviour when decoding the character `%`

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Improves the config error for invalid combinations of `context` and `access` properties under `env.schema`

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Fixes an issue where `Astro.locals` coming from an adapter weren't available in the `404.astro`, when using the `astro dev` command,

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Ensures image styles are not imported unless experimental responsive images are enabled

View file

@ -1,5 +0,0 @@
---
'@astrojs/underscore-redirects': minor
---
Updates how the output is determined in `createRedirectsFromAstroRoutes`. Since `v0.5.0`, the output would use the `buildOutput` property and `config.output` as a fallback. It no longer uses this fallback.

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Improves remote image cache efficiency by separating image data and metadata into a binary and sidecar JSON file.

View file

@ -1,5 +0,0 @@
---
'@astrojs/mdx': patch
---
Fixes a bug that caused Image component to be imported on MDX pages that did not include images

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Processes markdown with empty body as remark and rehype plugins may add additional content or frontmatter

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Fixes a bug where the logged output path does not match the actual output path when using `build.format: 'preserve'`

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Allows configuring Astro modules TypeScript compilation with the `vite.esbuild` config

View file

@ -1,5 +0,0 @@
---
'@astrojs/mdx': patch
---
Makes internal `check()` function a no-op to allow faster component renders and prevent React 19 component warnings

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Fixes a bug where content collections would sometimes appear empty when first running astro dev

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Fixes a bug where users could use `Astro.request.headers` during a rewrite inside prerendered routes. This an invalid behaviour, and now Astro will show a warning if this happens.

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Fixes an issue where the use of `Astro.rewrite` would trigger the invalid use of `Astro.request.headers`

View file

@ -1,40 +0,0 @@
---
'@astrojs/underscore-redirects': minor
---
Updates the input requirements of `createRedirectsFromAstroRoutes`:
- `routeToDynamicTargetMap` keys are `IntegrationResolvedRoute` instead of `IntegrationRouteData` (obtained from the `astro:routes:resolved` hook)
- There's a new `assets` property, that can be obtained from the `astro:build:done` hook
```js
function myIntegration() {
let routes
let buildOutput
let config
return {
name: "my-integration",
hooks: {
"astro:routes:resolved": (params) => {
routes = params.routes
},
"astro:config:done": (params) => {
buildOutput = params.buildOutput
config = params.config
},
"astro:build:done": (params) => {
const redirects = createRedirectsFromAstroRoutes({
config,
buildOutput,
routeToDynamicTargetMap: new Map(
routes.map(route => [route, ''])
),
dir: params.dir,
assets: params.assets
})
}
}
}
}
```

View file

@ -10,6 +10,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^5.1.3"
"astro": "^5.1.4"
}
}

View file

@ -10,9 +10,9 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/mdx": "^4.0.3",
"@astrojs/mdx": "^4.0.4",
"@astrojs/rss": "^4.0.11",
"@astrojs/sitemap": "^3.2.1",
"astro": "^5.1.3"
"astro": "^5.1.4"
}
}

View file

@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
"astro": "^5.1.3"
"astro": "^5.1.4"
},
"peerDependencies": {
"astro": "^4.0.0 || ^5.0.0"

View file

@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/react": "^4.1.2",
"astro": "^5.1.3",
"astro": "^5.1.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"vitest": "^3.0.0-beta.3"

View file

@ -13,6 +13,6 @@
"@astrojs/alpinejs": "^0.4.1",
"@types/alpinejs": "^3.13.10",
"alpinejs": "^3.14.3",
"astro": "^5.1.3"
"astro": "^5.1.4"
}
}

View file

@ -17,7 +17,7 @@
"@astrojs/vue": "^5.0.4",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"astro": "^5.1.3",
"astro": "^5.1.4",
"preact": "^10.24.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",

View file

@ -12,7 +12,7 @@
"dependencies": {
"@astrojs/preact": "^4.0.1",
"@preact/signals": "^2.0.0",
"astro": "^5.1.3",
"astro": "^5.1.4",
"preact": "^10.24.3"
}
}

View file

@ -13,7 +13,7 @@
"@astrojs/react": "^4.1.2",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"astro": "^5.1.3",
"astro": "^5.1.4",
"react": "^18.3.1",
"react-dom": "^18.3.1"
}

View file

@ -11,7 +11,7 @@
},
"dependencies": {
"@astrojs/solid-js": "^5.0.1",
"astro": "^5.1.3",
"astro": "^5.1.4",
"solid-js": "^1.9.3"
}
}

View file

@ -11,7 +11,7 @@
},
"dependencies": {
"@astrojs/svelte": "^7.0.3",
"astro": "^5.1.3",
"astro": "^5.1.4",
"svelte": "^5.1.16"
}
}

View file

@ -11,7 +11,7 @@
},
"dependencies": {
"@astrojs/vue": "^5.0.4",
"astro": "^5.1.3",
"astro": "^5.1.4",
"vue": "^3.5.12"
}
}

View file

@ -11,6 +11,6 @@
},
"dependencies": {
"@astrojs/node": "^9.0.0",
"astro": "^5.1.3"
"astro": "^5.1.4"
}
}

View file

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

View file

@ -10,6 +10,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^5.1.3"
"astro": "^5.1.4"
}
}

View file

@ -10,6 +10,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^5.1.3"
"astro": "^5.1.4"
}
}

View file

@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/node": "^9.0.0",
"@astrojs/svelte": "^7.0.3",
"astro": "^5.1.3",
"astro": "^5.1.4",
"svelte": "^5.1.16"
}
}

View file

@ -9,7 +9,7 @@
"astro": "astro"
},
"dependencies": {
"astro": "^5.1.3",
"astro": "^5.1.4",
"sass": "^1.80.6",
"sharp": "^0.33.3"
}

View file

@ -16,6 +16,6 @@
},
"devDependencies": {
"@types/node": "^18.17.8",
"astro": "^5.1.3"
"astro": "^5.1.4"
}
}

View file

@ -11,6 +11,6 @@
},
"dependencies": {
"@astrojs/markdoc": "^0.12.4",
"astro": "^5.1.3"
"astro": "^5.1.4"
}
}

View file

@ -10,9 +10,9 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/mdx": "^4.0.3",
"@astrojs/mdx": "^4.0.4",
"@astrojs/preact": "^4.0.1",
"astro": "^5.1.3",
"astro": "^5.1.4",
"preact": "^10.24.3"
}
}

View file

@ -12,7 +12,7 @@
"dependencies": {
"@astrojs/preact": "^4.0.1",
"@nanostores/preact": "^0.5.2",
"astro": "^5.1.3",
"astro": "^5.1.4",
"nanostores": "^0.11.3",
"preact": "^10.24.3"
}

View file

@ -10,10 +10,10 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/mdx": "^4.0.3",
"@astrojs/mdx": "^4.0.4",
"@astrojs/tailwind": "^5.1.4",
"@types/canvas-confetti": "^1.6.4",
"astro": "^5.1.3",
"astro": "^5.1.4",
"autoprefixer": "^10.4.20",
"canvas-confetti": "^1.9.3",
"postcss": "^8.4.49",

View file

@ -11,7 +11,7 @@
"test": "vitest"
},
"dependencies": {
"astro": "^5.1.3",
"astro": "^5.1.4",
"vitest": "^3.0.0-beta.3"
}
}

View file

@ -1,5 +1,31 @@
# astro
## 5.1.4
### Patch Changes
- [#12927](https://github.com/withastro/astro/pull/12927) [`ad2a752`](https://github.com/withastro/astro/commit/ad2a752662946e3a80849605f073812b06adf632) Thanks [@ematipico](https://github.com/ematipico)! - Fixes a bug where Astro attempted to decode a request URL multiple times, resulting in an unexpected behaviour when decoding the character `%`
- [#12912](https://github.com/withastro/astro/pull/12912) [`0c0c66b`](https://github.com/withastro/astro/commit/0c0c66bf0df23ab5a9bd2f147e303d8397d3222e) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Improves the config error for invalid combinations of `context` and `access` properties under `env.schema`
- [#12935](https://github.com/withastro/astro/pull/12935) [`3d47e6b`](https://github.com/withastro/astro/commit/3d47e6baff7a17d3ef09630b0d90362baef41f97) Thanks [@AirBorne04](https://github.com/AirBorne04)! - Fixes an issue where `Astro.locals` coming from an adapter weren't available in the `404.astro`, when using the `astro dev` command,
- [#12925](https://github.com/withastro/astro/pull/12925) [`44841fc`](https://github.com/withastro/astro/commit/44841fc281f8920b32f4b4a94deefeb3ad069cf3) Thanks [@ascorbic](https://github.com/ascorbic)! - Ensures image styles are not imported unless experimental responsive images are enabled
- [#12926](https://github.com/withastro/astro/pull/12926) [`8e64bb7`](https://github.com/withastro/astro/commit/8e64bb727f78f24b26fd1c0b1289ab1ccd611114) Thanks [@oliverlynch](https://github.com/oliverlynch)! - Improves remote image cache efficiency by separating image data and metadata into a binary and sidecar JSON file.
- [#12920](https://github.com/withastro/astro/pull/12920) [`8b9d530`](https://github.com/withastro/astro/commit/8b9d53037879cd7ca7bee4d20b4e6f08e984a7df) Thanks [@bluwy](https://github.com/bluwy)! - Processes markdown with empty body as remark and rehype plugins may add additional content or frontmatter
- [#12918](https://github.com/withastro/astro/pull/12918) [`fd12a26`](https://github.com/withastro/astro/commit/fd12a26ac6012c6b8a26f5a178e1bb46092a1806) Thanks [@lameuler](https://github.com/lameuler)! - Fixes a bug where the logged output path does not match the actual output path when using `build.format: 'preserve'`
- [#12676](https://github.com/withastro/astro/pull/12676) [`2ffc0fc`](https://github.com/withastro/astro/commit/2ffc0fcab78b658a6ee73a8f8b291802093dce5e) Thanks [@koyopro](https://github.com/koyopro)! - Allows configuring Astro modules TypeScript compilation with the `vite.esbuild` config
- [#12938](https://github.com/withastro/astro/pull/12938) [`dbb04f3`](https://github.com/withastro/astro/commit/dbb04f3c04ce868b5c985c848a2c40a3761a6dad) Thanks [@ascorbic](https://github.com/ascorbic)! - Fixes a bug where content collections would sometimes appear empty when first running astro dev
- [#12937](https://github.com/withastro/astro/pull/12937) [`30edb6d`](https://github.com/withastro/astro/commit/30edb6d9d0aaf28bea1fec73879f63fe134507d0) Thanks [@ematipico](https://github.com/ematipico)! - Fixes a bug where users could use `Astro.request.headers` during a rewrite inside prerendered routes. This an invalid behaviour, and now Astro will show a warning if this happens.
- [#12937](https://github.com/withastro/astro/pull/12937) [`30edb6d`](https://github.com/withastro/astro/commit/30edb6d9d0aaf28bea1fec73879f63fe134507d0) Thanks [@ematipico](https://github.com/ematipico)! - Fixes an issue where the use of `Astro.rewrite` would trigger the invalid use of `Astro.request.headers`
## 5.1.3
### Patch Changes

View file

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

View file

@ -1,5 +1,13 @@
# @astrojs/mdx
## 4.0.4
### Patch Changes
- [#12921](https://github.com/withastro/astro/pull/12921) [`aeb7e1a`](https://github.com/withastro/astro/commit/aeb7e1ac11ebf87847ed2fac89072aa2b4ac2aae) Thanks [@ascorbic](https://github.com/ascorbic)! - Fixes a bug that caused Image component to be imported on MDX pages that did not include images
- [#12913](https://github.com/withastro/astro/pull/12913) [`9a3b48c`](https://github.com/withastro/astro/commit/9a3b48c5c3e8f597159454f06c5a0ce8e709bc50) Thanks [@bluwy](https://github.com/bluwy)! - Makes internal `check()` function a no-op to allow faster component renders and prevent React 19 component warnings
## 4.0.3
### Patch Changes

View file

@ -1,7 +1,7 @@
{
"name": "@astrojs/mdx",
"description": "Add support for MDX pages in your Astro site",
"version": "4.0.3",
"version": "4.0.4",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",

View file

@ -1,5 +1,46 @@
# @astrojs/underscore-redirects
## 0.6.0
### Minor Changes
- [#12924](https://github.com/withastro/astro/pull/12924) [`3caa337`](https://github.com/withastro/astro/commit/3caa337f0ba917ad677fd8438b7045abc5d29e1c) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Updates how the output is determined in `createRedirectsFromAstroRoutes`. Since `v0.5.0`, the output would use the `buildOutput` property and `config.output` as a fallback. It no longer uses this fallback.
- [#12924](https://github.com/withastro/astro/pull/12924) [`3caa337`](https://github.com/withastro/astro/commit/3caa337f0ba917ad677fd8438b7045abc5d29e1c) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Updates the input requirements of `createRedirectsFromAstroRoutes`:
- `routeToDynamicTargetMap` keys are `IntegrationResolvedRoute` instead of `IntegrationRouteData` (obtained from the `astro:routes:resolved` hook)
- There's a new `assets` property, that can be obtained from the `astro:build:done` hook
```js
function myIntegration() {
let routes;
let buildOutput;
let config;
return {
name: 'my-integration',
hooks: {
'astro:routes:resolved': (params) => {
routes = params.routes;
},
'astro:config:done': (params) => {
buildOutput = params.buildOutput;
config = params.config;
},
'astro:build:done': (params) => {
const redirects = createRedirectsFromAstroRoutes({
config,
buildOutput,
routeToDynamicTargetMap: new Map(routes.map((route) => [route, ''])),
dir: params.dir,
assets: params.assets,
});
},
},
};
}
```
## 0.5.1
### Patch Changes

View file

@ -1,7 +1,7 @@
{
"name": "@astrojs/underscore-redirects",
"description": "Utilities to generate _redirects files in Astro projects",
"version": "0.5.1",
"version": "0.6.0",
"type": "module",
"author": "withastro",
"license": "MIT",

View file

@ -142,13 +142,13 @@ importers:
examples/basics:
dependencies:
astro:
specifier: ^5.1.3
specifier: ^5.1.4
version: link:../../packages/astro
examples/blog:
dependencies:
'@astrojs/mdx':
specifier: ^4.0.3
specifier: ^4.0.4
version: link:../../packages/integrations/mdx
'@astrojs/rss':
specifier: ^4.0.11
@ -157,13 +157,13 @@ importers:
specifier: ^3.2.1
version: link:../../packages/integrations/sitemap
astro:
specifier: ^5.1.3
specifier: ^5.1.4
version: link:../../packages/astro
examples/component:
devDependencies:
astro:
specifier: ^5.1.3
specifier: ^5.1.4
version: link:../../packages/astro
examples/container-with-vitest:
@ -172,7 +172,7 @@ importers:
specifier: ^4.1.2
version: link:../../packages/integrations/react
astro:
specifier: ^5.1.3
specifier: ^5.1.4
version: link:../../packages/astro
react:
specifier: ^18.3.1
@ -203,7 +203,7 @@ importers:
specifier: ^3.14.3
version: 3.14.3
astro:
specifier: ^5.1.3
specifier: ^5.1.4
version: link:../../packages/astro
examples/framework-multiple:
@ -230,7 +230,7 @@ importers:
specifier: ^18.3.1
version: 18.3.1
astro:
specifier: ^5.1.3
specifier: ^5.1.4
version: link:../../packages/astro
preact:
specifier: ^10.24.3
@ -260,7 +260,7 @@ importers:
specifier: ^2.0.0
version: 2.0.0(preact@10.25.1)
astro:
specifier: ^5.1.3
specifier: ^5.1.4
version: link:../../packages/astro
preact:
specifier: ^10.24.3
@ -278,7 +278,7 @@ importers:
specifier: ^18.3.1
version: 18.3.1
astro:
specifier: ^5.1.3
specifier: ^5.1.4
version: link:../../packages/astro
react:
specifier: ^18.3.1
@ -293,7 +293,7 @@ importers:
specifier: ^5.0.1
version: link:../../packages/integrations/solid
astro:
specifier: ^5.1.3
specifier: ^5.1.4
version: link:../../packages/astro
solid-js:
specifier: ^1.9.3
@ -305,7 +305,7 @@ importers:
specifier: ^7.0.3
version: link:../../packages/integrations/svelte
astro:
specifier: ^5.1.3
specifier: ^5.1.4
version: link:../../packages/astro
svelte:
specifier: ^5.1.16
@ -317,7 +317,7 @@ importers:
specifier: ^5.0.4
version: link:../../packages/integrations/vue
astro:
specifier: ^5.1.3
specifier: ^5.1.4
version: link:../../packages/astro
vue:
specifier: ^3.5.12
@ -329,25 +329,25 @@ importers:
specifier: ^9.0.0
version: 9.0.0(astro@packages+astro)
astro:
specifier: ^5.1.3
specifier: ^5.1.4
version: link:../../packages/astro
examples/integration:
devDependencies:
astro:
specifier: ^5.1.3
specifier: ^5.1.4
version: link:../../packages/astro
examples/minimal:
dependencies:
astro:
specifier: ^5.1.3
specifier: ^5.1.4
version: link:../../packages/astro
examples/portfolio:
dependencies:
astro:
specifier: ^5.1.3
specifier: ^5.1.4
version: link:../../packages/astro
examples/ssr:
@ -359,7 +359,7 @@ importers:
specifier: ^7.0.3
version: link:../../packages/integrations/svelte
astro:
specifier: ^5.1.3
specifier: ^5.1.4
version: link:../../packages/astro
svelte:
specifier: ^5.1.16
@ -368,7 +368,7 @@ importers:
examples/starlog:
dependencies:
astro:
specifier: ^5.1.3
specifier: ^5.1.4
version: link:../../packages/astro
sass:
specifier: ^1.80.6
@ -383,7 +383,7 @@ importers:
specifier: ^18.17.8
version: 18.19.50
astro:
specifier: ^5.1.3
specifier: ^5.1.4
version: link:../../packages/astro
examples/with-markdoc:
@ -392,19 +392,19 @@ importers:
specifier: ^0.12.4
version: link:../../packages/integrations/markdoc
astro:
specifier: ^5.1.3
specifier: ^5.1.4
version: link:../../packages/astro
examples/with-mdx:
dependencies:
'@astrojs/mdx':
specifier: ^4.0.3
specifier: ^4.0.4
version: link:../../packages/integrations/mdx
'@astrojs/preact':
specifier: ^4.0.1
version: link:../../packages/integrations/preact
astro:
specifier: ^5.1.3
specifier: ^5.1.4
version: link:../../packages/astro
preact:
specifier: ^10.24.3
@ -419,7 +419,7 @@ importers:
specifier: ^0.5.2
version: 0.5.2(nanostores@0.11.3)(preact@10.25.1)
astro:
specifier: ^5.1.3
specifier: ^5.1.4
version: link:../../packages/astro
nanostores:
specifier: ^0.11.3
@ -431,7 +431,7 @@ importers:
examples/with-tailwindcss:
dependencies:
'@astrojs/mdx':
specifier: ^4.0.3
specifier: ^4.0.4
version: link:../../packages/integrations/mdx
'@astrojs/tailwind':
specifier: ^5.1.4
@ -440,7 +440,7 @@ importers:
specifier: ^1.6.4
version: 1.6.4
astro:
specifier: ^5.1.3
specifier: ^5.1.4
version: link:../../packages/astro
autoprefixer:
specifier: ^10.4.20
@ -458,7 +458,7 @@ importers:
examples/with-vitest:
dependencies:
astro:
specifier: ^5.1.3
specifier: ^5.1.4
version: link:../../packages/astro
vitest:
specifier: ^3.0.0-beta.3