1727 Commits

Author SHA1 Message Date
murgatroid99
6359bf066f Remove test for exact default logger identity 2021-07-15 10:55:50 -07:00
murgatroid99
a0f298c514 grpc-js: Split out logs for different severity levels 2021-07-15 10:17:18 -07:00
Michael Lumish
08423d62ac
Merge pull request #1842 from murgatroid99/grpc-js_proxy_tls_error_log
grpc-js: Add logging for TLS over proxy connection errors
2021-07-13 16:04:17 -07:00
Michael Lumish
6b3ebbb829 grpc-js: Add logging for TLS over proxy connection errors 2021-07-08 10:27:31 -07:00
Michael Lumish
1037b23ba6 grpc-js: Format source files and fix lint errors 2021-06-29 14:40:24 -07:00
Michael Lumish
8605ef2ded Fix subchannel address import, resolver test setup 2021-06-29 10:43:45 -07:00
Michael Lumish
1452ed93aa grpc-js: Register IP resolver in index 2021-06-29 10:04:32 -07:00
Michael Lumish
82fada33ff Merge remote-tracking branch 'upstream/@grpc/grpc-js@1.3.x' into grpc-js_upmerge_from_1.3 2021-06-29 10:02:33 -07:00
Michael Lumish
e7dad8b002
Merge pull request #1829 from murgatroid99/grpc-js_fix_cycles
grpc-js: Refactor code to eliminate runtime dependency cycles
2021-06-29 09:55:19 -07:00
Michael Lumish
9f43411d2c
Merge pull request #1833 from murgatroid99/proto-loader_0.6.4
proto-loader: bump to 0.6.4
2021-06-29 09:48:43 -07:00
Michael Lumish
569a34d989
Merge pull request #1831 from murgatroid99/grpc-js_feature_note
grpc-js: Add note in README about feature parity requests
2021-06-28 14:37:52 -07:00
Michael Lumish
0ad7cc1ec9 grpc-js-xds: case_sensitive flag should not affect regex matcher 2021-06-28 14:37:21 -07:00
Michael Lumish
6ba982548e proto-loader: bump to 0.6.4 2021-06-28 13:17:16 -07:00
Mike Lewis
41e09f7d12
Prevent early return in proto-loader containsDefinition
f289c343b3393aad73795c0657415f4160bcdcb5 introduced a bug - the
recursive for-loop descended into the first elements nested array
and returned that value without iterating over the other members
of the array. This means that the code would only work correctly
when the protofile contained a definition whose name was alphabetically
first amongst its siblings.

This commit fixes the issue by moving the call to containsDefinition
into the if statement to allow iteration to continue if
containsDefinition returns false.
2021-06-28 19:40:18 +01:00
Michael Lumish
32cd3504cc grpc-js: Add note in README about feature parity requests 2021-06-28 11:24:43 -07:00
Michael Lumish
031ae9472e grpc-js: Refactor code to eliminate runtime dependency cycles 2021-06-24 09:50:02 -07:00
Michael Lumish
fa5066759d grpc-js: Unref timers for keepalive functionality 2021-06-23 14:01:56 -07:00
Michael Lumish
12b2412356 proto-loader: Bump to version 0.6.3 2021-06-23 12:46:53 -07:00
Mike Lewis
61e64a3c4f
Update golden-generated in proto-loader
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-06-23 17:55:38 +01:00
Mike Lewis
f289c343b3
Avoid unused definition imports from proto-loader
Since proto files don't always contain all types of definition, it was
possible to get into a state where generated code contained unused
imports which caused TS errors. This change makes those imports
conditional on the existence of the corresponding definitions in the
proto file.

