Skip to content

Commit e768ace

Browse files
committedFeb 3, 2024
docs(release): bump library version
Update library version references from v6 to v7.
1 parent 864c921 commit e768ace

File tree

6 files changed

+30
-8
lines changed

6 files changed

+30
-8
lines changed
 

‎README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ https://github.com/TheEdoRan/next-safe-action/assets/1337629/7ebc398e-6c7d-49b2-
2323

2424
## Documentation
2525

26-
**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).**
2727

2828
If you are looking for old versions documentation, check out:
2929
- 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
5555

5656
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.
5757

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+
5862
## Example
5963

6064
You can find a basic working implementation of the library [here](packages/example-app).

‎packages/next-safe-action/README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
## Documentation
44

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).**
66

77
## Next.js >= 14 vs 13
88

@@ -28,4 +28,8 @@ Version 5.x.x of the library is required for Next.js >= 14 applications. Please
2828

2929
---
3030

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.

‎website/docs/contributing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
sidebar_position: 11
2+
sidebar_position: 12
33
description: Learn how to contribute to next-safe-action via GitHub.
44
---
55

‎website/docs/getting-started.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
sidebar_position: 2
3-
description: Getting started with next-safe-action version 5.
3+
description: Getting started with next-safe-action version 7.
44
---
55

66
# Getting started
77

88
:::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).
1010
:::
1111

1212
:::info Requirements
@@ -38,7 +38,7 @@ npm i next-safe-action@v4 zod
3838
## Usage
3939

4040
:::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).
4242
:::
4343

4444
### 1. Instantiate a new client
+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
sidebar_position: 11
3+
description: Learn how to migrate from next-safe-action version 6 to version 7.
4+
---
5+
6+
# Migration from v6 to v7
7+
8+
## What's new?
9+
10+
WIP
11+
12+
## BREAKING CHANGES
13+
14+
WIP

‎website/src/css/custom.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ body {
2929
}
3030

3131
.navbar__brand::after {
32-
content: "v6";
32+
content: "v7";
3333
margin-left: 0.5rem;
3434
font-weight: 500;
3535
position: relative;

0 commit comments

Comments
 (0)
Please sign in to comment.