google/protobuf.dart

Any plans to support dart3

Closed this issue · 7 comments

I was browsing https://dart.dev/resources/dart-3-migration and then wondered if there are any plans to update the build to use dart 3?

Also, are there plans to publish a new version? https://pub.dev/packages/protoc_plugin/versions

yes, seems related to the error, when trying runing protoc:

can't load kernel binary: invalid kernel binary format version

Receiving same message when running protoc for dart, ever since using Flutter 3.10.
'can't load kernel binary: invalid kernel binary format version'.

Pacane commented

@kevmoo do you know what's blocking this? This might be blocking our adoption of latest flutter web / dart 3 right now.

@peterweb2005 and @ashishdock you might have been hit by dart-lang/sdk#52386.

If that is the case you should delete the cache at C:\Users<user>\AppData\Roaming\Pub\Cache\bin and point your PATH variable to C:\Users<user>\AppData\Local\Pub\Cache\bin and things should work again.

thanks,
prompt error disappeared

osa1 commented

We just published protobuf-3.0.0 and protoc_plugin-21.0.0.