Skip to content

Dependency mismatch in v8.3.0 – analyzer version discrepancy between GitHub and pub.dev #209

@alejandrogiubel

Description

@alejandrogiubel

There is a discrepancy between the analyzer version constraint defined in this repository for version 8.3.0 and what is actually being resolved via pub.dev.

On GitHub (v8.3.0): The pubspec.yaml shows analyzer: '>=9.0.0 <12.0.0'.

On pub.dev / Local resolution: When referencing reactive_forms_generator: 8.3.0, it resolves to analyzer: ^8.2.0.

This mismatch causes version solver conflicts with other modern packages, specifically Riverpod (and riverpod_generator), which require analyzer: >=9.0.0. Because reactive_forms_generator locally locks the analyzer to an older version (8.x), it's impossible to upgrade the rest of the project's dependency tree.

Steps to reproduce

Add reactive_forms_generator: 8.3.0 to pubspec.yaml.

Add riverpod_generator (latest) to dev_dependencies.

Run flutter pub get.

Observe the version solver error indicating that analyzer cannot be resolved due to the <9.0.0 constraint coming from this package.

Expected behavior
The published version on pub.dev should match the GitHub source code for v8.3.0, allowing analyzer versions >=9.0.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions