Releases: unstubbable/mfng
Releases · unstubbable/mfng
@mfng/[email protected]
What's Changed
- Add
Link
component to@mfng/core/client
by @unstubbable in #54 - Move
hydrateApp
to@mfng/core/client/browser
by @unstubbable in #58
BREAKING CHANGES
hydrateApp
must be imported from@mfng/core/client/browser
instead of@mfng/core/client
@mfng/[email protected]
Bug Fixes
- Only register exported functions as server references (#39)
@mfng/[email protected]
Features
- Pass
formState
directly intocreateHtmlStream
(#36)- BREAKING CHANGE: The
formState
now needs to be passed in as part of the options ofcreateHtmlStream
.
- BREAKING CHANGE: The
@mfng/[email protected]
Features
- Progressively enhanced form actions (#35)
- BREAKING CHANGE: The Webpack RSC server plugin now emits the server manifest in the structure that React expects.
@mfng/[email protected]
@mfng/[email protected]
Features
- Change history after having fetched data for new location (#19)
- Replace server context with AsyncLocalStorage and client context (#20)
- Progressively enhanced form actions (#35)
@mfng/core/server/rsc
: AddedcreateRscFormState
function.@mfng/core/server/rsc
:createRscAppStream
accepts a new optionformState
@mfng/core/server/ssr
:createHtmlStream
now renders the form state from the RSC response, if present.@mfng/core/client
: AddedhydrateApp
function.- BREAKING CHANGES:
- The
Router
component has a new required propfetchRoot
. This is automatically provided when using the newly introducedhydrateApp
function. createRscActionStream
now expects thereactServerManifest
in the same structure that React also expects.
- The
@mfng/[email protected]
Features
- Add support for bind with server actions in server components (#25)