Skip to content

v0.3.0

Choose a tag to compare

@paulbalandan paulbalandan released this 26 Jul 19:53
· 603 commits to 1.x since this release
v0.3.0
e888395

What's Changed

Added

  • Client::getServerCapabilities() returns the capabilities negotiated during the handshake, or null before it completes.
  • Typed client requests are gated on the server's advertised capabilities, throwing ServerCapabilityNotSupportedException before the request reaches the transport. ping is never gated.

Changed

  • StdioClientTransport prunes the subprocess environment by default. env changed from array $env = [] to ?array $env = null: null passes a safe allowlist, [] still inherits the full parent environment, and a non-empty array is passed verbatim.

Fixed

  • Closing a StdioClientTransport whose subprocess is still running no longer fatals on builds without pcntl, such as Windows.

Full Changelog: v0.2.0...v0.3.0