-
#7093
3d525efc9
Thanks @matthewp! - Prevent removal of nested slots within islandsThis 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>
-
#6698
fc71c3f18
Thanks @bholmesdev! - Update React README to reference the new React docs -
#6696
239b9a2fb
Thanks @matthewp! - Add use-immer as a noExternal module
- #6213
afbbc4d5b
Thanks @Princesseuh! - Updated compilation settings to disable downlevelling for Node 14
- #5782
1f92d64ea
Thanks @Princesseuh! - Remove support for Node 14. Minimum supported Node version is now >=16.12.0
See changes in 2.0.0-beta.0
- #5782
1f92d64ea
Thanks @Princesseuh! - Remove support for Node 14. Minimum supported Node version is now >=16.12.0
- #5218
0b1241431
Thanks @MoustaphaDev! - remove unnecessaryReactDOM.renderToString
operation
- #5095
ddfbef5ac
Thanks @Princesseuh! - Add@types/
packages as peerDependencies
-
#5016
6efeaeb39
Thanks @matthewp! - Add support for muiThis adds support for mui through configuration. Users will now not need to configure this library to get it to work.
-
#4679
5986517b4
Thanks @matthewp! - Prevent decoder from leaking -
#4667
9290b2414
Thanks @Holben888! - Fix framework components on Vercel Edge
-
#4478
243525b15
Thanks @matthewp! - Uses startTransition on React rootsThis prevents hydration from blocking the main thread when multiple islands are rendering at the same time.
-
#4478
243525b15
Thanks @matthewp! - Uses startTransition on React rootsThis prevents hydration from blocking the main thread when multiple islands are rendering at the same time.
-
04ad44563
- > Astro v1.0 is out! Read the official announcement post.No breaking changes. This package is now officially stable and compatible with
astro@1.0.0
!
- #3914
b48767985
Thanks @ran-dall! - Rollback supportednode@16
version. Minimum versions are nownode@14.20.0
ornode@16.14.0
.
- #3871
1cc5b7890
Thanks @natemoo-re! - Update supportednode
versions. Minimum versions are nownode@14.20.0
ornode@16.16.0
.
- #3854
b012ee55
Thanks @bholmesdev! - [astro add] Support adapters and third party packages
-
#3652
7373d61c
Thanks @natemoo-re! - Add support for passing named slots from.astro
=> framework components.Each
slot
is be passed as a top-level prop. For example:// From .astro <Component> <h2 slot="title">Hello world!</h2> <h2 slot="slot-with-dash">Dash</h2> <div>Default</div> </Component>; // For .jsx export default function Component({ title, slotWithDash, children }) { return ( <> <div id="title">{title}</div> <div id="slot-with-dash">{slotWithDash}</div> <div id="main">{children}</div> </> ); }
- #3455
e9a77d86
Thanks @natemoo-re! - Update client hydration to check forssr
attribute. Requiresastro@^1.0.0-beta.36
.
- #3337
678c2b75
Thanks @bholmesdev! - Fix: remove hydration failures on React v18 by exposing the "client" directive from Astro core.
e425f896
Thanks @FredKSchott! - Add support for React v18
- #2885
6b004363
Thanks @bholmesdev! - Add README across Astro built-in integrations
- #2847
3b621f7a
Thanks @tony-sull! - Adds keywords to the official integrations to support discoverability on Astro's Integrations site
- #2847
3b621f7a
Thanks @tony-sull! - Adds keywords to the official integrations to support discoverability on Astro's Integrations site