fix: allow null id in JSONRPCError per JSON-RPC 2.0 spec#2056
Merged
maxisbey merged 7 commits intomainmodelcontextprotocol/python-sdk:mainfrom Feb 17, 2026
fix/jsonrpc-error-null-idmodelcontextprotocol/python-sdk:fix/jsonrpc-error-null-idCopy head branch name to clipboard
Merged
fix: allow null id in JSONRPCError per JSON-RPC 2.0 spec#2056maxisbey merged 7 commits intomainmodelcontextprotocol/python-sdk:mainfrom fix/jsonrpc-error-null-idmodelcontextprotocol/python-sdk:fix/jsonrpc-error-null-idCopy head branch name to clipboard
maxisbey merged 7 commits intomainmodelcontextprotocol/python-sdk:mainfrom
fix/jsonrpc-error-null-idmodelcontextprotocol/python-sdk:fix/jsonrpc-error-null-idCopy head branch name to clipboard
Commits
Commits on Feb 13, 2026
fix: allow null id in JSONRPCError per JSON-RPC 2.0 spec
Show description for 88bb121committed- committed
fix: eliminate uncovered branches in null-id handling
Show description for bf35f27committed
Commits on Feb 16, 2026
refactor: replace assert with natural type narrowing for null-id check
Show description for c583fb6committedrefactor: use exclude_unset for JSONRPC wire serialization
Show description for 43ee2d9committedfix: prevent MCPError from marking data as set when None
Show description for 75c84bfcommittedtest: remove vanilla Pydantic serialization test
Show description for dbfba9dcommitted