[ci] release (#4833)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Fred K. Bot 2022-09-22 08:04:45 -07:00 committed by GitHub
parent 49c6eb8b8a
commit 47d4165603
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 122 additions and 124 deletions

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Update vite-jsx-plugin for jsx export

View file

@ -1,5 +0,0 @@
---
'astro': minor
---
Adds a new "astro:build:generated" hook that runs after SSG builds finish but **before** build artifacts are cleaned up. This is a very specific use case, "astro:build:done" is probably what you're looking for.

View file

@ -1,5 +0,0 @@
---
'astro': minor
---
astro-island now correctly passes Uint8Array/Uint16Array/Uint32Array

View file

@ -1,49 +0,0 @@
---
'astro': minor
---
Allows Responses to be passed to set:html
This expands the abilities of `set:html` to ultimate service this use-case:
```astro
<div set:html={fetch('/legacy-post.html')}></div>
```
This means you can take a legacy app that has been statically generated to HTML and directly consume that HTML within your templates. As is always the case with `set:html`, this should only be used on trusted content.
To make this possible, you can also pass several other types into `set:html` now:
* `Response` objects, since that is what fetch() returns:
```astro
<div set:html={new Response('<span>Hello world</span>', {
headers: {
'content-type': 'text/html'
}
})}></div>
```
* `ReadableStream`s:
```astro
<div set:html={new ReadableStream({
start(controller) {
controller.enqueue(`<span>read me</span>`);
controller.close();
}
})}></div>
```
* `AsyncIterable`s:
```astro
<div set:html={(async function * () {
for await (const num of [1, 2, 3, 4, 5]) {
yield `<li>${num}</li>`;
}
})()}>
```
* `Iterable`s (non-async):
```astro
<div set:html={(function * () {
for (const num of [1, 2, 3, 4, 5]) {
yield `<li>${num}</li>`;
}
})()}>
```

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Update `astro check` to latest version of the language server

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Refactor server url logs

View file

@ -11,6 +11,6 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.2.8" "astro": "^1.3.0"
} }
} }

View file

@ -11,7 +11,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.2.8", "astro": "^1.3.0",
"@astrojs/mdx": "^0.11.1", "@astrojs/mdx": "^0.11.1",
"@astrojs/rss": "^1.0.1", "@astrojs/rss": "^1.0.1",
"@astrojs/sitemap": "^1.0.0" "@astrojs/sitemap": "^1.0.0"

View file

@ -15,9 +15,9 @@
], ],
"scripts": {}, "scripts": {},
"devDependencies": { "devDependencies": {
"astro": "^1.2.8" "astro": "^1.3.0"
}, },
"peerDependencies": { "peerDependencies": {
"astro": "^1.2.8" "astro": "^1.3.0"
} }
} }

View file

@ -10,7 +10,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.2.8" "astro": "^1.3.0"
}, },
"devDependencies": { "devDependencies": {
"@astrojs/deno": "^1.0.1" "@astrojs/deno": "^1.0.1"

View file

@ -12,7 +12,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.2.8", "astro": "^1.3.0",
"preact": "^10.7.3", "preact": "^10.7.3",
"react": "^18.1.0", "react": "^18.1.0",
"react-dom": "^18.1.0", "react-dom": "^18.1.0",

View file

@ -11,7 +11,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.2.8", "astro": "^1.3.0",
"alpinejs": "^3.10.2", "alpinejs": "^3.10.2",
"@astrojs/alpinejs": "^0.1.2", "@astrojs/alpinejs": "^0.1.2",
"@types/alpinejs": "^3.7.0" "@types/alpinejs": "^3.7.0"

View file

@ -11,7 +11,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.2.8", "astro": "^1.3.0",
"lit": "^2.2.5", "lit": "^2.2.5",
"@astrojs/lit": "^1.0.0", "@astrojs/lit": "^1.0.0",
"@webcomponents/template-shadowroot": "^0.1.0" "@webcomponents/template-shadowroot": "^0.1.0"

View file

@ -11,7 +11,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.2.8", "astro": "^1.3.0",
"preact": "^10.7.3", "preact": "^10.7.3",
"react": "^18.1.0", "react": "^18.1.0",
"react-dom": "^18.1.0", "react-dom": "^18.1.0",

View file

@ -11,7 +11,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.2.8", "astro": "^1.3.0",
"preact": "^10.7.3", "preact": "^10.7.3",
"@astrojs/preact": "^1.1.0" "@astrojs/preact": "^1.1.0"
} }

