0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-27 22:19:04 -05:00

[ci] release (alpha) (#11988)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Houston (Bot) 2024-09-13 13:35:01 -07:00 committed by GitHub
parent 4724b14431
commit 6e1602c7b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
36 changed files with 128 additions and 62 deletions

View file

@ -34,13 +34,17 @@
"changesets": [
"afraid-apricots-buy",
"blue-boats-relax",
"blue-sloths-stare",
"brave-elephants-fly",
"breezy-colts-promise",
"chatty-teachers-sit",
"chilly-terms-know",
"clean-camels-drive",
"clean-donuts-walk",
"cool-mangos-shop",
"cuddly-shoes-press",
"curvy-walls-kneel",
"dry-lamps-smile",
"dry-worms-knock",
"eighty-bags-cross",
"eighty-boxes-applaud",
@ -50,6 +54,7 @@
"giant-rocks-thank",
"healthy-ads-scream",
"heavy-seahorses-poke",
"hip-wombats-exercise",
"honest-dingos-add",
"hungry-jokes-try",
"itchy-toys-march",
@ -58,7 +63,6 @@
"long-months-rule",
"many-garlics-lick",
"mean-donkeys-switch",
"mighty-stingrays-press",
"modern-bears-deny",
"moody-waves-think",
"nasty-crabs-worry",
@ -66,6 +70,7 @@
"old-zebras-teach",
"perfect-fans-fly",
"pink-yaks-exercise",
"polite-roses-fail",
"poor-dots-add",
"poor-frogs-dream",
"quick-ads-exercise",

View file

@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^5.0.0-alpha.7"
"astro": "^5.0.0-alpha.8"
}
}

View file

@ -14,6 +14,6 @@
"@astrojs/mdx": "^4.0.0-alpha.2",
"@astrojs/rss": "^4.0.7",
"@astrojs/sitemap": "^3.1.6",
"astro": "^5.0.0-alpha.7"
"astro": "^5.0.0-alpha.8"
}
}

View file

@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
"astro": "^5.0.0-alpha.7"
"astro": "^5.0.0-alpha.8"
},
"peerDependencies": {
"astro": "^4.0.0"

View file

@ -12,7 +12,7 @@
"test": "vitest run"
},
"dependencies": {
"astro": "^5.0.0-alpha.7",
"astro": "^5.0.0-alpha.8",
"@astrojs/react": "^3.6.2",
"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.1",
"astro": "^5.0.0-alpha.7"
"astro": "^5.0.0-alpha.8"
}
}

View file

@ -18,7 +18,7 @@
"@astrojs/vue": "^5.0.0-alpha.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"astro": "^5.0.0-alpha.7",
"astro": "^5.0.0-alpha.8",
"preact": "^10.23.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",

View file

@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/preact": "^3.5.3",
"@preact/signals": "^1.3.0",
"astro": "^5.0.0-alpha.7",
"astro": "^5.0.0-alpha.8",
"preact": "^10.23.2"
}
}

View file

@ -14,7 +14,7 @@
"@astrojs/react": "^3.6.2",
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"astro": "^5.0.0-alpha.7",
"astro": "^5.0.0-alpha.8",
"react": "^18.3.1",
"react-dom": "^18.3.1"
}

View file

@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/solid-js": "^4.4.1",
"astro": "^5.0.0-alpha.7",
"astro": "^5.0.0-alpha.8",
"solid-js": "^1.8.22"
}
}

View file

@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/svelte": "^6.0.0-alpha.0",
"astro": "^5.0.0-alpha.7",
"astro": "^5.0.0-alpha.8",
"svelte": "^4.2.19"
}
}

View file

@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/vue": "^5.0.0-alpha.0",
"astro": "^5.0.0-alpha.7",
"astro": "^5.0.0-alpha.8",
"vue": "^3.4.38"
}
}

View file

@ -12,6 +12,6 @@
},
"dependencies": {
"@astrojs/node": "^9.0.0-alpha.1",
"astro": "^5.0.0-alpha.7"
"astro": "^5.0.0-alpha.8"
}
}

