mirror of
https://github.com/withastro/astro.git
synced 2024-12-30 22:03:56 -05:00
[ci] release (beta) (#12491)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
23dc937435
commit
10beb174e5
29 changed files with 60 additions and 54 deletions
|
@ -102,6 +102,7 @@
|
|||
"proud-terms-swim",
|
||||
"quick-ads-exercise",
|
||||
"quick-onions-leave",
|
||||
"rotten-dodos-judge",
|
||||
"rotten-phones-scream",
|
||||
"selfish-cats-crash",
|
||||
"selfish-impalas-grin",
|
||||
|
@ -115,7 +116,6 @@
|
|||
"spotty-garlics-cheat",
|
||||
"strange-sheep-film",
|
||||
"strong-months-grab",
|
||||
"strong-stingrays-provide",
|
||||
"sweet-timers-smash",
|
||||
"tall-waves-impress",
|
||||
"tame-pumpkins-swim",
|
||||
|
|
|
@ -10,6 +10,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^5.0.0-beta.9"
|
||||
"astro": "^5.0.0-beta.10"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,6 +13,6 @@
|
|||
"@astrojs/mdx": "^4.0.0-beta.3",
|
||||
"@astrojs/rss": "^4.0.9",
|
||||
"@astrojs/sitemap": "^3.2.1",
|
||||
"astro": "^5.0.0-beta.9"
|
||||
"astro": "^5.0.0-beta.10"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
],
|
||||
"scripts": {},
|
||||
"devDependencies": {
|
||||
"astro": "^5.0.0-beta.9"
|
||||
"astro": "^5.0.0-beta.10"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"astro": "^4.0.0 || ^5.0.0"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"test": "vitest run"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^5.0.0-beta.9",
|
||||
"astro": "^5.0.0-beta.10",
|
||||
"@astrojs/react": "^3.6.3-beta.0",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
|
|
|
@ -13,6 +13,6 @@
|
|||
"@astrojs/alpinejs": "^0.4.0",
|
||||
"@types/alpinejs": "^3.13.10",
|
||||
"alpinejs": "^3.14.3",
|
||||
"astro": "^5.0.0-beta.9"
|
||||
"astro": "^5.0.0-beta.10"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
"@astrojs/vue": "^5.0.0-beta.2",
|
||||
"@types/react": "^18.3.12",
|
||||
"@types/react-dom": "^18.3.1",
|
||||
"astro": "^5.0.0-beta.9",
|
||||
"astro": "^5.0.0-beta.10",
|
||||
"preact": "^10.24.3",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"dependencies": {
|
||||
"@astrojs/preact": "^3.5.4-beta.0",
|
||||
"@preact/signals": "^1.3.0",
|
||||
"astro": "^5.0.0-beta.9",
|
||||
"astro": "^5.0.0-beta.10",
|
||||
"preact": "^10.24.3"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"@astrojs/react": "^3.6.3-beta.0",
|
||||
"@types/react": "^18.3.12",
|
||||
"@types/react-dom": "^18.3.1",
|
||||
"astro": "^5.0.0-beta.9",
|
||||
"astro": "^5.0.0-beta.10",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1"
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/solid-js": "^4.4.4-beta.0",
|
||||
"astro": "^5.0.0-beta.9",
|
||||
"astro": "^5.0.0-beta.10",
|
||||
"solid-js": "^1.9.3"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/svelte": "^6.0.2-beta.0",
|
||||
"astro": "^5.0.0-beta.9",
|
||||
"astro": "^5.0.0-beta.10",
|
||||
"svelte": "^5.1.16"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/vue": "^5.0.0-beta.2",
|
||||
"astro": "^5.0.0-beta.9",
|
||||
"astro": "^5.0.0-beta.10",
|
||||
"vue": "^3.5.12"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/node": "^9.0.0-alpha.1",
|
||||
"astro": "^5.0.0-beta.9"
|
||||
"astro": "^5.0.0-beta.10"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
],
|
||||
"scripts": {},
|
||||
"devDependencies": {
|
||||
"astro": "^5.0.0-beta.9"
|
||||
"astro": "^5.0.0-beta.10"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"astro": "^4.0.0"
|
||||
|
|
|
@ -10,6 +10,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^5.0.0-beta.9"
|
||||
"astro": "^5.0.0-beta.10"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,6 +10,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^5.0.0-beta.9"
|
||||
"astro": "^5.0.0-beta.10"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"dependencies": {
|
||||
"@astrojs/node": "^9.0.0-alpha.1",
|
||||
"@astrojs/svelte": "^6.0.2-beta.0",
|
||||
"astro": "^5.0.0-beta.9",
|
||||
"astro": "^5.0.0-beta.10",
|
||||
"svelte": "^5.1.16"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^5.0.0-beta.9",
|
||||
"astro": "^5.0.0-beta.10",
|
||||
"sass": "^1.80.6",
|
||||
"sharp": "^0.33.3"
|
||||
}
|
||||
|
|
|
@ -15,6 +15,6 @@
|
|||
"./app": "./dist/app.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^5.0.0-beta.9"
|
||||
"astro": "^5.0.0-beta.10"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/markdoc": "^0.12.0-beta.0",
|
||||
"astro": "^5.0.0-beta.9"
|
||||
"astro": "^5.0.0-beta.10"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"dependencies": {
|
||||
"@astrojs/mdx": "^4.0.0-beta.3",
|
||||
"@astrojs/preact": "^3.5.4-beta.0",
|
||||
"astro": "^5.0.0-beta.9",
|
||||
"astro": "^5.0.0-beta.10",
|
||||
"preact": "^10.24.3"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"dependencies": {
|
||||
"@astrojs/preact": "^3.5.4-beta.0",
|
||||
"@nanostores/preact": "^0.5.2",
|
||||
"astro": "^5.0.0-beta.9",
|
||||
"astro": "^5.0.0-beta.10",
|
||||
"nanostores": "^0.11.3",
|
||||
"preact": "^10.24.3"
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"@astrojs/mdx": "^4.0.0-beta.3",
|
||||
"@astrojs/tailwind": "^5.1.2",
|
||||
"@types/canvas-confetti": "^1.6.4",
|
||||
"astro": "^5.0.0-beta.9",
|
||||
"astro": "^5.0.0-beta.10",
|
||||
"autoprefixer": "^10.4.20",
|
||||
"canvas-confetti": "^1.9.3",
|
||||
"postcss": "^8.4.47",
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"test": "vitest"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^5.0.0-beta.9",
|
||||
"astro": "^5.0.0-beta.10",
|
||||
"vitest": "^2.1.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
# astro
|
||||
|
||||
## 5.0.0-beta.10
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#12486](https://github.com/withastro/astro/pull/12486) [`dc3d842`](https://github.com/withastro/astro/commit/dc3d842e4c6f3b7e59da8a13447a1450013e10dc) Thanks [@matthewp](https://github.com/matthewp)! - Call server island early so it can set headers
|
||||
|
||||
## 5.0.0-beta.9
|
||||
|
||||
### Minor Changes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "astro",
|
||||
"version": "5.0.0-beta.9",
|
||||
"version": "5.0.0-beta.10",
|
||||
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
|
||||
"type": "module",
|
||||
"author": "withastro",
|
||||
|
|
|
@ -138,9 +138,9 @@ export function createEndpoint(manifest: SSRManifest) {
|
|||
// `self` which is needed to force the runtime to wait
|
||||
// on the component before sending out the response headers.
|
||||
// This allows the island to set headers (cookies).
|
||||
if(isAstroComponentFactory(Component)) {
|
||||
if (isAstroComponentFactory(Component)) {
|
||||
const ServerIsland = Component;
|
||||
Component = function(this: typeof ServerIsland, ...args: Parameters<typeof ServerIsland>) {
|
||||
Component = function (this: typeof ServerIsland, ...args: Parameters<typeof ServerIsland>) {
|
||||
return ServerIsland.apply(this, args);
|
||||
};
|
||||
Object.assign(Component, ServerIsland);
|
||||
|
|
|
@ -44,7 +44,7 @@ describe('Server islands', () => {
|
|||
componentExport: 'default',
|
||||
encryptedProps: 'FC8337AF072BE5B1641501E1r8mLIhmIME1AV7UO9XmW9OLD',
|
||||
slots: {},
|
||||
})
|
||||
}),
|
||||
});
|
||||
const works = res.headers.get('X-Works');
|
||||
assert.equal(works, 'true', 'able to set header from server island');
|
||||
|
|
|
@ -146,7 +146,7 @@ importers:
|
|||
examples/basics:
|
||||
dependencies:
|
||||
astro:
|
||||
specifier: ^5.0.0-beta.9
|
||||
specifier: ^5.0.0-beta.10
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/blog:
|
||||
|
@ -161,13 +161,13 @@ importers:
|
|||
specifier: ^3.2.1
|
||||
version: link:../../packages/integrations/sitemap
|
||||
astro:
|
||||
specifier: ^5.0.0-beta.9
|
||||
specifier: ^5.0.0-beta.10
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/component:
|
||||
devDependencies:
|
||||
astro:
|
||||
specifier: ^5.0.0-beta.9
|
||||
specifier: ^5.0.0-beta.10
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/container-with-vitest:
|
||||
|
@ -176,7 +176,7 @@ importers:
|
|||
specifier: ^3.6.3-beta.0
|
||||
version: link:../../packages/integrations/react
|
||||
astro:
|
||||
specifier: ^5.0.0-beta.9
|
||||
specifier: ^5.0.0-beta.10
|
||||
version: link:../../packages/astro
|
||||
react:
|
||||
specifier: ^18.3.1
|
||||
|
@ -207,7 +207,7 @@ importers:
|
|||
specifier: ^3.14.3
|
||||
version: 3.14.3
|
||||
astro:
|
||||
specifier: ^5.0.0-beta.9
|
||||
specifier: ^5.0.0-beta.10
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/framework-multiple:
|
||||
|
@ -234,7 +234,7 @@ importers:
|
|||
specifier: ^18.3.1
|
||||
version: 18.3.1
|
||||
astro:
|
||||
specifier: ^5.0.0-beta.9
|
||||
specifier: ^5.0.0-beta.10
|
||||
version: link:../../packages/astro
|
||||
preact:
|
||||
specifier: ^10.24.3
|
||||
|
@ -264,7 +264,7 @@ importers:
|
|||
specifier: ^1.3.0
|
||||
version: 1.3.0(preact@10.24.3)
|
||||
astro:
|
||||
specifier: ^5.0.0-beta.9
|
||||
specifier: ^5.0.0-beta.10
|
||||
version: link:../../packages/astro
|
||||
preact:
|
||||
specifier: ^10.24.3
|
||||
|
@ -282,7 +282,7 @@ importers:
|
|||
specifier: ^18.3.1
|
||||
version: 18.3.1
|
||||
astro:
|
||||
specifier: ^5.0.0-beta.9
|
||||
specifier: ^5.0.0-beta.10
|
||||
version: link:../../packages/astro
|
||||
react:
|
||||
specifier: ^18.3.1
|
||||
|
@ -297,7 +297,7 @@ importers:
|
|||
specifier: ^4.4.4-beta.0
|
||||
version: link:../../packages/integrations/solid
|
||||
astro:
|
||||
specifier: ^5.0.0-beta.9
|
||||
specifier: ^5.0.0-beta.10
|
||||
version: link:../../packages/astro
|
||||
solid-js:
|
||||
specifier: ^1.9.3
|
||||
|
@ -309,7 +309,7 @@ importers:
|
|||
specifier: ^6.0.2-beta.0
|
||||
version: link:../../packages/integrations/svelte
|
||||
astro:
|
||||
specifier: ^5.0.0-beta.9
|
||||
specifier: ^5.0.0-beta.10
|
||||
version: link:../../packages/astro
|
||||
svelte:
|
||||
specifier: ^5.1.16
|
||||
|
@ -321,7 +321,7 @@ importers:
|
|||
specifier: ^5.0.0-beta.2
|
||||
version: link:../../packages/integrations/vue
|
||||
astro:
|
||||
specifier: ^5.0.0-beta.9
|
||||
specifier: ^5.0.0-beta.10
|
||||
version: link:../../packages/astro
|
||||
vue:
|
||||
specifier: ^3.5.12
|
||||
|
@ -333,25 +333,25 @@ importers:
|
|||
specifier: ^9.0.0-alpha.1
|
||||
version: 9.0.0-alpha.1(astro@packages+astro)
|
||||
astro:
|
||||
specifier: ^5.0.0-beta.9
|
||||
specifier: ^5.0.0-beta.10
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/integration:
|
||||
devDependencies:
|
||||
astro:
|
||||
specifier: ^5.0.0-beta.9
|
||||
specifier: ^5.0.0-beta.10
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/minimal:
|
||||
dependencies:
|
||||
astro:
|
||||
specifier: ^5.0.0-beta.9
|
||||
specifier: ^5.0.0-beta.10
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/portfolio:
|
||||
dependencies:
|
||||
astro:
|
||||
specifier: ^5.0.0-beta.9
|
||||
specifier: ^5.0.0-beta.10
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/ssr:
|
||||
|
@ -363,7 +363,7 @@ importers:
|
|||
specifier: ^6.0.2-beta.0
|
||||
version: link:../../packages/integrations/svelte
|
||||
astro:
|
||||
specifier: ^5.0.0-beta.9
|
||||
specifier: ^5.0.0-beta.10
|
||||
version: link:../../packages/astro
|
||||
svelte:
|
||||
specifier: ^5.1.16
|
||||
|
@ -372,7 +372,7 @@ importers:
|
|||
examples/starlog:
|
||||
dependencies:
|
||||
astro:
|
||||
specifier: ^5.0.0-beta.9
|
||||
specifier: ^5.0.0-beta.10
|
||||
version: link:../../packages/astro
|
||||
sass:
|
||||
specifier: ^1.80.6
|
||||
|
@ -384,7 +384,7 @@ importers:
|
|||
examples/toolbar-app:
|
||||
devDependencies:
|
||||
astro:
|
||||
specifier: ^5.0.0-beta.9
|
||||
specifier: ^5.0.0-beta.10
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/with-markdoc:
|
||||
|
@ -393,7 +393,7 @@ importers:
|
|||
specifier: ^0.12.0-beta.0
|
||||
version: link:../../packages/integrations/markdoc
|
||||
astro:
|
||||
specifier: ^5.0.0-beta.9
|
||||
specifier: ^5.0.0-beta.10
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/with-mdx:
|
||||
|
@ -405,7 +405,7 @@ importers:
|
|||
specifier: ^3.5.4-beta.0
|
||||
version: link:../../packages/integrations/preact
|
||||
astro:
|
||||
specifier: ^5.0.0-beta.9
|
||||
specifier: ^5.0.0-beta.10
|
||||
version: link:../../packages/astro
|
||||
preact:
|
||||
specifier: ^10.24.3
|
||||
|
@ -420,7 +420,7 @@ importers:
|
|||
specifier: ^0.5.2
|
||||
version: 0.5.2(nanostores@0.11.3)(preact@10.24.3)
|
||||
astro:
|
||||
specifier: ^5.0.0-beta.9
|
||||
specifier: ^5.0.0-beta.10
|
||||
version: link:../../packages/astro
|
||||
nanostores:
|
||||
specifier: ^0.11.3
|
||||
|
@ -441,7 +441,7 @@ importers:
|
|||
specifier: ^1.6.4
|
||||
version: 1.6.4
|
||||
astro:
|
||||
specifier: ^5.0.0-beta.9
|
||||
specifier: ^5.0.0-beta.10
|
||||
version: link:../../packages/astro
|
||||
autoprefixer:
|
||||
specifier: ^10.4.20
|
||||
|
@ -459,7 +459,7 @@ importers:
|
|||
examples/with-vitest:
|
||||
dependencies:
|
||||
astro:
|
||||
specifier: ^5.0.0-beta.9
|
||||
specifier: ^5.0.0-beta.10
|
||||
version: link:../../packages/astro
|
||||
vitest:
|
||||
specifier: ^2.1.4
|
||||
|
|
Loading…
Reference in a new issue