Update dependency @astrojs/react to v3 #3

Closed
renovate wants to merge 1 commit from renovate/astrojs-react-3.x into main
Collaborator

This PR contains the following updates:

Package Type Update Change
@astrojs/react (source) dependencies major 2.1.1 -> 3.0.0

Release Notes

withastro/astro (@​astrojs/react)

v3.0.0

Compare Source

Major Changes
  • #​8188 d0679a666 Thanks @​ematipico! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023.

  • #​8179 6011d52d3 Thanks @​matthewp! - Astro 3.0 Release Candidate

  • #​7924 519a1c4e8 Thanks @​matthewp! - Support for React Refresh

    The React integration now fully supports React Refresh and is backed by @vitejs/plugin-react.

    Also included in this change are new include and exclude config options. Use these if you want to use React alongside another JSX framework; include specifies files to be compiled for React and exclude does the opposite.

Patch Changes

v2.3.2

Compare Source

Patch Changes

v2.3.1

Compare Source

Patch Changes

v2.3.0

Compare Source

Minor Changes
  • #​8082 16a3fdf93 Thanks @​matthewp! - Optionally parse React slots as React children.

    This adds a new configuration option for the React integration experimentalReactChildren:

    export default {
      integrations: [
        react({
          experimentalReactChildren: true,
        }),
      ],
    };
    

    With this enabled, children passed to React from Astro components via the default slot are parsed as React components.

    This enables better compatibility with certain React components which manipulate their children.

v2.2.2

Compare Source

Patch Changes
  • #​8075 da517d405 Thanks @​SudoCat! - fix a bug where react identifierPrefix was set to null for client:only components causing React.useId to generate ids prefixed with null

v2.2.1

Compare Source

Patch Changes

v2.2.0

Compare Source

Minor Changes
  • #​7093 3d525efc9 Thanks @​matthewp! - Prevent removal of nested slots within islands

    This change introduces a new flag that renderers can add called supportsAstroStaticSlot. What this does is let Astro know that the render is sending <astro-static-slot> as placeholder values for static (non-hydrated) slots which Astro will then remove.

    This change is completely backwards compatible, but fixes bugs caused by combining ssr-only and client-side framework components like so:

    <Component>
      <div>
        <Component client:load>
          <span>Nested</span>
        </Component>
      </div>
    </Component>
    
Patch Changes

v2.1.3

Compare Source

Patch Changes

v2.1.2

Compare Source

Patch Changes

Configuration

