grpc / grpc-dart

The Dart language implementation of gRPC.
https://pub.dev/packages/grpc
Apache License 2.0
861 stars 271 forks source link

Upgrade http to ver 1.0.0 #632

Closed mbn18 closed 1 year ago

mbn18 commented 1 year ago
Got the following error while trying to upgrade flutter_map to ver 5.0.0 ``` Because no versions of grpc match >3.1.0 <4.0.0 and grpc 3.1.0 depends on http ^0.13.0, grpc ^3.1.0 requires http ^0.13.0. And because flutter_map >=5.0.0 depends on http ^1.0.0, grpc ^3.1.0 is incompatible with flutter_map >=5.0.0. ``` • Flutter version 3.10.3 on channel stable at /opt/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision f92f44110e (4 days ago), 2023-06-01 18:17:33 -0500 • Engine revision 2a3401c9bb • Dart version 3.0.3 • DevTools version 2.23.1
mikhael28 commented 1 year ago

I have a couple of dependencies here with the same issue - specifically, the latest version of google_fonts requires 1.0.0.

I would recommend releasing a pre-release 4.x version of the grpc-dart library on pub.dev, and allow for time for the community to review whether or not the http 1.0 upgrade is safe for the stable 3.x branch.

broderix commented 1 year ago

@mbn18 please check this out PR-629 It seems issues was resolved

domesticmouse commented 1 year ago

grpc v3.2.1 will work with http v0.13 and v1.0.

kevmoo commented 1 year ago

Yup!