Skip to content

Conversation

@tenhobi
Copy link
Member

@tenhobi tenhobi commented Jan 6, 2026

Fixes #251

Copy link

Copilot AI left a 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 updates the analyzer dependency from version 8 to version 9, addressing issue #251 which requested analyzer 9.0.0 support for compatibility with json_serializable 6.11.3. The changes involve migrating from the deprecated analyzer element2 API to the current element API, along with SDK and dependency updates.

Key Changes:

  • Migrated from analyzer's deprecated element2 API to the current element API throughout the codebase
  • Updated analyzer dependency from >=8.1.1 <9.0.0 to ^9.0.0 and SDK from ^3.8.0 to ^3.9.0
  • Refactored test fixtures to use with EquatableMixin instead of extends Equatable and added AAA (Arrange-Act-Assert) structure to tests

Reviewed changes

Copilot reviewed 96 out of 96 changed files in this pull request and generated no comments.

Show a summary per file
File Description
pubspec.yaml files Updated SDK to ^3.9.0, analyzer to ^9.0.0, melos to ^7.3.0, netglade_analysis to ^19.0.0
lib/src/**/*.dart Migrated from deprecated element2 API (element2, element3, name3, library2, etc.) to element API (element, name, library, etc.)
test fixtures Changed from extends Equatable to with EquatableMixin pattern
test files Added AAA comments, numeric separators, and formatting improvements
.fvmrc Removed updateVscodeSettings configuration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

petrnymsa
petrnymsa previously approved these changes Jan 6, 2026
@tenhobi tenhobi merged commit ad431b4 into main Jan 6, 2026
1 check passed
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.

analyzer 9.0.0 support

2 participants