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

[ci] release (#7496)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Houston (Bot) 2023-06-29 02:14:24 -07:00 committed by GitHub
parent 40029e1af4
commit 56f1b1229c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
49 changed files with 123 additions and 130 deletions

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Fix error stacktrace from Vite SSR runtime

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Simplify nested hydration flow

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Pass `compressHTML` setting to server adapters

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Fix CSS error line offset

View file

@ -1,5 +0,0 @@
---
"astro": patch
---
Replaces the instance of `setTimeout()` in the runtime to use `queueMicrotask()`, to resolve limitations on Cloudflare Workers.

View file

@ -1,27 +0,0 @@
---
'@astrojs/markdoc': minor
---
Updates the Markdoc config object for rendering Astro components as tags or nodes. Rather than importing components directly, Astro includes a new `component()` function to specify your component path. This unlocks using Astro components from npm packages and `.ts` files.
### Migration
Update all component imports to instead import the new `component()` function and use it to render your Astro components:
```diff
// markdoc.config.mjs
import {
defineMarkdocConfig,
+ component,
} from '@astrojs/markdoc/config';
- import Aside from './src/components/Aside.astro';
export default defineMarkdocConfig({
tags: {
aside: {
render: Aside,
+ render: component('./src/components/Aside.astro'),
}
}
});
```

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Correctly emit pre-rendered pages when `build.split` is set to `true`

View file

@ -1,5 +0,0 @@
---
'@astrojs/markdoc': patch
---
Restart the dev server whenever your markdoc config changes.

View file

@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.7.1"
"astro": "^2.7.2"
}
}

View file

@ -14,6 +14,6 @@
"@astrojs/mdx": "^0.19.7",
"@astrojs/rss": "^2.4.3",
"@astrojs/sitemap": "^1.3.3",
"astro": "^2.7.1"
"astro": "^2.7.2"
}
}

View file

@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
"astro": "^2.7.1"
"astro": "^2.7.2"
},
"peerDependencies": {
"astro": "^2.0.0-beta.0"

View file

@ -10,7 +10,7 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.7.1"
"astro": "^2.7.2"
},
"devDependencies": {
"@astrojs/deno": "^4.2.0"

View file

@ -14,6 +14,6 @@
"@astrojs/alpinejs": "^0.2.2",
"@types/alpinejs": "^3.7.1",
"alpinejs": "^3.12.2",
"astro": "^2.7.1"
"astro": "^2.7.2"
}
}

View file

@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/lit": "^2.1.0",
"@webcomponents/template-shadowroot": "^0.2.1",
"astro": "^2.7.1",
"astro": "^2.7.2",
"lit": "^2.7.5"
}
}

View file

@ -16,7 +16,7 @@
"@astrojs/solid-js": "^2.2.0",
"@astrojs/svelte": "^3.1.0",
"@astrojs/vue": "^2.2.1",
"astro": "^2.7.1",
"astro": "^2.7.2",
"preact": "^10.15.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",

View file

@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/preact": "^2.2.1",
"@preact/signals": "^1.1.3",
"astro": "^2.7.1",
"astro": "^2.7.2",
"preact": "^10.15.1"
}
}

View file

@ -14,7 +14,7 @@
"@astrojs/react": "^2.2.1",
"@types/react": "^18.2.13",
"@types/react-dom": "^18.2.6",
"astro": "^2.7.1",
"astro": "^2.7.2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
}

View file

@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/solid-js": "^2.2.0",
"astro": "^2.7.1",
"astro": "^2.7.2",
"solid-js": "^1.7.6"
}
}

View file

@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/svelte": "^3.1.0",
"astro": "^2.7.1",
"astro": "^2.7.2",
"svelte": "^3.59.1"
}
}

View file

@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/vue": "^2.2.1",
"astro": "^2.7.1",
"astro": "^2.7.2",
"vue": "^3.3.4"
}
}

View file

@ -12,6 +12,6 @@
},
"dependencies": {
"@astrojs/node": "^5.3.0",
"astro": "^2.7.1"
"astro": "^2.7.2"
}
}

View file

