0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

[ci] release (#11225)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Houston (Bot) 2024-06-11 05:15:27 -07:00 committed by GitHub
parent c5152dbea3
commit dd0145d28b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
52 changed files with 177 additions and 189 deletions

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Fixes a regression for `getViteConfig`, where the inline config wasn't merged in the final config.

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Updates `getCollection()` to always return a cloned array

View file

@ -1,9 +0,0 @@
---
"@astrojs/partytown": patch
---
Prevent Partytown from crashing when View Transitions are enabled
When View Transitions are turned on, Partytown executes on every transition.
It's not meant to be like that, and therefore it breaks the integration completely.
Starting from now, Partytown will be executed only once.

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Fixes an issue in the rewriting logic where old data was not purged during the rewrite flow. This caused some false positives when checking the validity of URL path names during the rendering phase.

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Improve error message when using `getLocaleByPath` on path that doesn't contain any locales.

View file

@ -1,25 +0,0 @@
---
'astro': patch
---
Adds support for enums to `astro:env`
You can now call `envField.enum`:
```js
import { defineConfig, envField } from 'astro/config'
export default defineConfig({
experimental: {
env: {
schema: {
API_VERSION: envField.enum({
context: 'server',
access: 'secret',
values: ['v1', 'v2'],
})
}
}
}
})
```

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Close the iterator only after rendering is complete

View file

@ -1,38 +0,0 @@
---
'astro': patch
---
Adds additional validation options to `astro:env`
`astro:env` schema datatypes `string` and `number` now have new optional validation rules:
```js
import { defineConfig, envField } from 'astro/config'
export default defineConfig({
experimental: {
env: {
schema: {
FOO: envField.string({
// ...
max: 32,
min: 3,
length: 12,
url: true,
includes: 'foo',
startsWith: 'bar',
endsWith: 'baz'
}),
BAR: envField.number({
// ...
gt: 2,
min: 3,
lt: 10,
max: 9,
int: true
})
}
}
}
})
```

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Let middleware handle the original request URL

View file

@ -1,5 +0,0 @@
---
"astro": patch
---
Fixes an issue where a leading slash created incorrect conflict resolution between pages generated from static routes and catch-all dynamic routes

View file

@ -1,5 +0,0 @@
---
'@astrojs/db': patch
---
Export type `Database` from `@astrojs/db/runtime`

View file

@ -1,6 +0,0 @@
---
'@astrojs/vercel': minor
'@astrojs/node': minor
---
Adds support for experimental `astro:env` released in Astro 4.10

View file

@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^4.10.1"
"astro": "^4.10.2"
}
}

View file

@ -14,6 +14,6 @@
"@astrojs/mdx": "^3.1.0",
"@astrojs/rss": "^4.0.6",
"@astrojs/sitemap": "^3.1.5",
"astro": "^4.10.1"
"astro": "^4.10.2"
}
}

View file

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

View file

@ -12,7 +12,7 @@
"test": "vitest run"
},
"dependencies": {
"astro": "^4.10.1",
"astro": "^4.10.2",
"@astrojs/react": "^3.5.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",

View file

@ -14,6 +14,6 @@
"@astrojs/alpinejs": "^0.4.0",
"@types/alpinejs": "^3.13.10",
"alpinejs": "^3.14.0",
"astro": "^4.10.1"
"astro": "^4.10.2"
}
}

View file

@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/lit": "^4.2.0",
"@webcomponents/template-shadowroot": "^0.2.1",
"astro": "^4.10.1",
"astro": "^4.10.2",
"lit": "^3.1.4"
}
}

View file

@ -18,7 +18,7 @@
"@astrojs/vue": "^4.4.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"astro": "^4.10.1",
"astro": "^4.10.2",
"preact": "^10.22.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",

View file

@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/preact": "^3.4.0",
"@preact/signals": "^1.2.3",
"astro": "^4.10.1",
"astro": "^4.10.2",
"preact": "^10.22.0"
}
}

View file

@ -14,7 +14,7 @@
"@astrojs/react": "^3.5.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"astro": "^4.10.1",
"astro": "^4.10.2",
"react": "^18.3.1",
"react-dom": "^18.3.1"
}

View file

@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/solid-js": "^4.3.0",
"astro": "^4.10.1",
"astro": "^4.10.2",
"solid-js": "^1.8.17"
}
}

