mirror of
https://github.com/withastro/astro.git
synced 2025-02-10 22:38:53 -05:00
* feat: baseline experimental actions * feat(test): remove experimental config * feat: remove getActionProps() * feat: make actions file non-break * feat: detect actions usage * chore: changeset * feat: improve actions usage check * refactor: remove define action symbol now that we check server exp * fix: remove old import * chore: move actionsIntegration to top import * fix: warn only when actions are used * fix: srcDir check * refactor: split out action plugins to simplify integration * feat: new integration and plugins * chore: update error hints * fix(test): pass default src dir * feat: add ActionNotFoundError * fix: handle json parse errors in deserializer * chore: unused import * 500 -> 404 * New `astro:schema` module (#11810) * feat: expose zod from astro:schema * chore: changeset * chore: update release strategy in changeset * fix: move deprecated notice to type def * fix: update config doc reference * chore: remove z from astro:actions * edit: changeset with minor release note remove * wip: increase button click timeouts * Revert "wip: increase button click timeouts" This reverts commit a870bc2dc4bdfd77b8b4fc54b62d8bde01d20c14. * chore: remove content collections disclaimer * fix: undo biome change * agh tabs * agh newlines * fix: bad docs merge * wip: add back timeout extension * fix(test): astro schema import * refactor: move static output error to config done * refactor: usesActions -> isActionsFilePresent * fix: check whether startup and current value disagree * chore: unused import * edit: sell actions a little more * changeset nit --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
424 B
424 B
astro |
---|
minor |
Exposes z
from the new astro:schema
module. This is the new recommended import source for all Zod utilities when using Astro Actions.
Migration for Astro Actions users
z
will no longer be exposed from astro:actions
. To use z
in your actions, import it from astro:schema
instead:
import {
defineAction,
- z,
} from 'astro:actions';
+ import { z } from 'astro:schema';