diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/astro/CHANGELOG.md | 16 | ||||
-rw-r--r-- | packages/astro/package.json | 2 | ||||
-rw-r--r-- | packages/astro/src/types/public/config.ts | 28 | ||||
-rw-r--r-- | packages/integrations/mdx/CHANGELOG.md | 6 | ||||
-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 |
7 files changed, 45 insertions, 17 deletions
diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index b045edabe..b9da39f43 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,21 @@ # astro +## 5.0.0-beta.11 + +### Minor Changes + +- [#12510](https://github.com/withastro/astro/pull/12510) [`14feaf3`](https://github.com/withastro/astro/commit/14feaf30e1a4266b8422865722a4478d39202404) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Changes the generated URL query param from `_astroAction` to `_action` when submitting a form using Actions. This avoids leaking the framework name into the URL bar, which may be considered a security issue. + +### Patch Changes + +- [#12522](https://github.com/withastro/astro/pull/12522) [`33b0e30`](https://github.com/withastro/astro/commit/33b0e305fe4ecabc30ffa823454395c973f92454) Thanks [@ascorbic](https://github.com/ascorbic)! - Fixes a bug where content config was ignored if it was outside of content dir and has a parent dir with an underscore + +- [#12516](https://github.com/withastro/astro/pull/12516) [`cb9322c`](https://github.com/withastro/astro/commit/cb9322c763b5cd8e43afe77d30e86a0b7d72f894) Thanks [@stramel](https://github.com/stramel)! - Handle multiple root nodes on SVG files + +- [#12511](https://github.com/withastro/astro/pull/12511) [`d023682`](https://github.com/withastro/astro/commit/d023682d6c6d8797f15f3c0f65893a4aa62e3b5b) Thanks [@stramel](https://github.com/stramel)! - Fix SVG Component sprite references + +- [#12498](https://github.com/withastro/astro/pull/12498) [`b140a3f`](https://github.com/withastro/astro/commit/b140a3f6d821127f927b7cb938294549e41c5168) Thanks [@ematipico](https://github.com/ematipico)! - Fixes a regression where Astro was trying to access `Request.headers` + ## 5.0.0-beta.10 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 9a4b4e10e..718b5ac13 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "5.0.0-beta.10", + "version": "5.0.0-beta.11", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", diff --git a/packages/astro/src/types/public/config.ts b/packages/astro/src/types/public/config.ts index 1f455b24e..43aea0743 100644 --- a/packages/astro/src/types/public/config.ts +++ b/packages/astro/src/types/public/config.ts @@ -1668,7 +1668,7 @@ export interface ViteUserConfig extends OriginalViteUserConfig { }; /** - * + * * @kind heading * @name Legacy Flags * @description @@ -1678,14 +1678,14 @@ export interface ViteUserConfig extends OriginalViteUserConfig { */ legacy?: { /** - * + * * @name legacy.collections * @type {boolean} * @default `false` * @version 5.0.0 * @description * Enable legacy behavior for content collections. - * + * * ```js * // astro.config.mjs * import { defineConfig } from 'astro/config'; @@ -1697,21 +1697,21 @@ export interface ViteUserConfig extends OriginalViteUserConfig { * ``` * * If enabled, `data` and `content` collections (only) are handled using the legacy content collections implementation. Collections with a `loader` (only) will continue to use the Content Layer API instead. Both kinds of collections may exist in the same project, each using their respective implementations. - * + * * The following limitations continue to exist: * * - Any legacy (`type: 'content'` or `type: 'data'`) collections must continue to be located in the `src/content/` directory. * - These legacy collections will not be transformed to implicitly use the `glob()` loader, and will instead be handled by legacy code. - * - Collections using the Content Layer API (with a `loader` defined) are forbidden in `src/content/`, but may exist anywhere else in your project. + * - Collections using the Content Layer API (with a `loader` defined) are forbidden in `src/content/`, but may exist anywhere else in your project. * * When you are ready to remove this flag and migrate to the new Content Layer API for your legacy collections, you must define a collection for any directories in `src/content/` that you want to continue to use as a collection. It is sufficient to declare an empty collection, and Astro will implicitly generate an appropriate definition for your legacy collections: - * + * * ```js * // src/content.config.ts * import { defineCollection, z } from 'astro:content'; - * + * * const blog = defineCollection({ }) - * + * * export const collections = { blog }; * ``` * @@ -1720,7 +1720,7 @@ export interface ViteUserConfig extends OriginalViteUserConfig { }; /** - * + * * @kind heading * @name Experimental Flags * @description @@ -1729,7 +1729,7 @@ export interface ViteUserConfig extends OriginalViteUserConfig { */ experimental?: { /** - * + * * @name experimental.clientPrerender * @type {boolean} * @default `false` @@ -1765,7 +1765,7 @@ export interface ViteUserConfig extends OriginalViteUserConfig { clientPrerender?: boolean; /** - * + * * @name experimental.contentIntellisense * @type {boolean} * @default `false` @@ -1789,7 +1789,7 @@ export interface ViteUserConfig extends OriginalViteUserConfig { contentIntellisense?: boolean; /** - * + * * @name experimental.responsiveImages * @type {boolean} * @default `undefined` @@ -1907,7 +1907,7 @@ export interface ViteUserConfig extends OriginalViteUserConfig { responsiveImages?: boolean; /** - * + * * @name experimental.svg * @type {boolean|object} * @default `undefined` @@ -1942,7 +1942,7 @@ export interface ViteUserConfig extends OriginalViteUserConfig { */ svg?: { /** - * + * * @name experimental.svg.mode * @type {string} * @default 'inline' diff --git a/packages/integrations/mdx/CHANGELOG.md b/packages/integrations/mdx/CHANGELOG.md index a8c94b496..00d4816d2 100644 --- a/packages/integrations/mdx/CHANGELOG.md +++ b/packages/integrations/mdx/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/mdx +## 4.0.0-beta.4 + +### Patch Changes + +- [#12533](https://github.com/withastro/astro/pull/12533) [`1b61fdf`](https://github.com/withastro/astro/commit/1b61fdf038d2627c6dad1a7f1426f60a4616ad93) Thanks [@ematipico](https://github.com/ematipico)! - Fixes a case where the MDX renderer couldn't be loaded when used as a direct dependency of an Astro integration. + ## 4.0.0-beta.3 ### Major Changes diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index 16d9864fa..fe59d20f3 100644 --- a/packages/integrations/mdx/package.json +++ b/packages/integrations/mdx/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/mdx", "description": "Add support for MDX pages in your Astro site", - "version": "4.0.0-beta.3", + "version": "4.0.0-beta.4", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/react/CHANGELOG.md b/packages/integrations/react/CHANGELOG.md index 45f9ffaeb..31c9066ca 100644 --- a/packages/integrations/react/CHANGELOG.md +++ b/packages/integrations/react/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/react +## 3.7.0-beta.1 + +### Minor Changes + +- [#12510](https://github.com/withastro/astro/pull/12510) [`14feaf3`](https://github.com/withastro/astro/commit/14feaf30e1a4266b8422865722a4478d39202404) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Changes the generated URL query param from `_astroAction` to `_action` when submitting a form using Actions. This avoids leaking the framework name into the URL bar, which may be considered a security issue. + ## 3.6.3 ### Patch Changes diff --git a/packages/integrations/react/package.json b/packages/integrations/react/package.json index 1ce3c5032..eeb5ca4ab 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": "3.6.3-beta.0", + "version": "3.7.0-beta.1", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", |