View file

@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/svelte": "^5.5.0",
"astro": "^4.10.1",
"astro": "^4.10.2",
"svelte": "^4.2.18"
}
}

View file

@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/vue": "^4.4.0",
"astro": "^4.10.1",
"astro": "^4.10.2",
"vue": "^3.4.27"
}
}

View file

@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/node": "^8.2.6",
"astro": "^4.10.1"
"@astrojs/node": "^8.3.0",
"astro": "^4.10.2"
}
}

View file

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

View file

@ -12,8 +12,8 @@
"server": "node dist/server/entry.mjs"
},
"dependencies": {
"@astrojs/node": "^8.2.6",
"astro": "^4.10.1",
"@astrojs/node": "^8.3.0",
"astro": "^4.10.2",
"html-minifier": "^4.0.0"
},
"devDependencies": {

View file

@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^4.10.1"
"astro": "^4.10.2"
}
}

View file

@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^4.10.1"
"astro": "^4.10.2"
}
}

View file

@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^4.10.1"
"astro": "^4.10.2"
}
}

View file

@ -12,9 +12,9 @@
"server": "node dist/server/entry.mjs"
},
"dependencies": {
"@astrojs/node": "^8.2.6",
"@astrojs/node": "^8.3.0",
"@astrojs/svelte": "^5.5.0",
"astro": "^4.10.1",
"astro": "^4.10.2",
"svelte": "^4.2.18"
}
}

View file

@ -10,7 +10,7 @@
"astro": "astro"
},
"dependencies": {
"astro": "^4.10.1",
"astro": "^4.10.2",
"sass": "^1.77.4",
"sharp": "^0.33.3"
}

View file

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

View file

@ -11,7 +11,7 @@
},
"devDependencies": {
"@astrojs/tailwind": "^5.1.0",
"@astrojs/node": "^8.2.6",
"astro": "^4.10.1"
"@astrojs/node": "^8.3.0",
"astro": "^4.10.2"
}
}

View file

@ -12,6 +12,6 @@
},
"dependencies": {
"@astrojs/markdoc": "^0.11.0",
"astro": "^4.10.1"
"astro": "^4.10.2"
}
}

View file

@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/markdown-remark": "^5.1.0",
"astro": "^4.10.1",
"astro": "^4.10.2",
"hast-util-select": "^6.0.2",
"rehype-autolink-headings": "^7.1.0",
"rehype-slug": "^6.0.0",

View file

@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^4.10.1"
"astro": "^4.10.2"
}
}

View file

@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/mdx": "^3.1.0",
"@astrojs/preact": "^3.4.0",
"astro": "^4.10.1",
"astro": "^4.10.2",
"preact": "^10.22.0"
}
}

View file

@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/preact": "^3.4.0",
"@nanostores/preact": "^0.5.1",
"astro": "^4.10.1",
"astro": "^4.10.2",
"nanostores": "^0.10.3",
"preact": "^10.22.0"
}

View file

@ -14,7 +14,7 @@
"@astrojs/mdx": "^3.1.0",
"@astrojs/tailwind": "^5.1.0",
"@types/canvas-confetti": "^1.6.4",
"astro": "^4.10.1",
"astro": "^4.10.2",
"autoprefixer": "^10.4.19",
"canvas-confetti": "^1.9.3",
"postcss": "^8.4.38",

View file

@ -12,7 +12,7 @@
"test": "vitest"
},
"dependencies": {
"astro": "^4.10.1",
"astro": "^4.10.2",
"vitest": "^1.6.0"
}
}

View file

