You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Explore the documentation for version 6 of the library on the [next-safe-action website](https://next-safe-action.dev).** ✨
26
+
**Explore the documentation for version 7 of the library on the [next-safe-action website](https://next-safe-action.dev).** ✨
27
27
28
28
If you are looking for old versions documentation, check out:
29
29
- the [README_v3](packages/next-safe-action/README_v3.md) file for version 3.x.x.
@@ -55,6 +55,10 @@ Version 5.x.x of the library is required for Next.js >= 14 applications. Please
55
55
56
56
Version 6.x.x of the library lets you use validation libraries other than Zod. Please check out the [v5 to v6 migration guide](https://next-safe-action.dev/docs/migration-from-v5-to-v6) on the website for more information.
57
57
58
+
---
59
+
60
+
Version 7.x.x of the library supports form actions and improves validation errors handling. Please check out the [v6 to v7 migration guide](https://next-safe-action.dev/docs/migration-from-v6-to-v7) on the website for more information.
61
+
58
62
## Example
59
63
60
64
You can find a basic working implementation of the library [here](packages/example-app).
Copy file name to clipboardexpand all lines: packages/next-safe-action/README.md
+6-2
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## Documentation
4
4
5
-
**Explore the documentation for version 6 of the library on [next-safe-action website](https://next-safe-action.dev).** ✨
5
+
**Explore the documentation for version 7 of the library on [next-safe-action website](https://next-safe-action.dev).** ✨
6
6
7
7
## Next.js >= 14 vs 13
8
8
@@ -28,4 +28,8 @@ Version 5.x.x of the library is required for Next.js >= 14 applications. Please
28
28
29
29
---
30
30
31
-
Version 6.x.x of the library lets you use validation libraries other than Zod. Please check out the [v5 to v6 migration guide](https://next-safe-action.dev/docs/migration-from-v5-to-v6) on the website for more information.
31
+
Version 6.x.x of the library lets you use validation libraries other than Zod. Please check out the [v5 to v6 migration guide](https://next-safe-action.dev/docs/migration-from-v5-to-v6) on the website for more information.
32
+
33
+
---
34
+
35
+
Version 7.x.x of the library supports form actions and improves validation errors handling. Please check out the [v6 to v7 migration guide](https://next-safe-action.dev/docs/migration-from-v6-to-v7) on the website for more information.
Copy file name to clipboardexpand all lines: website/docs/getting-started.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
---
2
2
sidebar_position: 2
3
-
description: Getting started with next-safe-action version 5.
3
+
description: Getting started with next-safe-action version 7.
4
4
---
5
5
6
6
# Getting started
7
7
8
8
:::note
9
-
This is the documentation for the current version of the library (6.x.x).
9
+
This is the documentation for the current version of the library (7.x.x).
10
10
:::
11
11
12
12
:::info Requirements
@@ -38,7 +38,7 @@ npm i next-safe-action@v4 zod
38
38
## Usage
39
39
40
40
:::note
41
-
If you're still using Next.js 13, you need to enable `serverActions` flag under the `experimental` object in next.config.js file. Find out more [here](/docs/migration-from-v4-to-v5).
41
+
If you're still using Next.js 13 with next-safe-action v4, you need to enable `serverActions` flag under the `experimental` object in next.config.js file. Find out more [here](/docs/migration-from-v4-to-v5).
0 commit comments