rsnext/packages
Zack Tanner 87e45521d2
reject actions with invalid RSC responses (#67059)
When a server action responds with something other than an RSC response,
we currently silently ignore the error and it doesn't get propagated to
any rejection handlers.

This adjusts the handling so that if the server action response is a
non-successful status code, we reject the server action promise. If the
error is `text/plain`, we'll automatically propagate the text content as
the error text. Otherwise, the promise is rejected with a fallback
message.
2024-06-28 11:18:52 +02:00
..
create-next-app v15.0.0-canary.47 2024-06-27 23:23:39 +00:00
eslint-config-next v15.0.0-canary.47 2024-06-27 23:23:39 +00:00
eslint-plugin-next refactor: replace glob w/ fast-glob in eslint plugin (#67261) 2024-06-28 08:15:35 +00:00
font v15.0.0-canary.47 2024-06-27 23:23:39 +00:00
next reject actions with invalid RSC responses (#67059) 2024-06-28 11:18:52 +02:00
next-bundle-analyzer v15.0.0-canary.47 2024-06-27 23:23:39 +00:00
next-codemod v15.0.0-canary.47 2024-06-27 23:23:39 +00:00
next-env v15.0.0-canary.47 2024-06-27 23:23:39 +00:00
next-mdx v15.0.0-canary.47 2024-06-27 23:23:39 +00:00
next-plugin-storybook v15.0.0-canary.47 2024-06-27 23:23:39 +00:00
next-polyfill-module v15.0.0-canary.47 2024-06-27 23:23:39 +00:00
next-polyfill-nomodule v15.0.0-canary.47 2024-06-27 23:23:39 +00:00
next-swc v15.0.0-canary.47 2024-06-27 23:23:39 +00:00
react-refresh-utils v15.0.0-canary.47 2024-06-27 23:23:39 +00:00
third-parties v15.0.0-canary.47 2024-06-27 23:23:39 +00:00