Skip to content

Releases: unstubbable/mfng

@mfng/core@4.0.0

15 Mar 07:51
d7d165c
Compare
Choose a tag to compare

What's Changed

BREAKING CHANGES

  • hydrateApp must be imported from @mfng/core/client/browser instead of @mfng/core/client

@mfng/webpack-rsc@3.0.1

16 Feb 10:10
8795f21
Compare
Choose a tag to compare

Bug Fixes

  • Only register exported functions as server references (#39)

@mfng/core@3.0.0

18 Nov 14:04
1dfa357
Compare
Choose a tag to compare

Features

  • Pass formState directly into createHtmlStream (#36)
    • BREAKING CHANGE: The formState now needs to be passed in as part of the options of createHtmlStream.

@mfng/webpack-rsc@3.0.0

17 Nov 21:52
17fc539
Compare
Choose a tag to compare

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/webpack-rsc@2.5.0

17 Nov 17:53
93adb2f
Compare
Choose a tag to compare

Features

  • Handle source maps in webpack loaders (#33)
    • This enables setting breakpoints in server actions.
  • Throw an error when a client function is called in a server component (#28)

@mfng/core@2.0.0

17 Nov 22:05
63efb2c
Compare
Choose a tag to compare

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: Added createRscFormState function.
    • @mfng/core/server/rsc: createRscAppStream accepts a new option formState
    • @mfng/core/server/ssr: createHtmlStream now renders the form state from the RSC response, if present.
    • @mfng/core/client: Added hydrateApp function.
    • BREAKING CHANGES:
      • The Router component has a new required prop fetchRoot. This is automatically provided when using the newly introduced hydrateApp function.
      • createRscActionStream now expects the reactServerManifest in the same structure that React also expects.

@mfng/webpack-rsc@2.4.0

14 Nov 11:29
ca8457a
Compare
Choose a tag to compare

Features

  • Add support for bind with server actions in server components (#25)