503 Commits

Author SHA1 Message Date
murgatroid99
3e114d0026 Update to 1.16.0 2018-10-30 16:08:32 -07:00
Nicolas "Pixel" Noble
9e5ffb172d Merge branch 'grpc@1.15.x' of https://github.com/grpc/grpc-node into grpc@1.16.x 2018-10-24 23:21:18 +02: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
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
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
murgatroid99
81a413cd84 Native: Use non-deprecated function to call checkServerIdentity cb 2018-10-16 15:43:18 -07:00
murgatroid99
5683bc3bba Bump @grpc/grpc-js to 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
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
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
Michael Lumish
f3ac739175
Merge pull request #554 from cjihrig/creds
grpc-js-core: delay composing credentials
2018-09-25 15:48:51 -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
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
Michael Lumish
d6b068753d
Merge pull request #451 from nicolasnoble/electron3
Adding electron 3 support.
2018-09-19 09:31:09 -07:00
Michael Lumish
1b11238d38
Merge pull request #538 from cjihrig/return-await
grpc-js-core: remove use of return await
2018-09-14 10:03:58 -07:00
murgatroid99
c855a47164 Native: bump to 1.15.1 2018-09-14 09:46:40 -07:00
Michael Lumish
ea6d903479 Fix indentation style 2018-09-13 17:54:34 -07:00
Alexander Fenster
9eda26c0d7 supporting both old and new versions of google-auth-library 2018-09-13 17:54:27 -07:00
Alexander Fenster
45185080f2 revert package.json change 2018-09-13 17:54:18 -07:00
Alexander Fenster
d78c49a648 fix: use getRequestHeaders instead of getRequestMetadata 2018-09-13 17:54:12 -07:00
Michael Lumish
a4ed8a38a7
Merge pull request #547 from alexander-fenster/get-request-headers
grpc-native-core: do not use deprecated getRequestMetadata
2018-09-13 17:39:29 -07:00
Michael Lumish
10c94a9e1e
Fix indentation style 2018-09-13 16:31:57 -07:00
Alexander Fenster
4f39eae38c supporting both old and new versions of google-auth-library 2018-09-13 11:46:42 -07:00
murgatroid99
971ddc617a Native: fix build instructions to account for move to new repo 2018-09-13 11:31:03 -07:00
Alexander Fenster
2b291ed901 revert package.json change 2018-09-13 10:37:58 -07:00
Alexander Fenster
73a97f0aff fix: use getRequestHeaders instead of getRequestMetadata 2018-09-13 10:25:23 -07:00
murgatroid99
8436abf2ea Native: bump to 1.15.0 2018-09-12 10:37:36 -07:00
cjihrig
4ae503abee
grpc-js-core: remove use of return await
return await isn't typically useful in async functions.
2018-09-10 17:44:31 -04:00
cjihrig
27338349a1
grpc-js-core: use Buffer.from in metadata cloning
When cloning binary metadata, use Buffer.from() instead of
Buffer.prototype.slice(), as the latter creates a new Buffer
that shares the same underlying bytes.
2018-09-09 15:42:47 -04:00
cjihrig
0c606f4408
grpc-js-core: ignore reserved headers in fromHttp2Headers()
Metadata.fromHttp2Headers() throws if any reserved headers
are passed. Instead of deleting headers before calling the
function, this commit causes the function to ignore reserved
headers.
2018-09-09 14:57:33 -04:00
Michael Lumish
b7b45e6dd7
Merge pull request #527 from murgatroid99/pure_js_version_0.3
Update pure JS version, README
2018-09-06 10:19:18 -07:00
Michael Lumish
1a689a2f4a
Merge pull request #288 from kjin/status-before-end
Pure JS: emit 'status'/'error' before 'end' for server streams
2018-09-05 17:26:04 -07:00
murgatroid99
4c07ed3d66 Update pure JS version, README 2018-09-05 16:54:12 -07:00
cjihrig
0781f5df73
grpc-js-core: run linter when tests are run
This commit runs the js.core.lint job when js.core.test is
run to ensure the linting doesn't get stale.
2018-09-04 19:05:38 -04:00
cjihrig
a97e81f422
grpc-js-core: remove unused variables
This commit removes unused variables reported by temporarily
enabling tslint's no-unused-variable rule. Unused function
parameters have not been removed.
2018-09-04 19:05:34 -04:00
cjihrig
03c261538b
grpc-js-core: make gts check pass
This commit makes the gts check command pass.
2018-09-04 19:04:28 -04:00
cjihrig
eecefd3249
grpc-js-core: fix lint
This commit makes the lint Gulp task pass again.
2018-09-04 18:46:34 -04:00
Michael Lumish
37f956d92a
Merge pull request #525 from cjihrig/status-builder
grpc-js-core: add StatusBuilder support
2018-09-04 15:43:01 -07:00