prisma-zod-generator 1.0.0 โ†’ 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +31 -29
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,5 +1,4 @@
1
1
  <div align="center">
2
- <img src="https://raw.githubusercontent.com/omar-dulaimi/prisma-zod-generator/master/logo.png" alt="Prisma Zod Generator" width="100" height="100">
3
2
 
4
3
  # โšก Prisma Zod Generator
5
4
 
@@ -57,24 +56,24 @@
57
56
 
58
57
  <div align="center">
59
58
 
60
- ## ๐Ÿš€ **Version 0.8.15-beta** - Major Upgrade Available!
59
+ ## ๐Ÿš€ **Version 1.0.0** - Stable Release with New Generator Support!
61
60
 
62
61
  <table>
63
62
  <tr>
64
63
  <td align="center">
65
- <img src="https://img.shields.io/badge/โš ๏ธ_BETA_RELEASE-orange?style=for-the-badge&logo=rocket" alt="Beta Release">
64
+ <img src="https://img.shields.io/badge/๐ŸŽ‰_STABLE_RELEASE-green?style=for-the-badge&logo=checkmark" alt="Stable Release">
66
65
  </td>
67
66
  </tr>
68
67
  <tr>
69
68
  <td align="center">
70
- <strong>๐ŸŽ‰ New Prisma Client Generator Support + Latest Features!</strong>
69
+ <strong>๐ŸŽ‰ Production Ready with New Prisma Client Generator Support!</strong>
71
70
  </td>
72
71
  </tr>
73
72
  </table>
74
73
 
75
74
  </div>
76
75
 
77
- ### โœจ **What's New in v0.8.15-beta**
76
+ ### โœจ **What's New in v1.0.0**
78
77
 
79
78
  <div align="center">
80
79
 
@@ -92,21 +91,24 @@
92
91
 
93
92
  <div align="center">
94
93
 
95
- ### ๐Ÿ“ฆ **Try the Beta**
94
+ ### ๐Ÿ“ฆ **Installation**
96
95
 
97
96
  </div>
98
97
 
99
98
  ```bash
100
- # ๐Ÿš€ Install the cutting-edge beta
101
- npm install prisma-zod-generator@beta
99
+ # ๐Ÿš€ Install the stable release (recommended)
100
+ npm install prisma-zod-generator@latest
102
101
 
103
102
  # ๐ŸŽฏ Or lock to specific version
104
- npm install prisma-zod-generator@0.8.15-beta.0
103
+ npm install prisma-zod-generator@1.0.0
104
+
105
+ # ๐Ÿงช Install beta versions (for testing)
106
+ npm install prisma-zod-generator@beta
105
107
  ```
106
108
 
107
- ### ๐Ÿ”„ Migration from Stable
109
+ ### ๐Ÿ”„ Migration from Previous Versions
108
110
 
109
- The beta maintains API compatibility but requires:
111
+ Version 1.0.0 maintains API compatibility but requires:
110
112
  - **Node.js 18+** (upgraded from 16+)
111
113
  - **Prisma 6.12.0+** (upgraded from 4.8+)
112
114
  - **Zod 4.0.5+** (upgraded from 3.20+)
