779 Commits

Author SHA1 Message Date
Michael Lumish
ba3bd4bdf0
Merge pull request #1996 from josephharrington/patch-1
Document grpc-js supported channel args in readme
2022-01-05 14:36:39 -08:00
Michael Lumish
0dbcbcc320
Merge pull request #2008 from grpc/@grpc/grpc-js@1.4.x
Upmerge more changes from @grpc/grpc js@1.4.x
2022-01-05 14:29:12 -08:00
Joey Harrington
78631cdad8 Document grpc-js supported channel args in readme
This moves the list of supported channel arguments from PACKAGE_COMPARISON.md into the readme, and also adds a link to the package comparison doc.

resolves #1982, resolves #1983
2022-01-04 16:39:20 -08:00
Michael Lumish
fba2b9498f Fix end type again for older @types/node versions 2022-01-04 14:00:25 -08:00
Michael Lumish
e2dfb8fbcf grpc-js: Increase version to 1.4.6 2022-01-04 12:42:05 -08:00
Michael Lumish
311d22e03e grpc-js: Fix compatibility with @types/node 17.0.6 2022-01-04 12:41:41 -08:00
Michael Lumish
fb2ea3af9d
Merge pull request #1986 from murgatroid99/grpc-js_interceptor_metadata_message_order
grpc-js: Preserve order of metadata, messages, and call end with async interceptors
2021-12-16 11:49:55 -08:00
Michael Lumish
33c5abd163 grpc-js: Clean up some dependencies 2021-12-13 14:18:12 -05:00
Cosmin-Catalin Crisan
b12330abfd grpc-js: Send backoffOptions to BackoffTimeout 2021-12-10 20:20:11 +02:00
Michael Lumish
86f3ffd96c grpc-js: Update version to 1.4.5 2021-12-09 16:31:29 -05:00
Michael Lumish
7cccc39218 grpc-js: Preserve order of metadata and messages with async interceptors 2021-12-09 16:14:52 -05:00
Michael Lumish
ba375e7371 Skip a test because it behaves weirdly on Mac 2021-12-09 10:48:38 -05:00
Michael Lumish
e41b99dffc Fix a couple of issues with tests on Windows 2021-12-09 10:46:03 -05:00
Michael Lumish
20dbaa8e27 Make npm clean scripts platform-agnostic 2021-12-08 14:54:56 -05:00
Michael Lumish
c52cb842af Add detailed assertion output for some resolver tests, skip IPv4+IPv6 test 2021-12-08 13:42:50 -05:00
Michael Lumish
40c2f61eba Fix server decompression sequencing, add tracing 2021-12-08 10:27:21 -05:00
Michael Lumish
575c2004f3 Skip some tests to make the Linux test job green 2021-12-06 12:02:52 -05:00
Michael Lumish
8df71f1913 Merge remote-tracking branch 'upstream/@grpc/grpc-js@1.4.x' into grpc-js_1.4_upmerge 2021-12-03 14:47:04 -05:00
Michael Lumish
3106057f5a grpc-js: Don't pass undefined checkServerIdentity 2021-11-17 12:36:38 -08:00
Michael Lumish
472baec1ff grpc-js: Provide full certificate in checkServerIdentity callback 2021-11-15 10:53:31 -08:00
Robert
69428b0445 simplify removal of compression prefix bytes 2021-11-09 21:26:54 -08:00
Michael Lumish
9cdd36f929
Merge branch 'master' into grpc-js_compression_support 2021-11-08 12:17:11 -08:00
Michael Lumish
af966f04b8 grpc-js: Remove an extra call to registerChannelzSocket 2021-11-08 09:44:11 -08:00
Robert
96ae102eaf fix path for loading test_service proto 2021-11-05 19:59:03 -07:00
Michael Lumish
cea1537c42 Merge remote-tracking branch 'upstream/@grpc/grpc-js@1.4.x' into upmerge_1.4.3 2021-11-05 14:25:42 -07:00
Michael Lumish
cb29b6af0f
Merge pull request #1961 from murgatroid99/grpc-js_channelz_disable_fix
grpc-js: Fix handling of grpc.enable_channelz option
2021-11-05 13:53:53 -07:00
Michael Lumish
b1be84a021 Make IPv6 parsing code compatible with Node 10 2021-11-05 11:54:15 -07:00
Michael Lumish
bb26dcfd1e grpc-js: Fix handling of grpc.enable_channelz option 2021-11-05 10:12:12 -07:00
Michael Lumish
1a60c4f3a9 grpc-js: channelz: Fix algorithm for representing an IPv6 address in binary 2021-11-04 14:11:16 -07:00
Robert
c4d7fab13e simplify compression filter handling of server supported encoding headers 2021-11-02 19:17:44 -07:00
Robert
deff9d4df9 Merge branch 'grpc-js_compression_support' of github.com:b0b3rt/grpc-node into grpc-js_compression_support 2021-11-01 20:15:18 -07:00
Robert
dc9752addc change CompressionAlgorithms to an enum 2021-11-01 19:04:21 -07:00
Robert M
5c61a6a34e
Update packages/grpc-js/src/server-call.ts
Co-authored-by: Michael Lumish <mlumish@google.com>
2021-11-01 18:38:37 -07:00
Robert
9150bdfd24 default to identity header everywhere instead of leaving it undefined 2021-10-29 19:19:09 -07:00
Robert
47bb8b669e move string split down to where it matters 2021-10-28 20:36:29 -07:00
Robert
c9659b5158 persist server supported encoding header across compression filter instances 2021-10-28 20:29:47 -07:00
Robert
53a2347e69 only attempt to use custom compression filter when option value is provided 2021-10-26 14:27:07 -07:00
Robert
6ba008110b only attempt to use custom compression filter when option value is provided 2021-10-26 14:25:21 -07:00
Robert M
d01ff794fc
Update error message for invalid default_compression_algorithm
Co-authored-by: Michael Lumish <mlumish@google.com>
2021-10-26 14:21:58 -07:00
Robert
25a1806e11 change year in new copyright heade 2021-10-26 14:09:09 -07:00
Robert
7a31b4a65a change test to use write instead of _write 2021-10-26 14:03:14 -07:00
Robert
e03c1159ea log a warning when invalid value for grpc.default_compression_algorithm option is provided 2021-10-26 14:01:37 -07:00
Robert
21b09e25ba separate compression algorithms to avoid circular dependency 2021-10-26 13:51:42 -07:00
Robert
6d75ea1ab6 change encoding type from MetadataValue to string 2021-10-26 13:44:03 -07:00
Michael Lumish
91ae2b44b1 grpc-js: Handle undefined socket.localAddress 2021-10-26 13:19:18 -07:00
Michael Lumish
c61b9696a1
Merge pull request #1944 from murgatroid99/grpc-js_disable_channelz
grpc-js: Allow users to disable channelz
2021-10-26 13:16:51 -07:00
Michael Lumish
5a49a93065
Merge pull request #1951 from howyi/master
feat(client): export `ServiceClientConstructor` type
2021-10-26 12:56:41 -07:00
Robert
d68d94a5f4 re-enable NoCompress flag behavior and check Compressed Flag byte on server 2021-10-25 20:21:48 -07:00
Robert
af010071fe have client restore default sendCompression if server doesnt support compression, and fix test file generation 2021-10-25 19:43:40 -07:00
Robert
959503ec94 rewrite CompressionAlgorithms to use numeric keys and export it 2021-10-25 19:14:01 -07:00