Skip to content

Upgrade hive_ce_generator to analyzer 14 - #310

Closed
Rexios80 wants to merge 4 commits into
mainfrom
cursor/analyzer-14-a021
Closed

Upgrade hive_ce_generator to analyzer 14#310
Rexios80 wants to merge 4 commits into
mainfrom
cursor/analyzer-14-a021

Conversation

@Rexios80

Copy link
Copy Markdown
Member

Summary

  • Bump hive_ce_generator to analyzer: ^14.0.0 and Dart SDK ^3.11.0
  • Remove the source_helper dependency (still capped below analyzer 14) and replace its small usage (isEnum, string escaping) with local helpers
  • Update rexios_lints to ^18.1.0 and adjust example/benchmark packages that path-depend on the generator

Test plan

  • dart pub get in hive_generator
  • dart analyze --fatal-infos in hive_generator
  • dart test in hive_generator
  • pana --no-warning --exit-code-threshold 0 (160/160)
  • CI green on this PR
Open in Web Open in Cursor 

cursoragent and others added 2 commits July 23, 2026 17:17
Bump analyzer to ^14.0.0 and the Dart SDK constraint to ^3.11.0.
Replace the source_helper dependency with local helpers so resolution
is not blocked by its analyzer <14 constraint, and update dependent
example/benchmark packages accordingly.

Co-authored-by: Rexios <rexios@rexios.dev>
Co-authored-by: Rexios <rexios@rexios.dev>
@codecov

codecov Bot commented Jul 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.59%. Comparing base (3d5832e) to head (e79c142).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #310   +/-   ##
=======================================
  Coverage   93.59%   93.59%           
=======================================
  Files          64       64           
  Lines        2622     2622           
=======================================
  Hits         2454     2454           
  Misses        168      168           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

cursoragent and others added 2 commits July 23, 2026 17:27
Flutter stable pins meta 1.18.0, but analyzer 14 requires ^1.18.3.
Override meta in hive_flutter/example so path-dependent generator
resolution succeeds on stable.

Co-authored-by: Rexios <rexios@rexios.dev>
Pin the plugin version in hive analysis_options so disabling
not_null_assertion works with the newer analyzer plugin system.

Co-authored-by: Rexios <rexios@rexios.dev>
@cursor
cursor Bot deleted the cursor/analyzer-14-a021 branch July 23, 2026 17:54
@Rexios80 Rexios80 closed this Jul 23, 2026
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.

2 participants