1700 Commits

Author SHA1 Message Date
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
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
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
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
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
7c2acccff5 proto-loader: Bump to 0.6.2 2021-05-06 14:28:15 -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
f3b6eb1c85 grpc-js-xds: Update deps and generated code for xDS v3 2021-04-14 14:00:16 -07:00
Michael Lumish
bf2e5cb1dd
Merge pull request #1745 from murgatroid99/proto-loader_generate_service_definition
proto-loader: generator: add specific service definition interfaces
2021-04-14 13:58:19 -07:00
Michael Lumish
e7dccd6656 proto-loader: Bump version to 0.6.1 2021-04-08 13:00:04 -07:00
Michael Lumish
c3a49262cc proto-loader: generator: add specific service definition interfaces 2021-04-08 12:56:50 -07:00
Michael Lumish
799bd16fe6 proto-loader: generator: allow for null message values 2021-04-08 11:22:04 -07:00
Michael Lumish
48afaf12c9
Merge pull request #1739 from murgatroid99/grpc-js_no_version_check
grpc-js: Remove explicit version compatibility check
2021-04-06 14:17:00 -07:00
Michael Lumish
72136bcf0b grpc-js: Remove explicit version compatibility check 2021-04-06 10:57:11 -07:00
Michael Lumish
746381a012 grpc-js-xds: Update proto-loader dependency and regenerate generated files 2021-04-06 10:49:43 -07:00
Michael Lumish
b920292b59
Merge pull request #1474 from murgatroid99/proto-loader_type_generator
proto-loader: Add TypeScript generator
2021-04-06 10:31:18 -07:00
Michael Lumish
b830a7ba88
Merge pull request #1734 from murgatroid99/grpc-js-xds_routing_no_env_protection
grpc-js-xds: Remove env var protection for routing feature
2021-04-05 13:37:16 -07:00
Michael Lumish
87614c385f Don't use the removed env var in the script 2021-04-02 11:21:11 -07:00
Michael Lumish
66d93c0f65 Merge remote-tracking branch 'upstream/@grpc/grpc-js@1.2.x' into grpc-js_1.2_upmerge_2 2021-04-02 11:19:13 -07:00
Michael Lumish
abfe46b99d grpc-js-xds: Remove env var protection for routing feature 2021-04-02 11:12:41 -07:00
Michael Lumish
c3aeb94b8c
Merge pull request #1666 from dwrip/master
feature(grpc-js): Add possibility to provide maxSessionMemory http2 option through ChannelOptions
2021-04-02 11:09:57 -07:00
Michael Lumish
3468e58a06
Merge pull request #1724 from murgatroid99/grpc-js-xds_a28_interop_attempt_2
Enable path_matching and header_matching xDS interop tests
2021-04-02 11:09:30 -07:00
Michael Lumish
65f1eb4a29 Add default values to generator usage info 2021-04-01 11:53:30 -07:00
Andrey Melnik
65d4de8e6a Merge branch 'master' of https://github.com/grpc/grpc-node 2021-04-01 10:22:06 +03:00
Andrey Melnik
21176c23ab feature(grpc-js): Add possibility to provide maxSessionMemory http2 option through ChannelOptions 2021-04-01 10:21:28 +03:00
Michael Lumish
0aa99dd4fb Merge branch 'proto-loader_type_generator' of github.com:murgatroid99/grpc-node into proto-loader_type_generator 2021-03-31 13:22:26 -07:00
Michael Lumish
3ac1e6ddb8 Address review comments 2021-03-31 13:22:08 -07:00
Michael Lumish
4742f9d57e Combine output for input files with the same basename 2021-03-31 13:04:05 -07:00
Michael Lumish
a907086be4 Remove temporary debug log line 2021-03-30 13:26:42 -07:00