-
Notifications
You must be signed in to change notification settings - Fork 7
Bump frezeed to latest #21
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
base: main
Are you sure you want to change the base?
Conversation
WalkthroughThe Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. ✨ Finishing Touches🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
pubspec.yaml(2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: pana / build
| freezed_annotation: ^3.1.0 | ||
| cancellation_token: ^2.0.1 |
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.
Align freezed and freezed_annotation to the same minor version
freezed enforces that freezed (code-gen) and freezed_annotation (runtime) share identical MAJOR and MINOR numbers.
Here you bump freezed_annotation to ^3.1.0 while the generator is ^3.2.0. This mismatch will cause build-runner to fail with
Unsupported Freezed version errors during code-generation.
Proposed fix:
- freezed_annotation: ^3.1.0
+ freezed_annotation: ^3.2.0(or downgrade the generator to ^3.1.0; keeping them identical is the key).
Also applies to: 25-25
🤖 Prompt for AI Agents
In pubspec.yaml around lines 16 to 17, the versions of freezed_annotation and
freezed are mismatched, causing build-runner errors. Ensure both freezed and
freezed_annotation dependencies have the same major and minor version numbers by
updating freezed_annotation to match the freezed version (e.g., both to ^3.2.0)
or downgrading freezed to ^3.1.0. This alignment will prevent the Unsupported
Freezed version error during code generation.
Description
Bump
freezedto latest.Type of Change
Summary by CodeRabbit