[ci] release (#3701)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2022-06-24 16:05:02 -04:00 committed by GitHub
parent 47c81effa6
commit 67b5aa4ca4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 107 additions and 108 deletions

View file

@ -1,5 +0,0 @@
---
'@astrojs/cloudflare': patch
---
fix custom 404 pages not rendering

View file

@ -1,40 +0,0 @@
---
'astro': patch
---
Support for streaming responses
Astro supports streaming in its templates. Any time Astro encounters an async boundary it will stream out HTML that occurs before it. For example:
```astro
---
import LoadTodos from '../components/LoadTodos.astro';
---
<html>
<head>
<title>App</title>
</head>
<body>
<LoadTodos />
</body>
</html>
```
In this arbtrary example Astro will streaming out the `<head>` section and everything else until it encounters `<LoadTodos />` and then stop. LoadTodos, which is also an Astro component will stream its contents as well; stopping and waiting at any other asynchronous components.
As part of this Astro also now supports async iterables within its templates. This means you can do this:
```astro
<ul>
{(async function * () {
for(const number of numbers) {
await wait(1000);
yield <li>Number: {number}</li>
yield '\n'
}
})()}
</ul>
```
Which will stream out `<li>`s one at a time, waiting a second between each.

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Make Astro.redirect use a 302 status code

View file

@ -9,6 +9,6 @@
"preview": "astro preview"
},
"devDependencies": {
"astro": "^1.0.0-beta.54"
"astro": "^1.0.0-beta.55"
}
}

View file

@ -10,7 +10,7 @@
},
"devDependencies": {
"@astrojs/preact": "^0.2.0",
"astro": "^1.0.0-beta.54",
"astro": "^1.0.0-beta.55",
"sass": "^1.52.2"
},
"dependencies": {

View file

@ -10,7 +10,7 @@
},
"devDependencies": {
"@astrojs/preact": "^0.2.0",
"astro": "^1.0.0-beta.54"
"astro": "^1.0.0-beta.55"
},
"dependencies": {
"preact": "^10.7.3"

View file

@ -10,6 +10,6 @@
},
"devDependencies": {
"@example/my-component": "workspace:*",
"astro": "^1.0.0-beta.54"
"astro": "^1.0.0-beta.55"
}
}

View file

@ -8,6 +8,6 @@
"serve": "astro --root demo preview"
},
"devDependencies": {
"astro": "^1.0.0-beta.54"
"astro": "^1.0.0-beta.55"
}
}

View file

@ -20,6 +20,6 @@
"devDependencies": {
"@astrojs/preact": "^0.2.0",
"@astrojs/react": "^0.2.0",
"astro": "^1.0.0-beta.54"
"astro": "^1.0.0-beta.55"
}
}

View file

@ -9,6 +9,6 @@
"preview": "astro preview"
},
"devDependencies": {
"astro": "^1.0.0-beta.54"
"astro": "^1.0.0-beta.55"
}
}

View file

@ -9,7 +9,7 @@
"preview": "astro preview"
},
"devDependencies": {
"astro": "^1.0.0-beta.54"
"astro": "^1.0.0-beta.55"
},
"dependencies": {
"alpinejs": "^3.10.2"

View file

@ -10,7 +10,7 @@
},
"devDependencies": {
"@astrojs/lit": "^0.3.0",
"astro": "^1.0.0-beta.54"
"astro": "^1.0.0-beta.55"
},
"dependencies": {
"@webcomponents/template-shadowroot": "^0.1.0",

View file

@ -15,7 +15,7 @@
"@astrojs/solid-js": "^0.2.0",
"@astrojs/svelte": "^0.2.0",
"@astrojs/vue": "^0.2.0",
"astro": "^1.0.0-beta.54"
"astro": "^1.0.0-beta.55"
},
"dependencies": {
"@webcomponents/template-shadowroot": "^0.1.0",

View file

@ -10,7 +10,7 @@
},
"devDependencies": {
"@astrojs/preact": "^0.2.0",
"astro": "^1.0.0-beta.54"
"astro": "^1.0.0-beta.55"
},
"dependencies": {
"preact": "^10.7.3"

View file

@ -12,7 +12,7 @@
"@astrojs/react": "^0.2.0",
"@types/react": "^18.0.10",
"@types/react-dom": "^18.0.5",
"astro": "^1.0.0-beta.54"
"astro": "^1.0.0-beta.55"
},
"dependencies": {
"react": "^18.1.0",

View file

@ -10,7 +10,7 @@
},
"devDependencies": {
"@astrojs/solid-js": "^0.2.0",
"astro": "^1.0.0-beta.54"
"astro": "^1.0.0-beta.55"
},
"dependencies": {
"solid-js": "^1.4.3"

View file

@ -10,7 +10,7 @@
},
"devDependencies": {
"@astrojs/svelte": "^0.2.0",
"astro": "^1.0.0-beta.54"
"astro": "^1.0.0-beta.55"
},
"dependencies": {
"svelte": "^3.48.0"

View file

@ -10,7 +10,7 @@
},
"devDependencies": {
"@astrojs/vue": "^0.2.0",
"astro": "^1.0.0-beta.54"
"astro": "^1.0.0-beta.55"
},
"dependencies": {
"vue": "^3.2.36"

View file

@ -16,7 +16,7 @@
"@astrojs/solid-js": "0.2.0",
"@astrojs/tailwind": "^0.2.1",
"@astrojs/turbolinks": "^0.1.3",
"astro": "^1.0.0-beta.54",
"astro": "^1.0.0-beta.55",
"solid-js": "^1.4.3"
},
"dependencies": {

View file

@ -9,6 +9,6 @@
"preview": "astro preview"
},
"devDependencies": {
"astro": "^1.0.0-beta.54"
"astro": "^1.0.0-beta.55"
}
}