@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
"astro": "^2.7.1"
"astro": "^2.7.2"
},
"peerDependencies": {
"astro": "^2.0.0-beta.0"

View file

@ -13,7 +13,7 @@
},
"dependencies": {
"@astrojs/node": "^5.3.0",
"astro": "^2.7.1",
"astro": "^2.7.2",
"html-minifier": "^4.0.0"
}
}

View file

@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.7.1"
"astro": "^2.7.2"
}
}

View file

@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.7.1"
"astro": "^2.7.2"
}
}

View file

@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.7.1"
"astro": "^2.7.2"
}
}

View file

@ -14,7 +14,7 @@
"dependencies": {
"@astrojs/node": "^5.3.0",
"@astrojs/svelte": "^3.1.0",
"astro": "^2.7.1",
"astro": "^2.7.2",
"svelte": "^3.59.1"
}
}

View file

@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/markdoc": "^0.3.3",
"astro": "^2.7.1"
"@astrojs/markdoc": "^0.4.0",
"astro": "^2.7.2"
}
}

View file

@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/markdown-remark": "^2.2.1",
"astro": "^2.7.1",
"astro": "^2.7.2",
"hast-util-select": "^5.0.5",
"rehype-autolink-headings": "^6.1.1",
"rehype-slug": "^5.1.0",

View file

@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.7.1"
"astro": "^2.7.2"
}
}

View file

@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/mdx": "^0.19.7",
"@astrojs/preact": "^2.2.1",
"astro": "^2.7.1",
"astro": "^2.7.2",
"preact": "^10.15.1"
}
}

View file

@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/preact": "^2.2.1",
"@nanostores/preact": "^0.4.1",
"astro": "^2.7.1",
"astro": "^2.7.2",
"nanostores": "^0.8.1",
"preact": "^10.15.1"
}

View file

@ -14,7 +14,7 @@
"@astrojs/mdx": "^0.19.7",
"@astrojs/tailwind": "^4.0.0",
"@types/canvas-confetti": "^1.6.0",
"astro": "^2.7.1",
"astro": "^2.7.2",
"autoprefixer": "^10.4.14",
"canvas-confetti": "^1.6.0",
"postcss": "^8.4.24",

View file

@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
"astro": "^2.7.1",
"astro": "^2.7.2",
"vite-plugin-pwa": "0.14.7",
"workbox-window": "^6.6.0"
}

View file

@ -12,7 +12,7 @@
"test": "vitest"
},
"dependencies": {
"astro": "^2.7.1",
"astro": "^2.7.2",
"vitest": "^0.31.4"
}
}

View file

