Michael Lumish
7fc1162be0
Merge pull request #546 from murgatroid99/source_build_docs
...
Native: fix build instructions to account for move to new repo
2018-09-13 12:41:49 -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
Michael Lumish
0cf120a663
Merge pull request #542 from murgatroid99/v1.15.0_bump
...
Native: bump to 1.15.0
2018-09-12 13:52:18 -07:00
murgatroid99
8436abf2ea
Native: bump to 1.15.0
2018-09-12 10:37:36 -07:00
Michael Lumish
0de1f8367d
Merge pull request #535 from cjihrig/metadata-clone
...
grpc-js-core: use Buffer.from in metadata cloning
2018-09-11 11:23: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
Michael Lumish
270d6bbe2d
Merge pull request #524 from cjihrig/lint
...
Clean up linting
2018-09-05 11:27:45 -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
Michael Lumish
be1e3a4b9a
Merge pull request #522 from murgatroid99/error_code_number_check
...
Native server: don't pass non-integer status codes to core
2018-09-04 10:48:39 -07:00
Michael Lumish
74bcdb62cb
Merge pull request #523 from murgatroid99/pure_js_engines_check
...
Pure js: fix engines field, add runtime check
2018-09-04 10:48:26 -07:00
cjihrig
a4583081dd
grpc-js-core: add StatusBuilder support
...
This commit ports StatusBuilder to TypeScript.
2018-09-02 09:08:07 -04:00
murgatroid99
46b577a682
Pure js: fix engines field, add runtime check
2018-08-31 15:12:20 -07:00
murgatroid99
2b28598312
Native server: don't pass non-integer status codes to core
2018-08-31 14:25:19 -07:00
Michael Lumish
42a72cabf7
Merge pull request #520 from murgatroid99/test_generalization
...
Add some tests for error cases for both clients
2018-08-30 13:13:03 -07:00
murgatroid99
32c435a180
Add some tests for error cases for both clients
2018-08-30 11:07:14 -07:00
Nicolas Noble
f840792b89
Merge pull request #518 from nicolasnoble/submodule-to-1.15
...
Updating submodule to the upstream 1.15 branch.
2018-08-28 16:46:59 -07:00
Nicolas "Pixel" Noble
dda0d05642
Updating submodule to the upstream 1.15 branch.
2018-08-29 01:45:51 +02:00
Michael Lumish
8ba6c591e5
Merge pull request #515 from cjihrig/metadata-cleanup
...
grpc-js-core: metadata cleanup
2018-08-28 15:30:29 -07:00
cjihrig
2c75b64071
grpc-js-core: remove extra map() calls in fromHttp2Headers()
...
The extra map() calls added an extra loop over the arrays
just to trim() a string. This commit moves the trim() into
the forEach() and drops the map().
2018-08-28 17:21:07 -04:00
cjihrig
b64ed1c18e
grpc-js-core: add missing space in error message
...
This commit adds a missing space to an error message and
updates a test to prevent regressions.
2018-08-28 17:20:32 -04:00
cjihrig
797bcbaffe
grpc-js-core: simplify regular expression usage
...
This commit moves two regular expressions out of the functions
they are used in, and defines them as constants. This commit
also switches from match() to test(), as a Boolean result is
all that's needed.
2018-08-28 17:20:31 -04:00
Michael Lumish
d777e9312b
Merge pull request #514 from cjihrig/buffer-depr
...
grpc-js-core: remove use of deprecated Buffer() constructor
2018-08-28 12:13:50 -07:00
Michael Lumish
b13c8c1d82
Merge pull request #516 from cjihrig/logger
...
grpc-js-core: implement setLogger() and setLogVerbosity()
2018-08-28 10:57:56 -07:00
Nicolas Noble
5d62c89115
Merge pull request #512 from nicolasnoble/ignore-reports
...
Ignoring automated test reports.
2018-08-26 10:36:51 -07:00
cjihrig
6573e70ad4
grpc-js-core: implement setLogger() and setLogVerbosity()
...
These were missing from the pure JS implementation. This commit
adds them.
2018-08-26 11:50:33 -04:00
cjihrig
7528efbd32
grpc-js-core: remove use of deprecated Buffer() constructor
...
The Buffer() constructor should not be used. This commit
replaces its use in grpc-js-core tests with Buffer.from().
2018-08-25 11:32:14 -04:00
Michael Lumish
28cc8447c8
Merge pull request #511 from murgatroid99/pure_js_creds_private_methods
...
Mark some methods of ChannelCredentials as internal
2018-08-24 10:04:02 -07:00
Nicolas "Pixel" Noble
4edd52fcec
Ignoring automated test reports.
2018-08-24 03:45:59 +02:00
murgatroid99
8d37d2321e
Mark some methods of ChannelCredentials as internal
2018-08-23 13:56:59 -07:00
Michael Lumish
93733081e7
Merge pull request #510 from murgatroid99/pure_js_public_channel
...
Pure JS: Implement public Channel API
2018-08-23 13:28:42 -07:00
murgatroid99
89e47c84f7
Pure JS: Implement public Channel API
2018-08-22 18:06:01 -07:00
Michael Lumish
bbddf3d103
Merge pull request #450 from mvaldesdeleon/patch-1
...
Replaces `string` type with actual possible values
2018-08-21 10:14:43 -07:00
Michael Lumish
0ec9fed4bb
Merge pull request #500 from murgatroid99/pure_js_channel_args_warning
...
Pure JS: add warnings for unhandled channel options
2018-08-20 13:48:14 -07:00
Michael Lumish
78ac67af24
Merge pull request #505 from murgatroid99/v1.14_upmerge
...
V1.14 upmerge
2018-08-20 13:47:28 -07:00
murgatroid99
79d96a8e87
Remove forced version from local build.yaml
2018-08-17 15:51:23 -07:00
murgatroid99
41ac29ddd5
Upmerge 1.14 to master
2018-08-17 13:50:05 -07:00
Michael Lumish
545506fd70
Merge pull request #504 from murgatroid99/submodule_update2
...
Update submodule to 1.15.0-dev
2018-08-17 13:46:26 -07:00
murgatroid99
128610da3d
Update submodule to 1.15.0-dev
2018-08-17 12:40:33 -07:00