@ -1,5 +1,80 @@
# astro
## 4.10.2
### Patch Changes
- [#11231](https://github.com/withastro/astro/pull/11231) [`58d7dbb`](https://github.com/withastro/astro/commit/58d7dbb5e0cabea1ac7a35af5b46685fce50d723) Thanks [@ematipico](https://github.com/ematipico)! - Fixes a regression for `getViteConfig`, where the inline config wasn't merged in the final config.
- [#11228](https://github.com/withastro/astro/pull/11228) [`1e293a1`](https://github.com/withastro/astro/commit/1e293a1b819024f16bfe482f272df0678cdd7874) Thanks [@ascorbic](https://github.com/ascorbic)! - Updates `getCollection()` to always return a cloned array
- [#11207](https://github.com/withastro/astro/pull/11207) [`7d9aac3`](https://github.com/withastro/astro/commit/7d9aac376c4b8844917901f7f566f7259d7f66c8) Thanks [@ematipico](https://github.com/ematipico)! - Fixes an issue in the rewriting logic where old data was not purged during the rewrite flow. This caused some false positives when checking the validity of URL path names during the rendering phase.
- [#11189](https://github.com/withastro/astro/pull/11189) [`75a8fe7`](https://github.com/withastro/astro/commit/75a8fe7e72b95f20c36f034de2b51b6a9550e27e) Thanks [@ematipico](https://github.com/ematipico)! - Improve error message when using `getLocaleByPath` on path that doesn't contain any locales.
- [#11195](https://github.com/withastro/astro/pull/11195) [`0a6ab6f`](https://github.com/withastro/astro/commit/0a6ab6f562651b558ca90761feed5c07f54f2633) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Adds support for enums to `astro:env`
You can now call `envField.enum`:
```js
import { defineConfig, envField } from 'astro/config';
export default defineConfig({
experimental: {
env: {
schema: {
API_VERSION: envField.enum({
context: 'server',
access: 'secret',
values: ['v1', 'v2'],
}),
},
},
},
});
```
- [#11210](https://github.com/withastro/astro/pull/11210) [`66fc028`](https://github.com/withastro/astro/commit/66fc0283d3f1d1a4f17d7db65ca3521a01fb5bec) Thanks [@matthewp](https://github.com/matthewp)! - Close the iterator only after rendering is complete
- [#11195](https://github.com/withastro/astro/pull/11195) [`0a6ab6f`](https://github.com/withastro/astro/commit/0a6ab6f562651b558ca90761feed5c07f54f2633) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Adds additional validation options to `astro:env`
`astro:env` schema datatypes `string` and `number` now have new optional validation rules:
```js
import { defineConfig, envField } from 'astro/config';
export default defineConfig({
experimental: {
env: {
schema: {
FOO: envField.string({
// ...
max: 32,
min: 3,
length: 12,
url: true,
includes: 'foo',
startsWith: 'bar',
endsWith: 'baz',
}),
BAR: envField.number({
// ...
gt: 2,
min: 3,
lt: 10,
max: 9,
int: true,
}),
},
},
},
});
```
- [#11211](https://github.com/withastro/astro/pull/11211) [`97724da`](https://github.com/withastro/astro/commit/97724da93ed7b1db19632c0cdb4b3aab1ff84812) Thanks [@matthewp](https://github.com/matthewp)! - Let middleware handle the original request URL
- [#10607](https://github.com/withastro/astro/pull/10607) [`7327c6a`](https://github.com/withastro/astro/commit/7327c6acb197e1f2ea6cf94cfbc5700bc755f982) Thanks [@frankbits](https://github.com/frankbits)! - Fixes an issue where a leading slash created incorrect conflict resolution between pages generated from static routes and catch-all dynamic routes
## 4.10.1
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "astro",
"version": "4.10.1",
"version": "4.10.2",
"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,14 @@
# @astrojs/db
## 0.11.5
### Patch Changes
- [#11216](https://github.com/withastro/astro/pull/11216) [`29463df`](https://github.com/withastro/astro/commit/29463dff52f2e74d0d522168afe6faf70ff2fabb) Thanks [@OliverSpeir](https://github.com/OliverSpeir)! - Export type `Database` from `@astrojs/db/runtime`
- Updated dependencies []:
- @astrojs/studio@0.1.0
## 0.11.4
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@astrojs/db",
"version": "0.11.4",
"version": "0.11.5",
"description": "Add libSQL and Astro Studio support to your Astro site",
"license": "MIT",
"repository": {

View file

@ -1,5 +1,11 @@
# @astrojs/node
## 8.3.0
### Minor Changes
- [#11199](https://github.com/withastro/astro/pull/11199) [`2bdca27`](https://github.com/withastro/astro/commit/2bdca27ff4002efd330667b0b4ca3e00d5b7a2db) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Adds support for experimental `astro:env` released in Astro 4.10
## 8.2.6
### Patch Changes

View file

@ -1,7 +1,7 @@
{
"name": "@astrojs/node",
"description": "Deploy your site to a Node.js server",
"version": "8.2.6",
"version": "8.3.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",

View file

@ -1,5 +1,15 @@
# @astrojs/partytown
## 2.1.1
### Patch Changes
- [#11083](https://github.com/withastro/astro/pull/11083) [`416c4ac`](https://github.com/withastro/astro/commit/416c4ac66d432d4c5abd13a4c7ecd20defb4fc30) Thanks [@V3RON](https://github.com/V3RON)! - Prevent Partytown from crashing when View Transitions are enabled
When View Transitions are turned on, Partytown executes on every transition.
It's not meant to be like that, and therefore it breaks the integration completely.
Starting from now, Partytown will be executed only once.
## 2.1.0
### Minor Changes

View file

@ -1,7 +1,7 @@
{
"name": "@astrojs/partytown",
"description": "Use Partytown to move scripts into a web worker in your Astro project",
"version": "2.1.0",
"version": "2.1.1",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",

View file

@ -1,5 +1,11 @@
# @astrojs/vercel
## 7.7.0
### Minor Changes
- [#11199](https://github.com/withastro/astro/pull/11199) [`2bdca27`](https://github.com/withastro/astro/commit/2bdca27ff4002efd330667b0b4ca3e00d5b7a2db) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Adds support for experimental `astro:env` released in Astro 4.10
## 7.6.0
### Minor Changes

View file

@ -1,7 +1,7 @@
{
"name": "@astrojs/vercel",
"description": "Deploy your site to Vercel",
"version": "7.6.0",
"version": "7.7.0",
"type": "module",
"author": "withastro",
"license": "MIT",

View file

@ -128,7 +128,7 @@ importers:
examples/basics:
dependencies:
astro:
specifier: ^4.10.1
specifier: ^4.10.2
version: link:../../packages/astro
examples/blog:
@ -143,13 +143,13 @@ importers:
specifier: ^3.1.5
version: link:../../packages/integrations/sitemap
astro:
specifier: ^4.10.1
specifier: ^4.10.2
version: link:../../packages/astro
examples/component:
devDependencies:
astro:
specifier: ^4.10.1
specifier: ^4.10.2
version: link:../../packages/astro
examples/container-with-vitest:
@ -158,7 +158,7 @@ importers:
specifier: ^3.5.0
version: link:../../packages/integrations/react
astro:
specifier: ^4.10.1
specifier: ^4.10.2
version: link:../../packages/astro
react:
specifier: ^18.3.1
@ -189,7 +189,7 @@ importers:
specifier: ^3.14.0
version: 3.14.0
astro:
specifier: ^4.10.1
specifier: ^4.10.2
version: link:../../packages/astro
examples/framework-lit:
@ -201,7 +201,7 @@ importers:
specifier: ^0.2.1
version: 0.2.1
astro:
specifier: ^4.10.1
specifier: ^4.10.2
version: link:../../packages/astro
lit:
specifier: ^3.1.4
@ -231,7 +231,7 @@ importers:
specifier: ^18.3.0
version: 18.3.0
astro:
specifier: ^4.10.1
specifier: ^4.10.2
version: link:../../packages/astro
preact:
specifier: ^10.22.0
@ -261,7 +261,7 @@ importers:
specifier: ^1.2.3
version: 1.2.3(preact@10.22.0)
astro:
specifier: ^4.10.1
specifier: ^4.10.2
version: link:../../packages/astro
preact:
specifier: ^10.22.0
@ -279,7 +279,7 @@ importers:
specifier: ^18.3.0
version: 18.3.0
astro:
specifier: ^4.10.1
specifier: ^4.10.2
version: link:../../packages/astro
react:
specifier: ^18.3.1
@ -294,7 +294,7 @@ importers:
specifier: ^4.3.0
version: link:../../packages/integrations/solid
astro:
specifier: ^4.10.1
specifier: ^4.10.2
version: link:../../packages/astro
solid-js:
specifier: ^1.8.17
@ -306,7 +306,7 @@ importers:
specifier: ^5.5.0
version: link:../../packages/integrations/svelte
astro:
specifier: ^4.10.1
specifier: ^4.10.2
version: link:../../packages/astro
svelte:
specifier: ^4.2.18
@ -318,7 +318,7 @@ importers:
specifier: ^4.4.0
version: link:../../packages/integrations/vue
astro:
specifier: ^4.10.1
specifier: ^4.10.2
version: link:../../packages/astro
vue:
specifier: ^3.4.27
@ -327,25 +327,25 @@ importers:
examples/hackernews:
dependencies:
'@astrojs/node':
specifier: ^8.2.6
specifier: ^8.3.0
version: link:../../packages/integrations/node
astro:
specifier: ^4.10.1
specifier: ^4.10.2
version: link:../../packages/astro
examples/integration:
devDependencies:
astro:
specifier: ^4.10.1
specifier: ^4.10.2
version: link:../../packages/astro
examples/middleware:
dependencies:
'@astrojs/node':
specifier: ^8.2.6
specifier: ^8.3.0
version: link:../../packages/integrations/node
astro:
specifier: ^4.10.1
specifier: ^4.10.2
version: link:../../packages/astro
html-minifier:
specifier: ^4.0.0
@ -358,31 +358,31 @@ importers:
examples/minimal:
dependencies:
astro:
specifier: ^4.10.1
specifier: ^4.10.2
version: link:../../packages/astro
examples/non-html-pages:
dependencies:
astro:
specifier: ^4.10.1
specifier: ^4.10.2
version: link:../../packages/astro
examples/portfolio:
dependencies:
astro:
specifier: ^4.10.1
specifier: ^4.10.2
version: link:../../packages/astro
examples/ssr:
dependencies:
'@astrojs/node':
specifier: ^8.2.6
specifier: ^8.3.0
version: link:../../packages/integrations/node
'@astrojs/svelte':
specifier: ^5.5.0
version: link:../../packages/integrations/svelte
astro:
specifier: ^4.10.1
specifier: ^4.10.2
version: link:../../packages/astro
svelte:
specifier: ^4.2.18
@ -391,7 +391,7 @@ importers:
examples/starlog:
dependencies:
astro:
specifier: ^4.10.1
specifier: ^4.10.2
version: link:../../packages/astro
sass:
specifier: ^1.77.4
@ -403,19 +403,19 @@ importers:
examples/toolbar-app:
devDependencies:
astro:
specifier: ^4.10.1
specifier: ^4.10.2
version: link:../../packages/astro
examples/view-transitions:
devDependencies:
'@astrojs/node':
specifier: ^8.2.6
specifier: ^8.3.0
version: link:../../packages/integrations/node
'@astrojs/tailwind':
specifier: ^5.1.0
version: link:../../packages/integrations/tailwind
astro:
specifier: ^4.10.1
specifier: ^4.10.2
version: link:../../packages/astro
examples/with-markdoc:
@ -424,7 +424,7 @@ importers:
specifier: ^0.11.0
version: link:../../packages/integrations/markdoc
astro:
specifier: ^4.10.1
specifier: ^4.10.2
version: link:../../packages/astro
examples/with-markdown-plugins:
@ -433,7 +433,7 @@ importers:
specifier: ^5.1.0
version: link:../../packages/markdown/remark
astro:
specifier: ^4.10.1
specifier: ^4.10.2
version: link:../../packages/astro
hast-util-select:
specifier: ^6.0.2
@ -454,7 +454,7 @@ importers:
examples/with-markdown-shiki:
dependencies:
astro:
specifier: ^4.10.1
specifier: ^4.10.2
version: link:../../packages/astro
examples/with-mdx:
@ -466,7 +466,7 @@ importers:
specifier: ^3.4.0
version: link:../../packages/integrations/preact
astro:
specifier: ^4.10.1
specifier: ^4.10.2
version: link:../../packages/astro
preact:
specifier: ^10.22.0
@ -481,7 +481,7 @@ importers:
specifier: ^0.5.1
version: 0.5.1(nanostores@0.10.3)(preact@10.22.0)
astro:
specifier: ^4.10.1
specifier: ^4.10.2
version: link:../../packages/astro
nanostores:
specifier: ^0.10.3
@ -502,7 +502,7 @@ importers:
specifier: ^1.6.4
version: 1.6.4
astro:
specifier: ^4.10.1
specifier: ^4.10.2
version: link:../../packages/astro
autoprefixer:
specifier: ^10.4.19
@ -520,7 +520,7 @@ importers:
examples/with-vitest:
dependencies:
astro:
specifier: ^4.10.1
specifier: ^4.10.2
version: link:../../packages/astro
vitest:
specifier: ^1.6.0