Commit Graph

604 Commits

Author SHA1 Message Date
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
Michael Lumish dd140c463f
Revert "Copy API tests back to grpc-native-core" 2017-12-07 10:40:08 -08:00
Kelvin Jin 11416e9d70 missed require change 2017-12-06 15:29:56 -08:00
Kelvin Jin ed78037353 Copy API tests back to grpc-native-core 2017-12-06 13:20:42 -08:00
murgatroid99 f900cfb3dd Update a core header inclusion to stop using extern C 2017-11-30 14:01:05 -08:00
murgatroid99 eba77f295e Update master to 1.9.0-dev 2017-11-30 12:57:20 -08:00
murgatroid99 74c6bd5106 Update v1.8.x branch to 1.8.0-pre2 2017-11-30 12:25:07 -08:00
Michael Lumish 36eb23e9e7
Merge pull request #105 from murgatroid99/alpine_build
Add Alpine build script and Dockerfile, improve existing build scripts
2017-11-30 09:30:37 -08:00
murgatroid99 02e70cba37 Improve message wording 2017-11-29 16:57:13 -08:00
murgatroid99 0ab70b9cb7 Resolve comments 2017-11-29 16:34:34 -08:00
murgatroid99 7652ef74ed Add more helpful error message for failure to load extension 2017-11-29 16:10:56 -08:00
murgatroid99 087d67441b Add alpine build script and Dockerfile, improve existing build scripts 2017-11-29 13:15:34 -08:00
Nicolas "Pixel" Noble d87f2652b3 Merge remote-tracking branch 'google/v1.7.x' into upmerge 2017-11-17 22:39:17 +01:00
murgatroid99 66aeac683d Update submodule to master 2017-11-17 12:36:41 -08:00
murgatroid99 2f7201a285 Update the submodule and unskip previously failing test 2017-11-17 10:35:29 -08:00
Michael Lumish 1ecab6755a
Merge pull request #92 from murgatroid99/completion_queue_assertion_fix
Remove now-incorrect assertion in completion queue wrapper
2017-11-17 10:19:34 -08:00
Bernhard K. Weisshuhn d4e12d1dbb Add libc variable to binary paths in package.json template 2017-11-16 10:08:08 -08:00
Bernhard K. Weisshuhn 452abe73b2 Build different binaries for different libc’s
Closes #81
2017-11-16 10:07:59 -08:00
murgatroid99 45a3ac256c Remove now-incorrect assertion in completion queue wrapper 2017-11-16 09:51:32 -08:00
murgatroid99 ca50f660b7 Fix a credentials plugin test to match changes in core 2017-11-14 15:56:12 -08:00
Michael Lumish 56ba5d2482
Merge pull request #82 from bkw/support-alpine-builds
Build different binaries for different libc’s (a.k.a. support alpine linux)
2017-11-14 09:53:00 -08:00
Michael Lumish 7161e68611
Merge pull request #86 from murgatroid99/submodule_update
Update submodule to head, and update templates to match
2017-11-10 10:11:01 -08:00
murgatroid99 1ceb259401 Skip a test suite that appears to be triggering a core assertion failure 2017-11-10 09:41:24 -08:00
murgatroid99 6be2268e35 Update submodule again to get a bugfix 2017-11-09 11:00:17 -08:00
murgatroid99 93cfa4b60b Update submodule to head, and update templates to match 2017-11-09 09:49:48 -08:00
James Sherwood-Jones d6711c4d24 Fixed name of ServerCredentials.createSsl in native docs & types. 2017-11-08 09:41:55 +00:00
Bernhard K. Weisshuhn 4479312171
Add libc variable to binary paths in package.json template 2017-11-07 08:31:19 +01:00
Bernhard K. Weisshuhn 03525b6a5e
Build different binaries for different libc’s
Closes #81
2017-11-06 15:44:52 +01:00
Nicolas "Pixel" Noble d91b739cb5 Adding support for abseil. 2017-11-02 23:15:25 +01:00
murgatroid99 6cb28887e6 Update to 1.7.1, add Node 9 support, fix generated file permissions 2017-11-02 10:13:22 -07:00
murgatroid99 28a7a725b4 Update submodule to v1.7.0 and regenerate packages 2017-11-01 09:55:23 -07:00
Thom Wright 38637405df Include index.d.ts in the published npm package
index.d.ts needs to be in the files list in order to be published.
Without it, client packages aren't able to use the Typescript types.
2017-10-31 17:24:19 +00:00
Kelvin Jin 94eca58f5d try new links 2017-10-25 13:15:59 -07:00
murgatroid99 383af9d1ba Add artifact build scripts for native core 2017-10-20 10:09:23 -07:00
murgatroid99 c6ba0cb3e3 Merge remote-tracking branch 'upstream/v1.7.x' into v1.7_upmerge 2017-10-17 10:10:26 -07:00
Michael Lumish 9b04c44d2f Merge pull request #63 from murgatroid99/submodule_update_1.8_dev
Update grpc/grpc submodule to v1.8.0-dev
2017-10-17 10:00:37 -07:00
murgatroid99 1f976921ed Fix a couple of gulpfile issues, don't create some links for now 2017-10-13 13:22:39 -07:00
Michael Lumish 56ed642693 Merge pull request #58 from murgatroid99/v1.7.x_branch_update
Update grpc/grpc submodule and package versions to 1.7.0-pre1
2017-10-12 15:27:39 -07:00
murgatroid99 6a837a73d8 Update grpc/grpc submodule to v1.8.0-dev 2017-10-12 14:58:07 -07:00
murgatroid99 da03fc5db8 Merge branch 'master' into package_split 2017-10-12 14:50:43 -07:00
murgatroid99 7ae3d85f5b Put packages in @grpc scope, add linking scripts 2017-10-12 13:40:18 -07:00
murgatroid99 111ce77440 Move more tests from native core to API test directory 2017-10-10 18:28:41 -07:00
Michael Lumish 0182df2035 Merge pull request #52 from lunarway/feature/typescript-typings
Add TypeScript typings to gRPC native core package
2017-10-10 14:37:24 -07:00
murgatroid99 a1b2c43046 Update grpc/grpc submodule and package versions to 1.7.0-pre1 2017-10-06 15:13:13 -07:00
Bjørn 00b4bc6e59 Added missing streaming implementations 2017-10-06 21:48:16 +02:00
Bjørn a026502019 Order imports correctly 2017-10-06 20:25:43 +02:00
Bjørn 11307ac0a6 Missed a return type on the OAuth2 client interface 2017-10-06 20:25:33 +02:00
Bjørn 836f9bdb36 Make streams extend Readable, Writeable and Duplex types from Node.js stream pkg 2017-10-06 20:20:16 +02:00
Bjørn 4647cc125b Use the correct Google credentials interface 2017-10-06 20:00:08 +02:00
Bjørn ae5219310e Align with js-core package 2017-10-06 19:50:50 +02:00
murgatroid99 d0218f21b6 Update grpc submodule 2017-10-02 13:49:05 -07:00
Bjørn cd265999f3 Missed a status code enum 2017-10-01 10:35:22 +02:00
Bjørn 4cbf7572b5 Changes based on review. 2017-10-01 10:33:48 +02:00
Bjørn bdbbd53249 Remove wrongly encoded spaces 2017-09-29 20:39:56 +02:00
Bjørn f147856287 Fix type links 2017-09-29 14:17:11 +02:00
Bjørn 6cde0631e8 Typos fixed 2017-09-29 13:58:28 +02:00
Bjørn 1428315e3b Add TypeScript typings to gRPC native core package 2017-09-29 11:31:32 +02:00
murgatroid99 38e2a60ddc Merge branch 'master' into native_package_included_directories 2017-09-28 17:39:12 -07:00
murgatroid99 a101e8b6a5 Merge branch 'master' into dependency_cleanup 2017-09-28 16:41:34 -07:00
Michael Lumish 6376422345 Merge pull request #43 from murgatroid99/idle_process_connectivity_state
Add forced completion queue poll to ensure that waitForReady uses current connectivity state
2017-09-25 14:48:41 -07:00
Michael Lumish d741f5dc86 Merge pull request #45 from murgatroid99/native_boringssl_build_fix
Disable warning in recent GCC versions that hits BoringSSL
2017-09-25 14:48:32 -07:00
murgatroid99 f1fb87245d Readded an npm script 2017-09-25 14:48:02 -07:00
murgatroid99 6a3d80d059 Merge branch 'master' into idle_process_connectivity_state 2017-09-25 13:53:26 -07:00
murgatroid99 1afa6dd371 Merge branch 'master' into native_boringssl_build_fix 2017-09-25 13:52:48 -07:00
murgatroid99 08471c2733 Merge branch 'master' into dependency_cleanup 2017-09-25 13:51:37 -07:00
murgatroid99 80f8c4b3dc Merge branch 'master' into script_licenses 2017-09-25 13:48:17 -07:00
Nicolas Noble 311010712f Tying it all together. 2017-09-22 21:52:23 +02:00
murgatroid99 777d9f8480 Add license notice to several script files 2017-09-22 10:50:58 -07:00
murgatroid99 62d71048fe Move dependencies around, add gulp target for document generation 2017-09-20 12:39:16 -07:00
murgatroid99 69092117de Disable warning in recent GCC versions that hits BoringSSL 2017-09-20 10:50:06 -07:00
murgatroid99 54029c58d4 Merge branch 'master' into native_package_included_directories 2017-09-20 10:01:07 -07:00
Matt Kwong b3f6644bfb Merge branch 'master' into kokoro 2017-09-19 16:40:56 -07:00
Matt Kwong 0cf704143c Allow npm install without root 2017-09-19 16:27:35 -07:00
murgatroid99 46e2418fc6 Update completion queue header to match code changes 2017-09-19 14:38:27 -07:00
murgatroid99 f3706fd7d0 Add clean.all gulp task for test runs, go back to renaming report files 2017-09-19 13:56:48 -07:00
murgatroid99 661bdfaa5d Add forced completion queue poll to ensure that waitForReady uses current connectivity state 2017-09-19 13:25:12 -07:00
murgatroid99 3ecb385366 Change package.json file list to globs for granularity 2017-09-19 13:03:58 -07:00
murgatroid99 b2583e561a Merge branch 'master' into jenkins_test_reports 2017-09-19 12:26:54 -07:00
murgatroid99 ffa1d649b0 Add original name aliases for generated client methods 2017-09-19 11:38:43 -07:00
murgatroid99 52d552ce54 Remove some unnecessary files from the native npm package 2017-09-19 11:18:00 -07:00
murgatroid99 18b756f342 Add Jenkins XML reporting to tests 2017-09-18 13:19:00 -07:00
murgatroid99 8f86a61dbb Update package descriptions in README, add API docs link 2017-09-14 13:03:21 -07:00
murgatroid99 3d4dddd8cc Switch to execa. Separate setup and rebuild/test tasks 2017-09-14 10:59:20 -07:00
murgatroid99 769737b969 Create a short command to run working tests from a clean repo 2017-09-13 17:14:40 -07:00
murgatroid99 0fe5704ad7 Get tests from the C-based library working and add corresponding gulp tasks 2017-09-13 13:54:13 -07:00
Michael Lumish f62cf60b21 Merge pull request #19 from murgatroid99/interop_test_move
Move interop, performance, and stress tests out of the native package
2017-09-13 09:35:54 -07:00
Nicolas Noble f2a42c1551 Merge pull request #18 from nicolasnoble/making-node-work-again
Making the native code work again.
2017-09-12 17:19:01 -07:00
Nicolas "Pixel" Noble 358bf58b1d Updating grpc submodule. 2017-09-13 02:00:37 +02:00
Nicolas "Pixel" Noble 3b686ebe16 Builds. 2017-09-13 01:31:45 +02:00
Nicolas "Pixel" Noble 16382ee7ca Moving package.json paths. 2017-09-13 00:52:31 +02:00
Nicolas "Pixel" Noble 8145b7f647 Copying node-specific templates from grpc. 2017-09-12 23:49:26 +02:00
Nicolas "Pixel" Noble 114556b451 Adding generate_projects for our templates. 2017-09-12 23:48:32 +02:00
Nicolas "Pixel" Noble 8fc85db17e Adding grpc as a submodule. 2017-09-12 23:47:48 +02:00
murgatroid99 739e31a437 Move interop, performance, and stress tests out of the native package 2017-09-11 18:16:04 -07:00
murgatroid99 990f082f00 Move grpc-tools and grpc-health-check into the packages directory 2017-09-11 18:14:37 -07:00
Nicolas "Pixel" Noble 3b0b6f5735 Moving files into their new location. 2017-09-12 01:33:18 +02:00