Skip to content

JSONFoundation 2.1.0

Choose a tag to compare

@odrobnik odrobnik released this 27 Jun 07:30
8a5924d

Add the JSON-RPC runtime — layered onto the existing wire model as logical, opt-in, dependency-free modules.

  • JSONRPCPeer — transport-agnostic correlation + dispatch (pull or push).
  • JSONRPCWire — Content-Length / line framing + SSE event decoder.
  • JSONRPCStdioFoundation.Process stdio transport.
  • JSONRPCSSE — HTTP+SSE client transport (URLSession).

Plus a JSONRPC umbrella product bundling the four. They sit on a small seam, JSONRPCMessageTransport, so the peer is reusable across any wire; LSP, ACP, and MCP-over-stdio differ only in framing (a pluggable MessageFraming) and the SSE client only in being POST-out / stream-in.

Every module is dependency-free, so the package stays zero third-party and keeps its macOS 12 / iOS 15 floor.

Full Changelog: 2.0.0...2.1.0