dart-code-checker / dart-code-metrics

Software analytics tool that helps developers analyse and improve software quality.
https://dcm.dev
Other
860 stars 265 forks source link

Support dependency analyzer 5.12.0 #1230

Closed asaarnak closed 1 year ago

asaarnak commented 1 year ago

image

asaarnak commented 1 year ago

PR: https://github.com/dart-code-checker/dart-code-metrics/pull/1231

praxamarnix commented 1 year ago

I would love to have this, since there was a hotfix in envied (0.3.0+1). And the dependencies cannot match at the moment

Because envied_generator >=0.3.0+1 depends on analyzer ^5.12.0 and dart_code_metrics >=5.7.3 depends on analyzer >=5.1.0 <5.12.0, envied_generator >=0.3.0+1 is incompatible with dart_code_metrics >=5.7.3.

So, because shared depends on both dart_code_metrics 5.7.3 and envied_generator 0.3.0+1, version solving failed.

giorgio79 commented 1 year ago

Can we get this going please? Unable to upgrade to the latest Flutter without this bump. Also using json_serializable package

asaarnak commented 1 year ago

@dkrutskikh @incendial Could we merge this? Seems like a non-breaking change.

analyzer changelog #5.12.0

incendial commented 1 year ago

Available as 5.7.4.

Please keep in mind that even though the package is marked as "Dart 3 compatible", there is no support for the new Dart 3 syntax in this version.