View file

@ -11,7 +11,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.2.8", "astro": "^1.3.0",
"react": "^18.1.0", "react": "^18.1.0",
"react-dom": "^18.1.0", "react-dom": "^18.1.0",
"@astrojs/react": "^1.1.4", "@astrojs/react": "^1.1.4",

View file

@ -11,7 +11,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.2.8", "astro": "^1.3.0",
"solid-js": "^1.4.3", "solid-js": "^1.4.3",
"@astrojs/solid-js": "^1.1.0" "@astrojs/solid-js": "^1.1.0"
} }

View file

@ -13,6 +13,6 @@
"dependencies": { "dependencies": {
"svelte": "^3.48.0", "svelte": "^3.48.0",
"@astrojs/svelte": "^1.0.0", "@astrojs/svelte": "^1.0.0",
"astro": "^1.2.8" "astro": "^1.3.0"
} }
} }

View file

@ -11,7 +11,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.2.8", "astro": "^1.3.0",
"vue": "^3.2.37", "vue": "^3.2.37",
"@astrojs/vue": "^1.0.2" "@astrojs/vue": "^1.0.2"
} }

View file

@ -11,6 +11,6 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.2.8" "astro": "^1.3.0"
} }
} }

View file

@ -11,6 +11,6 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.2.8" "astro": "^1.3.0"
} }
} }

View file

@ -11,6 +11,6 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.2.8" "astro": "^1.3.0"
} }
} }

View file

@ -13,7 +13,7 @@
}, },
"devDependencies": {}, "devDependencies": {},
"dependencies": { "dependencies": {
"astro": "^1.2.8", "astro": "^1.3.0",
"svelte": "^3.48.0", "svelte": "^3.48.0",
"@astrojs/svelte": "^1.0.0", "@astrojs/svelte": "^1.0.0",
"@astrojs/node": "^1.0.1", "@astrojs/node": "^1.0.1",

View file

@ -11,7 +11,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.2.8", "astro": "^1.3.0",
"@astrojs/markdown-remark": "^1.1.2", "@astrojs/markdown-remark": "^1.1.2",
"hast-util-select": "5.0.1", "hast-util-select": "5.0.1",
"rehype-autolink-headings": "^6.1.1", "rehype-autolink-headings": "^6.1.1",

View file

@ -11,6 +11,6 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.2.8" "astro": "^1.3.0"
} }
} }

View file

@ -11,7 +11,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.2.8", "astro": "^1.3.0",
"preact": "^10.6.5", "preact": "^10.6.5",
"@astrojs/preact": "^1.1.0", "@astrojs/preact": "^1.1.0",
"@astrojs/mdx": "^0.11.1" "@astrojs/mdx": "^0.11.1"

View file

@ -11,7 +11,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.2.8", "astro": "^1.3.0",
"preact": "^10.7.3", "preact": "^10.7.3",
"@astrojs/preact": "^1.1.0", "@astrojs/preact": "^1.1.0",
"nanostores": "^0.5.12", "nanostores": "^0.5.12",

View file

@ -11,7 +11,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.2.8", "astro": "^1.3.0",
"@astrojs/tailwind": "^2.0.1", "@astrojs/tailwind": "^2.0.1",
"autoprefixer": "^10.4.7", "autoprefixer": "^10.4.7",
"canvas-confetti": "^1.5.1", "canvas-confetti": "^1.5.1",

View file

@ -11,7 +11,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.2.8", "astro": "^1.3.0",
"vite-plugin-pwa": "0.11.11", "vite-plugin-pwa": "0.11.11",
"workbox-window": "^6.5.3" "workbox-window": "^6.5.3"
} }

View file

@ -12,7 +12,7 @@
"test": "vitest" "test": "vitest"
}, },
"dependencies": { "dependencies": {
"astro": "^1.2.8", "astro": "^1.3.0",
"vitest": "^0.20.3" "vitest": "^0.20.3"
} }
} }

View file