View file

@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
"astro": "^5.0.0-alpha.7"
"astro": "^5.0.0-alpha.8"
},
"peerDependencies": {
"astro": "^4.0.0"

View file

@ -13,7 +13,7 @@
},
"dependencies": {
"@astrojs/node": "^9.0.0-alpha.1",
"astro": "^5.0.0-alpha.7",
"astro": "^5.0.0-alpha.8",
"html-minifier": "^4.0.0"
},
"devDependencies": {

View file

@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^5.0.0-alpha.7"
"astro": "^5.0.0-alpha.8"
}
}

View file

@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^5.0.0-alpha.7"
"astro": "^5.0.0-alpha.8"
}
}

View file

@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^5.0.0-alpha.7"
"astro": "^5.0.0-alpha.8"
}
}

View file

@ -17,7 +17,7 @@
"@tailwindcss/forms": "^0.5.9",
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"astro": "^5.0.0-alpha.7",
"astro": "^5.0.0-alpha.8",
"postcss": "^8.4.45",
"react": "^18.3.1",
"react-dom": "^18.3.1",

View file

@ -14,7 +14,7 @@
"dependencies": {
"@astrojs/node": "^9.0.0-alpha.1",
"@astrojs/svelte": "^6.0.0-alpha.0",
"astro": "^5.0.0-alpha.7",
"astro": "^5.0.0-alpha.8",
"svelte": "^4.2.19"
}
}

View file

@ -10,7 +10,7 @@
"astro": "astro"
},
"dependencies": {
"astro": "^5.0.0-alpha.7",
"astro": "^5.0.0-alpha.8",
"sass": "^1.78.0",
"sharp": "^0.33.3"
}

View file

@ -15,6 +15,6 @@
"./app": "./dist/app.js"
},
"devDependencies": {
"astro": "^5.0.0-alpha.7"
"astro": "^5.0.0-alpha.8"
}
}

View file

@ -12,6 +12,6 @@
"devDependencies": {
"@astrojs/tailwind": "^6.0.0-alpha.0",
"@astrojs/node": "^9.0.0-alpha.1",
"astro": "^5.0.0-alpha.7"
"astro": "^5.0.0-alpha.8"
}
}

View file

@ -12,6 +12,6 @@
},
"dependencies": {
"@astrojs/markdoc": "^1.0.0-alpha.1",
"astro": "^5.0.0-alpha.7"
"astro": "^5.0.0-alpha.8"
}
}

View file

@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/markdown-remark": "^6.0.0-alpha.1",
"astro": "^5.0.0-alpha.7",
"astro": "^5.0.0-alpha.8",
"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": "^5.0.0-alpha.7"
"astro": "^5.0.0-alpha.8"
}
}

View file

@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/mdx": "^4.0.0-alpha.2",
"@astrojs/preact": "^3.5.3",
"astro": "^5.0.0-alpha.7",
"astro": "^5.0.0-alpha.8",
"preact": "^10.23.2"
}
}

View file

@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/preact": "^3.5.3",
"@nanostores/preact": "^0.5.2",
"astro": "^5.0.0-alpha.7",
"astro": "^5.0.0-alpha.8",
"nanostores": "^0.11.3",
"preact": "^10.23.2"
}

View file

@ -14,7 +14,7 @@
"@astrojs/mdx": "^4.0.0-alpha.2",
"@astrojs/tailwind": "^6.0.0-alpha.0",
"@types/canvas-confetti": "^1.6.4",
"astro": "^5.0.0-alpha.7",
"astro": "^5.0.0-alpha.8",
"autoprefixer": "^10.4.20",
"canvas-confetti": "^1.9.3",
"postcss": "^8.4.45",

View file

@ -12,7 +12,7 @@
"test": "vitest"
},
"dependencies": {
"astro": "^5.0.0-alpha.7",
"astro": "^5.0.0-alpha.8",
"vitest": "^2.0.5"
}
}

View file