Co-authored-by: Austin Puri <austin.puri@gmail.com>
Co-authored-by: Joe Porpeglia <josephp@spotify.com>
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-06-23 16:46:23 +01:00
Michael Lumish
d894809e0e grpc-js: Bump version to 1.3.3 2021-06-21 14:42:09 -07:00
Michael Lumish
118a6df067 grpc-js: Make logging behavior more similar to core 2021-06-21 13:41:54 -07:00
Michael Lumish
237ea8308a grpc-js: Make logging behavior more similar to core 2021-06-18 14:37:03 -07:00
Michael Lumish
cb505b4556 grpc-tools: Bump to version 1.11.2 2021-06-17 11:12:35 -07:00
David Goitia
acfb3c2829
Update node-pre-gyp dependency 2021-06-17 14:35:29 +02:00
Michael Lumish
8a38cd8549 grpc-js: Refactor FilterStack usage 2021-06-10 14:48:33 -07:00
Michael Lumish
47ac924abe
Merge pull request #1794 from murgatroid99/grpc-js-xds_circuit_breaking
grpc-js-xds: Add circuit breaking functionality
2021-06-02 15:33:56 -07:00
Michael Lumish
f01b6d9fca grpc-js: Export ServerErrorResponse type, which is used in public APIs 2021-06-02 13:42:41 -07:00
Michael Lumish
43a3bad549 Fix circuit breaking functionality 2021-06-02 08:56:10 -07:00
Michael Lumish
ec7c819181 grpc-js-xds: Enable circuit breaking test 2021-05-20 10:30:28 -07:00
Michael Lumish
65d8c2b7e3 Merge branch 'master' into grpc-js-xds_circuit_breaking 2021-05-20 10:23:32 -07:00
Michael Lumish
d51551f6d7 grpc-js-xds: Add support for timeout xDS interop test
Add more logging
2021-05-19 13:25:33 -07:00
Michael Lumish
f5b9e7bab1 grpc-js-xds: Add circuit breaking functionality 2021-05-17 14:52:45 -07:00
Michael Lumish
f4f1d54031 grpc-js-xds: Propagate timeouts from xDS responses to method config 2021-05-17 11:08:22 -07:00
Michael Lumish
663fe77e72
Merge pull request #1785 from murgatroid99/grpc-js_service_config_timeout
grpc-js: Apply timeouts from service configs
2021-05-14 14:16:09 -07:00
Michael Lumish
1e9bf301b7
Merge pull request #1765 from murgatroid99/grpc-js-xds_v3_support
grpc-js-xds: Add xDS v3 API support
2021-05-14 14:15:49 -07:00
Michael Lumish
bf7d200791 grpc-js: Change function check to handle async functions 2021-05-13 10:36:06 -07:00
Michael Lumish
e3106b99ca Don't query the config selector for calls that have ended 2021-05-12 14:38:02 -07:00
Michael Lumish
7de0d08e29 grpc-js: Apply timeouts from service configs 2021-05-12 14:30:25 -07:00
Michael Lumish
126961a7da
Merge pull request #1780 from murgatroid99/grpc-js_econnreset_error_parsing
grpc-js: Look for ECONNRESET errors by checking the error code
2021-05-11 10:11:48 -07:00
Michael Lumish
21b5ba8d21
Merge pull request #1770 from murgatroid99/grpc-js_connectivity_improvements
grpc-js: Don't transition out of idle when discarding subchannels
2021-05-11 10:11:14 -07:00
Michael Lumish
f009cd7b9f grpc-js: Look for ECONNRESET errors by code instead of errno 2021-05-10 11:06:16 -07:00
Michael Lumish
7c2acccff5 proto-loader: Bump to 0.6.2 2021-05-06 14:28:15 -07:00
Michael Lumish
cc0c8deea3 grpc-js: Make GRPC_VERBOSITY accept lower-case values 2021-05-06 13:09:16 -07:00
Eduardo Laranjo
a5fb029e70 Add new generated golden files 2021-05-05 13:41:45 +01:00
@EduardoLaranjo
4c767ca946
Fix auto-generated service definition
relate to issue #1766
2021-05-04 19:27:24 +01:00
Michael Lumish
6711620c1a grpc-js-xds: Add xDS v3 support to the client
Add xDS v3 test job
2021-05-04 09:36:27 -07:00
Michael Lumish
9253b7f104 grpc-js: Don't transition out of idle when discarding subchannels 2021-04-30 12:53:26 -07:00
Michael Lumish
d82b1a3803
Merge pull request #1761 from zereraz/master
grpc-js: stricter function check than instanceof
2021-04-27 13:58:25 -07:00
zereraz
923b44bb1c grpc-js: Add type predicate to fix errors for isFunction 2021-04-28 00:18:35 +05:30