diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/astro/CHANGELOG.md | 77 | ||||
-rw-r--r-- | packages/astro/package.json | 4 | ||||
-rw-r--r-- | packages/create-astro/CHANGELOG.md | 6 | ||||
-rw-r--r-- | packages/create-astro/package.json | 2 | ||||
-rw-r--r-- | packages/integrations/image/CHANGELOG.md | 12 | ||||
-rw-r--r-- | packages/integrations/image/package.json | 2 | ||||
-rw-r--r-- | packages/integrations/mdx/CHANGELOG.md | 14 | ||||
-rw-r--r-- | packages/integrations/mdx/package.json | 2 | ||||
-rw-r--r-- | packages/integrations/react/CHANGELOG.md | 6 | ||||
-rw-r--r-- | packages/integrations/react/package.json | 2 | ||||
-rw-r--r-- | packages/markdown/remark/CHANGELOG.md | 10 | ||||
-rw-r--r-- | packages/markdown/remark/package.json | 2 |
12 files changed, 90 insertions, 49 deletions
diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index ab96e75da..c8af561ba 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,36 @@ # astro +## 1.0.0-rc.7 + +### Minor Changes + +- [#4176](https://github.com/withastro/astro/pull/4176) [`2675b8633`](https://github.com/withastro/astro/commit/2675b8633c5d5c45b237ec87940d5eaf1bfb1b4b) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Support frontmatter injection for MD and MDX using remark and rehype plugins + +* [#4155](https://github.com/withastro/astro/pull/4155) [`81c9ad9a6`](https://github.com/withastro/astro/commit/81c9ad9a6bdb2806f3ccb77113a0cb40459b3d70) Thanks [@kagankan](https://github.com/kagankan)! - Add `vite.build.cssTaregt` support for CSS build + +- [#4137](https://github.com/withastro/astro/pull/4137) [`471c6f784`](https://github.com/withastro/astro/commit/471c6f784e21399676c8b2002665ffdf83a1c59e) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Speed up internal markdown builds with new vite-plugin markdown + +### Patch Changes + +- [#4175](https://github.com/withastro/astro/pull/4175) [`69db0298d`](https://github.com/withastro/astro/commit/69db0298d07b560992346d1a41e85afd767ee61f) Thanks [@matthewp](https://github.com/matthewp)! - Fixes double doctypes + +* [#4154](https://github.com/withastro/astro/pull/4154) [`36223f663`](https://github.com/withastro/astro/commit/36223f663ef73ef4581c4ad93c88666d2e0190e7) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Expose `getViteConfig` from `astro/config` to unblock usage with Vitest + +- [#4158](https://github.com/withastro/astro/pull/4158) [`e569f0a5c`](https://github.com/withastro/astro/commit/e569f0a5c7b56c4cce7afe95335b0aee6ac3d298) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Fix edge case where MDX components would be escaped + +* [#4157](https://github.com/withastro/astro/pull/4157) [`025743849`](https://github.com/withastro/astro/commit/025743849da4a6d1fde30b49511805f41da9ff7a) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Fix duplicated CSS when using HMR + +- [#4156](https://github.com/withastro/astro/pull/4156) [`82a1063cc`](https://github.com/withastro/astro/commit/82a1063cc26cf6d7012d40025a6ad14812c74d1d) Thanks [@matthewp](https://github.com/matthewp)! - Add CSS to page when child component uses Astro.glob + +* [#4153](https://github.com/withastro/astro/pull/4153) [`3321aace0`](https://github.com/withastro/astro/commit/3321aace06595de40a0ee9ecac2705d7b28e1b94) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Improve an error message for getStaticPaths + +- [#4180](https://github.com/withastro/astro/pull/4180) [`c56a9227c`](https://github.com/withastro/astro/commit/c56a9227c717480ef4cf25cd50634872ef021101) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Fix edge case where Astro component would render [Object object] when using MDX + +* [#4136](https://github.com/withastro/astro/pull/4136) [`9afa4611c`](https://github.com/withastro/astro/commit/9afa4611cbddd14349dcad9bf0af1fb8b9585381) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Fix issue when using Fragment inside MDX + +* Updated dependencies [[`2675b8633`](https://github.com/withastro/astro/commit/2675b8633c5d5c45b237ec87940d5eaf1bfb1b4b), [`471c6f784`](https://github.com/withastro/astro/commit/471c6f784e21399676c8b2002665ffdf83a1c59e), [`16034f0dd`](https://github.com/withastro/astro/commit/16034f0dd5b3683e9e022dbd413e85bd18d2b031)]: + - @astrojs/markdown-remark@0.14.1 + ## 1.0.0-rc.6 ### Patch Changes @@ -371,18 +402,7 @@ 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. @@ -390,15 +410,7 @@ 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. @@ -2539,9 +2551,7 @@ 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] @@ -2584,14 +2594,7 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve - efb41f22: Add `<Debug>` component for JavaScript-free client-side debugging. ```astro - --- - import Debug from 'astro/debug'; - const obj = { - /* ... */ - }; - --- - <Debug {obj} /> ``` ## 0.19.2 @@ -2644,7 +2647,7 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve The above will be sent to the browser as-is and the browser will resolve it relative to the current **page**. If you want it to be resolved relative to the .astro file you are working in, use `Astro.resolve`: ```astro - <img src={Astro.resolve('../images/penguin.png')} /> + ``` - 239065e2: Adds support for client:only hydrator @@ -2733,7 +2736,7 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve The above will be sent to the browser as-is and the browser will resolve it relative to the current **page**. If you want it to be resolved relative to the .astro file you are working in, use `Astro.resolve`: ```astro - <img src={Astro.resolve('../images/penguin.png')} /> + ``` ## 0.19.0-next.2 @@ -3063,12 +3066,7 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve - d93f768: Add support for components defined in Frontmatter. Previously, the following code would throw an error. Now it is officially supported! ```astro - --- - const { level = 1 } = Astro.props; - const Element = `h${level}`; - --- - <Element>Hello world!</Element> ``` ## 0.17.1 @@ -3079,12 +3077,7 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve - 42a6ace: Add support for components defined in Frontmatter. Previously, the following code would throw an error. Now it is officially supported! ```astro - --- - const { level = 1 } = Astro.props; - const Element = `h${level}`; - --- - <Element>Hello world!</Element> ``` - Updated dependencies [1e01251] diff --git a/packages/astro/package.json b/packages/astro/package.json index 8dab32b66..e3820b6c2 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "1.0.0-rc.6", + "version": "1.0.0-rc.7", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", @@ -88,7 +88,7 @@ "dependencies": { "@astrojs/compiler": "^0.23.1", "@astrojs/language-server": "^0.20.0", - "@astrojs/markdown-remark": "^0.14.0", + "@astrojs/markdown-remark": "^0.14.1", "@astrojs/telemetry": "^0.4.1", "@astrojs/webapi": "^0.12.0", "@babel/core": "^7.18.2", diff --git a/packages/create-astro/CHANGELOG.md b/packages/create-astro/CHANGELOG.md index 7ea3f2b74..19609bc41 100644 --- a/packages/create-astro/CHANGELOG.md +++ b/packages/create-astro/CHANGELOG.md @@ -1,5 +1,11 @@ # create-astro +## 0.15.0 + +### Minor Changes + +- [#4179](https://github.com/withastro/astro/pull/4179) [`d344f9e3e`](https://github.com/withastro/astro/commit/d344f9e3ec1f69ad4d7efd433b3523ad5413b726) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Add a step to configure how strict TypeScript should be + ## 0.14.3 ### Patch Changes diff --git a/packages/create-astro/package.json b/packages/create-astro/package.json index e4bd4d1f4..54c491423 100644 --- a/packages/create-astro/package.json +++ b/packages/create-astro/package.json @@ -1,6 +1,6 @@ { "name": "create-astro", - "version": "0.14.3", + "version": "0.15.0", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/integrations/image/CHANGELOG.md b/packages/integrations/image/CHANGELOG.md index 32fad5b3e..be20b3a66 100644 --- a/packages/integrations/image/CHANGELOG.md +++ b/packages/integrations/image/CHANGELOG.md @@ -1,5 +1,17 @@ # @astrojs/image +## 0.3.2 + +### Patch Changes + +- [#4140](https://github.com/withastro/astro/pull/4140) [`4678a3f35`](https://github.com/withastro/astro/commit/4678a3f358840db853db55b753b329ae592a589c) Thanks [@jackmerrill](https://github.com/jackmerrill)! - Added support for GIF to Animated WEBP images + +* [#4173](https://github.com/withastro/astro/pull/4173) [`581120818`](https://github.com/withastro/astro/commit/5811208182fb70fad730b0e495d054ba970b9353) Thanks [@tony-sull](https://github.com/tony-sull)! - Fixes a bug related to local image files in SSR builds on Windows + +- [#4147](https://github.com/withastro/astro/pull/4147) [`c039ea93a`](https://github.com/withastro/astro/commit/c039ea93a1372d954f924a1e6a019a834d1eeb7a) Thanks [@crutchcorn](https://github.com/crutchcorn)! - Enable usage outside of vite contexts, such as the config file + +* [#4146](https://github.com/withastro/astro/pull/4146) [`97cf0cd89`](https://github.com/withastro/astro/commit/97cf0cd893b950a48ffa631247528b4b4ad73109) Thanks [@crutchcorn](https://github.com/crutchcorn)! - Export all "dist" files + ## 0.3.1 ### Patch Changes diff --git a/packages/integrations/image/package.json b/packages/integrations/image/package.json index 60fce2e57..241777cd0 100644 --- a/packages/integrations/image/package.json +++ b/packages/integrations/image/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/image", "description": "Load and transform images in your Astro site.", - "version": "0.3.1", + "version": "0.3.2", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/mdx/CHANGELOG.md b/packages/integrations/mdx/CHANGELOG.md index c2827bb99..89a8fc37b 100644 --- a/packages/integrations/mdx/CHANGELOG.md +++ b/packages/integrations/mdx/CHANGELOG.md @@ -1,5 +1,19 @@ # @astrojs/mdx +## 0.7.0 + +### Minor Changes + +- [#4176](https://github.com/withastro/astro/pull/4176) [`2675b8633`](https://github.com/withastro/astro/commit/2675b8633c5d5c45b237ec87940d5eaf1bfb1b4b) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Support frontmatter injection for MD and MDX using remark and rehype plugins + +### Patch Changes + +- [#4181](https://github.com/withastro/astro/pull/4181) [`77cede720`](https://github.com/withastro/astro/commit/77cede720b09bce34f29c3d2d8b505311ce876b1) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Make collect-headings rehype plugin non-overridable + +* [#4174](https://github.com/withastro/astro/pull/4174) [`8eb3a8c6d`](https://github.com/withastro/astro/commit/8eb3a8c6d9554707963c3a3bc36ed8b68d3cf0fb) Thanks [@matthewp](https://github.com/matthewp)! - Allows using React with automatic imports alongside MDX + +- [#4145](https://github.com/withastro/astro/pull/4145) [`c7efcf57e`](https://github.com/withastro/astro/commit/c7efcf57e00a0fcde3bc9f813e3cc59902bd484c) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Fix a missing newline bug when `layout` was set. + ## 0.6.0 ### Minor Changes diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index 3b3d3dfd7..7d610777e 100644 --- a/packages/integrations/mdx/package.json +++ b/packages/integrations/mdx/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/mdx", "description": "Use MDX within Astro", - "version": "0.6.0", + "version": "0.7.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/react/CHANGELOG.md b/packages/integrations/react/CHANGELOG.md index 1d6c72e7c..2c035b871 100644 --- a/packages/integrations/react/CHANGELOG.md +++ b/packages/integrations/react/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/react +## 0.4.3 + +### Patch Changes + +- [#4174](https://github.com/withastro/astro/pull/4174) [`8eb3a8c6d`](https://github.com/withastro/astro/commit/8eb3a8c6d9554707963c3a3bc36ed8b68d3cf0fb) Thanks [@matthewp](https://github.com/matthewp)! - Allows using React with automatic imports alongside MDX + ## 0.4.2 ### Patch Changes diff --git a/packages/integrations/react/package.json b/packages/integrations/react/package.json index cbc0e3076..b9b1ec71e 100644 --- a/packages/integrations/react/package.json +++ b/packages/integrations/react/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/react", "description": "Use React components within Astro", - "version": "0.4.2", + "version": "0.4.3", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/markdown/remark/CHANGELOG.md b/packages/markdown/remark/CHANGELOG.md index aae23653f..7745d9a72 100644 --- a/packages/markdown/remark/CHANGELOG.md +++ b/packages/markdown/remark/CHANGELOG.md @@ -1,5 +1,15 @@ # @astrojs/markdown-remark +## 0.14.1 + +### Patch Changes + +- [#4176](https://github.com/withastro/astro/pull/4176) [`2675b8633`](https://github.com/withastro/astro/commit/2675b8633c5d5c45b237ec87940d5eaf1bfb1b4b) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Support frontmatter injection for MD and MDX using remark and rehype plugins + +* [#4137](https://github.com/withastro/astro/pull/4137) [`471c6f784`](https://github.com/withastro/astro/commit/471c6f784e21399676c8b2002665ffdf83a1c59e) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Speed up internal markdown builds with new vite-plugin markdown + +- [#4169](https://github.com/withastro/astro/pull/4169) [`16034f0dd`](https://github.com/withastro/astro/commit/16034f0dd5b3683e9e022dbd413e85bd18d2b031) Thanks [@hippotastic](https://github.com/hippotastic)! - Fix double-escaping of non-highlighted code blocks in Astro-flavored markdown + ## 0.14.0 ### Minor Changes diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json index a2ffe0d92..cd3d2414c 100644 --- a/packages/markdown/remark/package.json +++ b/packages/markdown/remark/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/markdown-remark", - "version": "0.14.0", + "version": "0.14.1", "type": "module", "author": "withastro", "license": "MIT", |