View file

@ -9,6 +9,6 @@
"preview": "astro preview"
},
"devDependencies": {
"astro": "^1.0.0-beta.54"
"astro": "^1.0.0-beta.55"
}
}

View file

@ -10,7 +10,7 @@
},
"devDependencies": {
"@astrojs/preact": "^0.2.0",
"astro": "^1.0.0-beta.54",
"astro": "^1.0.0-beta.55",
"sass": "^1.52.2"
},
"dependencies": {

View file

@ -11,7 +11,7 @@
"devDependencies": {
"@astrojs/node": "^0.1.2",
"@astrojs/svelte": "^0.2.0",
"astro": "^1.0.0-beta.54",
"astro": "^1.0.0-beta.55",
"concurrently": "^7.2.1",
"lightcookie": "^1.0.25",
"unocss": "^0.15.6",

View file

@ -9,6 +9,6 @@
"preview": "astro preview"
},
"devDependencies": {
"astro": "^1.0.0-beta.54"
"astro": "^1.0.0-beta.55"
}
}

View file

@ -10,7 +10,7 @@
},
"devDependencies": {
"@astrojs/react": "^0.2.0",
"astro": "^1.0.0-beta.54",
"astro": "^1.0.0-beta.55",
"sass": "^1.52.2"
},
"dependencies": {

View file

@ -10,7 +10,7 @@
},
"devDependencies": {
"@astrojs/markdown-remark": "^0.11.3",
"astro": "^1.0.0-beta.54",
"astro": "^1.0.0-beta.55",
"hast-util-select": "5.0.1",
"rehype-autolink-headings": "^6.1.1",
"rehype-slug": "^5.0.1",

View file

@ -10,6 +10,6 @@
},
"devDependencies": {
"@astrojs/markdown-remark": "^0.11.3",
"astro": "^1.0.0-beta.54"
"astro": "^1.0.0-beta.55"
}
}

View file

@ -14,7 +14,7 @@
"@astrojs/react": "^0.2.0",
"@astrojs/svelte": "^0.2.0",
"@astrojs/vue": "^0.2.0",
"astro": "^1.0.0-beta.54"
"astro": "^1.0.0-beta.55"
},
"dependencies": {
"preact": "^10.7.3",

View file

@ -25,6 +25,6 @@
"@astrojs/solid-js": "^0.2.0",
"@astrojs/svelte": "^0.2.0",
"@astrojs/vue": "^0.2.0",
"astro": "^1.0.0-beta.54"
"astro": "^1.0.0-beta.55"
}
}

View file

@ -10,7 +10,7 @@
},
"devDependencies": {
"@astrojs/tailwind": "^0.2.1",
"astro": "^1.0.0-beta.54",
"astro": "^1.0.0-beta.55",
"autoprefixer": "^10.4.7",
"canvas-confetti": "^1.5.1",
"postcss": "^8.4.14",

View file

@ -9,7 +9,7 @@
"preview": "astro preview"
},
"devDependencies": {
"astro": "^1.0.0-beta.54",
"astro": "^1.0.0-beta.55",
"vite-plugin-pwa": "0.11.11",
"workbox-window": "^6.5.3"
}

View file

