Commit Graph

4870 Commits

Author SHA1 Message Date
Michael Lumish b292946de7 proto-loader: Avoid generating duplicate method declarations in some cases 2024-04-09 14:45:35 -07:00
Michael Lumish 567449875d
Merge pull request #2711 from n0v1/feat/method-options
grpc-loader: Expose method options
2024-04-09 14:36:19 -07:00
n0v1 6c7225f3ba make method options required 2024-04-09 18:21:33 +00:00
Sergii Tkachenko db1c05eb09
Merge pull request #2713 from sergiitk/backport-1.10-psm-interop-pkg-dev
PSM Interop: Migrate to Artifact Registry (@grpc/grpc-js@1.10.x backport)
2024-04-08 18:07:32 -07:00
Michael Lumish 2af21a55f3 Merge pull request #2712 from sergiitk/psm-interop-pkg-dev
PSM Interop: Migrate to Artifact Registry
2024-04-08 18:04:43 -07:00
Michael Lumish b2e9d04cec
Merge pull request #2712 from sergiitk/psm-interop-pkg-dev
PSM Interop: Migrate to Artifact Registry
2024-04-08 17:47:26 -07:00
Sergii Tkachenko ade39e8baa PSM Interop: Migrate to Artifact Registry
Migrate PSM Interop images from Container Registry (gcr.io) to
Artifact Registry (pkg.dev).
2024-04-08 16:13:44 -07:00
Christopher Fenn e6ac1a49ed return uninterpreted options as an array 2024-04-05 17:12:04 +02:00
Christopher Fenn 6e441a8d03 use single quotes consistently 2024-04-05 16:38:04 +02:00
Christopher Fenn 1e37caadfc add test case for partially set options 2024-04-05 16:37:03 +02:00
Christopher Fenn 27d608763b adjust implementation to always return default options 2024-04-05 16:23:29 +02:00
Christopher Fenn 99e8a060f6 make uninterpreted_option an array 2024-04-05 16:19:04 +02:00
Christopher Fenn 5bd37a9de1 narrow down type of idempotency_level 2024-04-05 16:00:28 +02:00
Christopher Fenn 260966c070 predefined options should always be returned with their default value 2024-04-05 16:00:04 +02:00
hiepthai 4c185fa2e6 grpc-loader: update interfaces & add new test 2024-04-05 15:32:26 +02:00
hiepthai d335428458 grpc-loader: cleanup MethodOptions interfaces 2024-04-05 15:32:26 +02:00
hiepthai 68ea1f43e2 grpc-loader: update & correct interface types 2024-04-05 15:32:26 +02:00
Hiep Thai ae33e8797a grpc-loader: export interfaces and fix minor issue 2024-04-05 15:32:26 +02:00
Hiep Thai dfb10f9ac4 grpc-loader: add method options test 2024-04-05 15:32:26 +02:00
Hiep Thai fc9db761a9 grpc-loader: map method options and add MethodOptions interface 2024-04-05 15:32:26 +02:00
Hiep Thai c8b5e05366 grpc-loader: update MethodDefinition interface 2024-04-05 15:32:26 +02:00
hiepthai c7d4566353 grpc-loader: add method options in MethodDefinition 2024-04-05 15:32:26 +02:00
Michael Lumish dac9321e97
Merge pull request #2708 from murgatroid99/grpc-js_trailers_only_fix2
grpc-js: Fix check for whether to send a trailers-only response
2024-04-03 10:11:45 -07:00
Michael Lumish 0d9a8c1dcf grpc-js: Fix check for whether to send a trailers-only response 2024-04-03 09:40:22 -07:00
Michael Lumish be40682090
Merge pull request #2706 from murgatroid99/build_order_fix
Fix build order in root gulpfile to handle cross dependency
2024-04-01 15:40:07 -07:00
Michael Lumish c3c7cc4d75
Merge pull request #2704 from murgatroid99/grpc-js_check_server_identity
grpc-js: Call custom `checkServerIdentity` when target name override is set
2024-04-01 15:26:15 -07:00
Michael Lumish cc44d785c9
Merge pull request #2692 from murgatroid99/grpc-js_deadline_info
grpc-js: Add more info to deadline exceeded errors
2024-04-01 15:25:48 -07:00
Michael Lumish 06ff52596d
Merge pull request #2705 from murgatroid99/grpc-js_stacktrace_fix_backport
Backport #2701: Resolve exception when Error.stackTraceLimit is undefined
2024-04-01 15:24:33 -07:00
Michael Lumish f7c3b3a3d8 Fix build order in root gulpfile to handle cross dependency 2024-04-01 15:22:23 -07:00
David Fiala 213230c73b Resolve exception when Error.stackTraceLimit is undefined
Some applications may explicitly set Error.stackTraceLimit = undefined. In this case it is not safe to assume new Error().stack is available.
2024-04-01 15:05:25 -07:00
Michael Lumish 74e4da5cc6
Merge pull request #2701 from davidfiala/patch-1
Resolve exception when Error.stackTraceLimit is undefined
2024-04-01 15:04:09 -07:00
Michael Lumish e1f831a57b grpc-js: Call custom checkServerIdentity when target name override is set 2024-04-01 10:03:51 -07:00
Michael Lumish 77dca7a2a9
Merge pull request #2702 from murgatroid99/grpc-js-xds_legacy_proto-loader_fix
grpc-js-xds: Make legacy interop script use proto-loader correctly
2024-03-29 13:31:13 -07:00
Michael Lumish 8e0f0abdb0 grpc-js-xds: Make legacy interop script use proto-loader correctly 2024-03-29 10:50:10 -07:00
Michael Lumish 9f83845adc
Merge pull request #2700 from murgatroid99/grpc-js-xds_typescript_5
grpc-js-xds: Use TypeScript 5
2024-03-28 12:43:01 -07:00
Michael Lumish e6f13e015c Copy proto-loader from build image to final image 2024-03-28 10:35:57 -07:00
Michael Lumish 5d8d5b513e Fix proto-loader declaration in grpc-js devDependencies 2024-03-28 09:29:30 -07:00
Michael Lumish dfd8f0f7ea
Merge pull request #2699 from murgatroid99/proto-loader_revert_extension
proto-loader: Revert 'Import internal files with extension'
2024-03-28 09:28:34 -07:00
David Fiala 2099f540d2
Resolve exception when Error.stackTraceLimit is undefined
Some applications may explicitly set Error.stackTraceLimit = undefined. In this case it is not safe to assume new Error().stack is available.
2024-03-27 16:39:45 -07:00
Michael Lumish 7b74d51a6f grpc-js-xds: use local proto-loader, build proto-loader in interop Dockerfile 2024-03-27 11:10:14 -07:00
Michael Lumish 7b4509ec47 grpc-js-xds: Use TypeScript 5 2024-03-27 10:37:19 -07:00
Michael Lumish 3b0e4ac8ff grpc-js: Use local proto-loader, and regenerate protobuf types 2024-03-27 10:36:54 -07:00
Michael Lumish d3e16a43ea proto-loader: Revert 'Import internal files with extension' 2024-03-27 10:09:27 -07:00
Michael Lumish 6f5a955d8c
Merge pull request #2697 from murgatroid99/example_interceptors
Add interceptors example
2024-03-26 11:05:24 -07:00
Michael Lumish 729a3f52cf
Merge pull request #2695 from murgatroid99/grpc-js_avoid_extra_rst_stream
grpc-js: Avoid sending redundant RST_STREAMs from the client
2024-03-26 11:01:00 -07:00
Michael Lumish c1df94edb2
Merge pull request #2696 from murgatroid99/grpc-js_server_interceptors_fix
grpc-js: Ensure server interceptors work with builder utility classes
2024-03-26 10:58:59 -07:00
Michael Lumish f2c5facba6
Merge pull request #2698 from murgatroid99/proto-loader_0.7.11
proto-loader: Bump version to 0.7.11
2024-03-26 10:04:21 -07:00
Michael Lumish eccccd9e8c proto-loader: Bump version to 0.7.11 2024-03-25 10:45:11 -07:00
Michael Lumish d9c26724a5
Merge pull request #2693 from atjn/import-extension
`proto-loader-gen-types`: Import internal files with extension
2024-03-25 10:43:44 -07:00
Anton 055282a140 Update docs with recommended import method 2024-03-25 09:03:50 +01:00