github PrefectHQ/fastmcp v4.0.4
v4.0.4: Here Be No Dragons

3 hours ago

OpenAPI request bodies get most of the attention in this patch: multipart string arrays are sent as repeated fields, whole-body arguments no longer clobber same-named HTTP parameters, dictionary bodies and raw content types survive intact, and JSON scalar bodies are encoded. On the auth side, OAuthProxy rejects ID-JAG tokens unless identity assertion is configured and refuses non-positive upstream token expiries. Clients now follow empty pagination cursors and servers reject malformed ones.

What's Changed

Enhancements ✨

Security 🔒

Fixes 🐞

  • Fix upgrade checks for the M2M storage warning test by @zzstoatzz in #5040
  • Fix OpenAPI query explode defaults by @zzstoatzz in #5065
  • fix(openapi): encode JSON scalar request bodies by @Gonghan-Princess in #5052
  • fix(versions): deterministic meta.fastmcp.versions ordering by @feiiiiii5 in #4880
  • Parse skills frontmatter with yaml.safe_load, falling back to the line parser by @vishnujayvel in #4701
  • Keep client data out of tool validation warnings by @zzstoatzz in #5106
  • fix: follow empty pagination cursors in client lists by @sicauzxl in #5026
  • fix: reject non-positive upstream token expiry by @sui-ni2 in #4849
  • fix(server): reject a malformed pagination cursor offset by @L4XB in #5071
  • fix(openapi): preserve dictionary request bodies by @asts-top in #5097
  • Preserve OpenAPI raw body content types by @pentaoa in #5093
  • fix(openapi): preserve HTTP parameters that match whole-body names by @asts-top in #5113
  • fix(local-provider): apply transforms in get_tasks by @BlueX888 in #5117
  • Fix multipart string-array default encoding by @zzstoatzz in #5121

Other Changes 🦾

  • chore(deps): Update github actions (major) by @prefect-renovate[bot] in #4890
  • docs: add v4.0.4 changelog entries by @zzstoatzz in #5127

New Contributors

Full Changelog: v4.0.3...v4.0.4

Don't miss a new fastmcp release

NewReleases is sending notifications on new releases.