diff options
author | 2022-08-09 17:28:02 -0700 | |
---|---|---|
committer | 2022-08-09 17:28:02 -0700 | |
commit | 3a7f2385eadadb21794a06c86b7fa20b83b2f8f8 (patch) | |
tree | 3a93eedd664d8dafafbe13725418ca0b671a2e25 | |
parent | 92aa6a75eac274942e438de06df71f8261fdbcc2 (diff) | |
download | astro-3a7f2385eadadb21794a06c86b7fa20b83b2f8f8.tar.gz astro-3a7f2385eadadb21794a06c86b7fa20b83b2f8f8.tar.zst astro-3a7f2385eadadb21794a06c86b7fa20b83b2f8f8.zip |
Revert "[ci] release (#4223)"
This reverts commit d4ad40987589299fb3a94aed8700caed29cfbb35.
30 files changed, 81 insertions, 61 deletions
diff --git a/.changeset/warm-socks-exercise.md b/.changeset/warm-socks-exercise.md new file mode 100644 index 000000000..f77694313 --- /dev/null +++ b/.changeset/warm-socks-exercise.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Add rawContent and compiledContent to MD layout props diff --git a/examples/basics/package.json b/examples/basics/package.json index b9e02f62d..ae8810318 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "devDependencies": { - "astro": "^1.0.1" + "astro": "^1.0.0" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 281a1ea31..3574c1718 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@astrojs/preact": "^1.0.0", - "astro": "^1.0.1" + "astro": "^1.0.0" }, "dependencies": { "preact": "^10.7.3" diff --git a/examples/component/demo/package.json b/examples/component/demo/package.json index 4d8af4e8b..7a0ea3ca7 100644 --- a/examples/component/demo/package.json +++ b/examples/component/demo/package.json @@ -11,6 +11,6 @@ }, "devDependencies": { "@example/my-component": "workspace:*", - "astro": "^1.0.1" + "astro": "^1.0.0" } } diff --git a/examples/component/package.json b/examples/component/package.json index 863bd4b56..ee4684ec4 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -8,6 +8,6 @@ "serve": "astro --root demo preview" }, "devDependencies": { - "astro": "^1.0.1" + "astro": "^1.0.0" } } diff --git a/examples/docs/package.json b/examples/docs/package.json index 06fc1a556..7439a843b 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -21,6 +21,6 @@ "devDependencies": { "@astrojs/preact": "^1.0.0", "@astrojs/react": "^1.0.0", - "astro": "^1.0.1" + "astro": "^1.0.0" } } diff --git a/examples/env-vars/package.json b/examples/env-vars/package.json index 9e05dab8a..4dee55a6d 100644 --- a/examples/env-vars/package.json +++ b/examples/env-vars/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "devDependencies": { - "astro": "^1.0.1" + "astro": "^1.0.0" } } diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 8ef09e8ee..ba26b4f5f 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@types/alpinejs": "^3.7.0", - "astro": "^1.0.1" + "astro": "^1.0.0" }, "dependencies": { "alpinejs": "^3.10.2" diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index 9e6b4ab6a..5ab433f42 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@astrojs/lit": "^1.0.0", - "astro": "^1.0.1" + "astro": "^1.0.0" }, "dependencies": { "@webcomponents/template-shadowroot": "^0.1.0", diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index fe78e3a60..88090bb3d 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -15,7 +15,7 @@ "@astrojs/solid-js": "^1.0.0", "@astrojs/svelte": "^1.0.0", "@astrojs/vue": "^1.0.0", - "astro": "^1.0.1" + "astro": "^1.0.0" }, "dependencies": { "preact": "^10.7.3", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 866635ee9..130351e7e 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@astrojs/preact": "^1.0.0", - "astro": "^1.0.1" + "astro": "^1.0.0" }, "dependencies": { "preact": "^10.7.3" diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index ce1af197d..3dcd62de4 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -13,7 +13,7 @@ "@astrojs/react": "^1.0.0", "@types/react": "^18.0.10", "@types/react-dom": "^18.0.5", - "astro": "^1.0.1" + "astro": "^1.0.0" }, "dependencies": { "react": "^18.1.0", diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index bb070711c..c7492fff3 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@astrojs/solid-js": "^1.0.0", - "astro": "^1.0.1" + "astro": "^1.0.0" }, "dependencies": { "solid-js": "^1.4.3" diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 27e337fbf..439de97c0 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@astrojs/svelte": "^1.0.0", - "astro": "^1.0.1" + "astro": "^1.0.0" }, "dependencies": { "svelte": "^3.48.0" diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 64d6f0b36..3012ed2f2 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@astrojs/vue": "^1.0.0", - "astro": "^1.0.1" + "astro": "^1.0.0" }, "dependencies": { "vue": "^3.2.37" diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 529dcfa67..a9e317792 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "devDependencies": { - "astro": "^1.0.1" + "astro": "^1.0.0" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index d1fbc949b..270e6d074 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "devDependencies": { - "astro": "^1.0.1" + "astro": "^1.0.0" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 8b47ea2d2..12d2f338a 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@astrojs/preact": "^1.0.0", - "astro": "^1.0.1", + "astro": "^1.0.0", "sass": "^1.52.2" }, "dependencies": { diff --git a/examples/ssr/package.json b/examples/ssr/package.json index c14725f11..549da2341 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -13,7 +13,7 @@ "devDependencies": { "@astrojs/node": "^1.0.0", "@astrojs/svelte": "^1.0.0", - "astro": "^1.0.1", + "astro": "^1.0.0", "concurrently": "^7.2.1", "lightcookie": "^1.0.25", "unocss": "^0.15.6", diff --git a/examples/subpath/package.json b/examples/subpath/package.json index e6b8c5dbd..14fe1204c 100644 --- a/examples/subpath/package.json +++ b/examples/subpath/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@astrojs/react": "^1.0.0", - "astro": "^1.0.1" + "astro": "^1.0.0" }, "dependencies": { "react": "^18.1.0", diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index d796b7955..2085838d4 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@astrojs/markdown-remark": "^1.0.0", - "astro": "^1.0.1", + "astro": "^1.0.0", "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 4bd2d8680..112eedb4c 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -11,6 +11,6 @@ }, "devDependencies": { "@astrojs/markdown-remark": "^1.0.0", - "astro": "^1.0.1" + "astro": "^1.0.0" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index ffae9fee1..558b8f2bd 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -12,7 +12,7 @@ "devDependencies": { "@astrojs/mdx": "^0.8.1", "@astrojs/preact": "^1.0.0", - "astro": "^1.0.1", + "astro": "^1.0.0", "preact": "^10.6.5" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 30b1347ea..de962c70f 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -16,6 +16,6 @@ }, "devDependencies": { "@astrojs/preact": "^1.0.0", - "astro": "^1.0.1" + "astro": "^1.0.0" } } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index d95e2d609..1391a72ae 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@astrojs/tailwind": "^1.0.0", - "astro": "^1.0.1", + "astro": "^1.0.0", "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 5a8323eb7..b4c4e61ac 100644 --- a/examples/with-vite-plugin-pwa/package.json +++ b/examples/with-vite-plugin-pwa/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "devDependencies": { - "astro": "^1.0.1", + "astro": "^1.0.0", "vite-plugin-pwa": "0.11.11", "workbox-window": "^6.5.3" } diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index aa56c5ecc..4da833516 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest" }, "devDependencies": { - "astro": "^1.0.1", + "astro": "^1.0.0", "vitest": "^0.20.3" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index fef7fd716..4d648c570 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,11 +1,5 @@ # astro -## 1.0.1 - -### Patch Changes - -- [#4222](https://github.com/withastro/astro/pull/4222) [`b5ef1c211`](https://github.com/withastro/astro/commit/b5ef1c2113693523f10479d472e855ab9c41395d) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Add rawContent and compiledContent to MD layout props - ## 1.0.0 > Astro v1.0 is out! Read the [official announcement post](https://astro.build/blog/astro-1/). @@ -456,7 +450,18 @@ The **Astro v1.0.0 Release Candidate** comes includes new features, tons of bug 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. @@ -464,7 +469,15 @@ The **Astro v1.0.0 Release Candidate** comes includes new features, tons of bug 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. @@ -2605,7 +2618,9 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve This change adds support for hoisted scripts, allowing you to bundle scripts together for a page and hoist them to the top (in the head): ```astro - + <script hoist> + // Anything goes here! + </script> ``` - Updated dependencies [5d2ea578] diff --git a/packages/astro/package.json b/packages/astro/package.json index 36e017eeb..6d985aa3f 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "1.0.1", + "version": "1.0.0", "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 a45019341..6b77dc333 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -56,14 +56,14 @@ importers: examples/basics: specifiers: - astro: ^1.0.1 + astro: ^1.0.0 devDependencies: astro: link:../../packages/astro examples/blog: specifiers: '@astrojs/preact': ^1.0.0 - astro: ^1.0.1 + astro: ^1.0.0 preact: ^10.7.3 dependencies: preact: 10.10.1 @@ -73,14 +73,14 @@ importers: examples/component: specifiers: - astro: ^1.0.1 + astro: ^1.0.0 devDependencies: astro: link:../../packages/astro examples/component/demo: specifiers: '@example/my-component': workspace:* - astro: ^1.0.1 + astro: ^1.0.0 devDependencies: '@example/my-component': link:../packages/my-component astro: link:../../../packages/astro @@ -96,7 +96,7 @@ importers: '@docsearch/css': ^3.1.0 '@docsearch/react': ^3.1.0 '@types/react': ^17.0.45 - astro: ^1.0.1 + astro: ^1.0.0 preact: ^10.7.3 react: ^18.1.0 react-dom: ^18.1.0 @@ -115,7 +115,7 @@ importers: examples/env-vars: specifiers: - astro: ^1.0.1 + astro: ^1.0.0 devDependencies: astro: link:../../packages/astro @@ -123,7 +123,7 @@ importers: specifiers: '@types/alpinejs': ^3.7.0 alpinejs: ^3.10.2 - astro: ^1.0.1 + astro: ^1.0.0 dependencies: alpinejs: 3.10.3 devDependencies: @@ -134,7 +134,7 @@ importers: specifiers: '@astrojs/lit': ^1.0.0 '@webcomponents/template-shadowroot': ^0.1.0 - astro: ^1.0.1 + astro: ^1.0.0 lit: ^2.2.5 dependencies: '@webcomponents/template-shadowroot': 0.1.0 @@ -150,7 +150,7 @@ importers: '@astrojs/solid-js': ^1.0.0 '@astrojs/svelte': ^1.0.0 '@astrojs/vue': ^1.0.0 - astro: ^1.0.1 + astro: ^1.0.0 preact: ^10.7.3 react: ^18.1.0 react-dom: ^18.1.0 @@ -175,7 +175,7 @@ importers: examples/framework-preact: specifiers: '@astrojs/preact': ^1.0.0 - astro: ^1.0.1 + astro: ^1.0.0 preact: ^10.7.3 dependencies: preact: 10.10.1 @@ -188,7 +188,7 @@ importers: '@astrojs/react': ^1.0.0 '@types/react': ^18.0.10 '@types/react-dom': ^18.0.5 - astro: ^1.0.1 + astro: ^1.0.0 react: ^18.1.0 react-dom: ^18.1.0 dependencies: @@ -203,7 +203,7 @@ importers: examples/framework-solid: specifiers: '@astrojs/solid-js': ^1.0.0 - astro: ^1.0.1 + astro: ^1.0.0 solid-js: ^1.4.3 dependencies: solid-js: 1.4.8 @@ -214,7 +214,7 @@ importers: examples/framework-svelte: specifiers: '@astrojs/svelte': ^1.0.0 - astro: ^1.0.1 + astro: ^1.0.0 svelte: ^3.48.0 dependencies: svelte: 3.49.0 @@ -225,7 +225,7 @@ importers: examples/framework-vue: specifiers: '@astrojs/vue': ^1.0.0 - astro: ^1.0.1 + astro: ^1.0.0 vue: ^3.2.37 dependencies: vue: 3.2.37 @@ -235,20 +235,20 @@ importers: examples/minimal: specifiers: - astro: ^1.0.1 + astro: ^1.0.0 devDependencies: astro: link:../../packages/astro examples/non-html-pages: specifiers: - astro: ^1.0.1 + astro: ^1.0.0 devDependencies: astro: link:../../packages/astro examples/portfolio: specifiers: '@astrojs/preact': ^1.0.0 - astro: ^1.0.1 + astro: ^1.0.0 preact: ^10.7.3 sass: ^1.52.2 dependencies: @@ -262,7 +262,7 @@ importers: specifiers: '@astrojs/node': ^1.0.0 '@astrojs/svelte': ^1.0.0 - astro: ^1.0.1 + astro: ^1.0.0 concurrently: ^7.2.1 lightcookie: ^1.0.25 svelte: ^3.48.0 @@ -282,7 +282,7 @@ importers: examples/subpath: specifiers: '@astrojs/react': ^1.0.0 - astro: ^1.0.1 + astro: ^1.0.0 react: ^18.1.0 react-dom: ^18.1.0 dependencies: @@ -295,7 +295,7 @@ importers: examples/with-markdown-plugins: specifiers: '@astrojs/markdown-remark': ^1.0.0 - astro: ^1.0.1 + astro: ^1.0.0 hast-util-select: 5.0.1 rehype-autolink-headings: ^6.1.1 rehype-slug: ^5.0.1 @@ -313,7 +313,7 @@ importers: examples/with-markdown-shiki: specifiers: '@astrojs/markdown-remark': ^1.0.0 - astro: ^1.0.1 + astro: ^1.0.0 devDependencies: '@astrojs/markdown-remark': link:../../packages/markdown/remark astro: link:../../packages/astro @@ -322,7 +322,7 @@ importers: specifiers: '@astrojs/mdx': ^0.8.1 '@astrojs/preact': ^1.0.0 - astro: ^1.0.1 + astro: ^1.0.0 preact: ^10.6.5 devDependencies: '@astrojs/mdx': link:../../packages/integrations/mdx @@ -334,7 +334,7 @@ importers: specifiers: '@astrojs/preact': ^1.0.0 '@nanostores/preact': ^0.1.3 - astro: ^1.0.1 + astro: ^1.0.0 nanostores: ^0.5.12 preact: ^10.7.3 dependencies: @@ -348,7 +348,7 @@ importers: examples/with-tailwindcss: specifiers: '@astrojs/tailwind': ^1.0.0 - astro: ^1.0.1 + astro: ^1.0.0 autoprefixer: ^10.4.7 canvas-confetti: ^1.5.1 postcss: ^8.4.14 @@ -363,7 +363,7 @@ importers: examples/with-vite-plugin-pwa: specifiers: - astro: ^1.0.1 + astro: ^1.0.0 vite-plugin-pwa: 0.11.11 workbox-window: ^6.5.3 devDependencies: @@ -373,7 +373,7 @@ importers: examples/with-vitest: specifiers: - astro: ^1.0.1 + astro: ^1.0.0 vitest: ^0.20.3 devDependencies: astro: link:../../packages/astro |