summaryrefslogtreecommitdiff
path: root/packages/integrations/react/CHANGELOG.md
diff options
context:
space:
mode:
authorGravatar Houston (Bot) <108291165+astrobot-houston@users.noreply.github.com> 2023-05-18 09:31:59 -0700
committerGravatar GitHub <noreply@github.com> 2023-05-18 12:31:59 -0400
commit31cbf4357e866abab62bb4ccf949f5a59aec06ac (patch)
treefdf22a00c332e3082b3d369c3eda497892351f0d /packages/integrations/react/CHANGELOG.md
parentdad105a91e2d9b59cfd6aba7703207ba08841c10 (diff)
downloadastro-1d8da87f890fba6df19788c8285ddf19701f24ab.tar.gz
astro-1d8da87f890fba6df19788c8285ddf19701f24ab.tar.zst
astro-1d8da87f890fba6df19788c8285ddf19701f24ab.zip
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'packages/integrations/react/CHANGELOG.md')
-rw-r--r--packages/integrations/react/CHANGELOG.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/integrations/react/CHANGELOG.md b/packages/integrations/react/CHANGELOG.md
index 567a826a3..6cbed04f9 100644
--- a/packages/integrations/react/CHANGELOG.md
+++ b/packages/integrations/react/CHANGELOG.md
@@ -1,5 +1,29 @@
# @astrojs/react
+## 2.2.0
+
+### Minor Changes
+
+- [#7093](https://github.com/withastro/astro/pull/7093) [`3d525efc9`](https://github.com/withastro/astro/commit/3d525efc95cfb2deb5d9e04856d02965d66901c9) Thanks [@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
+
+- [#7104](https://github.com/withastro/astro/pull/7104) [`826e02890`](https://github.com/withastro/astro/commit/826e0289005f645b902375b98d5549c6a95ccafa) Thanks [@bluwy](https://github.com/bluwy)! - Specify `"files"` field to only publish necessary files
+
## 2.1.3
### Patch Changes