From b5a8418f8274f516a7bae179ff9b9b5e1cda2737 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 18 Mar 2022 18:20:21 -0500 Subject: [PATCH] [ci] release (next) (#2812) Co-authored-by: github-actions[bot] --- .changeset/pre.json | 8 +- examples/blog-multiple-authors/package.json | 2 +- examples/blog/package.json | 2 +- examples/component/demo/package.json | 2 +- examples/component/package.json | 2 +- examples/docs/package.json | 2 +- examples/env-vars/package.json | 2 +- examples/framework-alpine/package.json | 2 +- examples/framework-lit/package.json | 2 +- examples/framework-multiple/package.json | 2 +- examples/framework-preact/package.json | 2 +- examples/framework-react/package.json | 2 +- examples/framework-solid/package.json | 2 +- examples/framework-svelte/package.json | 2 +- examples/framework-vue/package.json | 2 +- examples/integrations-playground/package.json | 2 +- examples/minimal/package.json | 2 +- examples/non-html-pages/package.json | 2 +- examples/portfolio/package.json | 2 +- examples/ssr/package.json | 2 +- examples/starter/package.json | 2 +- examples/subpath/package.json | 2 +- examples/with-markdown-plugins/package.json | 4 +- examples/with-markdown-shiki/package.json | 4 +- examples/with-markdown/package.json | 4 +- examples/with-nanostores/package.json | 2 +- examples/with-tailwindcss/package.json | 2 +- examples/with-vite-plugin-pwa/package.json | 2 +- packages/astro/CHANGELOG.md | 79 ++++++++++++------- packages/astro/package.json | 4 +- packages/markdown/remark/CHANGELOG.md | 14 +++- packages/markdown/remark/package.json | 2 +- 32 files changed, 100 insertions(+), 67 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 78e4de6c2..6ace569ca 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -56,5 +56,11 @@ "@astrojs/webapi": "0.11.0", "astro-scripts": "0.0.2" }, - "changesets": [] + "changesets": [ + "eighty-trees-thank", + "fuzzy-lies-nail", + "lemon-needles-count", + "silent-walls-tan", + "spotty-houses-stare" + ] } diff --git a/examples/blog-multiple-authors/package.json b/examples/blog-multiple-authors/package.json index c3d7d7b98..bd1eced30 100644 --- a/examples/blog-multiple-authors/package.json +++ b/examples/blog-multiple-authors/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/preact": "^0.0.1", - "astro": "^0.24.3", + "astro": "^0.25.0-next.0", "sass": "^1.49.9" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 4e0efd07d..5377a5bc9 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.24.3", + "astro": "^0.25.0-next.0", "@astrojs/preact": "^0.0.1" } } diff --git a/examples/component/demo/package.json b/examples/component/demo/package.json index a532652c5..12082bd4b 100644 --- a/examples/component/demo/package.json +++ b/examples/component/demo/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@example/my-component": "workspace:*", - "astro": "^0.24.3" + "astro": "^0.25.0-next.0" } } diff --git a/examples/component/package.json b/examples/component/package.json index ac59a732d..2eb8f6839 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -8,6 +8,6 @@ "serve": "astro --project-root demo preview" }, "devDependencies": { - "astro": "^0.24.3" + "astro": "^0.25.0-next.0" } } diff --git a/examples/docs/package.json b/examples/docs/package.json index ab596ccce..56ed7f3a9 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -19,6 +19,6 @@ "devDependencies": { "@astrojs/preact": "^0.0.1", "@astrojs/react": "^0.0.1", - "astro": "^0.24.3" + "astro": "^0.25.0-next.0" } } diff --git a/examples/env-vars/package.json b/examples/env-vars/package.json index 904461276..1856195b0 100644 --- a/examples/env-vars/package.json +++ b/examples/env-vars/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.24.3" + "astro": "^0.25.0-next.0" } } diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 89c08517e..a0f32c771 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.24.3" + "astro": "^0.25.0-next.0" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index 651dbf2ab..65a9482b3 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/lit": "^0.0.1", - "astro": "^0.24.3" + "astro": "^0.25.0-next.0" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index e24f45a97..f5e1a3713 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -15,6 +15,6 @@ "@astrojs/solid-js": "^0.0.1", "@astrojs/svelte": "^0.0.1", "@astrojs/vue": "^0.0.1", - "astro": "^0.24.3" + "astro": "^0.25.0-next.0" } } diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 68ad0fabf..5fbc015f7 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/preact": "^0.0.1", - "astro": "^0.24.3" + "astro": "^0.25.0-next.0" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index f0d36db78..1ddd252f8 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/react": "^0.0.1", - "astro": "^0.24.3" + "astro": "^0.25.0-next.0" } } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index d76f69b27..a726c29c8 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/solid-js": "^0.0.1", - "astro": "^0.24.3" + "astro": "^0.25.0-next.0" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 1c3bd34ca..d5a97d07e 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/svelte": "^0.0.1", - "astro": "^0.24.3" + "astro": "^0.25.0-next.0" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 21c1df412..a9f115e0a 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "@astrojs/vue": "^0.0.1", - "astro": "^0.24.3" + "astro": "^0.25.0-next.0" } } diff --git a/examples/integrations-playground/package.json b/examples/integrations-playground/package.json index 23b8c21df..cc91b7d96 100644 --- a/examples/integrations-playground/package.json +++ b/examples/integrations-playground/package.json @@ -15,6 +15,6 @@ "@astrojs/sitemap": "^0.0.1", "@astrojs/tailwind": "^0.0.1", "@astrojs/turbolinks": "^0.0.1", - "astro": "^0.24.3" + "astro": "^0.25.0-next.0" } } diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 024764242..cd8e8a15a 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.24.3" + "astro": "^0.25.0-next.0" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index 591aee9e5..31f1c3641 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.24.3" + "astro": "^0.25.0-next.0" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 11c7b63ca..4130db624 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/preact": "^0.0.1", - "astro": "^0.24.3", + "astro": "^0.25.0-next.0", "sass": "^1.49.9" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index b454978c8..de0bfb00a 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -13,7 +13,7 @@ }, "devDependencies": { "@astrojs/svelte": "^0.0.1", - "astro": "^0.24.3", + "astro": "^0.25.0-next.0", "concurrently": "^7.0.0", "lightcookie": "^1.0.25", "unocss": "^0.15.6", diff --git a/examples/starter/package.json b/examples/starter/package.json index ed4f1e556..ed30d6076 100644 --- a/examples/starter/package.json +++ b/examples/starter/package.json @@ -9,6 +9,6 @@ "preview": "astro preview" }, "devDependencies": { - "astro": "^0.24.3" + "astro": "^0.25.0-next.0" } } diff --git a/examples/subpath/package.json b/examples/subpath/package.json index d29f58717..41e721b3d 100644 --- a/examples/subpath/package.json +++ b/examples/subpath/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/react": "^0.0.1", - "astro": "^0.24.3", + "astro": "^0.25.0-next.0", "sass": "^1.49.9" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index dd858364e..1aef72672 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -9,8 +9,8 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/markdown-remark": "^0.6.4", - "astro": "^0.24.3", + "@astrojs/markdown-remark": "^0.7.0-next.0", + "astro": "^0.25.0-next.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 8a95504fa..3246a1d24 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -9,7 +9,7 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/markdown-remark": "^0.6.4", - "astro": "^0.24.3" + "@astrojs/markdown-remark": "^0.7.0-next.0", + "astro": "^0.25.0-next.0" } } diff --git a/examples/with-markdown/package.json b/examples/with-markdown/package.json index 739fa896b..fde4cb089 100644 --- a/examples/with-markdown/package.json +++ b/examples/with-markdown/package.json @@ -9,11 +9,11 @@ "preview": "astro preview" }, "devDependencies": { - "@astrojs/markdown-remark": "^0.6.4", + "@astrojs/markdown-remark": "^0.7.0-next.0", "@astrojs/preact": "^0.0.1", "@astrojs/react": "^0.0.1", "@astrojs/svelte": "^0.0.1", "@astrojs/vue": "^0.0.1", - "astro": "^0.24.3" + "astro": "^0.25.0-next.0" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index c41c8b315..b18af1fe8 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -25,6 +25,6 @@ "@astrojs/solid-js": "^0.0.1", "@astrojs/svelte": "^0.0.1", "@astrojs/vue": "^0.0.1", - "astro": "^0.24.3" + "astro": "^0.25.0-next.0" } } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 8e4009f18..3ea00b08d 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/tailwind": "^0.0.1", - "astro": "^0.24.3", + "astro": "^0.25.0-next.0", "autoprefixer": "^10.4.4", "canvas-confetti": "^1.5.1", "postcss": "^8.4.12", diff --git a/examples/with-vite-plugin-pwa/package.json b/examples/with-vite-plugin-pwa/package.json index e8dc51701..754fc5df3 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": "^0.24.3", + "astro": "^0.25.0-next.0", "vite-plugin-pwa": "0.11.11", "workbox-window": "^6.5.1" } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 91832450a..424944cb7 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,26 @@ # astro +## 0.25.0-next.0 + +### Minor Changes + +- [#2833](https://github.com/withastro/astro/pull/2833) [`79545412`](https://github.com/withastro/astro/commit/7954541291a3dd7adbc1d5610e0c2e615d3dde46) Thanks [@natemoo-re](https://github.com/natemoo-re)! - This PR introduces a new internal CSS parser for `@astrojs/compiler`. See [`withastro/compiler#329`](https://github.com/withastro/compiler/pull/329) for more details. + + This fixes Astro's support for modern CSS syntax like `@container`, `@layer`, and nesting. **Note** While Astro now correctly parses this modern syntax, it does not automatically compile features for browser compatability purposes. + +* [#2824](https://github.com/withastro/astro/pull/2824) [`0a3d3e51`](https://github.com/withastro/astro/commit/0a3d3e51a66af80fa949ba0f5e2104439d2be634) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Change shiki to our default markdown syntax highlighter. This includes updates to all relevant starter projects that used Prism-specific styles. + +### Patch Changes + +- [#2798](https://github.com/withastro/astro/pull/2798) [`4c25a1c2`](https://github.com/withastro/astro/commit/4c25a1c2eacf897427a7d6dac3bf476ef56799de) Thanks [@matthewp](https://github.com/matthewp)! - Implement APIs for headers for SSR flag + +* [#2825](https://github.com/withastro/astro/pull/2825) [`1cd7184c`](https://github.com/withastro/astro/commit/1cd7184ca6fa6e60a69918e461f42c055e8a795e) Thanks [@hlynursmari1](https://github.com/hlynursmari1)! - Fix island deduplication ignoring props.Re-resolves an issue initially patched in https://github.com/withastro/astro/pull/846 but seemingly lost in the 0.21.0 mega-merge (https://github.com/withastro/astro/commit/d84bfe719a546ad855640338d5ed49ad3aa4ccb4).This change makes the component render step account for all props, even if they don't affect the generated HTML, when deduplicating island mounts. + +- [#2815](https://github.com/withastro/astro/pull/2815) [`7b9d042d`](https://github.com/withastro/astro/commit/7b9d042dde0c6ae74225de208222e0addf5f4989) Thanks [@matthewp](https://github.com/matthewp)! - Allows dynamic routes in SSR to avoid implementing getStaticPaths + +- Updated dependencies [[`0a3d3e51`](https://github.com/withastro/astro/commit/0a3d3e51a66af80fa949ba0f5e2104439d2be634)]: + - @astrojs/markdown-remark@0.7.0-next.0 + ## 0.24.3 ### Patch Changes @@ -25,7 +46,7 @@ import { defineConfig } from 'astro/config'; export default defineConfig({ - renderers: [], + renderers: [], }); ``` @@ -63,9 +84,9 @@ ```json { - "scripts": { - "build": "astro build --legacy-build" - } + "scripts": { + "build": "astro build --legacy-build" + } } ``` @@ -85,7 +106,7 @@ ```ts if (Astro.slots.has('default')) { - const content = await Astro.slots.render('default'); + const content = await Astro.slots.render('default'); } ``` @@ -169,7 +190,7 @@ ```ts if (Astro.slots.has('default')) { - const content = await Astro.slots.render('default'); + const content = await Astro.slots.render('default'); } ``` @@ -193,9 +214,9 @@ ```json { - "scripts": { - "build": "astro build --legacy-build" - } + "scripts": { + "build": "astro build --legacy-build" + } } ``` @@ -307,12 +328,12 @@ ```typescript // src/pages/company.json.ts export async function get() { - return { - body: JSON.stringify({ - name: 'Astro Technology Company', - url: 'https://astro.build/', - }), - }; + return { + body: JSON.stringify({ + name: 'Astro Technology Company', + url: 'https://astro.build/', + }), + }; } ``` @@ -474,12 +495,12 @@ ```typescript // src/pages/company.json.ts export async function get() { - return { - body: JSON.stringify({ - name: 'Astro Technology Company', - url: 'https://astro.build/', - }), - }; + return { + body: JSON.stringify({ + name: 'Astro Technology Company', + url: 'https://astro.build/', + }), + }; } ``` @@ -1834,10 +1855,10 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve ```js export default { - markdownOptions: { - remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]], - rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]], - }, + markdownOptions: { + remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]], + rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]], + }, }; ``` @@ -1857,10 +1878,10 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve ```js export default { - name: '@matthewp/my-renderer', - server: './server.js', - client: './client.js', - hydrationPolyfills: ['./my-polyfill.js'], + name: '@matthewp/my-renderer', + server: './server.js', + client: './client.js', + hydrationPolyfills: ['./my-polyfill.js'], }; ``` diff --git a/packages/astro/package.json b/packages/astro/package.json index 5df402378..fd443e2a0 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "0.24.3", + "version": "0.25.0-next.0", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", @@ -63,7 +63,7 @@ "dependencies": { "@astrojs/compiler": "^0.13.0", "@astrojs/language-server": "^0.8.10", - "@astrojs/markdown-remark": "^0.6.4", + "@astrojs/markdown-remark": "^0.7.0-next.0", "@astrojs/prism": "0.4.0", "@astrojs/webapi": "^0.11.0", "@babel/core": "^7.17.7", diff --git a/packages/markdown/remark/CHANGELOG.md b/packages/markdown/remark/CHANGELOG.md index 0df7cc00b..2d9b0a1d6 100644 --- a/packages/markdown/remark/CHANGELOG.md +++ b/packages/markdown/remark/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/markdown-remark +## 0.7.0-next.0 + +### Minor Changes + +- [#2824](https://github.com/withastro/astro/pull/2824) [`0a3d3e51`](https://github.com/withastro/astro/commit/0a3d3e51a66af80fa949ba0f5e2104439d2be634) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Change shiki to our default markdown syntax highlighter. This includes updates to all relevant starter projects that used Prism-specific styles. + ## 0.6.4 ### Patch Changes @@ -159,10 +165,10 @@ ```js export default { - markdownOptions: { - remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]], - rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]], - }, + markdownOptions: { + remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]], + rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]], + }, }; ``` diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json index 4d941e9a6..2462d9809 100644 --- a/packages/markdown/remark/package.json +++ b/packages/markdown/remark/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/markdown-remark", - "version": "0.6.4", + "version": "0.7.0-next.0", "type": "module", "author": "withastro", "license": "MIT",