Maintenance Notice: This Python implementation is in maintenance mode and has been superseded by
mcp_agent_mail_rust. New deployments should use the Rust implementation.v0.3.5is a security and dependency compatibility maintenance release for existing Python installations.
Security & Dependency Updates (#279)
- Cleared all 29 OSV exact-version advisory matches in
uv.lock(29 -> 0 across 158 locked packages;pip-audit: 0 vulnerabilities) by upgrading the full dependency stack:- Protocol & web stack:
fastmcp2.13.0.2 ->4.2.4,mcp1.25.0 ->2.3.0,fastapi0.128.0 ->0.165.0,starlette0.50.0 ->1.10.0,authlib1.5.2 ->1.9.10,uvicorn->0.54.0 - Storage & ORM:
sqlmodel0.0.31 ->0.0.50,sqlalchemy2.0.45 ->2.1.9,GitPython3.1.46 ->3.2.1,filelock3.20.3 ->4.3.0 - Runtime & dev libraries:
cryptography50.0.2,aiohttp3.14.5,pillow13.0.0,litellm1.110.2,orjson3.11.6,bleach6.4.0,pyjwt,python-multipart,urllib32.8.0,requests2.34.2,pytest9.2.0 - Removed unpatched transitive dependency
diskcache 5.6.3completely via the FastMCP 4 upgrade.
- Protocol & web stack:
- Frozen Docker builds:
Dockerfilenow copiesuv.lockand runsuv sync --frozen --no-devso container images always match the audited lockfile. - Authlib 1.9 JWT validation: Pass
audandissviaclaims_optionsdirectly tojwt.decode(...), ensuring strict audience and issuer validation.
Compatibility & Performance Fixes (#278)
- SQLModel 0.0.48+ / SQLAlchemy 2.1 naive UTC datetime support (#278): Annotated all 25 datetime columns across all 11 SQLModel tables with
pydantic.NaiveDatetime, preserving the SQLite naive UTC storage contract and seamless upgrades from existing databases. - FastMCP 4 / MCP SDK v2 migration: Updated tool invocation helpers,
ToolResultimports,mcp.disable(...)tool filtering,ResourceSecuritysettings (allowing absolute project paths while keeping traversal and null-byte rejection enabled), and per-connection session isolation. - Starlette 1.10 & Typer 0.29 compatibility: Isolated lazy StreamableHTTP lifespan cleanup into a dedicated background
asyncio.Task, and aligned CLI server errors with Typer 0.29's vendored Click exception base. - GitPython 3.2 archive commit performance: Preserved in-process SHA-1 loose-object writes (
LooseObjectDB.store) for standard SHA-1 archives (with automaticGitCmdObjectDBfallback for SHA-256 repositories), eliminating per-objectgit hash-objectsubprocess overhead.
Additional Fixes Included Since v0.3.4
- Web UI conversation navigation, confirmed Human Overseer replies, and Lucide icon fixes (#276, #277)
- Punctuated recipient routing (#281) and pre-commit guard tool MCP descriptions (#275)
- Stateful
/mcpHTTP session handling (#250), stale-agent sweep (#249), weak lock telemetry (#244),/openapi.jsonUI exclusion (#241), non-blocking reservation sweeper (#240), and messaging/config hardening (#169, #180, #188, #189, #220)
Full Changelog: v0.3.4...v0.3.5