@ -1,5 +1,60 @@
# astro
## 5.0.0-alpha.8
### Major Changes
- [#11982](https://github.com/withastro/astro/pull/11982) [`d84e444`](https://github.com/withastro/astro/commit/d84e444fd3496c1f787b3fcee2929c92bc74e0cd) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Adds a default exclude and include value to the tsconfig presets. `{projectDir}/dist` is now excluded by default, and `{projectDir}/.astro/types.d.ts` and `{projectDir}/**/*` are included by default.
Both of these options can be overridden by setting your own values to the corresponding settings in your `tsconfig.json` file.
- [#11987](https://github.com/withastro/astro/pull/11987) [`bf90a53`](https://github.com/withastro/astro/commit/bf90a5343f9cd1bb46f30e4b331e7ae675f5e720) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - The `locals` object can no longer be overridden
Middleware, API endpoints, and pages can no longer override the `locals` object in its entirety. You can still append values onto the object, but you can not replace the entire object and delete its existing values.
If you were previously overwriting like so:
```js
ctx.locals = {
one: 1,
two: 2,
};
```
This can be changed to an assignment on the existing object instead:
```js
Object.assign(ctx.locals, {
one: 1,
two: 2,
});
```
### Minor Changes
- [#11980](https://github.com/withastro/astro/pull/11980) [`a604a0c`](https://github.com/withastro/astro/commit/a604a0ca9e0cdead01610b603d3b4c37ab010efc) Thanks [@matthewp](https://github.com/matthewp)! - ViewTransitions component renamed to ClientRouter
The `<ViewTransitions />` component has been renamed to `<ClientRouter />`. There are no other changes than the name. The old name will continue to work in Astro 5.x, but will be removed in 6.0.
This change was done to clarify the role of the component within Astro's View Transitions support. Astro supports View Transitions APIs in a few different ways, and renaming the component makes it more clear that the features you get from the ClientRouter component are slightly different from what you get using the native CSS-based MPA router.
We still intend to maintain the ClientRouter as before, and it's still important for use-cases that the native support doesn't cover, such as persisting state between pages.
### Patch Changes
- [#11987](https://github.com/withastro/astro/pull/11987) [`bf90a53`](https://github.com/withastro/astro/commit/bf90a5343f9cd1bb46f30e4b331e7ae675f5e720) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - `render()` signature now takes `renderOptions` as 2nd argument
The signature for `app.render()` has changed, and the second argument is now an options object called `renderOptions` with more options for customizing rendering.
The `renderOptions` are:
- `addCookieHeader`: Determines whether Astro will set the `Set-Cookie` header, otherwise the adapter is expected to do so itself.
- `clientAddress`: The client IP address used to set `Astro.clientAddress`.
- `locals`: An object of locals that's set to `Astro.locals`.
- `routeData`: An object specifying the route to use.
- [#11991](https://github.com/withastro/astro/pull/11991) [`d7a396c`](https://github.com/withastro/astro/commit/d7a396ca3eedc1b32b4ea113cbacb4ccb08384c9) Thanks [@matthewp](https://github.com/matthewp)! - Update error link to on-demand rendering guide
## 5.0.0-alpha.7
### Major Changes
@ -279,6 +334,7 @@
}),
});
```
- [#11968](https://github.com/withastro/astro/pull/11968) [`86ad1fd`](https://github.com/withastro/astro/commit/86ad1fd223e2d2c448372caa159090efbee69237) Thanks [@NikolaRHristov](https://github.com/NikolaRHristov)! - Fixes a typo in the server island JSDoc
- [#11983](https://github.com/withastro/astro/pull/11983) [`633eeaa`](https://github.com/withastro/astro/commit/633eeaa9d8a8a35bba638fde06fd8f52cc1c2ce3) Thanks [@uwej711](https://github.com/uwej711)! - Remove dependency on path-to-regexp

View file

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

View file

@ -855,7 +855,6 @@ export const LocalsReassigned = {
hint: 'Set a `locals` property instead.',
} satisfies ErrorData;
/**
* @docs
* @description

View file

@ -1,5 +1,11 @@
# @astrojs/underscore-redirects
## 0.4.0-alpha.0
### Minor Changes
- [#11989](https://github.com/withastro/astro/pull/11989) [`3e70853`](https://github.com/withastro/astro/commit/3e70853b767b124bf867072b1c67474dd0b51c3f) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Updates the type from `RouteData` to `IntegrationRouteData`
## 0.3.4
### Patch Changes

View file

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

58
pnpm-lock.yaml generated
View file

@ -116,7 +116,7 @@ importers:
examples/basics:
dependencies:
astro:
specifier: ^5.0.0-alpha.7
specifier: ^5.0.0-alpha.8
version: link:../../packages/astro
examples/blog:
@ -131,13 +131,13 @@ importers:
specifier: ^3.1.6
version: link:../../packages/integrations/sitemap
astro:
specifier: ^5.0.0-alpha.7
specifier: ^5.0.0-alpha.8
version: link:../../packages/astro
examples/component:
devDependencies:
astro:
specifier: ^5.0.0-alpha.7
specifier: ^5.0.0-alpha.8
version: link:../../packages/astro
examples/container-with-vitest:
@ -146,7 +146,7 @@ importers:
specifier: ^3.6.2
version: link:../../packages/integrations/react
astro:
specifier: ^5.0.0-alpha.7
specifier: ^5.0.0-alpha.8
version: link:../../packages/astro
react:
specifier: ^18.3.1
@ -177,7 +177,7 @@ importers:
specifier: ^3.14.1
version: 3.14.1
astro:
specifier: ^5.0.0-alpha.7
specifier: ^5.0.0-alpha.8
version: link:../../packages/astro
examples/framework-multiple:
@ -204,7 +204,7 @@ importers:
specifier: ^18.3.0
version: 18.3.0
astro:
specifier: ^5.0.0-alpha.7
specifier: ^5.0.0-alpha.8
version: link:../../packages/astro
preact:
specifier: ^10.23.2
@ -234,7 +234,7 @@ importers:
specifier: ^1.3.0
version: 1.3.0(preact@10.23.2)
astro:
specifier: ^5.0.0-alpha.7
specifier: ^5.0.0-alpha.8
version: link:../../packages/astro
preact:
specifier: ^10.23.2
@ -252,7 +252,7 @@ importers:
specifier: ^18.3.0
version: 18.3.0
astro:
specifier: ^5.0.0-alpha.7
specifier: ^5.0.0-alpha.8
version: link:../../packages/astro
react:
specifier: ^18.3.1
@ -267,7 +267,7 @@ importers:
specifier: ^4.4.1
version: link:../../packages/integrations/solid
astro:
specifier: ^5.0.0-alpha.7
specifier: ^5.0.0-alpha.8
version: link:../../packages/astro
solid-js:
specifier: ^1.8.22
@ -279,7 +279,7 @@ importers:
specifier: ^6.0.0-alpha.0
version: link:../../packages/integrations/svelte
astro:
specifier: ^5.0.0-alpha.7
specifier: ^5.0.0-alpha.8
version: link:../../packages/astro
svelte:
specifier: ^4.2.19
@ -291,7 +291,7 @@ importers:
specifier: ^5.0.0-alpha.0
version: link:../../packages/integrations/vue
astro:
specifier: ^5.0.0-alpha.7
specifier: ^5.0.0-alpha.8
version: link:../../packages/astro
vue:
specifier: ^3.4.38
@ -303,13 +303,13 @@ importers:
specifier: ^9.0.0-alpha.1
version: 9.0.0-alpha.1(astro@packages+astro)
astro:
specifier: ^5.0.0-alpha.7
specifier: ^5.0.0-alpha.8
version: link:../../packages/astro
examples/integration:
devDependencies:
astro:
specifier: ^5.0.0-alpha.7
specifier: ^5.0.0-alpha.8
version: link:../../packages/astro
examples/middleware:
@ -318,7 +318,7 @@ importers:
specifier: ^9.0.0-alpha.1
version: 9.0.0-alpha.1(astro@packages+astro)
astro:
specifier: ^5.0.0-alpha.7
specifier: ^5.0.0-alpha.8
version: link:../../packages/astro
html-minifier:
specifier: ^4.0.0
@ -331,19 +331,19 @@ importers:
examples/minimal:
dependencies:
astro:
specifier: ^5.0.0-alpha.7
specifier: ^5.0.0-alpha.8
version: link:../../packages/astro
examples/non-html-pages:
dependencies:
astro:
specifier: ^5.0.0-alpha.7
specifier: ^5.0.0-alpha.8
version: link:../../packages/astro
examples/portfolio:
dependencies:
astro:
specifier: ^5.0.0-alpha.7
specifier: ^5.0.0-alpha.8
version: link:../../packages/astro
examples/server-islands:
@ -370,7 +370,7 @@ importers:
specifier: ^18.3.0
version: 18.3.0
astro:
specifier: ^5.0.0-alpha.7
specifier: ^5.0.0-alpha.8
version: link:../../packages/astro
postcss:
specifier: ^8.4.45
@ -394,7 +394,7 @@ importers:
specifier: ^6.0.0-alpha.0
version: link:../../packages/integrations/svelte
astro:
specifier: ^5.0.0-alpha.7
specifier: ^5.0.0-alpha.8
version: link:../../packages/astro
svelte:
specifier: ^4.2.19
@ -403,7 +403,7 @@ importers:
examples/starlog:
dependencies:
astro:
specifier: ^5.0.0-alpha.7
specifier: ^5.0.0-alpha.8
version: link:../../packages/astro
sass:
specifier: ^1.78.0
@ -415,7 +415,7 @@ importers:
examples/toolbar-app:
devDependencies:
astro:
specifier: ^5.0.0-alpha.7
specifier: ^5.0.0-alpha.8
version: link:../../packages/astro
examples/view-transitions:
@ -427,7 +427,7 @@ importers:
specifier: ^6.0.0-alpha.0
version: link:../../packages/integrations/tailwind
astro:
specifier: ^5.0.0-alpha.7
specifier: ^5.0.0-alpha.8
version: link:../../packages/astro
examples/with-markdoc:
@ -436,7 +436,7 @@ importers:
specifier: ^1.0.0-alpha.1
version: link:../../packages/integrations/markdoc
astro:
specifier: ^5.0.0-alpha.7
specifier: ^5.0.0-alpha.8
version: link:../../packages/astro
examples/with-markdown-plugins:
@ -445,7 +445,7 @@ importers:
specifier: ^6.0.0-alpha.1
version: link:../../packages/markdown/remark
astro:
specifier: ^5.0.0-alpha.7
specifier: ^5.0.0-alpha.8
version: link:../../packages/astro
hast-util-select:
specifier: ^6.0.2
@ -466,7 +466,7 @@ importers:
examples/with-markdown-shiki:
dependencies:
astro:
specifier: ^5.0.0-alpha.7
specifier: ^5.0.0-alpha.8
version: link:../../packages/astro
examples/with-mdx:
@ -478,7 +478,7 @@ importers:
specifier: ^3.5.3
version: link:../../packages/integrations/preact
astro:
specifier: ^5.0.0-alpha.7
specifier: ^5.0.0-alpha.8
version: link:../../packages/astro
preact:
specifier: ^10.23.2
@ -493,7 +493,7 @@ importers:
specifier: ^0.5.2
version: 0.5.2(nanostores@0.11.3)(preact@10.23.2)
astro:
specifier: ^5.0.0-alpha.7
specifier: ^5.0.0-alpha.8
version: link:../../packages/astro
nanostores:
specifier: ^0.11.3
@ -514,7 +514,7 @@ importers:
specifier: ^1.6.4
version: 1.6.4
astro:
specifier: ^5.0.0-alpha.7
specifier: ^5.0.0-alpha.8
version: link:../../packages/astro
autoprefixer:
specifier: ^10.4.20
@ -532,7 +532,7 @@ importers:
examples/with-vitest:
dependencies:
astro:
specifier: ^5.0.0-alpha.7
specifier: ^5.0.0-alpha.8
version: link:../../packages/astro
vitest:
specifier: ^2.0.5