@ -1,5 +1,48 @@
# astro
## 1.0.0-beta.55
### Patch Changes
- [#3696](https://github.com/withastro/astro/pull/3696) [`3daaf510`](https://github.com/withastro/astro/commit/3daaf510ea767fba47ef52d2253b6221967f3b53) Thanks [@matthewp](https://github.com/matthewp)! - Support for streaming responses
Astro supports streaming in its templates. Any time Astro encounters an async boundary it will stream out HTML that occurs before it. For example:
```astro
---
import LoadTodos from '../components/LoadTodos.astro';
---
<html>
<head>
<title>App</title>
</head>
<body>
<LoadTodos />
</body>
</html>
```
In this arbtrary example Astro will streaming out the `<head>` section and everything else until it encounters `<LoadTodos />` and then stop. LoadTodos, which is also an Astro component will stream its contents as well; stopping and waiting at any other asynchronous components.
As part of this Astro also now supports async iterables within its templates. This means you can do this:
```astro
<ul>
{(async function * () {
for(const number of numbers) {
await wait(1000);
yield <li>Number: {number}</li>
yield '\n'
}
})()}
</ul>
```
Which will stream out `<li>`s one at a time, waiting a second between each.
* [#3700](https://github.com/withastro/astro/pull/3700) [`47c81eff`](https://github.com/withastro/astro/commit/47c81effa69fb5d7f1e576f88c27d5071f1888e3) Thanks [@matthewp](https://github.com/matthewp)! - Make Astro.redirect use a 302 status code
## 1.0.0-beta.54
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "astro",
"version": "1.0.0-beta.54",
"version": "1.0.0-beta.55",
"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,11 @@
# @astrojs/cloudflare
## 0.2.1
### Patch Changes
- [#3695](https://github.com/withastro/astro/pull/3695) [`0d667d0e`](https://github.com/withastro/astro/commit/0d667d0e572d76d4c819816ddf51ed14b43e2551) Thanks [@nrgnrg](https://github.com/nrgnrg)! - fix custom 404 pages not rendering
## 0.2.0
### Minor Changes

View file

@ -1,7 +1,7 @@
{
"name": "@astrojs/cloudflare",
"description": "Deploy your site to cloudflare pages functions",
"version": "0.2.0",
"version": "0.2.1",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",

View file

@ -49,14 +49,14 @@ importers:
examples/basics:
specifiers:
astro: ^1.0.0-beta.54
astro: ^1.0.0-beta.55
devDependencies:
astro: link:../../packages/astro
examples/blog:
specifiers:
'@astrojs/preact': ^0.2.0
astro: ^1.0.0-beta.54
astro: ^1.0.0-beta.55
preact: ^10.7.3
dependencies:
preact: 10.7.3
@ -67,7 +67,7 @@ importers:
examples/blog-multiple-authors:
specifiers:
'@astrojs/preact': ^0.2.0
astro: ^1.0.0-beta.54
astro: ^1.0.0-beta.55
preact: ^10.7.3
sass: ^1.52.2
dependencies:
@ -79,14 +79,14 @@ importers:
examples/component:
specifiers:
astro: ^1.0.0-beta.54
astro: ^1.0.0-beta.55
devDependencies:
astro: link:../../packages/astro
examples/component/demo:
specifiers:
'@example/my-component': workspace:*
astro: ^1.0.0-beta.54
astro: ^1.0.0-beta.55
devDependencies:
'@example/my-component': link:../packages/my-component
astro: link:../../../packages/astro
@ -102,7 +102,7 @@ importers:
'@docsearch/css': ^3.1.0
'@docsearch/react': ^3.1.0
'@types/react': ^17.0.45
astro: ^1.0.0-beta.54
astro: ^1.0.0-beta.55
preact: ^10.7.3
react: ^18.1.0
react-dom: ^18.1.0
@ -121,14 +121,14 @@ importers:
examples/env-vars:
specifiers:
astro: ^1.0.0-beta.54
astro: ^1.0.0-beta.55
devDependencies:
astro: link:../../packages/astro
examples/framework-alpine:
specifiers:
alpinejs: ^3.10.2
astro: ^1.0.0-beta.54
astro: ^1.0.0-beta.55
dependencies:
alpinejs: 3.10.2
devDependencies:
@ -138,7 +138,7 @@ importers:
specifiers:
'@astrojs/lit': ^0.3.0
'@webcomponents/template-shadowroot': ^0.1.0
astro: ^1.0.0-beta.54
astro: ^1.0.0-beta.55
lit: ^2.2.5
dependencies:
'@webcomponents/template-shadowroot': 0.1.0
@ -156,7 +156,7 @@ importers:
'@astrojs/svelte': ^0.2.0
'@astrojs/vue': ^0.2.0
'@webcomponents/template-shadowroot': ^0.1.0
astro: ^1.0.0-beta.54
astro: ^1.0.0-beta.55
lit: ^2.2.5
preact: ^10.7.3
react: ^18.1.0
@ -185,7 +185,7 @@ importers:
examples/framework-preact:
specifiers:
'@astrojs/preact': ^0.2.0
astro: ^1.0.0-beta.54
astro: ^1.0.0-beta.55
preact: ^10.7.3
dependencies:
preact: 10.7.3
@ -198,7 +198,7 @@ importers:
'@astrojs/react': ^0.2.0
'@types/react': ^18.0.10
'@types/react-dom': ^18.0.5
astro: ^1.0.0-beta.54
astro: ^1.0.0-beta.55
react: ^18.1.0
react-dom: ^18.1.0
dependencies:
@ -213,7 +213,7 @@ importers:
examples/framework-solid:
specifiers:
'@astrojs/solid-js': ^0.2.0
astro: ^1.0.0-beta.54
astro: ^1.0.0-beta.55
solid-js: ^1.4.3
dependencies:
solid-js: 1.4.3
@ -224,7 +224,7 @@ importers:
examples/framework-svelte:
specifiers:
'@astrojs/svelte': ^0.2.0
astro: ^1.0.0-beta.54
astro: ^1.0.0-beta.55
svelte: ^3.48.0
dependencies:
svelte: 3.48.0
@ -235,7 +235,7 @@ importers:
examples/framework-vue:
specifiers:
'@astrojs/vue': ^0.2.0
astro: ^1.0.0-beta.54
astro: ^1.0.0-beta.55
vue: ^3.2.36
dependencies:
vue: 3.2.37
@ -253,7 +253,7 @@ importers:
'@astrojs/tailwind': ^0.2.1
'@astrojs/turbolinks': ^0.1.3
'@webcomponents/template-shadowroot': ^0.1.0
astro: ^1.0.0-beta.54
astro: ^1.0.0-beta.55
lit: ^2.2.5
preact: ^10.7.3
react: ^18.1.0
@ -282,20 +282,20 @@ importers:
examples/minimal:
specifiers:
astro: ^1.0.0-beta.54
astro: ^1.0.0-beta.55
devDependencies:
astro: link:../../packages/astro
examples/non-html-pages:
specifiers:
astro: ^1.0.0-beta.54
astro: ^1.0.0-beta.55
devDependencies:
astro: link:../../packages/astro
examples/portfolio:
specifiers:
'@astrojs/preact': ^0.2.0
astro: ^1.0.0-beta.54
astro: ^1.0.0-beta.55
preact: ^10.7.3
sass: ^1.52.2
dependencies:
@ -309,7 +309,7 @@ importers:
specifiers:
'@astrojs/node': ^0.1.2
'@astrojs/svelte': ^0.2.0
astro: ^1.0.0-beta.54
astro: ^1.0.0-beta.55
concurrently: ^7.2.1
lightcookie: ^1.0.25
svelte: ^3.48.0
@ -328,14 +328,14 @@ importers:
examples/starter:
specifiers:
astro: ^1.0.0-beta.54
astro: ^1.0.0-beta.55
devDependencies:
astro: link:../../packages/astro
examples/subpath:
specifiers:
'@astrojs/react': ^0.2.0
astro: ^1.0.0-beta.54
astro: ^1.0.0-beta.55
react: ^18.1.0
react-dom: ^18.1.0
sass: ^1.52.2
@ -354,7 +354,7 @@ importers:
'@astrojs/react': ^0.2.0
'@astrojs/svelte': ^0.2.0
'@astrojs/vue': ^0.2.0
astro: ^1.0.0-beta.54
astro: ^1.0.0-beta.55
preact: ^10.7.3
react: ^18.1.0
react-dom: ^18.1.0
@ -377,7 +377,7 @@ importers:
examples/with-markdown-plugins:
specifiers:
'@astrojs/markdown-remark': ^0.11.3
astro: ^1.0.0-beta.54
astro: ^1.0.0-beta.55
hast-util-select: 5.0.1
rehype-autolink-headings: ^6.1.1
rehype-slug: ^5.0.1
@ -395,7 +395,7 @@ importers:
examples/with-markdown-shiki:
specifiers:
'@astrojs/markdown-remark': ^0.11.3
astro: ^1.0.0-beta.54
astro: ^1.0.0-beta.55
devDependencies:
'@astrojs/markdown-remark': link:../../packages/markdown/remark
astro: link:../../packages/astro
@ -410,7 +410,7 @@ importers:
'@nanostores/preact': ^0.1.3
'@nanostores/react': ^0.1.5
'@nanostores/vue': ^0.4.1
astro: ^1.0.0-beta.54
astro: ^1.0.0-beta.55
nanostores: ^0.5.12
preact: ^10.7.3
react: ^18.1.0
@ -438,7 +438,7 @@ importers:
examples/with-tailwindcss:
specifiers:
'@astrojs/tailwind': ^0.2.1
astro: ^1.0.0-beta.54
astro: ^1.0.0-beta.55
autoprefixer: ^10.4.7
canvas-confetti: ^1.5.1
postcss: ^8.4.14
@ -453,7 +453,7 @@ importers:
examples/with-vite-plugin-pwa:
specifiers:
astro: ^1.0.0-beta.54
astro: ^1.0.0-beta.55
vite-plugin-pwa: 0.11.11
workbox-window: ^6.5.3
devDependencies: