capnp v0.6.0.0 Release Notes

  • RPC

    • 🛠 Fix a serious bug in newPromiseClient, resulting in dropped calls made on the promise before it is resolved.
    • There is now a Server class, which all RPC servers must implement. All of its methods have default implementations, so adding an instance to existing servers is straightforward.
    • It is now possible to "unwrap" clients that point to a local server using the new 'Capnp.Rpc.unwrapServer' function, if the server implements support for it with the new 'Server' type class.
    • Servers can now specify a hook to be run when the server is shut down, using the server class's 'shutdown' method.