Skip to content

Commit b38b1cc

Browse files
Reorganize code for 0.2.0 release. (#41)
Split the large client/server.dart files into smaller pieces. This is in preparation for splitting the HTTP/2 dependencies into a separate file and make it easier to implement other transports.
1 parent 108181c commit b38b1cc

26 files changed

+1099
-1007
lines changed

CHANGELOG.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
1+
## 0.2.0 - 2017-12-14
2+
3+
* Implemented support for per-RPC metadata providers. This can be used for
4+
authentication providers which may need to obtain or refresh a token before
5+
the RPC is sent.
6+
17
## 0.1.0 - 2017-10-12
28

39
* Core gRPC functionality is implemented and passes
410
[gRPC compliance tests](https://github.com/grpc/grpc/blob/master/doc/interop-test-descriptions.md).
511

612
The API is shaping up, but may still change as more advanced features are implemented.
713

8-
914
## 0.0.1 - 2017-07-05
1015

1116
* Initial version.

interop/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version: 0.0.1
44
homepage: https://github.com/dart-lang/grpc-dart
55

66
environment:
7-
sdk: '>=1.20.1 <2.0.0'
7+
sdk: '>=1.24.3 <2.0.0'
88

99
dependencies:
1010
args: ^0.13.0

lib/grpc.dart

+17-5
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,20 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
export 'src/client.dart';
6-
export 'src/server.dart';
7-
export 'src/shared.dart';
8-
export 'src/status.dart';
9-
export 'src/streams.dart';
5+
export 'src/client/call.dart';
6+
export 'src/client/channel.dart';
7+
export 'src/client/client.dart';
8+
export 'src/client/common.dart';
9+
export 'src/client/connection.dart';
10+
export 'src/client/method.dart';
11+
export 'src/client/options.dart';
12+
13+
export 'src/server/call.dart';
14+
export 'src/server/handler.dart';
15+
export 'src/server/server.dart';
16+
export 'src/server/service.dart';
17+
18+
export 'src/shared/security.dart';
19+
export 'src/shared/status.dart';
20+
export 'src/shared/streams.dart';
21+
export 'src/shared/timeout.dart';

0 commit comments

Comments
 (0)