FastMCP 4.2.3 adds an opt-in parent_task_spans setting for background tasks: turn it on and each task's worker span nests inside the tools/call request that submitted it, so the whole job reads as one trace (off by default, where the worker still starts its own trace linked back to the request). It also fixes three output schema conversion bugs (non-object defaults, recursive $refs in positional arrays, and placeholder validation for short positional arrays), and an OpenAPI tool called without a required path argument now returns a validation error instead of a server error. fastmcp-tasks now requires pydocket>=0.29.1.
Thanks to our 4 contributors, including 2 first-time contributors.
What's Changed
Enhancements ✨
- Add parent_task_spans option for background task traces by @strawgate in #6563
Fixes 🐞
- Raise ValidationError for missing OpenAPI path arguments by @zzstoatzz and @joyrexus in #6559
- Ignore non-object defaults when merging object defaults by @zzstoatzz in #6552
- Resolve recursive references in unpinned positional arrays by @zzstoatzz in #6553
- Never validate placeholders for missing prefix positions by @zzstoatzz in #6572
Docs 📚
- docs: document Redis dependencies for HTTP examples by @statertly-pixel in #6527
- docs: point tool-only clients at ResourcesAsTools for skills by @zzstoatzz in #6468
- docs: add v4.1.5–v4.1.8 changelog entries to main by @zzstoatzz in #6581
- docs: add v3.4.8–v3.4.11 changelog entries by @zzstoatzz in #6586
- docs: add v4.2.3 changelog entries by @zzstoatzz in #6591
Other Changes 🦾
- Add a property-based test harness by @zzstoatzz in #6578
- Add a property-based test coverage map to the status site by @zzstoatzz in #6573
- Reopen the smart-home example's Fire TV connection after a socket reset by @zzstoatzz in #5384
- Keep finished triage runs and check live state before recommending by @zzstoatzz in #6560
- Compare triage records as JSON and file maintainer reproductions as decisions by @zzstoatzz in #6562
- Keep timed-out people lookups from failing triage assessments by @zzstoatzz in #6487
- Run issue closers on the actions token instead of the Marvin app by @zzstoatzz in #6576
- Turn triage outcomes into labels and add a weekly sweep by @zzstoatzz in #6577
- build(deps): bump the uv group across 3 directories with 2 updates by @dependabot in #6518
New Contributors
- @statertly-pixel made their first contribution in #6527
- @joyrexus made their first contribution in #6559
Full Changelog: v4.2.2...v4.2.3