Skip to content

Commit fd64e29

Browse files
committedFeb 5, 2024
docs(readme): remove old migration guides
1 parent 5d3f258 commit fd64e29

File tree

2 files changed

+4
-32
lines changed

2 files changed

+4
-32
lines changed
 

‎README.md

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

2424
## Documentation
2525

26-
**Explore the documentation for version 7 of the library on the [next-safe-action website](https://next-safe-action.dev).**
27-
28-
If you are looking for old versions documentation, check out:
29-
- the [README_v3](packages/next-safe-action/README_v3.md) file for version 3.x.x.
30-
- the [README_v2](packages/next-safe-action/README_v2.md) file for version 2.x.x.
26+
**Explore the documentation for the current library version on [next-safe-action website](https://next-safe-action.dev).**
3127

3228
## Next.js >= 14 vs 13
3329

@@ -45,19 +41,7 @@ npm i next-safe-action@v4 # for Next.js 13
4541

4642
## Migration guide
4743

48-
Version 4.x.x of the library introduced some breaking changes to the API. Please check out the [v3 to v4 migration guide](https://next-safe-action.dev/docs/migration/v3-to-v4) on the website for more information.
49-
50-
---
51-
52-
Version 5.x.x of the library is required for Next.js >= 14 applications. Please check out the [v4 to v5 migration guide](https://next-safe-action.dev/docs/migration/v4-to-v5) on the website for more information.
53-
54-
---
55-
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/v5-to-v6) on the website for more information.
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/v6-to-v7) on the website for more information.
44+
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/migrations/v6-to-v7) on the website for more information.
6145

6246
## Example
6347

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

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

5-
**Explore the documentation for version 7 of the library on [next-safe-action website](https://next-safe-action.dev).**
5+
**Explore the documentation for the current library version on [next-safe-action website](https://next-safe-action.dev).**
66

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

@@ -20,16 +20,4 @@ npm i next-safe-action@v4 # for Next.js 13
2020

2121
## Migration guide
2222

23-
Version 4.x.x of the library introduced some breaking changes to the API. Please check out the [v3 to v4 migration guide](https://next-safe-action.dev/docs/migration/v3-to-v4) on the website for more information.
24-
25-
---
26-
27-
Version 5.x.x of the library is required for Next.js >= 14 applications. Please check out the [v4 to v5 migration guide](https://next-safe-action.dev/docs/migration/v4-to-v5) on the website for more information.
28-
29-
---
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/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/v6-to-v7) on the website for more information.
23+
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/migrations/v6-to-v7) on the website for more information.

0 commit comments

Comments
 (0)