0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/packages
Ben Holmes 9566fa0860
Actions: Allow actions to be called on the server (#11088)
* wip: consume async local storage from `defineAction()`

* fix: move async local storage to middleware. It works!

* refactor: remove content-type check on JSON. Not needed

* chore: remove test

* feat: support server action calls

* refactor: parse path keys within getAction

* feat(test): server-side action call

* chore: changeset

* fix: reapply context on detected rewrite

* feat(test): action from server with rewrite

* chore: stray import change

* feat(docs): add endpoints to changeset

* chore: minor -> patch

* fix: move rewrite check to start of middleware

* fix: bad getApiContext() import

---------

Co-authored-by: bholmesdev <bholmesdev@gmail.com>
2024-05-22 12:46:49 -04:00
..
astro Actions: Allow actions to be called on the server (#11088) 2024-05-22 12:46:49 -04:00
astro-prism chore(deps): update all non-major dependencies (#10958) 2024-05-09 15:20:13 +08:00
astro-rss [ci] release (#11025) 2024-05-15 10:42:55 -04:00
create-astro Fix typos (#10923) 2024-05-01 13:56:38 +08:00
db [ci] format 2024-05-22 11:03:40 +00:00
integrations [ci] format 2024-05-22 12:25:50 +00:00
internal-helpers [ci] release (#10597) 2024-03-28 14:09:23 -04:00
markdown/remark fix(deps): update all non-major dependencies (#11015) 2024-05-13 16:19:23 +08:00
studio [ci] release (#11053) 2024-05-16 18:00:58 +01:00
telemetry chore(deps): update all non-major dependencies (#10833) 2024-04-22 22:52:30 +08:00
underscore-redirects chore: import sort source code, exception for the astro package (#10242) 2024-02-27 11:15:27 +00:00
upgrade fix(deps): update all non-major dependencies (#11015) 2024-05-13 16:19:23 +08:00