mirror of
https://github.com/withastro/astro.git
synced 2024-12-30 22:03:56 -05:00
81d7150e02
* wip: move getActionResult setup to render * feat: serialize action data for edge * refactor: serializeActionResult util * feat: introduce devalue for body parsing * refactor: orthrow -> main * feat(test): Date and Set * refactor: move getAction to separate file for bundling * docs: changeset * Revert "refactor: move getAction to separate file for bundling" This reverts commit ef2b40991f90ff64c063cb4364eb2affcb2328c3. * Revert "Revert "refactor: move getAction to separate file for bundling"" This reverts commit 40deaeda1dd350b27fa3da994a7c37005ae7a187. * fix: actions import from client * feat: add support for URL objects * refactor: new isActionError utility * refactor: reuse isInputError in fromJson * fix: use INTERNAL_SERVER_ERROR for unknown errors
292 B
292 B
astro |
---|
patch |
Adds support for Date()
, Map()
, and Set()
from action results. See devalue for a complete list of supported values.
Also fixes serialization exceptions when deploying Actions with edge middleware on Netlify and Vercel.