@ -1,5 +1,21 @@
# astro
## 2.7.2
### Patch Changes
- [#7273](https://github.com/withastro/astro/pull/7273) [`6dfd7081b`](https://github.com/withastro/astro/commit/6dfd7081b7a1532ab0fe3af8bcf079b10a5640a9) Thanks [@bluwy](https://github.com/bluwy)! - Fix error stacktrace from Vite SSR runtime
- [#7370](https://github.com/withastro/astro/pull/7370) [`83016795e`](https://github.com/withastro/astro/commit/83016795e9e149bc64e2441d477cf8c65ef5a117) Thanks [@bluwy](https://github.com/bluwy)! - Simplify nested hydration flow
- [#7488](https://github.com/withastro/astro/pull/7488) [`d3247851f`](https://github.com/withastro/astro/commit/d3247851f04e911c134cfedc22db17b7d61c53d9) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Pass `compressHTML` setting to server adapters
- [#7491](https://github.com/withastro/astro/pull/7491) [`a3928016c`](https://github.com/withastro/astro/commit/a3928016cc375842cf47e7a227835cd17e48a409) Thanks [@bluwy](https://github.com/bluwy)! - Fix CSS error line offset
- [#7494](https://github.com/withastro/astro/pull/7494) [`2726098bc`](https://github.com/withastro/astro/commit/2726098bc82f910edda4198b9fb94f2bfd048976) Thanks [@itsmatteomanf](https://github.com/itsmatteomanf)! - Replaces the instance of `setTimeout()` in the runtime to use `queueMicrotask()`, to resolve limitations on Cloudflare Workers.
- [#7509](https://github.com/withastro/astro/pull/7509) [`f4fea3b02`](https://github.com/withastro/astro/commit/f4fea3b02b0737053c7c7521a7d4dd235648918a) Thanks [@ematipico](https://github.com/ematipico)! - Correctly emit pre-rendered pages when `build.split` is set to `true`
## 2.7.1
### Patch Changes

View file

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

View file

@ -44,7 +44,7 @@
"tiny-glob": "^0.2.9"
},
"peerDependencies": {
"astro": "workspace:^2.7.1"
"astro": "workspace:^2.7.2"
},
"devDependencies": {
"astro": "workspace:*",

View file

@ -36,7 +36,7 @@
"esbuild": "^0.15.18"
},
"peerDependencies": {
"astro": "workspace:^2.7.1"
"astro": "workspace:^2.7.2"
},
"devDependencies": {
"astro": "workspace:*",

View file

@ -63,7 +63,7 @@
"vite": "^4.3.9"
},
"peerDependencies": {
"astro": "workspace:^2.7.1",
"astro": "workspace:^2.7.2",
"sharp": ">=0.31.0"
},
"peerDependenciesMeta": {

View file

@ -1,5 +1,40 @@
# @astrojs/markdoc
## 0.4.0
### Minor Changes
- [#7468](https://github.com/withastro/astro/pull/7468) [`fb7af5511`](https://github.com/withastro/astro/commit/fb7af551148f5ca6c4f98a4e556c8948c5690919) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Updates the Markdoc config object for rendering Astro components as tags or nodes. Rather than importing components directly, Astro includes a new `component()` function to specify your component path. This unlocks using Astro components from npm packages and `.ts` files.
### Migration
Update all component imports to instead import the new `component()` function and use it to render your Astro components:
```diff
// markdoc.config.mjs
import {
defineMarkdocConfig,
+ component,
} from '@astrojs/markdoc/config';
- import Aside from './src/components/Aside.astro';
export default defineMarkdocConfig({
tags: {
aside: {
render: Aside,
+ render: component('./src/components/Aside.astro'),
}
}
});
```
### Patch Changes
- [#7467](https://github.com/withastro/astro/pull/7467) [`f6feff7a2`](https://github.com/withastro/astro/commit/f6feff7a2991fb94e11ee1b70ac606e4c053062b) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Restart the dev server whenever your markdoc config changes.
- Updated dependencies [[`6dfd7081b`](https://github.com/withastro/astro/commit/6dfd7081b7a1532ab0fe3af8bcf079b10a5640a9), [`83016795e`](https://github.com/withastro/astro/commit/83016795e9e149bc64e2441d477cf8c65ef5a117), [`d3247851f`](https://github.com/withastro/astro/commit/d3247851f04e911c134cfedc22db17b7d61c53d9), [`a3928016c`](https://github.com/withastro/astro/commit/a3928016cc375842cf47e7a227835cd17e48a409), [`2726098bc`](https://github.com/withastro/astro/commit/2726098bc82f910edda4198b9fb94f2bfd048976), [`f4fea3b02`](https://github.com/withastro/astro/commit/f4fea3b02b0737053c7c7521a7d4dd235648918a)]:
- astro@2.7.2
## 0.3.3
### Patch Changes

View file

@ -1,7 +1,7 @@
{
"name": "@astrojs/markdoc",
"description": "Add support for Markdoc in your Astro site",
"version": "0.3.3",
"version": "0.4.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
@ -74,7 +74,7 @@
"zod": "^3.17.3"
},
"peerDependencies": {
"astro": "workspace:^2.7.1"
"astro": "workspace:^2.7.2"
},
"devDependencies": {
"@astrojs/markdown-remark": "^2.2.1",

View file

@ -43,7 +43,7 @@
"esbuild": "^0.15.18"
},
"peerDependencies": {
"astro": "workspace:^2.7.1"
"astro": "workspace:^2.7.2"
},
"devDependencies": {
"@netlify/edge-functions": "^2.0.0",

View file

@ -38,7 +38,7 @@
"server-destroy": "^1.0.1"
},
"peerDependencies": {
"astro": "workspace:^2.7.1"
"astro": "workspace:^2.7.2"
},
"devDependencies": {
"@types/node": "^18.16.18",

View file

@ -48,7 +48,7 @@
"vite": "^4.3.9"
},
"peerDependencies": {
"astro": "workspace:^2.7.1",
"astro": "workspace:^2.7.2",
"svelte": "^3.55.0 || ^4.0.0"
},
"engines": {

View file

@ -43,7 +43,7 @@
"vite": "^4.3.9"
},
"peerDependencies": {
"astro": "workspace:^2.7.1",
"astro": "workspace:^2.7.2",
"tailwindcss": "^3.0.24"
}
}

View file

@ -60,7 +60,7 @@
"web-vitals": "^3.3.2"
},
"peerDependencies": {
"astro": "workspace:^2.7.1"
"astro": "workspace:^2.7.2"
},
"devDependencies": {
"@types/set-cookie-parser": "^2.4.2",

View file

@ -56,7 +56,7 @@
"vue": "^3.3.4"
},
"peerDependencies": {
"astro": "workspace:^2.7.1",
"astro": "workspace:^2.7.2",
"vue": "^3.2.30"
},
"engines": {

View file

@ -127,7 +127,7 @@ importers:
examples/basics:
dependencies:
astro:
specifier: ^2.7.1
specifier: ^2.7.2
version: link:../../packages/astro
examples/blog:
@ -142,19 +142,19 @@ importers:
specifier: ^1.3.3
version: link:../../packages/integrations/sitemap
astro:
specifier: ^2.7.1
specifier: ^2.7.2
version: link:../../packages/astro
examples/component:
devDependencies:
astro:
specifier: ^2.7.1
specifier: ^2.7.2
version: link:../../packages/astro
examples/deno:
dependencies:
astro:
specifier: ^2.7.1
specifier: ^2.7.2
version: link:../../packages/astro
devDependencies:
'@astrojs/deno':
@ -173,7 +173,7 @@ importers:
specifier: ^3.12.2
version: 3.12.2
astro:
specifier: ^2.7.1
specifier: ^2.7.2
version: link:../../packages/astro
examples/framework-lit:
@ -185,7 +185,7 @@ importers:
specifier: ^0.2.1
version: 0.2.1
astro:
specifier: ^2.7.1
specifier: ^2.7.2
version: link:../../packages/astro
lit:
specifier: ^2.7.5
@ -209,7 +209,7 @@ importers:
specifier: ^2.2.1
version: link:../../packages/integrations/vue
astro:
specifier: ^2.7.1
specifier: ^2.7.2
version: link:../../packages/astro
preact:
specifier: ^10.15.1
@ -239,7 +239,7 @@ importers:
specifier: ^1.1.3
version: 1.1.3(preact@10.15.1)
astro:
specifier: ^2.7.1
specifier: ^2.7.2
version: link:../../packages/astro
preact:
specifier: ^10.15.1
@ -257,7 +257,7 @@ importers:
specifier: ^18.2.6
version: 18.2.6
astro:
specifier: ^2.7.1
specifier: ^2.7.2
version: link:../../packages/astro
react:
specifier: ^18.2.0
@ -272,7 +272,7 @@ importers:
specifier: ^2.2.0
version: link:../../packages/integrations/solid
astro:
specifier: ^2.7.1
specifier: ^2.7.2
version: link:../../packages/astro
solid-js:
specifier: ^1.7.6
@ -284,7 +284,7 @@ importers:
specifier: ^3.1.0
version: link:../../packages/integrations/svelte
astro:
specifier: ^2.7.1
specifier: ^2.7.2
version: link:../../packages/astro
svelte:
specifier: ^3.59.1
@ -296,7 +296,7 @@ importers:
specifier: ^2.2.1
version: link:../../packages/integrations/vue
astro:
specifier: ^2.7.1
specifier: ^2.7.2
version: link:../../packages/astro
vue:
specifier: ^3.3.4
@ -308,13 +308,13 @@ importers:
specifier: ^5.3.0
version: link:../../packages/integrations/node
astro:
specifier: ^2.7.1
specifier: ^2.7.2
version: link:../../packages/astro
examples/integration:
devDependencies:
astro:
specifier: ^2.7.1
specifier: ^2.7.2
version: link:../../packages/astro
examples/middleware:
@ -323,7 +323,7 @@ importers:
specifier: ^5.3.0
version: link:../../packages/integrations/node
astro:
specifier: ^2.7.1
specifier: ^2.7.2
version: link:../../packages/astro
html-minifier:
specifier: ^4.0.0
@ -332,19 +332,19 @@ importers:
examples/minimal:
dependencies:
astro:
specifier: ^2.7.1
specifier: ^2.7.2
version: link:../../packages/astro
examples/non-html-pages:
dependencies:
astro:
specifier: ^2.7.1
specifier: ^2.7.2
version: link:../../packages/astro
examples/portfolio:
dependencies:
astro:
specifier: ^2.7.1
specifier: ^2.7.2
version: link:../../packages/astro
examples/ssr:
@ -356,7 +356,7 @@ importers:
specifier: ^3.1.0
version: link:../../packages/integrations/svelte
astro:
specifier: ^2.7.1
specifier: ^2.7.2
version: link:../../packages/astro
svelte:
specifier: ^3.59.1
@ -365,10 +365,10 @@ importers:
examples/with-markdoc:
dependencies:
'@astrojs/markdoc':
specifier: ^0.3.3
specifier: ^0.4.0
version: link:../../packages/integrations/markdoc
astro:
specifier: ^2.7.1
specifier: ^2.7.2
version: link:../../packages/astro
examples/with-markdown-plugins:
@ -377,7 +377,7 @@ importers:
specifier: ^2.2.1
version: link:../../packages/markdown/remark
astro:
specifier: ^2.7.1
specifier: ^2.7.2
version: link:../../packages/astro
hast-util-select:
specifier: ^5.0.5
@ -398,7 +398,7 @@ importers:
examples/with-markdown-shiki:
dependencies:
astro:
specifier: ^2.7.1
specifier: ^2.7.2
version: link:../../packages/astro
examples/with-mdx:
@ -410,7 +410,7 @@ importers:
specifier: ^2.2.1
version: link:../../packages/integrations/preact
astro:
specifier: ^2.7.1
specifier: ^2.7.2
version: link:../../packages/astro
preact:
specifier: ^10.15.1
@ -425,7 +425,7 @@ importers:
specifier: ^0.4.1
version: 0.4.1(nanostores@0.8.1)(preact@10.15.1)
astro:
specifier: ^2.7.1
specifier: ^2.7.2
version: link:../../packages/astro
nanostores:
specifier: ^0.8.1
@ -446,7 +446,7 @@ importers:
specifier: ^1.6.0
version: 1.6.0
astro:
specifier: ^2.7.1
specifier: ^2.7.2
version: link:../../packages/astro
autoprefixer:
specifier: ^10.4.14
@ -464,7 +464,7 @@ importers:
examples/with-vite-plugin-pwa:
dependencies:
astro:
specifier: ^2.7.1
specifier: ^2.7.2
version: link:../../packages/astro
vite-plugin-pwa:
specifier: 0.14.7
@ -476,7 +476,7 @@ importers:
examples/with-vitest:
dependencies:
astro:
specifier: ^2.7.1
specifier: ^2.7.2
version: link:../../packages/astro
vitest:
specifier: ^0.31.4
@ -18118,21 +18118,25 @@ packages:
file:packages/astro/test/fixtures/css-assets/packages/font-awesome:
resolution: {directory: packages/astro/test/fixtures/css-assets/packages/font-awesome, type: directory}
name: '@test/astro-font-awesome-package'
version: 0.0.1
dev: false
file:packages/astro/test/fixtures/multiple-renderers/renderers/one:
resolution: {directory: packages/astro/test/fixtures/multiple-renderers/renderers/one, type: directory}
name: '@test/astro-renderer-one'
version: 1.0.0
dev: false
file:packages/astro/test/fixtures/multiple-renderers/renderers/two:
resolution: {directory: packages/astro/test/fixtures/multiple-renderers/renderers/two, type: directory}
name: '@test/astro-renderer-two'
version: 1.0.0
dev: false
file:packages/astro/test/fixtures/solid-component/deps/solid-jsx-component:
resolution: {directory: packages/astro/test/fixtures/solid-component/deps/solid-jsx-component, type: directory}
name: '@test/solid-jsx-component'
version: 0.0.0
dependencies:
solid-js: 1.7.6
dev: false