Skip to content
This repository was archived by the owner on Sep 28, 2021. It is now read-only.

Releases: cjihrig/grpc-server-js

v0.5.0

11 Nov 23:54
f61fb39

Choose a tag to compare

Notable changes:

  • Support adding services after the server starts. (74e0eae)
  • Server.prototype.unregister() has been added to support removing existing handlers. (7af3322)
  • Server.prototype.removeService() has been added to support removing existing services. (0464028)
  • getDeadline() has been added to all of the handler types to support getting the current deadline. (ccb8273, 1526ee1)
  • Sending metadata larger than Node's default maxSendHeaderBlockLength is now supported. (f785142)

Other changes:

  • The devDependency @hapi/lab has been updated to v24.x.x. (01cc04c)
  • Node v15 has been added to the testing matrix. (1e6e26b)
  • The internal utility hasGrpcStatusCode() has been added to consistently identify objects with gRPC error codes. (0052ae9)

v0.4.0

29 Aug 20:57
22a09c9

Choose a tag to compare

Notable changes:

  • Implement the getPeer() method used by calls on the server. (ec20ded)
  • Add extra safety check when closing sessions. (2df9c5d)
  • Add type information for end(metadata?: Metadata) of ServerWritableStream and ServerDuplexStream. (25b7ae3)

Other changes:

  • The devDependency @hapi/lab has been updated to v23.x.x. (a211a9f)

v0.3.2

21 May 18:02
f571a58

Choose a tag to compare

This release includes a small change to the handling of metadata values containing commas. (758d87a)

v0.3.1

01 May 02:59
9a427de

Choose a tag to compare

Changes to the streams implementation to better adhere to the Node documentation:

  • Stream 'end' events are no longer emitted when an error occurs. (9e4a499)
  • ServerWritableStreams are destroyed on error. (f19ba98)
  • Errors are no longer emitted from _write in ServerWritableStream. (237b2ee)

Other misc. changes:

  • ServerSurfaceCall metadata type info is now included in the types file.
  • Updated dev dependencies, testing on Node 14, and improved test coverage.

v0.3.0

13 Apr 23:21
7b3dc28

Choose a tag to compare

  • This release adds support for the grpc.max_receive_message_length and grpc.max_send_message_length options.

  • Non-user facing changes include improved test coverage and simplification of the ServerCall#end() function.

v0.2.2

10 Apr 20:51
bb5b93a

Choose a tag to compare

The only user facing changes in this release are a small few tweaks to the type definitions for better consistency with other gRPC libraries (0584a42).

Behind the scenes, this release also migrates the CI off of Travis to GitHub Actions. In the process, the CI is now testing on Ubuntu, macOS, and Windows (instead of just Linux on Travis). Some Unix Domain Socket unit tests have also been added.

v0.2.1

15 Mar 21:14
3f9ca6f

Choose a tag to compare

  • Track all HTTP/2 servers bound by the gRPC server.

v0.2.0

21 Feb 23:49
1cdb209

Choose a tag to compare

  • UNIMPLEMENTED responses now include the requested rpc name to aid debugging.
  • gRPC call status constants are now part of the module API.
  • gRPC logging is now part of the module API.
  • gRPC metadata is now part of the module API.
  • ServerCredentials are once again part of the module's API.
  • @grpc/grpc-js is no longer a production dependency.

v0.1.15

27 Jan 01:41
8e13cc2

Choose a tag to compare

  • This release adds support for listening on Unix domain sockets. See 1143db7.

v0.1.14

15 Jan 04:35
fc04a0d

Choose a tag to compare

  • If metadata is provided in the response to a unary call's callback, that metadata should be maintained, even if the call fails. Prior to this version, the metadata would be overwritten by error metadata. That is corrected in this version.