diff --git a/.changeset/cyan-garlics-flow.md b/.changeset/cyan-garlics-flow.md deleted file mode 100644 index a7411800f..000000000 --- a/.changeset/cyan-garlics-flow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Add support for the `injectRoute` hook proposed in [RFC0023](https://github.com/withastro/rfcs/blob/main/proposals/0023-inject-route.md). Feature documentation is available in [#704](https://github.com/withastro/docs/pull/704) diff --git a/.changeset/eleven-planes-deliver.md b/.changeset/eleven-planes-deliver.md deleted file mode 100644 index c3d44b459..000000000 --- a/.changeset/eleven-planes-deliver.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -MarkdownInstance: Persist frontmatter type into the return of `.default()` diff --git a/.changeset/friendly-colts-rush.md b/.changeset/friendly-colts-rush.md deleted file mode 100644 index 9dc584228..000000000 --- a/.changeset/friendly-colts-rush.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Handle importing multiple CSS packages in same bundle diff --git a/examples/basics/package.json b/examples/basics/package.json index c2ff59569..b046d99ce 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^1.0.0-beta.45" + "astro": "^1.0.0-beta.46" } } diff --git a/examples/blog-multiple-authors/package.json b/examples/blog-multiple-authors/package.json index 8380f38d6..de260b480 100644 --- a/examples/blog-multiple-authors/package.json +++ b/examples/blog-multiple-authors/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/preact": "^0.1.3", - "astro": "^1.0.0-beta.45", + "astro": "^1.0.0-beta.46", "sass": "^1.52.2" }, "dependencies": { diff --git a/examples/blog/package.json b/examples/blog/package.json index f36499b11..33b208e6c 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/preact": "^0.1.3", - "astro": "^1.0.0-beta.45" + "astro": "^1.0.0-beta.46" }, "dependencies": { "preact": "^10.7.3" diff --git a/examples/component/demo/package.json b/examples/component/demo/package.json index bee7e5038..13edb675c 100644 --- a/examples/component/demo/package.json +++ b/examples/component/demo/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@example/my-component": "workspace:*", - "astro": "^1.0.0-beta.45" + "astro": "^1.0.0-beta.46" } } diff --git a/examples/component/package.json b/examples/component/package.json index 501fe67e4..e5a2d65d5 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -8,6 +8,6 @@ "serve": "astro --root demo preview" }, "devDependencies": { - "astro": "^1.0.0-beta.45" + "astro": "^1.0.0-beta.46" } } diff --git a/examples/docs/package.json b/examples/docs/package.json index a4422a90f..a18a39021 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -20,6 +20,6 @@ "devDependencies": { "@astrojs/preact": "^0.1.3", "@astrojs/react": "^0.1.3", - "astro": "^1.0.0-beta.45" + "astro": "^1.0.0-beta.46" } } diff --git a/examples/env-vars/package.json b/examples/env-vars/package.json index 6a38e7b0e..139a6ebed 100644 --- a/examples/env-vars/package.json +++ b/examples/env-vars/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^1.0.0-beta.45" + "astro": "^1.0.0-beta.46" } } diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 4300932fa..ca25b0d15 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^1.0.0-beta.45" + "astro": "^1.0.0-beta.46" }, "dependencies": { "alpinejs": "^3.10.2" diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index daf1b6893..8b1d604fc 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/lit": "^0.1.5", - "astro": "^1.0.0-beta.45" + "astro": "^1.0.0-beta.46" }, "dependencies": { "@webcomponents/template-shadowroot": "^0.1.0", diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 8d4d7be72..d97c776b3 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -15,7 +15,7 @@ "@astrojs/solid-js": "^0.1.4", "@astrojs/svelte": "^0.1.4", "@astrojs/vue": "^0.1.5", - "astro": "^1.0.0-beta.45" + "astro": "^1.0.0-beta.46" }, "dependencies": { "@webcomponents/template-shadowroot": "^0.1.0", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 14c7e278b..f0aef927f 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/preact": "^0.1.3", - "astro": "^1.0.0-beta.45" + "astro": "^1.0.0-beta.46" }, "dependencies": { "preact": "^10.7.3" diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index eaed7c62d..87709abc1 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/react": "^0.1.3", - "astro": "^1.0.0-beta.45" + "astro": "^1.0.0-beta.46" }, "dependencies": { "@types/react": "^18.0.10", diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 1849b41c3..bd821726d 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/solid-js": "^0.1.4", - "astro": "^1.0.0-beta.45" + "astro": "^1.0.0-beta.46" }, "dependencies": { "solid-js": "^1.4.3" diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index eb02ffde3..7a107b8f5 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/svelte": "^0.1.4", - "astro": "^1.0.0-beta.45" + "astro": "^1.0.0-beta.46" }, "dependencies": { "svelte": "^3.48.0" diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index b2a8dc413..602fdd4e2 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/vue": "^0.1.5", - "astro": "^1.0.0-beta.45" + "astro": "^1.0.0-beta.46" }, "dependencies": { "vue": "^3.2.36" diff --git a/examples/integrations-playground/package.json b/examples/integrations-playground/package.json index 0645f4c59..5d923fef5 100644 --- a/examples/integrations-playground/package.json +++ b/examples/integrations-playground/package.json @@ -16,7 +16,7 @@ "@astrojs/solid-js": "0.1.4", "@astrojs/tailwind": "^0.2.1", "@astrojs/turbolinks": "^0.1.3", - "astro": "^1.0.0-beta.45", + "astro": "^1.0.0-beta.46", "solid-js": "^1.4.3" }, "dependencies": { diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 68da2e55f..fefe27288 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^1.0.0-beta.45" + "astro": "^1.0.0-beta.46" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index 0c1b4fce8..7c0c4aedc 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^1.0.0-beta.45" + "astro": "^1.0.0-beta.46" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 606571744..15e00e442 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/preact": "^0.1.3", - "astro": "^1.0.0-beta.45", + "astro": "^1.0.0-beta.46", "sass": "^1.52.2" }, "dependencies": { diff --git a/examples/ssr/package.json b/examples/ssr/package.json index cd40ea047..f3d336f43 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -11,7 +11,7 @@ "devDependencies": { "@astrojs/node": "^0.1.2", "@astrojs/svelte": "^0.1.4", - "astro": "^1.0.0-beta.45", + "astro": "^1.0.0-beta.46", "concurrently": "^7.2.1", "lightcookie": "^1.0.25", "unocss": "^0.15.6", diff --git a/examples/starter/package.json b/examples/starter/package.json index 2ec8e40e2..812c9dc68 100644 --- a/examples/starter/package.json +++ b/examples/starter/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^1.0.0-beta.45" + "astro": "^1.0.0-beta.46" } } diff --git a/examples/subpath/package.json b/examples/subpath/package.json index f41c97975..ede4b4ccc 100644 --- a/examples/subpath/package.json +++ b/examples/subpath/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/react": "^0.1.3", - "astro": "^1.0.0-beta.45", + "astro": "^1.0.0-beta.46", "sass": "^1.52.2" }, "dependencies": { diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index c774eb9d6..937588418 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/markdown-remark": "^0.11.2", - "astro": "^1.0.0-beta.45", + "astro": "^1.0.0-beta.46", "hast-util-select": "5.0.1", "rehype-autolink-headings": "^6.1.1", "rehype-slug": "^5.0.1", diff --git a/examples/with-markdown-shiki/package.json b/examples/with-markdown-shiki/package.json index 8c84968a9..1a065a715 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/markdown-remark": "^0.11.2", - "astro": "^1.0.0-beta.45" + "astro": "^1.0.0-beta.46" } } diff --git a/examples/with-markdown/package.json b/examples/with-markdown/package.json index 5e674e78a..a5b9a47a0 100644 --- a/examples/with-markdown/package.json +++ b/examples/with-markdown/package.json @@ -14,7 +14,7 @@ "@astrojs/react": "^0.1.3", "@astrojs/svelte": "^0.1.4", "@astrojs/vue": "^0.1.5", - "astro": "^1.0.0-beta.45" + "astro": "^1.0.0-beta.46" }, "dependencies": { "preact": "^10.7.3", diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index f530bac1a..a7ac8cdec 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -25,6 +25,6 @@ "@astrojs/solid-js": "^0.1.4", "@astrojs/svelte": "^0.1.4", "@astrojs/vue": "^0.1.5", - "astro": "^1.0.0-beta.45" + "astro": "^1.0.0-beta.46" } } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 6a59746fe..4c732dad9 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/tailwind": "^0.2.1", - "astro": "^1.0.0-beta.45", + "astro": "^1.0.0-beta.46", "autoprefixer": "^10.4.7", "canvas-confetti": "^1.5.1", "postcss": "^8.4.14", diff --git a/examples/with-vite-plugin-pwa/package.json b/examples/with-vite-plugin-pwa/package.json index df3e287a9..5f450231a 100644 --- a/examples/with-vite-plugin-pwa/package.json +++ b/examples/with-vite-plugin-pwa/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^1.0.0-beta.45", + "astro": "^1.0.0-beta.46", "vite-plugin-pwa": "0.11.11", "workbox-window": "^6.5.3" } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 57cc8358f..7c06ff120 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,15 @@ # astro +## 1.0.0-beta.46 + +### Patch Changes + +- [`d1f3406d`](https://github.com/withastro/astro/commit/d1f3406d85aea6e121f20d1d054140f05aea4424) - Add support for the `injectRoute` hook proposed in [RFC0023](https://github.com/withastro/rfcs/blob/main/proposals/0023-inject-route.md). Feature documentation is available in [#704](https://github.com/withastro/docs/pull/704) + +* [#3397](https://github.com/withastro/astro/pull/3397) [`48161b77`](https://github.com/withastro/astro/commit/48161b77caf35a9f3c285c0c7fbb9d8a937241c9) Thanks [@happycollision](https://github.com/happycollision)! - MarkdownInstance: Persist frontmatter type into the return of `.default()` + +- [#3595](https://github.com/withastro/astro/pull/3595) [`330fef44`](https://github.com/withastro/astro/commit/330fef448e9be257bb3a740387222935e3656c8a) Thanks [@matthewp](https://github.com/matthewp)! - Handle importing multiple CSS packages in same bundle + ## 1.0.0-beta.45 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index a774f509e..acd94920e 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "1.0.0-beta.45", + "version": "1.0.0-beta.46", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ed5fbbf87..63f78b3d5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -47,14 +47,14 @@ importers: examples/basics: specifiers: - astro: ^1.0.0-beta.45 + astro: ^1.0.0-beta.46 devDependencies: astro: link:../../packages/astro examples/blog: specifiers: '@astrojs/preact': ^0.1.3 - astro: ^1.0.0-beta.45 + astro: ^1.0.0-beta.46 preact: ^10.7.3 dependencies: preact: 10.7.3 @@ -65,7 +65,7 @@ importers: examples/blog-multiple-authors: specifiers: '@astrojs/preact': ^0.1.3 - astro: ^1.0.0-beta.45 + astro: ^1.0.0-beta.46 preact: ^10.7.3 sass: ^1.52.2 dependencies: @@ -77,14 +77,14 @@ importers: examples/component: specifiers: - astro: ^1.0.0-beta.45 + astro: ^1.0.0-beta.46 devDependencies: astro: link:../../packages/astro examples/component/demo: specifiers: '@example/my-component': workspace:* - astro: ^1.0.0-beta.45 + astro: ^1.0.0-beta.46 devDependencies: '@example/my-component': link:../packages/my-component astro: link:../../../packages/astro @@ -100,7 +100,7 @@ importers: '@docsearch/css': ^3.1.0 '@docsearch/react': ^3.1.0 '@types/react': ^17.0.45 - astro: ^1.0.0-beta.45 + astro: ^1.0.0-beta.46 preact: ^10.7.3 react: ^17.0.2 react-dom: ^17.0.2 @@ -119,14 +119,14 @@ importers: examples/env-vars: specifiers: - astro: ^1.0.0-beta.45 + astro: ^1.0.0-beta.46 devDependencies: astro: link:../../packages/astro examples/framework-alpine: specifiers: alpinejs: ^3.10.2 - astro: ^1.0.0-beta.45 + astro: ^1.0.0-beta.46 dependencies: alpinejs: 3.10.2 devDependencies: @@ -136,7 +136,7 @@ importers: specifiers: '@astrojs/lit': ^0.1.5 '@webcomponents/template-shadowroot': ^0.1.0 - astro: ^1.0.0-beta.45 + astro: ^1.0.0-beta.46 lit: ^2.2.5 dependencies: '@webcomponents/template-shadowroot': 0.1.0 @@ -154,7 +154,7 @@ importers: '@astrojs/svelte': ^0.1.4 '@astrojs/vue': ^0.1.5 '@webcomponents/template-shadowroot': ^0.1.0 - astro: ^1.0.0-beta.45 + astro: ^1.0.0-beta.46 lit: ^2.2.5 preact: ^10.7.3 react: ^18.1.0 @@ -183,7 +183,7 @@ importers: examples/framework-preact: specifiers: '@astrojs/preact': ^0.1.3 - astro: ^1.0.0-beta.45 + astro: ^1.0.0-beta.46 preact: ^10.7.3 dependencies: preact: 10.7.3 @@ -196,7 +196,7 @@ importers: '@astrojs/react': ^0.1.3 '@types/react': ^18.0.10 '@types/react-dom': ^18.0.5 - astro: ^1.0.0-beta.45 + astro: ^1.0.0-beta.46 react: ^18.1.0 react-dom: ^18.1.0 dependencies: @@ -211,7 +211,7 @@ importers: examples/framework-solid: specifiers: '@astrojs/solid-js': ^0.1.4 - astro: ^1.0.0-beta.45 + astro: ^1.0.0-beta.46 solid-js: ^1.4.3 dependencies: solid-js: 1.4.3 @@ -222,7 +222,7 @@ importers: examples/framework-svelte: specifiers: '@astrojs/svelte': ^0.1.4 - astro: ^1.0.0-beta.45 + astro: ^1.0.0-beta.46 svelte: ^3.48.0 dependencies: svelte: 3.48.0 @@ -233,7 +233,7 @@ importers: examples/framework-vue: specifiers: '@astrojs/vue': ^0.1.5 - astro: ^1.0.0-beta.45 + astro: ^1.0.0-beta.46 vue: ^3.2.36 dependencies: vue: 3.2.37 @@ -251,7 +251,7 @@ importers: '@astrojs/tailwind': ^0.2.1 '@astrojs/turbolinks': ^0.1.3 '@webcomponents/template-shadowroot': ^0.1.0 - astro: ^1.0.0-beta.45 + astro: ^1.0.0-beta.46 lit: ^2.2.5 preact: ^10.7.3 react: ^18.1.0 @@ -280,20 +280,20 @@ importers: examples/minimal: specifiers: - astro: ^1.0.0-beta.45 + astro: ^1.0.0-beta.46 devDependencies: astro: link:../../packages/astro examples/non-html-pages: specifiers: - astro: ^1.0.0-beta.45 + astro: ^1.0.0-beta.46 devDependencies: astro: link:../../packages/astro examples/portfolio: specifiers: '@astrojs/preact': ^0.1.3 - astro: ^1.0.0-beta.45 + astro: ^1.0.0-beta.46 preact: ^10.7.3 sass: ^1.52.2 dependencies: @@ -307,7 +307,7 @@ importers: specifiers: '@astrojs/node': ^0.1.2 '@astrojs/svelte': ^0.1.4 - astro: ^1.0.0-beta.45 + astro: ^1.0.0-beta.46 concurrently: ^7.2.1 lightcookie: ^1.0.25 svelte: ^3.48.0 @@ -326,14 +326,14 @@ importers: examples/starter: specifiers: - astro: ^1.0.0-beta.45 + astro: ^1.0.0-beta.46 devDependencies: astro: link:../../packages/astro examples/subpath: specifiers: '@astrojs/react': ^0.1.3 - astro: ^1.0.0-beta.45 + astro: ^1.0.0-beta.46 react: ^18.1.0 react-dom: ^18.1.0 sass: ^1.52.2 @@ -352,7 +352,7 @@ importers: '@astrojs/react': ^0.1.3 '@astrojs/svelte': ^0.1.4 '@astrojs/vue': ^0.1.5 - astro: ^1.0.0-beta.45 + astro: ^1.0.0-beta.46 preact: ^10.7.3 react: ^18.1.0 react-dom: ^18.1.0 @@ -375,7 +375,7 @@ importers: examples/with-markdown-plugins: specifiers: '@astrojs/markdown-remark': ^0.11.2 - astro: ^1.0.0-beta.45 + astro: ^1.0.0-beta.46 hast-util-select: 5.0.1 rehype-autolink-headings: ^6.1.1 rehype-slug: ^5.0.1 @@ -393,7 +393,7 @@ importers: examples/with-markdown-shiki: specifiers: '@astrojs/markdown-remark': ^0.11.2 - astro: ^1.0.0-beta.45 + astro: ^1.0.0-beta.46 devDependencies: '@astrojs/markdown-remark': link:../../packages/markdown/remark astro: link:../../packages/astro @@ -408,7 +408,7 @@ importers: '@nanostores/preact': ^0.1.3 '@nanostores/react': ^0.1.5 '@nanostores/vue': ^0.4.1 - astro: ^1.0.0-beta.45 + astro: ^1.0.0-beta.46 nanostores: ^0.5.12 preact: ^10.7.3 react: ^18.1.0 @@ -436,7 +436,7 @@ importers: examples/with-tailwindcss: specifiers: '@astrojs/tailwind': ^0.2.1 - astro: ^1.0.0-beta.45 + astro: ^1.0.0-beta.46 autoprefixer: ^10.4.7 canvas-confetti: ^1.5.1 postcss: ^8.4.14 @@ -451,7 +451,7 @@ importers: examples/with-vite-plugin-pwa: specifiers: - astro: ^1.0.0-beta.45 + astro: ^1.0.0-beta.46 vite-plugin-pwa: 0.11.11 workbox-window: ^6.5.3 devDependencies: @@ -8142,11 +8142,6 @@ packages: /debug/3.2.7: resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true dependencies: ms: 2.1.3 dev: false @@ -11063,8 +11058,6 @@ packages: debug: 3.2.7 iconv-lite: 0.4.24 sax: 1.2.4 - transitivePeerDependencies: - - supports-color dev: false /netmask/2.0.2: @@ -11148,8 +11141,6 @@ packages: rimraf: 2.7.1 semver: 5.7.1 tar: 4.4.19 - transitivePeerDependencies: - - supports-color dev: false /node-releases/2.0.5: