packages feed

mcp 0.2.0.0 → 0.2.0.1

raw patch · 2 files changed

+3/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

mcp.cabal view
@@ -20,7 +20,7 @@ -- PVP summary:     +-+------- breaking API changes --                  | | +----- non-breaking API additions --                  | | | +--- code changes with no API change-version:            0.2.0.0+version:            0.2.0.1  -- A short (one-line) description of the package. synopsis:           A Haskell implementation of the Model Context Protocol (MCP)@@ -41,6 +41,7 @@     .     Both transports use the same MCPServer typeclass, allowing seamless switching between     communication methods while maintaining identical server logic.+    Supports version 2025-03-26 of the MCP protocol.  -- The license under which the package is released. license:            MIT
src/MCP/Server/HTTP.hs view
@@ -28,7 +28,7 @@     defaultDemoOAuthConfig, ) where -import Control.Concurrent.STM (TVar, atomically, modifyTVar', newTVarIO, readTVarIO, writeTVar)+import Control.Concurrent.STM (TVar, atomically, modifyTVar', newTVarIO, readTVar, readTVarIO, writeTVar) import Control.Monad.IO.Class (liftIO) import Control.Monad.Reader (ask) import Control.Monad.State.Strict (get, put)