Commit Graph

545 Commits

Author SHA1 Message Date
murgatroid99 5b85f4f2b7 Native: add Server#bindAsync 2018-10-19 11:21:45 -07:00
Weiran Fang a8eaafe373 Retrieve callInvocationTransformer from constructor options. 2018-10-19 10:38:42 -07:00
Weiran Fang 21d9ea086c Add checker for call invocation transformer. 2018-10-19 10:38:33 -07:00
Michael Lumish 8df65a91a2
Merge pull request #557 from WeiranFang/call-invocation-transformer
Call invocation transformer
2018-10-19 10:35:34 -07:00
murgatroid99 6e7035925d Bump submodule and version to 1.16.0-pre1 2018-10-17 13:35:39 -07:00
murgatroid99 81a413cd84 Native: Use non-deprecated function to call checkServerIdentity cb 2018-10-16 15:43:18 -07:00
Nicolas Noble a1a74ca19a
Add a jsdoc @deprecated for grpc.load. 2018-09-26 09:55:09 -07:00
Weiran Fang 8320743f6d Retrieve callInvocationTransformer from constructor options. 2018-09-21 09:48:51 -07:00
Weiran Fang cd6e2062c8 Add checker for call invocation transformer. 2018-09-19 17:50:43 -07:00
Michael Lumish d6b068753d
Merge pull request #451 from nicolasnoble/electron3
Adding electron 3 support.
2018-09-19 09:31:09 -07:00
murgatroid99 c855a47164 Native: bump to 1.15.1 2018-09-14 09:46:40 -07:00
Michael Lumish ea6d903479 Fix indentation style 2018-09-13 17:54:34 -07:00
Alexander Fenster 9eda26c0d7 supporting both old and new versions of google-auth-library 2018-09-13 17:54:27 -07:00
Alexander Fenster 45185080f2 revert package.json change 2018-09-13 17:54:18 -07:00
Alexander Fenster d78c49a648 fix: use getRequestHeaders instead of getRequestMetadata 2018-09-13 17:54:12 -07:00
Michael Lumish a4ed8a38a7
Merge pull request #547 from alexander-fenster/get-request-headers
grpc-native-core: do not use deprecated getRequestMetadata
2018-09-13 17:39:29 -07:00
Michael Lumish 10c94a9e1e
Fix indentation style 2018-09-13 16:31:57 -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
murgatroid99 8436abf2ea Native: bump to 1.15.0 2018-09-12 10:37:36 -07:00
murgatroid99 2b28598312 Native server: don't pass non-integer status codes to core 2018-08-31 14:25:19 -07:00
Nicolas "Pixel" Noble dda0d05642 Updating submodule to the upstream 1.15 branch. 2018-08-29 01:45:51 +02: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
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
murgatroid99 128610da3d Update submodule to 1.15.0-dev 2018-08-17 12:40:33 -07:00
murgatroid99 a703493efe Fix some file includes in package.json 2018-08-16 15:41:06 -07:00
murgatroid99 29a24e0899 Bump to version 1.14.1 2018-08-15 11:11:14 -07:00
Michael Lumish 803e854a4d
Merge pull request #445 from servel333/patch-1
properly pass `options` to `getDefaultValues`
2018-08-15 09:01:10 -07:00
Kelvin Jin 7720d068ca Add return type definition to watchConnectivityState 2018-08-14 10:29:53 -07:00
Michael Lumish 92f4367d62
Merge pull request #492 from nicolasnoble/channel-unwrap-check
Fix potential segmentation fault.
2018-08-13 13:07:01 -07:00
Michael Lumish 6d520c522c
Propagate channel closed errors up through waitForReady
The errors thrown by `Channel#getConnectivityState` and `Channel#watchConnectivityState` need to be passed to the callback for `Client#waitForReady`.
2018-08-13 11:41:36 -07:00
Michael Lumish 17e6c5d1c9
Merge pull request #442 from tomasAlabes/patch-1
Updated doc in readme.md
2018-08-13 11:33:10 -07:00
Nicolas "Pixel" Noble db291906fa Fix potential segmentation fault.
Described in #490.
2018-08-11 15:27:56 +02:00
Michael Lumish 7db315d094
Merge pull request #488 from murgatroid99/v1.14.0_update
Update to v1.14.0
2018-08-10 09:43:12 -07:00
murgatroid99 936c38d7e2 Update to v1.14.0 2018-08-09 15:47:37 -07:00
murgatroid99 40e5bb4a73 Fix typo in typescript definitions file 2018-08-09 11:42:43 -07:00
murgatroid99 94d1b1264c Bump to v1.14.0-pre4 2018-08-08 11:39:51 -07:00
murgatroid99 e24ea39cf3 Update to v1.14.0-pre3 2018-08-07 11:02:35 -07:00
Michael Lumish 5b57e43de5 Update package.json template to match package.json 2018-08-06 15:40:22 -07:00
Ian Haken 5f77bcda1f Add some missing descriptions to typescript. 2018-08-06 15:40:22 -07:00
Ian Haken 51c97b559d Update typescript to properly reflect the format of the certificate received by the checkServerIdentity callback. 2018-08-06 15:40:22 -07:00
Ian Haken 0201c218a6 Refactor checkServerIdentity callback to pass in cert as an object with raw DER buffer. 2018-08-06 15:40:22 -07:00
Ian Haken 1fd96966d7 Correct checkServerIdentity behavior to return a verification failure if an error is returned. Clean up documentation and add a test assertion on returned Error. 2018-08-06 15:40:22 -07:00
Ian Haken a48629fa83 Update credentials.js documentation for verify options and add verify options to typescript definition. 2018-08-06 15:40:22 -07:00
Ian Haken 03c5d98b1e Simplify getting checkServerIdentity out of the fourth createSsl argument. Add some tests asserting type-checking behavior. 2018-08-06 15:40:22 -07:00
Ian Haken c70df88fc0 Simplify userdata being passed to checkServerIdentity callback. 2018-08-06 15:40:22 -07:00
Ian Haken b6ad568c09 Add type assertion on createSsl's fourth argument. 2018-08-06 15:40:22 -07:00
Ian Haken f368e50102 Regenerate project files and add test covering checkServerIdentity callback. 2018-08-06 15:40:22 -07:00
Ian Haken ac7c1bc2e5 Add checkServerIdentity callback. 2018-08-06 15:40:22 -07:00
Michael Lumish 58ca800014
Merge pull request #403 from JackOfMostTrades/verify-callback
Add checkServerIdentity callback
2018-08-06 15:37:40 -07:00
Michael Lumish 264d8043fe
Update package.json template to match package.json 2018-08-06 14:29:43 -07:00
murgatroid99 3d3b381637 Bump grpc to 1.14.0-pre2 2018-07-31 14:48:28 -07:00
murgatroid99 3680966be5 Don't refer to node-pre-gyp with a relative path 2018-07-27 15:03:49 -07:00
Nicolas Noble f9c9edc4ec
Merge pull request #460 from nicolasnoble/submodule
Updating submodule to 1.14.x
2018-07-25 18:58:34 -07:00
Nicolas "Pixel" Noble d71dd337ef Updating submodule to 1.14.x 2018-07-26 01:33:16 +02:00
Nicolas "Pixel" Noble f0e9dfd85f Merge branch 'grpc@1.13.x' of https://github.com/grpc/grpc-node into upmerge 2018-07-25 23:56:06 +02:00
Nicolas "Pixel" Noble cc01eed631 Changing hosting path. 2018-07-25 21:54:24 +02:00
Michael Lumish e66462933a
Merge pull request #446 from murgatroid99/native_channel_API
Add Channel class and Client channel override options to public API
2018-07-25 10:36:16 -07:00
Nicolas "Pixel" Noble 88adf94cb6 Bumping to 1.13.1. 2018-07-24 22:41:41 +02:00
Nicolas "Pixel" Noble 25f49bee8b Stop using lodash's template generator. 2018-07-24 20:02:23 +02:00
murgatroid99 36f326281b Fix a function call 2018-07-23 13:49:58 -07:00
Nicolas "Pixel" Noble cc9427dede Stop using lodash's template generator. 2018-07-23 19:24:48 +02:00
Nicolas "Pixel" Noble 811f7835b2 Proactively adding electron 3 support. 2018-07-20 15:59:51 +02:00
Martín Valdés de León 671b5837e0
Replaces `string` type with actual possible values
Enhances documentation of the `type` argument for `grpc.Server.register`, leveraging on JSDoc's support for literal enumerations.

