Skip to content

Support newer analyzer and source gen versions #719

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

Merged

Conversation

greenrobot-team
Copy link
Member

Public PR to run CI

dart_style 3 requires specifying languageVersion for DartFormatter. This
parameter also exists in version 2, so just always specify it to be
backwards compatible.
Major version 4 drops the unused js dependency, improving compatibility
with other packages.
dart format has changed its format and determines this by looking at the
resolved required SDK of a package. Because the objectbox_test package
where code is generated does not yet require a recent Dart SDK, dart
format will fail, because the generator formats using the latest style.
Increase minimum required dependencies to those resolvable with
Dart SDK 3.4.0.
Require Dart 3.5 because Flutter SDK 3.24.0 is required to get high
enough meta version required by analyzer and pinned by Flutter SDK.
@greenrobot-team greenrobot-team force-pushed the 133-support-newer-analyzer-and-source_gen-versions branch from ee82bd8 to 058fc69 Compare April 1, 2025 09:38
@greenrobot-team greenrobot-team added this to the 4.2.0 milestone Apr 1, 2025
@greenrobot-team greenrobot-team self-assigned this Apr 1, 2025
@greenrobot-team greenrobot-team merged commit 2f3ca9d into main Apr 1, 2025
18 checks passed
@greenrobot-team greenrobot-team deleted the 133-support-newer-analyzer-and-source_gen-versions branch April 1, 2025 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant