Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 5.1.1

- Enable Unix domain sockets (UDS) tests on Windows, and modify README to
indicate UDS are supported (requires Dart SDK >= 3.11.0, minimum version
in `pubspec.yaml` is not bumped as later SDK are only needed for UDS support).

## 5.1.0

- Added `protos.dart` library.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ For complete documentation, see [Dart gRPC](https://grpc.io/docs/languages/dart)
- [Flutter](https://flutter.dev)

> **Note:** [grpc-web](https://github.com/grpc/grpc-web) is supported by `package:grpc/grpc_web.dart`.
> **UDS-unix domain socket** is supported with sdk version >= 2.8.0.
> **UDS-unix domain socket** is supported with sdk version >= 2.8.0 (>= 3.11.0 on Windows).

## Contributing

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: grpc
version: 5.1.0
version: 5.1.1
description: Dart implementation of gRPC, a high performance, open-source universal RPC framework.
repository: https://github.com/grpc/grpc-dart

Expand Down
4 changes: 0 additions & 4 deletions test/common.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ import 'package:test/test.dart';

/// Test functionality for Unix domain socket.
void testUds(String name, FutureOr<void> Function(InternetAddress) testCase) {
if (Platform.isWindows) {
return;
}

test(name, () async {
final tempDir = await Directory.systemTemp.createTemp();
final address = InternetAddress(
Expand Down
4 changes: 2 additions & 2 deletions test/round_trip_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ Future<void> main() async {
2,
3,
]);
server.shutdown();
await server.shutdown();
});

testTcpAndUds('round trip with outgoing and incoming compression', (
Expand Down Expand Up @@ -223,7 +223,7 @@ Future<void> main() async {
2,
3,
]);
server.shutdown();
await server.shutdown();
});

test('exception in onMetadataException', () async {
Expand Down
Loading