2197 Commits

Author SHA1 Message Date
cjihrig
6a19cf5205
grpc-js-core: use Map for metadata store
In more recent versions of Node, Maps are more performant than
POJOs when used as maps. Switching to Maps also eliminates an
expensive delete operation, as well as uses of hasOwnProperty().
2018-10-24 14:13:18 -04:00
murgatroid99
b7f7bf0dce Increase _XOPEN_SOURCE macro to 700 2018-10-24 11:00:25 -07:00
murgatroid99
3eb67d8038 Remove use of OPENSSL_NO_THREADS with BoringSSL 2018-10-24 10:38:25 -07:00
murgatroid99
14a1f8520c Update grpc submodule to HEAD 2018-10-23 15:55:47 -07:00
Nicolas Noble
0d1d1feb78
Merge pull request #582 from nicolasnoble/1.16-submodule
Properly updating submodule to point at 1.16.
2018-10-23 14:02:13 -07:00
Nicolas "Pixel" Noble
34219900a9 Properly updating submodule to point at 1.16. 2018-10-23 18:51:15 +02:00
Michael Lumish
65cd6bafd3
Merge pull request #579 from murgatroid99/native_async_bind_port
Native: add Server#bindAsync
2018-10-19 15:58:48 -07:00
Michael Lumish
1f322d8e5d
Merge pull request #578 from murgatroid99/backport_call_invocation_transformer
Backport "Call invocation transformer"
2018-10-19 15:58:42 -07:00
murgatroid99
2d62b875f4 Actually use bindAsync in modified test 2018-10-19 11:54:47 -07:00
murgatroid99
5b85f4f2b7 Native: add Server#bindAsync 2018-10-19 11:21:45 -07:00
Weiran Fang
8821824f7a Add gitignore'd files 2018-10-19 10:38:53 -07:00
Weiran Fang
a8eaafe373 Retrieve callInvocationTransformer from constructor options. 2018-10-19 10:38:42 -07:00
Weiran Fang
21d9ea086c Add checker for call invocation transformer. 2018-10-19 10:38:33 -07:00
Michael Lumish
8df65a91a2
Merge pull request #557 from WeiranFang/call-invocation-transformer
Call invocation transformer
2018-10-19 10:35:34 -07:00
Michael Lumish
1e10613649
Merge pull request #576 from murgatroid99/v1.16.0-pre1_bump
Bump submodule and version to 1.16.0-pre1
2018-10-18 09:14:03 -07:00
Michael Lumish
eddfe265bd
Merge pull request #577 from murgatroid99/proto_loader_abs_path_fix
@grpc/proto-loader: Fix absolute path handling and improve reporting of loading failures
2018-10-18 09:03:37 -07:00
Nicolas Noble
568203cc25
Merge pull request #575 from vmax/node-plugin-create-file-even-without-services
Generate JS file even if no services are defined in proto file; fix #574
2018-10-17 16:02:29 -07:00
murgatroid99
6364d0a92f @grpc/proto-loader: Fix absolute path handling and improve reporting of loading failures 2018-10-17 15:35:05 -07:00
murgatroid99
6e7035925d Bump submodule and version to 1.16.0-pre1 2018-10-17 13:35:39 -07:00
Max Vorobev
0aedb0768c Generate JS file even if no services are defined in proto file; fix #574 2018-10-17 15:08:40 +03:00
Nicolas Noble
fae76dec4a
Merge pull request #573 from murgatroid99/checkServerIdentity_cb_fix
Native: Use non-deprecated function to call checkServerIdentity cb
2018-10-16 21:14:31 -07:00
murgatroid99
81a413cd84 Native: Use non-deprecated function to call checkServerIdentity cb 2018-10-16 15:43:18 -07:00
Michael Lumish
c159f56787
Merge pull request #563 from murgatroid99/grpc-js_0.3.2
Bump @grpc/grpc-js to 0.3.2
2018-10-02 14:31:33 -07:00
Nicolas Noble
5efc076f6a
Merge pull request #562 from grpc/lock
Create lock.yml
2018-09-28 16:25:37 -07:00
Nicolas Noble
18c03d7d4b
Create lock.yml 2018-09-28 13:51:13 -07:00
murgatroid99
5683bc3bba Bump @grpc/grpc-js to 0.3.2 @grpc/grpc-js@0.3.2 2018-09-28 13:42:19 -07:00
Michael Lumish
e83f240f73
Merge pull request #561 from cjihrig/dep
grpc-js-core: make semver a prod dependency
2018-09-28 12:46:03 -07:00
Michael Lumish
983297fe0a
Merge pull request #560 from cjihrig/read
grpc-js-core: update compression flag byte offset
2018-09-28 12:45:45 -07:00
cjihrig
2f6484f63d
grpc-js-core: make semver a prod dependency
semver is now used in index.ts, meaning that it needs to be
included in the "dependencies" section of the package.json,
otherwise deployments that use npm i --production will fail.
2018-09-28 11:00:53 -04:00
cjihrig
b4367cd3ab
grpc-js-core: update compression flag byte offset
The compression flag is written to the first byte, but read from
the second byte. Update the read offset to match.
2018-09-27 20:12:43 -04:00
Michael Lumish
48e4048748
Merge pull request #559 from murgatroid99/grpc-js_0.3.1
Bump @grpc/grpc-js to 0.3.1
@grpc/grpc-js@0.3.1
2018-09-26 14:26:14 -07:00
murgatroid99
0203e65f23 Bump @grpc/grpc-js to 0.3.1 2018-09-26 12:52:12 -07:00
Michael Lumish
8664fd90b0
Merge pull request #534 from cjihrig/from-h2-headers
grpc-js-core: ignore reserved headers in fromHttp2Headers()
2018-09-26 12:17:54 -07:00
Nicolas Noble
cbe039ac52
Merge pull request #558 from grpc/doc
Documentation updates.
2018-09-26 12:12:51 -07:00
Nicolas Noble
696aafe19d
s/usage/features/ 2018-09-26 11:11:34 -07:00
Nicolas Noble
41c840d186
Add a link to protobufjs' documentation. 2018-09-26 09:59:10 -07:00
Nicolas Noble
a1a74ca19a
Add a jsdoc @deprecated for grpc.load. 2018-09-26 09:55:09 -07:00
Weiran Fang
aea253cbec Add gitignore'd files 2018-09-26 09:44:34 -07:00
Michael Lumish
f3ac739175
Merge pull request #554 from cjihrig/creds
grpc-js-core: delay composing credentials
2018-09-25 15:48:51 -07:00
Michael Lumish
17ae8e44f8
Merge pull request #555 from murgatroid99/typescript_mock_type_fix
Fix missing property in ClientHttp2StreamMock
2018-09-25 13:47:45 -07:00
murgatroid99
a3e71b3eeb Fix missing property in ClientHttp2StreamMock 2018-09-25 12:20:53 -07:00
cjihrig
6e87e48607
grpc-js-core: delay composing credentials
The channel and stream credentials may change between the time
a CallCredentialsFilterFactory is created and the time that
the metadata is sent. This commit delays composing the credentials
until the time metadata is sent.
2018-09-25 12:57:38 -04:00
Michael Lumish
cfedd7c4b0
Merge pull request #552 from murgatroid99/grpc-tools_plugin_code
Add Node plugin code and protobuf submodule to grpc-tools
@grpc/grpc-js@0.3.0
2018-09-21 09:52:01 -07:00
Weiran Fang
8320743f6d Retrieve callInvocationTransformer from constructor options. 2018-09-21 09:48:51 -07:00
murgatroid99
0646ef4afd Add protobuf submodule for grpc-tools 2018-09-20 10:32:27 -07:00
murgatroid99
b50fd9b87c Fix include paths in protoc plugin files 2018-09-20 10:27:00 -07:00
murgatroid99
2d261f03a3 Copy protoc plugin files into grpc-tools 2018-09-20 10:17:11 -07:00
Weiran Fang
cd6e2062c8 Add checker for call invocation transformer. 2018-09-19 17:50:43 -07:00
Michael Lumish
d6b068753d
Merge pull request #451 from nicolasnoble/electron3
Adding electron 3 support.
2018-09-19 09:31:09 -07:00
Michael Lumish
339e96ae95
Merge pull request #549 from murgatroid99/v1.15.1_bump
Native: bump to 1.15.1
grpc@1.15.1
2018-09-14 12:33:18 -07:00