Skip to content

v0.5.0

Choose a tag to compare

@paulbalandan paulbalandan released this 26 Jul 19:53
· 560 commits to 1.x since this release
v0.5.0
c4bc793

What's Changed

Added

  • An online API reference for the public Nexus\Mcp\ API, published to GitHub Pages on every push to 1.x.

Fixed

  • #[InputSchema]'s definition is not a full schema override. Only type, $schema, properties and required reach the advertised inputSchema, which the annotation now documents.
  • A discovered tool returning an array the adapter cannot map throws UnsupportedReturnValueException naming the handler method, instead of a bare ExpectationFailedException.
  • A JSON-RPC error response whose error.data is a non-object JSON value no longer fails to decode. Previously the client discarded it without rejecting the correlated request, leaving await() unresolved.
  • A peer-supplied jsonrpc value carrying control characters is escaped in the version-mismatch error message, stopping a peer from forging newlines in plain-text sinks.
  • A failed transport send during Client::sendRequest() no longer leaves the correlated request registered, which slowly grew the correlation map.

Full Changelog: v0.4.0...v0.5.0