@ -1,5 +1,77 @@
# astro # astro
## 1.3.0
### Minor Changes
- [#4775](https://github.com/withastro/astro/pull/4775) [`b0cc93996`](https://github.com/withastro/astro/commit/b0cc93996169fe8a52a7b1119ce2180ae6101e70) Thanks [@tony-sull](https://github.com/tony-sull)! - Adds a new "astro:build:generated" hook that runs after SSG builds finish but **before** build artifacts are cleaned up. This is a very specific use case, "astro:build:done" is probably what you're looking for.
- [#4669](https://github.com/withastro/astro/pull/4669) [`a961aa3c2`](https://github.com/withastro/astro/commit/a961aa3c2fa946898fd209dfc70a7b5472b60817) Thanks [@aggre](https://github.com/aggre)! - astro-island now correctly passes Uint8Array/Uint16Array/Uint32Array
- [#4832](https://github.com/withastro/astro/pull/4832) [`73f215df7`](https://github.com/withastro/astro/commit/73f215df76d238a5ce0cb0e64543af032f468773) Thanks [@matthewp](https://github.com/matthewp)! - Allows Responses to be passed to set:html
This expands the abilities of `set:html` to ultimate service this use-case:
```astro
<div set:html={fetch('/legacy-post.html')}></div>
```
This means you can take a legacy app that has been statically generated to HTML and directly consume that HTML within your templates. As is always the case with `set:html`, this should only be used on trusted content.
To make this possible, you can also pass several other types into `set:html` now:
- `Response` objects, since that is what fetch() returns:
```astro
<div
set:html={new Response('<span>Hello world</span>', {
headers: { 'content-type': 'text/html' },
})}
>
</div>
```
- `ReadableStream`s:
```astro
<div
set:html={new ReadableStream({
start(controller) {
controller.enqueue(`<span>read me</span>`);
controller.close();
},
})}
>
</div>
```
- `AsyncIterable`s:
```astro
<div
set:html={(async function* () {
for await (const num of [1, 2, 3, 4, 5]) {
yield `<li>${num}</li>`;
}
})()}
>
</div>
```
- `Iterable`s (non-async):
```astro
<div
set:html={(function* () {
for (const num of [1, 2, 3, 4, 5]) {
yield `<li>${num}</li>`;
}
})()}
>
</div>
```
### Patch Changes
- [#4831](https://github.com/withastro/astro/pull/4831) [`29b29e6a8`](https://github.com/withastro/astro/commit/29b29e6a8a54f6ed764e57bb97f1799657d39be7) Thanks [@yuhang-dong](https://github.com/yuhang-dong)! - Update vite-jsx-plugin for jsx export
- [#4754](https://github.com/withastro/astro/pull/4754) [`baae1b3fd`](https://github.com/withastro/astro/commit/baae1b3fd10cf0a74e880c0e0552ba8d58f24453) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Update `astro check` to latest version of the language server
- [#4509](https://github.com/withastro/astro/pull/4509) [`a0619f086`](https://github.com/withastro/astro/commit/a0619f08699de34f1d4c3da8020ac9a9ad3b9ff9) Thanks [@bluwy](https://github.com/bluwy)! - Refactor server url logs
## 1.2.8 ## 1.2.8
### Patch Changes ### Patch Changes

View file

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

View file

@ -56,7 +56,7 @@ importers:
examples/basics: examples/basics:
specifiers: specifiers:
astro: ^1.2.8 astro: ^1.3.0
dependencies: dependencies:
astro: link:../../packages/astro astro: link:../../packages/astro
@ -65,7 +65,7 @@ importers:
'@astrojs/mdx': ^0.11.1 '@astrojs/mdx': ^0.11.1
'@astrojs/rss': ^1.0.1 '@astrojs/rss': ^1.0.1
'@astrojs/sitemap': ^1.0.0 '@astrojs/sitemap': ^1.0.0
astro: ^1.2.8 astro: ^1.3.0
dependencies: dependencies:
'@astrojs/mdx': link:../../packages/integrations/mdx '@astrojs/mdx': link:../../packages/integrations/mdx
'@astrojs/rss': link:../../packages/astro-rss '@astrojs/rss': link:../../packages/astro-rss
@ -74,14 +74,14 @@ importers:
examples/component: examples/component:
specifiers: specifiers:
astro: ^1.2.8 astro: ^1.3.0
devDependencies: devDependencies:
astro: link:../../packages/astro astro: link:../../packages/astro
examples/deno: examples/deno:
specifiers: specifiers:
'@astrojs/deno': ^1.0.1 '@astrojs/deno': ^1.0.1
astro: ^1.2.8 astro: ^1.3.0
dependencies: dependencies:
astro: link:../../packages/astro astro: link:../../packages/astro
devDependencies: devDependencies:
@ -97,7 +97,7 @@ importers:
'@types/node': ^18.0.0 '@types/node': ^18.0.0
'@types/react': ^17.0.45 '@types/react': ^17.0.45
'@types/react-dom': ^18.0.0 '@types/react-dom': ^18.0.0
astro: ^1.2.8 astro: ^1.3.0
preact: ^10.7.3 preact: ^10.7.3
react: ^18.1.0 react: ^18.1.0
react-dom: ^18.1.0 react-dom: ^18.1.0
@ -120,7 +120,7 @@ importers:
'@astrojs/alpinejs': ^0.1.2 '@astrojs/alpinejs': ^0.1.2
'@types/alpinejs': ^3.7.0 '@types/alpinejs': ^3.7.0
alpinejs: ^3.10.2 alpinejs: ^3.10.2
astro: ^1.2.8 astro: ^1.3.0
dependencies: dependencies:
'@astrojs/alpinejs': link:../../packages/integrations/alpinejs '@astrojs/alpinejs': link:../../packages/integrations/alpinejs
'@types/alpinejs': 3.7.0 '@types/alpinejs': 3.7.0
@ -131,7 +131,7 @@ importers:
specifiers: specifiers:
'@astrojs/lit': ^1.0.0 '@astrojs/lit': ^1.0.0
'@webcomponents/template-shadowroot': ^0.1.0 '@webcomponents/template-shadowroot': ^0.1.0
astro: ^1.2.8 astro: ^1.3.0
lit: ^2.2.5 lit: ^2.2.5
dependencies: dependencies:
'@astrojs/lit': link:../../packages/integrations/lit '@astrojs/lit': link:../../packages/integrations/lit
@ -146,7 +146,7 @@ importers:
'@astrojs/solid-js': ^1.1.0 '@astrojs/solid-js': ^1.1.0
'@astrojs/svelte': ^1.0.0 '@astrojs/svelte': ^1.0.0
'@astrojs/vue': ^1.0.2 '@astrojs/vue': ^1.0.2
astro: ^1.2.8 astro: ^1.3.0
preact: ^10.7.3 preact: ^10.7.3
react: ^18.1.0 react: ^18.1.0
react-dom: ^18.1.0 react-dom: ^18.1.0
@ -170,7 +170,7 @@ importers:
examples/framework-preact: examples/framework-preact:
specifiers: specifiers:
'@astrojs/preact': ^1.1.0 '@astrojs/preact': ^1.1.0
astro: ^1.2.8 astro: ^1.3.0
preact: ^10.7.3 preact: ^10.7.3
dependencies: dependencies:
'@astrojs/preact': link:../../packages/integrations/preact '@astrojs/preact': link:../../packages/integrations/preact
@ -182,7 +182,7 @@ importers:
'@astrojs/react': ^1.1.4 '@astrojs/react': ^1.1.4
'@types/react': ^18.0.10 '@types/react': ^18.0.10
'@types/react-dom': ^18.0.5 '@types/react-dom': ^18.0.5
astro: ^1.2.8 astro: ^1.3.0
react: ^18.1.0 react: ^18.1.0
react-dom: ^18.1.0 react-dom: ^18.1.0
dependencies: dependencies:
@ -196,7 +196,7 @@ importers:
examples/framework-solid: examples/framework-solid:
specifiers: specifiers:
'@astrojs/solid-js': ^1.1.0 '@astrojs/solid-js': ^1.1.0
astro: ^1.2.8 astro: ^1.3.0
solid-js: ^1.4.3 solid-js: ^1.4.3
dependencies: dependencies:
'@astrojs/solid-js': link:../../packages/integrations/solid '@astrojs/solid-js': link:../../packages/integrations/solid
@ -206,7 +206,7 @@ importers:
examples/framework-svelte: examples/framework-svelte:
specifiers: specifiers:
'@astrojs/svelte': ^1.0.0 '@astrojs/svelte': ^1.0.0
astro: ^1.2.8 astro: ^1.3.0
svelte: ^3.48.0 svelte: ^3.48.0
dependencies: dependencies:
'@astrojs/svelte': link:../../packages/integrations/svelte '@astrojs/svelte': link:../../packages/integrations/svelte
@ -216,7 +216,7 @@ importers:
examples/framework-vue: examples/framework-vue:
specifiers: specifiers:
'@astrojs/vue': ^1.0.2 '@astrojs/vue': ^1.0.2
astro: ^1.2.8 astro: ^1.3.0
vue: ^3.2.37 vue: ^3.2.37
dependencies: dependencies:
'@astrojs/vue': link:../../packages/integrations/vue '@astrojs/vue': link:../../packages/integrations/vue
@ -225,19 +225,19 @@ importers:
examples/minimal: examples/minimal:
specifiers: specifiers:
astro: ^1.2.8 astro: ^1.3.0
dependencies: dependencies:
astro: link:../../packages/astro astro: link:../../packages/astro
examples/non-html-pages: examples/non-html-pages:
specifiers: specifiers:
astro: ^1.2.8 astro: ^1.3.0
dependencies: dependencies:
astro: link:../../packages/astro astro: link:../../packages/astro
examples/portfolio: examples/portfolio:
specifiers: specifiers:
astro: ^1.2.8 astro: ^1.3.0
dependencies: dependencies:
astro: link:../../packages/astro astro: link:../../packages/astro
@ -245,7 +245,7 @@ importers:
specifiers: specifiers:
'@astrojs/node': ^1.0.1 '@astrojs/node': ^1.0.1
'@astrojs/svelte': ^1.0.0 '@astrojs/svelte': ^1.0.0
astro: ^1.2.8 astro: ^1.3.0
concurrently: ^7.2.1 concurrently: ^7.2.1
lightcookie: ^1.0.25 lightcookie: ^1.0.25
svelte: ^3.48.0 svelte: ^3.48.0
@ -264,7 +264,7 @@ importers:
examples/with-markdown-plugins: examples/with-markdown-plugins:
specifiers: specifiers:
'@astrojs/markdown-remark': ^1.1.2 '@astrojs/markdown-remark': ^1.1.2
astro: ^1.2.8 astro: ^1.3.0
hast-util-select: 5.0.1 hast-util-select: 5.0.1
rehype-autolink-headings: ^6.1.1 rehype-autolink-headings: ^6.1.1
rehype-slug: ^5.0.1 rehype-slug: ^5.0.1
@ -281,7 +281,7 @@ importers:
examples/with-markdown-shiki: examples/with-markdown-shiki:
specifiers: specifiers:
astro: ^1.2.8 astro: ^1.3.0
dependencies: dependencies:
astro: link:../../packages/astro astro: link:../../packages/astro
@ -289,7 +289,7 @@ importers:
specifiers: specifiers:
'@astrojs/mdx': ^0.11.1 '@astrojs/mdx': ^0.11.1
'@astrojs/preact': ^1.1.0 '@astrojs/preact': ^1.1.0
astro: ^1.2.8 astro: ^1.3.0
preact: ^10.6.5 preact: ^10.6.5
dependencies: dependencies:
'@astrojs/mdx': link:../../packages/integrations/mdx '@astrojs/mdx': link:../../packages/integrations/mdx
@ -301,7 +301,7 @@ importers:
specifiers: specifiers:
'@astrojs/preact': ^1.1.0 '@astrojs/preact': ^1.1.0
'@nanostores/preact': ^0.1.3 '@nanostores/preact': ^0.1.3
astro: ^1.2.8 astro: ^1.3.0
nanostores: ^0.5.12 nanostores: ^0.5.12
preact: ^10.7.3 preact: ^10.7.3
dependencies: dependencies:
@ -314,7 +314,7 @@ importers:
examples/with-tailwindcss: examples/with-tailwindcss:
specifiers: specifiers:
'@astrojs/tailwind': ^2.0.1 '@astrojs/tailwind': ^2.0.1
astro: ^1.2.8 astro: ^1.3.0
autoprefixer: ^10.4.7 autoprefixer: ^10.4.7
canvas-confetti: ^1.5.1 canvas-confetti: ^1.5.1
postcss: ^8.4.14 postcss: ^8.4.14
@ -329,7 +329,7 @@ importers:
examples/with-vite-plugin-pwa: examples/with-vite-plugin-pwa:
specifiers: specifiers:
astro: ^1.2.8 astro: ^1.3.0
vite-plugin-pwa: 0.11.11 vite-plugin-pwa: 0.11.11
workbox-window: ^6.5.3 workbox-window: ^6.5.3
dependencies: dependencies:
@ -339,7 +339,7 @@ importers:
examples/with-vitest: examples/with-vitest:
specifiers: specifiers:
astro: ^1.2.8 astro: ^1.3.0
vitest: ^0.20.3 vitest: ^0.20.3
dependencies: dependencies:
astro: link:../../packages/astro astro: link:../../packages/astro