This keeps developers from having to dig through the source code to find the valid values.
2018-07-20 11:55:48 +02:00
murgatroid99 c4e3f1b7a0 Add Channel class and Client channel override options to public API 2018-07-19 15:57:33 -07:00
Ian Haken c04d71521f Add some missing descriptions to typescript. 2018-07-19 14:06:51 -07:00
Ian Haken 045d938bc8 Update typescript to properly reflect the format of the certificate received by the checkServerIdentity callback. 2018-07-19 14:05:10 -07:00
Ian Haken 34930310d2 Refactor checkServerIdentity callback to pass in cert as an object with raw DER buffer. 2018-07-19 14:00:44 -07:00
Nathan Perry 44cb04b948
properly pass `options` to `getDefaultValues`
Fixed call in `deprecated_request_wrap` to properly pass `options` to `getDefaultValues`
2018-07-19 16:10:21 -04:00
Ian Haken ac0718883a Correct checkServerIdentity behavior to return a verification failure if an error is returned. Clean up documentation and add a test assertion on returned Error. 2018-07-19 11:32:00 -07:00
Ian Haken e54b50c77b Update credentials.js documentation for verify options and add verify options to typescript definition. 2018-07-19 11:31:59 -07:00
Ian Haken 0c49a57ff7 Simplify getting checkServerIdentity out of the fourth createSsl argument. Add some tests asserting type-checking behavior. 2018-07-19 11:31:59 -07:00
Ian Haken e0df402151 Simplify userdata being passed to checkServerIdentity callback. 2018-07-19 11:31:59 -07:00
Ian Haken 15c82e08c8 Add type assertion on createSsl's fourth argument. 2018-07-19 11:31:59 -07:00
Ian Haken 637f961706 Regenerate project files and add test covering checkServerIdentity callback. 2018-07-19 11:31:59 -07:00
Ian Haken 4e551aea7b Add checkServerIdentity callback. 2018-07-19 11:31:59 -07:00
Tomas Alabes 2015e3d32c
Updated doc in readme.md
Explaining the option to change the location of the precompiled-binaries. Related to #441 and #117.
2018-07-18 15:49:06 -07:00
Thomas Ladd d7da553a03 grpc-native-core: Update CallOptions type to allow custom options (#433)
Allow custom options as a means of passing data per call to client interceptors
2018-07-13 10:14:17 -05:00
Nicolas "Pixel" Noble 339f4c0433 Properly create slices from utf8 strings.
Fixes #426.
2018-07-10 20:03:55 +02:00
Nicolas "Pixel" Noble 9a5da08497 Properly create slices from utf8 strings.
Fixes #426.
2018-07-09 22:32:14 +02:00
murgatroid99 7d8865003c Update to v1.13.0 2018-07-02 11:21:33 -07:00
Nicolas "Pixel" Noble b6be0d955f Actually publish for arm32... 2018-06-26 01:21:35 +02:00
Nicolas Noble 98c4710f11
Adding a line about silver bullets. 2018-06-22 13:29:40 -07:00
Nicolas Noble 50d4a9f298
Typos. 2018-06-22 13:00:58 -07:00
Nicolas Noble 6e74e6fb0c
Adding Electron instructions. 2018-06-22 12:59:10 -07:00
murgatroid99 9fed412727 Update usage of modifed core credentials API 2018-06-20 12:43:09 -07:00
David Garcia Quintas 6abb43aa44 Changes needed for the nanopb dep refactoring work 2018-06-13 17:18:03 -07:00
murgatroid99 7e11518ee6 Update to v1.13.0-pre1 2018-06-13 16:59:00 -07:00
murgatroid99 233d04e7af Merge remote-tracking branch 'upstream/v1.12.x' into v1.12.x_upmerge 2018-06-13 15:18:01 -07:00
Michael Lumish 58a43a542e
Merge pull request #393 from kjin/grpc-message
Make Protobuf.js Message type non-generic
2018-06-12 12:08:24 -07:00
Kelvin Jin abb05f0c12 Make Protobuf.js Message type non-generic 2018-06-12 11:03:23 -07:00
murgatroid99 efa3d430dd Add deprecation notice to grpc.load 2018-06-11 15:05:47 -07:00
murgatroid99 2ac31223f7 Update version to 1.12.3 2018-06-08 13:51:58 -07:00
murgatroid99 c4af9cd433 Update grpc submodule on master 2018-06-05 17:08:21 -07:00
murgatroid99 01e0d32722 Fix generic client interceptor resolution 2018-06-05 11:14:58 -07:00
Nicolas Noble 3fa4898e77
Merge pull request #370 from nicolasnoble/1.12.2-upmerge
1.12.2 upmerge
2018-05-25 13:55:48 -07:00
Nicolas "Pixel" Noble eff1f8d826 Increasing mocha timeout to 5s up from 2s.
Our fleet of macos is a bit less powerful than the rest, so we
regularly flake tests there due to this timeout.
2018-05-25 19:16:04 +02:00
Nicolas "Pixel" Noble 7096a0a988 Merge branch 'v1.12.x' of https://github.com/grpc/grpc-node into 1.12.2-upmerge 2018-05-25 01:26:52 +02:00
Nicolas Noble 8d9ee1b623
Merge pull request #367 from nicolasnoble/better-prepublish
Ensuring the presence of node-pre-gyp before publishing.
2018-05-24 16:00:38 -07:00
Nicolas "Pixel" Noble 087a83294d Ensuring the presence of node-pre-gyp before publishing. 2018-05-24 23:57:17 +02:00
Nicolas "Pixel" Noble fb1dfb87ba Bumping to 1.12.2. 2018-05-24 05:34:25 +02:00
Nicolas "Pixel" Noble b9b7d333d4 Bumping to 1.12.1. 2018-05-23 01:58:38 +02:00
Nicolas Noble f85387687e
Merge pull request #353 from nicolasnoble/downgrade-even-more
Split native and cross compilers into two docker images.
2018-05-18 01:20:45 -07:00
Nicolas "Pixel" Noble 1a681addfe Bumping to 1.12.1-pre3. Yes, I did a lot of testing. 2018-05-18 09:47:13 +02:00
Nicolas "Pixel" Noble 968a706a89 Split native and cross compilers into two docker images. 2018-05-18 09:44:53 +02:00
Nicolas "Pixel" Noble 2321c1a8fe Bumping to 1.12.1-pre1. 2018-05-18 02:58:16 +02:00
Nicolas "Pixel" Noble 29346dc376 Upgrading to protobufjs 5.0.3. 2018-05-16 17:14:31 +02:00
Michael Lumish 52f744fb45
Merge pull request #339 from murgatroid99/v1.12.0_update
V1.12.0 update
2018-05-15 17:48:43 -07:00
Michael Lumish 4ec3a2e877
Merge pull request #328 from murgatroid99/prepublish_submodule_guard
Stop myself from publishing packages with a mismatched submodule
2018-05-15 12:02:25 -07:00
murgatroid99 81d1e83c4f Update version to v1.12.0 2018-05-15 11:21:13 -07:00
murgatroid99 967da8717c Update lodash in package.json template 2018-05-15 11:18:53 -07:00
William Yardley 7093bfc2f3 Update lodash version to ^4.17.5 (#330)
This should resolve warnings related to
https://nodesecurity.io/advisories/577
2018-05-11 17:07:21 +02:00
Nicolas Noble e97264c2d0
Merge pull request #331 from wyardley/wyardley-update-lodash
Update lodash version to ^4.17.5 (#330)
2018-05-10 20:30:02 -07:00
Nicolas "Pixel" Noble 53bc63228b Using docker... 2018-05-11 04:28:30 +02:00
Nicolas "Pixel" Noble 9345d4d0b5 Using docker... 2018-05-11 02:23:21 +02:00
William Yardley afbb9f4a7f Update lodash version to ^4.17.5 (#330)
This should resolve warnings related to
https://nodesecurity.io/advisories/577
2018-05-10 11:03:36 -07:00
murgatroid99 cb51e1f84f Stop myself from publishing packages with a mismatched submodule 2018-05-09 10:29:02 -07:00
Nicolas Noble f4b03ba493
Merge pull request #315 from zixia/patch-1
requestCallback: optional value for covenience
2018-05-09 09:42:43 -07:00
murgatroid99 13746e23c2 Update master submodule 2018-05-07 14:40:32 -07:00
Huan LI 6ef1e92874
optional value for covenience 2018-05-06 14:57:12 +08:00
murgatroid99 2f76ed5e48 Bump to v1.12.0-pre1 2018-05-04 10:45:01 -07:00
murgatroid99 7648d60077 Remove version change in build.yaml 2018-05-03 15:23:58 -07:00
murgatroid99 3187dfe4ab Merge remote-tracking branch 'upstream/v1.11.x' into v1.11.x_merge 2018-05-03 15:22:22 -07:00
murgatroid99 a6747e910b Merge remote-tracking branch 'upstream/v1.11.x' into v1.11.x_merge 2018-05-03 14:30:11 -07:00
Nicolas "Pixel" Noble ff9ec4bcfd Version bump to 1.11.2 2018-05-03 23:01:25 +02:00
Justin Beckwith 5233c2d8eb fix: use capital `F` for `Function` when used as a type 2018-05-02 15:24:34 -07:00
murgatroid99 85c154c507 Add loadPackageDefinition and interceptor APIs to .d.ts file 2018-05-02 11:55:41 -07:00
Nicolas "Pixel" Noble 30310d79b1 Better this way... 2018-05-02 05:36:19 +02:00
Nicolas "Pixel" Noble c5fbaf1b5b Reverting these... 2018-05-02 05:34:18 +02:00
Nicolas "Pixel" Noble c794c05783 Merge branch 'v1.11.x' of https://github.com/grpc/grpc-node into node-10 2018-05-02 04:31:39 +02:00
Nicolas Noble 13afb85154
Merge pull request #304 from murgatroid99/package_missing_files
Add a missing directory to grpc package.json
2018-05-01 19:29:07 -07:00
Nicolas "Pixel" Noble d46556622d More nvm love. 2018-05-02 04:11:35 +02:00
Nicolas "Pixel" Noble 727e54ef1b Right. We need to install nvm into the docker image. 2018-05-02 04:07:41 +02:00
Nicolas "Pixel" Noble c94718c007 Let's double down on installing node 10... 2018-05-02 03:41:42 +02:00
Nicolas "Pixel" Noble 1ef4c90270 Let's start building electron 2 binaries. 2018-05-02 03:36:33 +02:00
Nicolas "Pixel" Noble 582c171da4 Shuffling things around a bit better... 2018-05-02 01:43:31 +02:00
Nicolas "Pixel" Noble 5f47953c88 Installing nvm from kokoro scripts. 2018-05-02 01:20:08 +02:00
Nicolas "Pixel" Noble e35856061e Building with node 10, because otherwise there's a weird issue, and I can't be bothered to understand it. 2018-05-02 00:45:04 +02:00
murgatroid99 05221bad26 Add a missing directory to grpc package.json 2018-05-01 15:21:58 -07:00
Nicolas "Pixel" Noble 9d1904fb9a Adding initial node 10 support. 2018-05-01 23:32:30 +02:00
murgatroid99 d1c973890e Bump version to v1.11.0 2018-04-30 14:00:42 -07:00
tassadarliu 4694b7371c
typo 2018-04-23 17:28:47 +08:00
murgatroid99 eabda8118a Switch grpc submodule to v1.10.x 2018-04-13 10:29:11 -07:00
Nicolas "Pixel" Noble 37a811b630 Removing zdefs. 2018-04-10 10:18:03 -07:00
murgatroid99 f05768f48f Point master back at submodule master branch 2018-04-06 11:58:59 -07:00
murgatroid99 55106fa154 Update v1.11.x to v1.11.0-pre1 for real this time with bugfixes 2018-04-06 11:57:44 -07:00
Michael Lumish f35481b8da
Merge pull request #257 from murgatroid99/v1.11.0-pre1_update
Update v1.11.x branch to v1.11.0-pre1
2018-04-05 15:08:43 -07:00
murgatroid99 d73cd4a335 Update v1.11.x branch to v1.11.0-pre1 2018-04-05 14:26:21 -07:00
Michael Lumish 0290422356
Merge pull request #255 from nicolasnoble/zdefs
Removing zdefs.
2018-04-05 12:23:46 -07:00
murgatroid99 763a48f6fb Merge remote-tracking branch 'upstream/v1.10.x' into v1.10.x_upmerge 2018-04-04 15:56:02 -07:00
Nicolas "Pixel" Noble f453180d3e Removing zdefs. 2018-04-05 00:53:40 +02:00
Michael Lumish 799aee603d
Merge pull request #252 from murgatroid99/v1.11.x_submodule_update
Update master to v1.11.0-dev
2018-04-04 15:48:13 -07:00
murgatroid99 4f9ce64f8b Update master to v1.11.0-dev 2018-04-04 15:08:26 -07:00
Kelly Campbell 434e6c45c1 Update error msg for Protobuf.js detection from 'protobufjs_version' to 'protobufjsVersion' 2018-04-03 19:58:42 -04:00
Ali Ijaz Sheikh 4bfa1430ef fix: avoid using deprecated Nan APIs
Starting with Nan 2.9.x certain Nan::Callback::Call APIs are
deprecated. Instead there are mechanisms in place that allow native
modules to preserve async context across async calls.
2018-04-03 16:02:46 -07:00
murgatroid99 c41a6813ae Start server after adding server ports 2018-04-03 10:57:04 -07:00
murgatroid99 05007312a7 Replace another variable length stack array with a vector 2018-04-03 09:50:36 -07:00
murgatroid99 265c8fcfc8 Fix incorrect C++ usage 2018-04-02 18:27:29 -07:00
murgatroid99 0210f160ed Fix object lifetime and memory management problems in server code 2018-04-02 14:37:35 -07:00
Nicolas "Pixel" Noble 67dfef8ef3 Downgrading node-pre-gyp.
Starting probably with https://github.com/mapbox/node-pre-gyp/pull/299, the contents of the tarballs are bloated. Rolling back to 0.7.0.
2018-03-29 00:30:59 +02:00
murgatroid99 704cd15085 Upgrade to v1.10.1 2018-03-28 13:15:06 -07:00
Nicolas "Pixel" Noble a5fb87af87 Hide symbols.
Fixes #240.
2018-03-28 19:34:35 +02:00
Nicolas "Pixel" Noble 4e0becaf12 Downgrading node-pre-gyp.
Starting probably with https://github.com/mapbox/node-pre-gyp/pull/299, the contents of the tarballs are bloated. Rolling back to 0.7.0.
2018-03-20 19:28:44 +01:00
Colby Blair cc02d6550a FIX-MISSING-FILE revert package versions bumps 2018-03-16 10:38:18 -06:00
Colby Blair 08b39b5991 FIX-MISSING-FILE adding error handling for missing files on load 2018-03-16 09:58:53 -06:00
Nicolas "Pixel" Noble 00933b29d0 Merge branch 'v1.10.x' of https://github.com/grpc/grpc-node into upmerge 2018-03-15 01:42:49 +01:00
Nicolas Noble cb6fe2e153
Merge pull request #222 from nicolasnoble/pre1
Creating a 1.10.1-pre1 release flag, and enabling us to generate out of band releases.
2018-03-14 15:39:57 -07:00
Nicolas "Pixel" Noble adf8bf5cf4 Creating a 1.10.1-pre1 release flag, and enabling us to generate out of band releases. 2018-03-14 22:59:33 +01:00
Michael Lumish dccc8b6563
Merge pull request #217 from murgatroid99/node-pre-gyp_update
Update to newest version of node-pre-gyp
2018-03-13 18:18:36 -07:00
Nicolas Noble 0490feb112
Merge pull request #216 from nicolasnoble/upmerge
Upmerge from 1.10
2018-03-13 17:54:37 -07:00
Nicolas "Pixel" Noble 5fe868208c Adding electron 1.8 support. 2018-03-13 17:25:32 -07:00
murgatroid99 2d0540f9df Update to newest version of node-pre-gyp 2018-03-13 17:20:11 -07:00
Michael Lumish 896f07cc08
Merge pull request #207 from theogravity/master
Add UNIMPLEMENTED details when an RPC method is not impl.
2018-03-13 17:13:52 -07:00
Nicolas "Pixel" Noble 366cd40abd Merge branch 'v1.10.x' of https://github.com/grpc/grpc-node into upmerge 2018-03-14 00:09:49 +01:00
Nicolas "Pixel" Noble fcf472e7cb Adding JOBS environment variable to speed builds up, and reducing scope of Alpine Linux builds. 2018-03-13 23:26:51 +01:00
David Vroom Duke 8b8a4437e2 Improve performance of batch operation serializer 2018-03-13 14:40:17 -07:00
Nicolas "Pixel" Noble 8857ccae34 Enabling debug mode, removing nvm references, installing deps, and increasing timeouts. 2018-03-13 20:52:59 +01:00
murgatroid99 2573548de8 Update to v1.10.0 2018-03-09 10:44:52 -08:00
murgatroid99 3b61fb6d99 Remove now-duplicate interop sanity test file 2018-03-08 18:15:31 -08:00
murgatroid99 5e0d34a7b7 Make interop tests use new proto loader, run them with pure js client 2018-03-08 16:42:01 -08:00
theogravity a017386022 Add UNIMPLEMENTED details when an RPC method is not impl. 2018-03-06 15:01:03 -08:00
Mohamad mehdi Kharatizadeh 232ff022ab stronger checking for functions in client.js
checking for functions simply by instanceof would render library usesless in vm or REPL contexts. because if client is created in another V8 context, typeof would still return "function" but instanceof Function would fail and return false for functions and arrow functions. thus it would be impossible to create client before starting a REPL context.
2018-03-07 01:04:01 +03:30
Nicolas "Pixel" Noble b12efa8013 Updating template to match new testing package structure. 2018-03-05 20:27:33 +01:00
Nicolas "Pixel" Noble 1c50149dea Adding electron 1.8 support. 2018-03-05 04:06:06 +01:00
Nicolas Noble a867c90123
Merge pull request #200 from nicolasnoble/arm64
Building arm64 binaries.
2018-03-02 16:15:42 -08:00
Nicolas "Pixel" Noble aa50d30d1d Building arm64 binaries. 2018-03-03 00:38:36 +01:00
Kelvin Jin d3d91e1c36 recover fixtures
Revert "build: update build files"

This reverts commit a35fad015d.
2018-03-01 11:54:48 -08:00
Kelvin Jin b88260045a move interop tests back 2018-03-01 09:56:05 -08:00
Kelvin Jin a35fad015d build: update build files 2018-02-28 15:06:19 -08:00
Kelvin Jin 41305f595c grpc-native: fix test paths 2018-02-28 14:55:02 -08:00
Kelvin Jin 98341acc7e grpc-native: move api tests verbatim to grpc-native-core 2018-02-28 14:48:36 -08:00
Michael Lumish c3eb6002be
Merge pull request #195 from murgatroid99/alts_nanopb_macro_update
Add macro definition to gyp file
2018-02-28 11:58:26 -08:00
David Vroom Duke 40c445d03a Move getCall definition 2018-02-28 09:44:48 -08:00
David Vroom Duke 4c502ed6ae Enforce order of operations for synchronous requests 2018-02-27 20:08:16 -08:00
David Vroom Duke 6bfb5de337 Pass cancel and getPeer to underlying call 2018-02-27 20:08:16 -08:00
David Vroom Duke 5bae250077 Implement client interceptors for grpc-native-core
A NodeJS implementation of client-side interceptors, as described in
the proposal: https://github.com/grpc/proposal/pull/14
2018-02-27 20:08:16 -08:00
Michael Lumish 01ce272dc9
Merge pull request #196 from murgatroid99/package_definition_loader
Add package definition loader function to native package
2018-02-27 11:23:11 -08:00
murgatroid99 ea704f9439 Fix a couple of issues with the package loader function 2018-02-27 10:09:25 -08:00
murgatroid99 264d0aee56 Add macro definition to gyp file 2018-02-26 13:57:53 -08:00
murgatroid99 c740577963 Update version to v1.10.0-pre1 2018-02-22 11:39:14 -08:00
murgatroid99 eb1db934c0 Merge remote-tracking branch 'upstream/v1.9.x' into v1.9.x_upmerge 2018-02-21 16:59:14 -08:00
murgatroid99 bda109e655 Add package definition loader function to native package 2018-02-21 16:12:02 -08:00
murgatroid99 5124538466 Regenerate build file with updated BoringSSL submodule 2018-02-20 09:56:03 -08:00
murgatroid99 ba404dce91 Update core on master 2018-02-15 18:20:05 -08:00
murgatroid99 d6c5c4f9da Update version to 1.9.1 2018-02-13 17:50:16 -08:00
murgatroid99 ca2704912c Fix handling of undefined values for optional call arguments 2018-02-12 16:57:48 -08:00
murgatroid99 2f649e5d05 Fix usage of Protobuf.js Message type in TS file 2018-02-09 11:12:27 -08:00
Michael Lumish f4d3139242
Merge pull request #174 from murgatroid99/v1.9.0_update
Update version to 1.9.0
2018-02-08 14:14:10 -08:00
Michael Lumish 650b5d5781
Merge pull request #175 from murgatroid99/file_error_improvement
Improve module load error message when the directory does not exist
2018-02-08 13:50:23 -08:00
murgatroid99 b7f122bb6c Merge two lines of the error message 2018-02-08 11:35:20 -08:00
murgatroid99 51c8503c01 Improve module load error message when the directory does not exist 2018-02-08 10:23:54 -08:00
murgatroid99 2f77364fe5 Update version to 1.9.0 2018-02-08 09:48:24 -08:00
murgatroid99 e87552d918 Fix documentation of part of the type signature for server credentials 2018-02-05 14:35:20 -08:00
murgatroid99 a248009cb9 Merge remote-tracking branch 'upstream/v1.9.x' into v1.9.x_initial_version_bump 2018-02-01 10:47:36 -08:00
murgatroid99 56d5bbdf21 Bump version to 1.9.0-pre3 2018-01-31 15:02:10 -08:00
murgatroid99 081c157f78 Merge remote-tracking branch 'upstream/v1.8.x' into v1.8.4_upmerge 2018-01-31 14:11:43 -08:00
Michael Lumish 5e07d6096f
Merge pull request #159 from murgatroid99/v1.8.x_upmerge
V1.8.x upmerge
2018-01-26 09:37:01 -05:00
murgatroid99 a50ba76838 Replace Argue.js usage with inline argument checking 2018-01-23 15:55:36 -05:00
Michael Lumish fcba0c101c
Merge pull request #84 from andrew8er/feature/generic-ts-definitions
Generic Ts definitions
2018-01-22 13:05:40 -05:00
murgatroid99 cd4c45d712 Merge branch 'v1.8.x' into v1.8.x_upmerge 2018-01-22 13:00:51 -05:00
murgatroid99 a7aaf31ef6 Generate projects 2018-01-16 12:28:25 -05:00
murgatroid99 83da9b4b12 Merge branch 'master' into metadata_plugin_test_fix 2018-01-16 12:23:05 -05:00
murgatroid99 e0bd6b19cc Update submodule 2018-01-16 12:22:05 -05:00
Michael Lumish 57ae01ab4f
Merge pull request #150 from murgatroid99/v1.8.4_update
Update version and submodule to 1.8.4
2018-01-12 16:51:55 -05:00
Michael Lumish 28fcd46d0a
Merge pull request #126 from murgatroid99/status_error_output_improvement
Add error code name to status error messages
2018-01-12 16:09:16 -05:00
murgatroid99 01d66dd0b5 Add original details string to errors, update tests 2018-01-12 15:11:21 -05:00
murgatroid99 264cc4767a Update version and submodule to 1.8.4 2018-01-10 14:48:35 -05:00
André Wachter 0d19268ef9 Tighten the definition of ServiceDefinition 2018-01-10 11:08:34 +01:00
André Wachter a0abff8b8e Rename generic parameter to 'RequestType' in ServerReadableStream for consistency 2018-01-10 10:30:51 +01:00
murgatroid99 843d063037 Add JS error for missing callback to sever#tryShutdown 2018-01-05 13:09:15 -08:00
André Wachter 3692053a4e Add missing properties to ServerDuplexStream
- cancelled: boolean;
- metadata: Metadata;
2017-12-18 14:44:15 +01:00
André Wachter 6d21f12cfe Export UntypedServiceImplementation 2017-12-18 14:44:15 +01:00
André Wachter 4ab448e40f Fix typos and whitespace 2017-12-18 14:44:15 +01:00
André Wachter 9b6537545a Remove type parameter from ClientUnaryCall
The type parameter is currently not used and also matches the pure Js implementation this way.
2017-12-18 14:44:15 +01:00
André Wachter bf330585d0 Make values in callbacks nullable
Values are null in case of errors.
2017-12-18 14:44:15 +01:00
André Wachter 680d60584a Rename all type parameters related to requests/responses 'RequestType' and 'ResponseType'
This improves clarity and consistency with the pure Js implementation.
2017-12-18 14:44:15 +01:00
André Wachter d20bf6f49e Make type 'handleCall' and related types take a RequestType and ResponseType parameter 2017-12-18 14:44:15 +01:00
André Wachter 0cdc2855c2 Make types 'serialize' and 'deserialize' parametric with their serialization types 2017-12-18 14:44:15 +01:00
André Wachter 55eec06946 Make MethodDefinition parametric with request and response types 2017-12-18 14:44:15 +01:00
André Wachter 7d5547b2dd Drop Service<T> in favour of ServiceDefinition<ImplementationType> 2017-12-18 14:44:15 +01:00
André Wachter 71bee4ab41 Fix the definition of Service<T>
Type aliases will not give the correct inferred type in Server.addService() so use an interface here.
2017-12-18 14:44:15 +01:00
André Wachter b68e5dd73b Add generic parameters in index.d.ts to some functions and types 2017-12-18 14:44:15 +01:00
André Wachter 98864a343b Fix index.d.ts error: Type 'Message' is not generic. 2017-12-18 14:44:15 +01:00
murgatroid99 7edc14bb1a Attach the proper fields to the Error object 2017-12-15 11:35:47 -08:00
murgatroid99 c2164913e2 Add error code name to status error messages 2017-12-15 11:00:05 -08:00
Kelvin Jin ad8aa54fd6 simplify gulp commands in package directories 2017-12-14 16:41:24 -08:00
murgatroid99 d90a5d4e61 Update to v1.8.0 2017-12-13 13:58:34 -08:00