-
-
Notifications
You must be signed in to change notification settings - Fork 12
merge dev to main (v3.0.0-beta.24) #420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
* chore: import CLI help text * update
* feat: better-auth adapter * address pr comments
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
* feat(cli): add "format" command * better-auth: format generated schema * update
|
Warning Rate limit exceeded@ymc9 has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 15 minutes and 26 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (54)
Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Claude finished @ymc9's task —— View job PR Review for v3.0.0-beta.24I've completed a comprehensive review of this release PR. Here's my analysis: Review Tasks:
Major Changes Analysis✅ Better-Auth Adapter (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR merges the dev branch to main for version 3.0.0-beta.24, introducing several key enhancements and bug fixes.
Key changes:
- Adds a new
formatcommand to the CLI for formatting ZModel schema files - Fixes negative number literal generation in TypeScript schema output (issue #393)
- Adds Better Auth adapter for ZenStack ORM
- Moves sql.js dialect from a separate package into the main ORM package
- Changes schema file lookup priority to favor
./schema.zmodelover./zenstack/schema.zmodel
Reviewed Changes
Copilot reviewed 54 out of 60 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
tests/regression/test/issue-393.test.ts |
Adds regression test for negative default values in schema |
packages/sdk/src/ts-schema-generator.ts |
Fixes TypeScript generation of negative number literals and adds importWithFileExtension option |
packages/cli/src/actions/format.ts |
Implements new format command for schema files |
packages/cli/src/actions/action-utils.ts |
Updates schema file lookup to prioritize root-level schema.zmodel |
packages/cli/src/utils/exec-utils.ts |
Adds fallback to npx/bunx when prisma module is not found |
packages/language/src/zmodel-code-generator.ts |
Migrates from resolved references to $refText for code generation |
packages/language/src/document.ts |
Exports new formatDocument function |
packages/orm/src/dialects/ |
Consolidates sql.js dialect into main ORM package with SQLite and PostgreSQL dialects |
packages/auth-adapters/better-auth/ |
Adds new Better Auth adapter with schema generation capabilities |
packages/orm/src/client/crud-types.ts |
Exports additional input types for external usage |
pnpm-workspace.yaml & pnpm-lock.yaml |
Adds sql.js and better-auth dependencies |
All package.json files |
Bumps version to 3.0.0-beta.24 |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Claude finished @ymc9's task —— View job PR Review for v3.0.0-beta.24I've completed a comprehensive review of this release PR. Here's my analysis: Review Tasks:
Major Changes Analysis✅ Better-Auth Adapter (
|
No description provided.