📅 Schedule: Branch creation - "before 3pm on Sunday" in timezone America/New_York, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@astrojs/react](https://docs.astro.build/en/guides/integrations-guide/react/) ([source](https://github.com/withastro/astro)) | dependencies | major | [`2.1.1` -> `3.0.0`](https://renovatebot.com/diffs/npm/@astrojs%2freact/2.1.1/3.0.0) | --- ### Release Notes <details> <summary>withastro/astro (@&#8203;astrojs/react)</summary> ### [`v3.0.0`](https://github.com/withastro/astro/blob/HEAD/packages/integrations/react/CHANGELOG.md#300) [Compare Source](https://github.com/withastro/astro/compare/@astrojs/react@2.3.2...@astrojs/react@3.0.0) ##### Major Changes - [#&#8203;8188](https://github.com/withastro/astro/pull/8188) [`d0679a666`](https://github.com/withastro/astro/commit/d0679a666f37da0fca396d42b9b32bbb25d29312) Thanks [@&#8203;ematipico](https://github.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. - [#&#8203;8179](https://github.com/withastro/astro/pull/8179) [`6011d52d3`](https://github.com/withastro/astro/commit/6011d52d38e43c3e3d52bc3bc41a60e36061b7b7) Thanks [@&#8203;matthewp](https://github.com/matthewp)! - Astro 3.0 Release Candidate - [#&#8203;7924](https://github.com/withastro/astro/pull/7924) [`519a1c4e8`](https://github.com/withastro/astro/commit/519a1c4e8407c7abcb8d879b67a9f4b960652cae) Thanks [@&#8203;matthewp](https://github.com/matthewp)! - Support for React Refresh The React integration now fully supports React Refresh and is backed by `@vitejs/plugin-react`. Also included in this change are new `include` and `exclude` config options. Use these if you want to use React alongside another JSX framework; include specifies files to be compiled for React and `exclude` does the opposite. ##### Patch Changes - [#&#8203;8228](https://github.com/withastro/astro/pull/8228) [`4bd2fac8d`](https://github.com/withastro/astro/commit/4bd2fac8da4efb7c532d8920077df1f61d6e1953) Thanks [@&#8203;bluwy](https://github.com/bluwy)! - Publish missing `vnode-children.js` file - [#&#8203;8264](https://github.com/withastro/astro/pull/8264) [`1f58a7a1b`](https://github.com/withastro/astro/commit/1f58a7a1bea6888868b689dac94801d554319b02) Thanks [@&#8203;natemoo-re](https://github.com/natemoo-re)! - Automatically unmount islands when `astro:unmount` is fired - Updated dependencies \[[`d0679a666`](https://github.com/withastro/astro/commit/d0679a666f37da0fca396d42b9b32bbb25d29312), [`2aa6d8ace`](https://github.com/withastro/astro/commit/2aa6d8ace398a41c2dec5473521d758816b08191), [`6011d52d3`](https://github.com/withastro/astro/commit/6011d52d38e43c3e3d52bc3bc41a60e36061b7b7)]: - [@&#8203;astrojs/internal-helpers](https://github.com/astrojs/internal-helpers)[@&#8203;0](https://github.com/0).2.0 ### [`v2.3.2`](https://github.com/withastro/astro/blob/HEAD/packages/integrations/react/CHANGELOG.md#232) [Compare Source](https://github.com/withastro/astro/compare/@astrojs/react@2.3.1...@astrojs/react@2.3.2) ##### Patch Changes - [#&#8203;8149](https://github.com/withastro/astro/pull/8149) [`531cc3e49`](https://github.com/withastro/astro/commit/531cc3e490bc3bc1b896eeaec05664571df5bb24) Thanks [@&#8203;matthewp](https://github.com/matthewp)! - Fix missing package file regression ### [`v2.3.1`](https://github.com/withastro/astro/blob/HEAD/packages/integrations/react/CHANGELOG.md#231) [Compare Source](https://github.com/withastro/astro/compare/@astrojs/react@2.3.0...@astrojs/react@2.3.1) ##### Patch Changes - [#&#8203;8137](https://github.com/withastro/astro/pull/8137) [`8c0a4ed10`](https://github.com/withastro/astro/commit/8c0a4ed106efeda286f0aae8b959008f9462b5ec) Thanks [@&#8203;natemoo-re](https://github.com/natemoo-re)! - Fix missing export for new `experimentalReactChildren` option ### [`v2.3.0`](https://github.com/withastro/astro/blob/HEAD/packages/integrations/react/CHANGELOG.md#230) [Compare Source](https://github.com/withastro/astro/compare/@astrojs/react@2.2.2...@astrojs/react@2.3.0) ##### Minor Changes - [#&#8203;8082](https://github.com/withastro/astro/pull/8082) [`16a3fdf93`](https://github.com/withastro/astro/commit/16a3fdf93165a1a0404c1db0973871345b2c591b) Thanks [@&#8203;matthewp](https://github.com/matthewp)! - Optionally parse React slots as React children. This adds a new configuration option for the React integration `experimentalReactChildren`: ```js export default { integrations: [ react({ experimentalReactChildren: true, }), ], }; ``` With this enabled, children passed to React from Astro components via the default slot are parsed as React components. This enables better compatibility with certain React components which manipulate their children. ### [`v2.2.2`](https://github.com/withastro/astro/blob/HEAD/packages/integrations/react/CHANGELOG.md#222) [Compare Source](https://github.com/withastro/astro/compare/@astrojs/react@2.2.1...@astrojs/react@2.2.2) ##### Patch Changes - [#&#8203;8075](https://github.com/withastro/astro/pull/8075) [`da517d405`](https://github.com/withastro/astro/commit/da517d4055825ee1b630cd4a6983818d6120a7b7) Thanks [@&#8203;SudoCat](https://github.com/SudoCat)! - fix a bug where react identifierPrefix was set to null for client:only components causing React.useId to generate ids prefixed with null ### [`v2.2.1`](https://github.com/withastro/astro/blob/HEAD/packages/integrations/react/CHANGELOG.md#221) [Compare Source](https://github.com/withastro/astro/compare/@astrojs/react@2.2.0...@astrojs/react@2.2.1) ##### Patch Changes - [#&#8203;7196](https://github.com/withastro/astro/pull/7196) [`1c77779dd`](https://github.com/withastro/astro/commit/1c77779dd66a6db77c81ed235da076a6118decde) Thanks [@&#8203;bluwy](https://github.com/bluwy)! - Fix `astro-static-slot` hydration mismatch error ### [`v2.2.0`](https://github.com/withastro/astro/blob/HEAD/packages/integrations/react/CHANGELOG.md#220) [Compare Source](https://github.com/withastro/astro/compare/@astrojs/react@2.1.3...@astrojs/react@2.2.0) ##### Minor Changes - [#&#8203;7093](https://github.com/withastro/astro/pull/7093) [`3d525efc9`](https://github.com/withastro/astro/commit/3d525efc95cfb2deb5d9e04856d02965d66901c9) Thanks [@&#8203;matthewp](https://github.com/matthewp)! - Prevent removal of nested slots within islands This change introduces a new flag that renderers can add called `supportsAstroStaticSlot`. What this does is let Astro know that the render is sending `<astro-static-slot>` as placeholder values for static (non-hydrated) slots which Astro will then remove. This change is completely backwards compatible, but fixes bugs caused by combining ssr-only and client-side framework components like so: ```astro <Component> <div> <Component client:load> <span>Nested</span> </Component> </div> </Component> ``` ##### Patch Changes - [#&#8203;7104](https://github.com/withastro/astro/pull/7104) [`826e02890`](https://github.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa) Thanks [@&#8203;bluwy](https://github.com/bluwy)! - Specify `"files"` field to only publish necessary files ### [`v2.1.3`](https://github.com/withastro/astro/blob/HEAD/packages/integrations/react/CHANGELOG.md#213) [Compare Source](https://github.com/withastro/astro/compare/@astrojs/react@2.1.2...@astrojs/react@2.1.3) ##### Patch Changes - [#&#8203;6976](https://github.com/withastro/astro/pull/6976) [`ca329bbca`](https://github.com/withastro/astro/commit/ca329bbcae7a6075af4f428f6f64466e9d152c8f) Thanks [@&#8203;SudoCat](https://github.com/SudoCat)! - Prevent ID collisions in React.useId ### [`v2.1.2`](https://github.com/withastro/astro/blob/HEAD/packages/integrations/react/CHANGELOG.md#212) [Compare Source](https://github.com/withastro/astro/compare/@astrojs/react@2.1.1...@astrojs/react@2.1.2) ##### Patch Changes - [#&#8203;6933](https://github.com/withastro/astro/pull/6933) [`649d70934`](https://github.com/withastro/astro/commit/649d70934e709bb1aa6e5e7583b12fa1703377cb) Thanks [@&#8203;matthewp](https://github.com/matthewp)! - Automatically configure redoc </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 3pm on Sunday" in timezone America/New_York, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi43NC4wIiwidXBkYXRlZEluVmVyIjoiMzYuNzQuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
renovate scheduled this pull request to auto merge when all checks succeed 2023-08-30 14:57:19 -04:00
renovate force-pushed renovate/astrojs-react-3.x from d9df5e5ac2 to 4e5ce98ac8 2023-08-30 15:09:04 -04:00 Compare
renovate force-pushed renovate/astrojs-react-3.x from 4e5ce98ac8 to d731cf2850 2023-09-01 10:18:33 -04:00 Compare
renovate force-pushed renovate/astrojs-react-3.x from d731cf2850 to bfab696554
All checks were successful
Verify Deploy / verify-publish (pull_request) Successful in 14s
Lint Project / ✨ Check Prettier (pull_request) Successful in 4m38s
Lint Project / 🚀 Check Astro (pull_request) Successful in 5m22s
Lint Project / 📐 Lint Code (pull_request) Successful in 5m37s
Lint Project / 💅 Check Stylelint (pull_request) Successful in 4m55s
Lint Project / 🏷 Check Typescript (pull_request) Successful in 5m42s
2023-09-01 10:25:10 -04:00
Compare
chrisw-b closed this pull request 2023-09-01 11:21:53 -04:00
Author
Collaborator

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 3.x releases. But if you manually upgrade to 3.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

### Renovate Ignore Notification Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for *any* future 3.x releases. But if you manually upgrade to 3.x then Renovate will re-enable `minor` and `patch` updates automatically. If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.
Commenting is not possible because the repository is archived.
No reviewers
No labels
No milestone
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
chrisw-b/astro-watch-watch!3
No description provided.