v0.3.0
What's Changed
Added
Client::getServerCapabilities()returns the capabilities negotiated during the handshake, ornullbefore it completes.- Typed client requests are gated on the server's advertised capabilities, throwing
ServerCapabilityNotSupportedExceptionbefore the request reaches the transport.pingis never gated.
Changed
StdioClientTransportprunes the subprocess environment by default.envchanged fromarray $env = []to?array $env = null:nullpasses a safe allowlist,[]still inherits the full parent environment, and a non-empty array is passed verbatim.
Fixed
- Closing a
StdioClientTransportwhose subprocess is still running no longer fatals on builds withoutpcntl, such as Windows.
Full Changelog: v0.2.0...v0.3.0