grpc / grpc-dart

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

Remove dependency on `package:archive` #707

Closed mosuem closed 1 month ago

mosuem commented 2 months ago

Remove dependency on package:archive - this was only introduced for gzip support, which is also provided by dart:io. There is not gzip support on the web per the specs, but it could be introduced in the future using package:gzip. This would mean a larger rewrite, as the web implementation is asynchronous.

Also add some missing licenses while I am at it.

github-actions[bot] commented 2 months ago

Package publishing

Package Version Status Publish tag (post-merge)
package:grpc 4.0.0 ready to publish v4.0.0

Documentation at https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

github-actions[bot] commented 2 months ago

PR Health

Breaking changes :warning:

Details | Package | Change | Current Version | New Version | Needed Version | Looking good? | | :--- | :--- | ---: | ---: | ---: | ---: | |grpc|Non-Breaking|4.0.0|4.0.0|**4.0.1**
Got "4.0.0" expected >= "4.0.1" (non-breaking changes --> patch)|:warning:| This check can be disabled by tagging the PR with `skip-breaking-check`.

Changelog Entry :heavy_check_mark:

Details | Package | Changed Files | | :--- | :--- | Changes to files need to be [accounted for](https://github.com/dart-lang/ecosystem/wiki/Changelog) in their respective changelogs.

Coverage :warning:

Details | File | Coverage | | :--- | :--- | |example/grpc-web/lib/app.dart| :broken_heart: Not covered | |example/helloworld/bin/client.dart| :broken_heart: Not covered | |example/helloworld/bin/server.dart| :broken_heart: Not covered | |example/helloworld/bin/unix_client.dart| :broken_heart: Not covered | |example/helloworld/bin/unix_server.dart| :broken_heart: Not covered | |interop/lib/src/client.dart| :broken_heart: Not covered | |lib/grpc.dart| :broken_heart: Not covered | |lib/grpc_connection_interface.dart| :broken_heart: Not covered | |lib/src/client/call.dart| :green_heart: 83 % | |lib/src/client/http2_connection.dart| :green_heart: 81 % | |lib/src/client/transport/http2_transport.dart| :green_heart: 100 % | |lib/src/server/handler.dart| :green_heart: 96 % | |lib/src/shared/codec/codec.dart| :broken_heart: Not covered | |lib/src/shared/codec/codec_all.dart| :green_heart: 67 % | |lib/src/shared/codec/codec_io.dart| :green_heart: 100 % | |lib/src/shared/codec/codec_web.dart| :broken_heart: Not covered | |lib/src/shared/codec_registry.dart| :green_heart: 85 % | |lib/src/shared/message.dart| :green_heart: 76 % | This check for [test coverage](https://github.com/dart-lang/ecosystem/wiki/Test-Coverage) is informational (issues shown here will not fail the PR). This check can be disabled by tagging the PR with `skip-coverage-check`.

API leaks :warning:

Details The following packages contain symbols visible in the public API, but not exported by the library. Export these symbols or remove them from your publicly visible API. | Package | Leaked API symbols | | :--- | :--- | |grpc|$1.Duration
ServerHandler
Any| This check can be disabled by tagging the PR with `skip-leaking-check`.

Package publish validation :heavy_check_mark:

Details | Package | Version | Status | | :--- | ---: | :--- | | package:grpc | 4.0.0 | **ready to publish** | Documentation at https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.