@@ -243,9 +245,9 @@ generator zod {
243
245
  npx prisma generate
244
246
  ```
245
247
 
246
- ## ๐Ÿ†• New Prisma Client Generator Support
248
+ ## ๐Ÿ†• Prisma Client Generator Support
247
249
 
248
- **v0.8.15-beta** introduces support for the new ESM-compatible `prisma-client` generator introduced in Prisma 6.12.0!
250
+ **v1.0.0** includes full support for both the legacy and new ESM-compatible `prisma-client` generator introduced in Prisma 6.12.0!
249
251
 
250
252
  ### Generator Compatibility
251
253
 
@@ -342,11 +344,11 @@ The generator creates:
342
344
 
343
345
  | Version | Prisma | Zod | TypeScript | Node.js | Status |
344
346
  |---------|--------|-----|------------|---------|--------|
345
- | **v0.8.15-beta** | 6.12.0+ | 4.0.5+ | 5.8+ | 18+ | ๐Ÿงช **Beta** - New Generator Support |
346
- | v0.8.14-beta | 6.12.0+ | 4.0.5+ | 5.8+ | 18+ | ๐Ÿงช **Beta** |
347
- | v0.8.13 (stable) | 4.8.0+ | 3.20+ | 4.9+ | 16+ | โœ… **Stable** |
347
+ | **v1.0.0** | 6.12.0+ | 4.0.5+ | 5.8+ | 18+ | โœ… **Latest Stable** - New Generator Support |
348
+ | v0.8.15-beta | 6.12.0+ | 4.0.5+ | 5.8+ | 18+ | ๐Ÿงช **Beta** |
349
+ | v0.8.13 | 4.8.0+ | 3.20+ | 4.9+ | 16+ | ๐Ÿ“ฆ **Legacy** |
348
350
 
349
- > **Recommendation**: Use the beta version for new projects to get the latest features and future-proof your setup.
351
+ > **Recommendation**: Use the stable v1.0.0 release for production applications. It includes full support for the new Prisma client generator and all latest features.
350
352
 
351
353
  ## โš™๏ธ Configuration Options
352
354
 
@@ -538,21 +540,21 @@ Examples:
538
540
 
539
541
  ## ๐Ÿ” Troubleshooting
540
542
 
541
- ### Beta Version Issues
543
+ ### Version 1.0.0 Information
542
544
 
543
- **New Generator Support (v0.8.15-beta)**
544
- - Both `prisma-client-js` and `prisma-client` generators are supported
545
+ **New Generator Support (v1.0.0)**
546
+ - Both `prisma-client-js` and `prisma-client` generators are fully supported
545
547
  - If using the new generator, ensure Prisma 6.12.0+ is installed
546
548
  - Clear error messages guide you if no compatible generator is found
547
549
 
548
- **Dependency compatibility errors with v0.8.15-beta**
549
- - Ensure you're using Node.js 18+
550
- - Update Prisma to 6.12.0+ and Zod to 4.0.5+
551
- - Check that all peer dependencies are compatible
550
+ **Dependency compatibility with v1.0.0**
551
+ - Requires Node.js 18+ (upgraded from 16+)
552
+ - Requires Prisma 6.12.0+ and Zod 4.0.5+
553
+ - All peer dependencies must be compatible
552
554
 
553
- **Migration from stable to beta**
555
+ **Migration to v1.0.0**
554
556
  - Backup your project before upgrading
555
- - Update all related dependencies (Prisma, Zod)
557
+ - Update all related dependencies (Prisma, Zod, TypeScript)
556
558
  - Re-run `npx prisma generate` after upgrading
557
559
  - Test thoroughly in development environment
558
560
 
@@ -727,12 +729,12 @@ This project is licensed under the [MIT License](LICENSE).
727
729
  <td align="center">
728
730
  <img src="https://img.shields.io/badge/๐Ÿ’Ž-Latest_Stable-success?style=for-the-badge&logo=npm" alt="Stable">
729
731
  <br>
730
- <code>v0.8.13</code>
732
+ <code>v1.0.0</code>
731
733
  </td>
732
734
  <td align="center">
733
- <img src="https://img.shields.io/badge/๐Ÿš€-Beta_Version-warning?style=for-the-badge&logo=rocket" alt="Beta">
735
+ <img src="https://img.shields.io/badge/๐Ÿ“ฆ-Legacy_Version-lightgrey?style=for-the-badge&logo=archive" alt="Legacy">
734
736
  <br>
735
- <code>v0.8.15-beta.0</code>
737
+ <code>v0.8.13</code>
736
738
  </td>
737
739
  </tr>
738
740
  </table>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prisma-zod-generator",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Prisma 2+ generator to emit Zod schemas from your Prisma schema",
5
5
  "repository": "https://github.com/omar-dulaimi/prisma-zod-generator",
6
6
  "bin": {