Skip to content

Commit

Permalink
docs: use "patch" with BREAKING CHANGE notice
Browse files Browse the repository at this point in the history
  • Loading branch information
bholmesdev committed Jul 30, 2024
1 parent 0facdb2 commit c8e2351
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .changeset/light-chairs-happen.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
---
'@astrojs/react': minor
'astro': minor
'@astrojs/react': patch
'astro': patch
---

**BREAKING CHANGE to the experimental Actions API only**

Make `.safe()` the default return value for actions. This means `{ data, error }` will be returned when calling an action directly. If you prefer to get the data while allowing errors to throw, chain the `.orThrow()` modifier.

```ts
Expand Down

0 comments on commit c8e2351

Please sign in to comment.