Skip to content

fix: name root self-references after the generated root class - #5671

Merged
zzstoatzz merged 3 commits into
PrefectHQ:mainfrom
BlueX888:fix/prep-root-selfref-forwardref-name
Nov 2, 2026
Merged

zzstoatzz merged 3 commits into
PrefectHQ:mainfrom
BlueX888:fix/prep-root-selfref-forwardref-name

Conversation

@BlueX888

@BlueX888 BlueX888 commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Description

json_schema_to_type returned a broken type for any recursive object schema that carries a root title: validating the result with TypeAdapter raised PydanticUserError: ... is not fully defined. Untitled recursive schemas already worked; the titled form — the one most schema producers emit — did not.

Why: a {"$ref": "#"} reference resolves to the root schema, whose generated class is named after the root title (falling back to Root). The ref == "#" branch in _convert_schema (fastmcp_slim/fastmcp/utilities/json_schema_type.py:766 on main) built the forward reference from the ref node instead. A bare {"$ref": "#"} node has no title, so the forward reference was always named Root while the class was named e.g. Node, and the reference never resolved. The mismatch hit every generic reference position (anyOf, array items) and all fields of schemas that build a Pydantic model (properties + additionalProperties: true), which go through the generic handling rather than _build_dataclass's direct self-reference check.

Changes:

  • _Conversion now tracks root_class_name, the sanitized name of the class generated for the root schema — the explicit name override, else the root title, else Root — the same derivation _create_dataclass/_create_pydantic_model already use.
  • The ref == "#" branch returns ForwardRef(root_class_name), so every reference position targets the class that will actually be generated. This also fixes the case where an explicit name= override makes the class name differ from the root title.
  • Regression tests in TestCircularReferences cover a titled root self-referenced via anyOf, via array items, via a direct property on a schema with additionalProperties: true (the Pydantic-model branch), and with an explicit name= override.
  • Review follow-ups (953953f): the object member of a root type list is converted from the root schema itself, so ["object", "null"] roots keep the root identity and name that "#" references resolve to; a non-string root title is ignored instead of crashing the conversion; and _build_dataclass's direct "#" shortcuts route through root_class_name, so a direct root reference on a nested class no longer points at the nested class itself.

Testing:

  • New tests fail on main with PydanticUserError: ... is not fully defined and pass with this change:
    • uv run pytest tests/utilities/json_schema_type/test_advanced.py -k self_reference → 6 passed, 72 deselected
  • Existing suites, no regressions:
    • uv run pytest tests/utilities/json_schema_type/ → 419 passed, 1 skipped
    • uv run pytest tests/utilities/ tests/client/test_elicitation.py tests/client/test_elicitation_enums.py → 1313 passed, 1 skipped (elicitation builds its response type through json_schema_to_type_adapter)
  • Static checks: uv run prek run --all-files → validate-pyproject, prettier, ruff check, ruff format, ty check, gitleaks, codespell all Passed (loq reports pre-existing, unenforced repo-wide size findings).

Fixes #5669

Contribution type

  • Bug fix (simple, well-scoped fix for a clearly broken behavior)

Checklist

  • This PR addresses an existing issue (or fixes a self-evident bug)
  • I have read CONTRIBUTING.md
  • I have added tests that cover my changes
  • I have run uv run prek run --all-files and all checks pass
  • I have self-reviewed my changes
  • If I used an LLM, it followed the repo's contributing conventions (not generic output)

@github-actions

This comment has been minimized.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-12T02:18:26.362024Z 6a2dee5 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@marvin-context-protocol marvin-context-protocol Bot added the bug Something isn't working. Reports of errors, unexpected behavior, or broken functionality. label Oct 12, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6a2dee5658

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

# Handle self-reference
if ref == "#":
return ForwardRef(_sanitize_name(schema.get("title", "Root")))
return ForwardRef(_conversion.get().root_class_name)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Disambiguate root refs from identically named nested classes

When a nested object has the same sanitized title as the root (or as the explicit name= override), this ForwardRef resolves in the nested class's namespace to the nested class rather than the document root. For a "$ref": "#" reached through anyOf, items, or the Pydantic-model path, validation then enforces the nested object's fields, so it can accept inputs that violate the root schema and reject valid root instances. Use an unambiguous root identity (or unique generated names) instead of the potentially duplicated class name.

Useful? React with 👍 / 👎.

_Conversion(
root_hash=root_hash,
root_size=root_size,
root_class_name=_sanitize_name(name or schema.get("title", "Root")),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Include the root class name in nested cache keys

When the same schema is converted with two different name= overrides and a nested generated object contains a generic root reference, this value changes but the nested class cache key does not: _create_dataclass and _create_pydantic_model key it by the schema/root hashes and its own name, while the schema-derived root hash omits the override. The second conversion therefore reuses (for example) a cached ForwardRef('First') while building Second, leaving TypeAdapter(Second) not fully defined or binding nested values to the first class if that name is available. Include root_class_name in generated-class cache keys.

Useful? React with 👍 / 👎.

Rename a nested class that would share the root's generated name, so
pydantic binds "$ref": "#" to the root class instead of capturing it
in the nested class's own name. Also include the root class name in
generated-class cache keys, so converting the same schema under two
different name= overrides no longer reuses a nested class whose
forward references name the first conversion's root.
@BlueX888

Copy link
Copy Markdown
Contributor Author

Both findings confirmed and fixed in b1d79f5.

P1 (same-name binding): confirmed — pydantic binds a class's own name to that class when resolving its annotations, so a nested class sharing the root's name captured every "$ref": "#" reference. Fixed by renaming colliding nested classes (Node_2), matching the file's existing dedup convention. Covered by test_nested_class_named_like_root_does_not_shadow_root.

P2 (cache pollution): confirmed — nested classes bake the root class name into their forward references, but the cache key omitted it. The root class name is now part of generated-class cache keys. Covered by test_name_override_does_not_reuse_stale_nested_class.

@BrickerP BrickerP left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Read the diff at b1d79f5 against main and ran the module on its own (pydantic 2.x) with some probe schemas, comparing main against this head.

What's sound. Tracking root_class_name on _Conversion and returning ForwardRef(root_class_name) from the ref == "#" branch of _convert_schema fixes the bug at its source. The old code named the ref after the bare {"$ref": "#"} node, which never has a title, so the ref could not resolve. Building the name as name or title or "Root" matches how _create_dataclass/_create_pydantic_model name the root, so the name= override case works too. The second commit is also right. Pydantic binds a class's own name before the root, so a nested class with the root's name (_nested_class_name → Node_2) would capture # refs, and renaming it stops that. Adding root_class_name to the _classes cache key stops a First forward ref from being reused while building Second. I confirmed that these now work where they failed on main: $defs recursion back to the root (Tree → Branch → #), root "my node" with nested "my-node" (both sanitize to my_node), and an untitled root with an untitled nested object that refs #. That last one used to validate # against the nested shape; now it validates against the root shape.

Residuals (the first two are new in this PR):

  • Regression: untitled type: ["object", "null"] root. {"type": ["object","null"], "properties": {"name": {...}, "next": {"anyOf": [{"$ref": "#"}, {"type": "null"}]}}} validates on main (class Root). On this branch TypeAdapter raises "not fully defined" on Optional[Root_2]. The cause is the type-list branch of _convert_schema, which builds the object class from type_schema = dict(schema). That copy fails the schema is not schemas identity check in _nested_class_name, so the root class itself gets renamed Root_2 while # still points to Root. The titled form was already broken on main and still is (Node_2). An explicit root flag, or treating a copy that differs only in type as the root, would fix both.
  • Regression: non-string title now crashes every conversion. _convert_normalized now calls _sanitize_name(name or schema.get("title", "Root")) up front for every schema, including scalar and dict-only roots that never create a class. {"type": "string", "title": null}, {"type": "string", "title": 5} and {"type": "object", "title": 5} all converted on main. Here they raise TypeError: expected string or bytes-like object from re.sub. These schemas are malformed, but they can arrive from untrusted servers. Computing the name lazily, or only using title when isinstance(title, str), avoids the crash.
  • Pre-existing, same bug class, not covered: the shortcut in _build_dataclass (elif prop_schema.get("$ref") == "#": field_type = ForwardRef(sanitized_name)) uses the current class's name. On the root that matches, but a nested dataclass with a direct "root": {"$ref": "#"} property points the ref at itself. With root Doc (required value) and nested Child (required tag), {"child": {"root": {"tag": "x"}}} is accepted and a valid root shape is rejected. Using _conversion.get().root_class_name there fixed both cases for me. The ref == "#" early return at the top of _build_dataclass probably needs the same change.
  • Pre-existing: an untitled root with properties but no type goes through _create_dataclass(schema, schema.get("title", "<unknown>"), ...). The class is named field_unknown while # points to Root, so it's still "not fully defined". The titled typeless form is fixed by this PR.
  • CI: static_analysis is red because ty check flags the new tests (test_advanced.py:290, :291, :349, :355): the child.__args__[0] if hasattr(child, "__args__") else child unwrap on the result of get_dataclass_field(...).type. A small typed helper or a cast would make it pass.
  • Nit: the _2 suffix isn't checked against other names. A nested object really titled Node_2 next to a renamed one gives two classes with the same __name__. That's harmless for # resolution but confusing in error messages and generated schemas.

The approach is right. I'd fix the first two regressions and the ty failure before merge, and ideally route the _build_dataclass direct-property shortcut through root_class_name in the same PR, since it's the same bug.

- convert the root schema itself (not a copy) for the object member of
  a root type list, so the generated class keeps the name that
  "$ref": "#" resolves to; untitled ["object", "null"] roots no
  longer build Root_2 against refs to Root, and the titled form now
  resolves where main also failed
- only treat a string title as a class-name source in
  _convert_normalized, so malformed titles (null, numbers) no longer
  crash conversions that previously succeeded
- route _build_dataclass's direct "#" shortcuts through root_class_name
  so a direct root reference on a nested class no longer points at the
  nested class itself
- add an unwrap_optional test helper so ty check passes on the tests
@BlueX888

Copy link
Copy Markdown
Contributor Author

Thanks @BrickerP — everything you flagged is addressed in 953953f, including the same-bug _build_dataclass case you suggested routing in this PR:

  • Untitled type: ["object", "null"] root: the type-list branch now converts the root schema itself for the object member instead of a copy, so the class keeps the root identity _nested_class_name checks for. The untitled form restores main's behavior, and the titled form now resolves too (main produced Node_2 there).
  • Non-string title: _convert_normalized only treats a string title as a class-name source (empty string still counts, matching the class-creation paths), so {"type": "string", "title": null}, {"type": "string", "title": 5} and {"type": "object", "title": 5} convert again. Added your three probes as parametrized tests.
  • _build_dataclass direct # shortcuts: both the early return and the property shortcut now use _conversion.get().root_class_name. Added your Doc/Child case: a root-shaped root value validates and a Child-shaped one is rejected.
  • static_analysis: the ty check errors came from the __args__ unwraps in the new tests; replaced them with a small typed helper (unwrap_optional). uv run prek run --all-files passes.

The two pre-existing items (untitled root with properties but no type; the _2 suffix not colliding with a genuinely titled Node_2) are left out to keep this PR scoped — happy to follow up separately.

uv run pytest tests/utilities/ tests/client/test_elicitation.py tests/client/test_elicitation_enums.py → 1313 passed, 1 skipped.

@BlueX888

Copy link
Copy Markdown
Contributor Author

@zzstoatzz — quick coordination question on this one.

#5779 now carries this PR's root-reference binding and tests, with BlueX888 credited as co-author. Would you prefer that I close #5671 in #5779's favor, or keep the focused fix here and land it first? Happy to close it once you confirm.

Two facts that may matter for sequencing:

Also, #5779's body says Closes #5655; the issue tracked here is #5669 (assigned to me), which stays open unless it is linked from whichever PR lands.

@BrickerP BrickerP left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

APPROVE

Re-reviewed at 953953f. The follow-up commit clears the residuals I flagged at b1d79f5:

  • type-list roots now convert the root schema itself for the object member, so untitled ["object","null"] keeps the name "$ref": "#" resolves to (and the titled form that was broken on main now works too)
  • non-string title values are ignored for class naming instead of crashing in _sanitize_name
  • _build_dataclass's direct "#" shortcuts go through root_class_name
  • unwrap_optional unblocks ty check on the new tests

The _2 suffix collision and typeless untitled roots remain edge cases outside this fix's scope. Good to merge from my side.

zzstoatzz added a commit that referenced this pull request Nov 2, 2026
@zzstoatzz
zzstoatzz merged commit 2c3a2de into PrefectHQ:main Nov 2, 2026
24 of 25 checks passed
zzstoatzz pushed a commit that referenced this pull request Nov 9, 2026
luketainton pushed a commit to luketainton/repos_labmcp that referenced this pull request Nov 19, 2026
This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [fastmcp](https://github.com/PrefectHQ/fastmcp) | `>=4.1,<4.2` → `>=4.2,<4.3` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/fastmcp/4.2.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/fastmcp/4.1.3/4.2.2?slim=true) |

---

### Release Notes

<details>
<summary>PrefectHQ/fastmcp (fastmcp)</summary>

### [`v4.2.2`](https://github.com/PrefectHQ/fastmcp/releases/tag/v4.2.2): : Tea for Two (Too)

[Compare Source](https://github.com/PrefectHQ/fastmcp/compare/v4.2.1...v4.2.2)

FastMCP 4.2.2 fixes skills discovery for tool-only clients. Adding a server transform such as `ResourcesAsTools` made `skills/list` come back empty even though the `skill://` files stayed readable; skills are now listed whenever their files are actually served.

Thanks to our 2 contributors, including 1 first-time contributor.

<!-- Release notes generated using configuration in .github/release.yml at main -->

#### What's Changed

##### Fixes 🐞

- Keep skills discovery on with tool-only server transforms by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;anchapin](https://github.com/anchapin) in [#&#8203;6548](https://github.com/PrefectHQ/fastmcp/pull/6548)

##### Docs 📚

- docs: rename v4.2.1 to 4, 2, 1... Liftoff by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6540](https://github.com/PrefectHQ/fastmcp/pull/6540)

##### Other Changes 🦾

- Run Arize Phoenix's MCP tests in the downstream smoke by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6542](https://github.com/PrefectHQ/fastmcp/pull/6542)

#### New Contributors

- [@&#8203;anchapin](https://github.com/anchapin) made their first contribution in [#&#8203;6548](https://github.com/PrefectHQ/fastmcp/pull/6548)

**Full Changelog**: <https://github.com/PrefectHQ/fastmcp/compare/v4.2.1...v4.2.2>

### [`v4.2.1`](https://github.com/PrefectHQ/fastmcp/releases/tag/v4.2.1): : 4, 2, 1... Liftoff

[Compare Source](https://github.com/PrefectHQ/fastmcp/compare/v4.2.0...v4.2.1)

FastMCP 4.2.1 is a security and correctness patch on top of 4.2.0. It tightens OAuth and token handling: JWTs aren't accepted before their `nbf`, provider `required_scopes` survive a custom verifier, pre-registered OAuth clients can be pinned to their issuer, and consent, metadata forwarding and upstream claims in the OAuth proxy are hardened. It also raises the `opentelemetry-api` floor past a traceparent ReDoS. If you install with pip and also have `opentelemetry-sdk`, upgrade it alongside FastMCP (`pip install -U fastmcp opentelemetry-sdk`). In `require_authorization_consent="remember"` mode, users are asked for consent once more per client after upgrading.

Thanks to our 5 contributors, including 2 first-time contributors.

#### What's Changed

##### Security 🔒

- Reject JWTs whose nbf is in the future by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;ratomirjovanovic](https://github.com/ratomirjovanovic) in [#&#8203;6512](https://github.com/PrefectHQ/fastmcp/pull/6512)
- Raise opentelemetry-api floor past traceparent ReDoS by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6513](https://github.com/PrefectHQ/fastmcp/pull/6513)
- Remember OAuth consent per redirect URI and scope set by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6530](https://github.com/PrefectHQ/fastmcp/pull/6530)
- Cache forwarded authorization server metadata in remote auth providers by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6531](https://github.com/PrefectHQ/fastmcp/pull/6531)
- Refresh upstream_claims when the OAuth proxy transparently refreshes by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6532](https://github.com/PrefectHQ/fastmcp/pull/6532)
- Normalize literal-query placeholder names in URI templates by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6533](https://github.com/PrefectHQ/fastmcp/pull/6533)
- Quote tool names in generated SKILL.md invocations by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6534](https://github.com/PrefectHQ/fastmcp/pull/6534)
- Keep provider required_scopes when a custom token_verifier is passed by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6535](https://github.com/PrefectHQ/fastmcp/pull/6535)
- Add issuer binding to OAuth pre-registered clients by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6536](https://github.com/PrefectHQ/fastmcp/pull/6536)

##### Fixes 🐞

- Keep middleware edits to a returned CallToolResult by [@&#8203;Max17190](https://github.com/Max17190) in [#&#8203;6520](https://github.com/PrefectHQ/fastmcp/pull/6520)
- fix(resources): coerce template parameters from resolved hints by [@&#8203;67-luck](https://github.com/67-luck) in [#&#8203;6471](https://github.com/PrefectHQ/fastmcp/pull/6471)

##### Enhancements ✨

- Allow py-key-value-aio 0.5.x by [@&#8203;strawgate](https://github.com/strawgate) in [#&#8203;6521](https://github.com/PrefectHQ/fastmcp/pull/6521)

##### Docs 📚

- Add 4.2 to the what's new page and match the 4.2.0 changelog to the release by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6493](https://github.com/PrefectHQ/fastmcp/pull/6493)

##### Other Changes 🦾

- Fix nightly upgrade checks: declare httpx, adopt ty 0.0.100 by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6517](https://github.com/PrefectHQ/fastmcp/pull/6517)
- Give triage's assess agent public facts about the people on an issue by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6486](https://github.com/PrefectHQ/fastmcp/pull/6486)
- Restore Marvin labeling and reopen disputed duplicates by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6495](https://github.com/PrefectHQ/fastmcp/pull/6495)
- chore(deps): Update dependency opentelemetry-api to v1.45.2 \[SECURITY] by [@&#8203;prefect-renovate](https://github.com/prefect-renovate)\[bot] in [#&#8203;6505](https://github.com/PrefectHQ/fastmcp/pull/6505)
- chore(deps): Update dependency dnspython to v2.9.2 \[SECURITY] by [@&#8203;prefect-renovate](https://github.com/prefect-renovate)\[bot] in [#&#8203;6506](https://github.com/PrefectHQ/fastmcp/pull/6506)

#### New Contributors

- [@&#8203;Max17190](https://github.com/Max17190) made their first contribution in [#&#8203;6520](https://github.com/PrefectHQ/fastmcp/pull/6520)
- [@&#8203;ratomirjovanovic](https://github.com/ratomirjovanovic) made their first contribution in [#&#8203;6512](https://github.com/PrefectHQ/fastmcp/pull/6512)

**Full Changelog**: <https://github.com/PrefectHQ/fastmcp/compare/v4.2.0...v4.2.1>

### [`v4.2.0`](https://github.com/PrefectHQ/fastmcp/releases/tag/v4.2.0): : Mad Skills

[Compare Source](https://github.com/PrefectHQ/fastmcp/compare/v4.1.8...v4.2.0)

FastMCP 4.2 serves agent skills from the server. A skill used to live in a folder on each machine, so every agent kept its own copy and an update meant asking everyone to reinstall. Now the server holds one copy next to the tools the skill describes, and a deploy updates every agent that reads it.

```python
from fastmcp import FastMCP, Skill
from fastmcp.skills.provider import SkillCatalogProvider

deploy = Skill.from_directory("skills/deploy")

mcp = FastMCP("Team Skills")
mcp.add_provider(SkillCatalogProvider([deploy]))
```

Any client can read a skill's files as ordinary resources. Clients that speak the experimental [Skills extension](https://modelcontextprotocol.io/seps/2640-skills-extension) also get `skills/list`, with a hashed manifest for each skill. Few hosts support it yet, so FastMCP's client fills in: `Client.read_skill()` checks every file's size and digest, and `to_directory()` installs a skill into an agent's local skills folder. Skills work with the rest of FastMCP: they're namespaced under mounts, pass through proxies, list across a `ClientGroup`, and respect `AuthMiddleware`. The [skills docs](https://gofastmcp.com/docs/servers/skills) cover the details.

Dependencies can now be declared in the annotation, as in `Annotated[dict, Depends(get_config)]`, so the parameter keeps its real type, and a dependency can own the tool argument it reads through `CallArgument`. The rest of the release is fixes across OpenAPI, proxies, auth, telemetry and tasks. Thirteen community PRs merged during the cycle were reverted before release and are not listed here.

##### Before upgrading

- Python 3.11 or newer is required.
- The 4.1 skills API is deprecated and will be removed in 4.3. The old providers in `fastmcp.server.providers.skills` and helpers in `fastmcp.utilities.skills` still work and warn with their replacement. The [skills docs](https://gofastmcp.com/docs/servers/skills) include a migration table.
- `Skill` is now the class you author with. The wire model that used that name is `MCPSkill`; the old import works until 4.3.

Thanks to our 120 contributors, including 46 first-time contributors.

<details>
<summary>Every change in this release</summary>

<!-- Release notes generated using configuration in .github/release.yml at main -->

##### Breaking Changes ⚠️

- Make Skill a storage-neutral object with folders as one loader by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6065](https://github.com/PrefectHQ/fastmcp/pull/6065)
- Require Python 3.11 by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6377](https://github.com/PrefectHQ/fastmcp/pull/6377)

##### Enhancements ✨

- Rename the resource-era list_skills helper to list_skill_summaries by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6051](https://github.com/PrefectHQ/fastmcp/pull/6051)
- Discover skills through mounted servers by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6067](https://github.com/PrefectHQ/fastmcp/pull/6067)
- Share Prefab renderer resources across equivalent tools by [@&#8203;jlowin](https://github.com/jlowin), [@&#8203;fprieto14](https://github.com/fprieto14), and [@&#8203;keremoktener](https://github.com/keremoktener) in [#&#8203;6077](https://github.com/PrefectHQ/fastmcp/pull/6077)
- Export Skill from fastmcp by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6071](https://github.com/PrefectHQ/fastmcp/pull/6071)
- Add skills discovery to ClientGroup by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6072](https://github.com/PrefectHQ/fastmcp/pull/6072)
- Add --skills to fastmcp list by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6073](https://github.com/PrefectHQ/fastmcp/pull/6073)
- Add Client.read_skill and tighten skills docs by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6087](https://github.com/PrefectHQ/fastmcp/pull/6087)
- Verify and export skills with resource-manifest fallback by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6086](https://github.com/PrefectHQ/fastmcp/pull/6086)
- Forward Skills discovery through proxies by [@&#8203;jakekaplan](https://github.com/jakekaplan) in [#&#8203;5788](https://github.com/PrefectHQ/fastmcp/pull/5788)
- Share strict skill snapshot projection by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6089](https://github.com/PrefectHQ/fastmcp/pull/6089)
- Use scoped local tests and leave full suites to CI by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6094](https://github.com/PrefectHQ/fastmcp/pull/6094)
- Share ClientGroup skill client lookup by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6101](https://github.com/PrefectHQ/fastmcp/pull/6101)
- Share filesystem skill supporting-file reads by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6102](https://github.com/PrefectHQ/fastmcp/pull/6102)
- Deliver concurrent triage reviews, draft fixes and mutation proposals by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6116](https://github.com/PrefectHQ/fastmcp/pull/6116)
- Post Marvin's dedupe and too-long comments from workflow steps by [@&#8203;gaker](https://github.com/gaker) in [#&#8203;6170](https://github.com/PrefectHQ/fastmcp/pull/6170)
- Remove the unused triage mutation batch by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6208](https://github.com/PrefectHQ/fastmcp/pull/6208)
- Restore the status site by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6216](https://github.com/PrefectHQ/fastmcp/pull/6216)
- Add agno, Agent Framework, and OpenAI Agents SDK to downstream smoke by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6222](https://github.com/PrefectHQ/fastmcp/pull/6222)
- Close external PRs until their author is assigned again by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6227](https://github.com/PrefectHQ/fastmcp/pull/6227)
- Let private triage sweeps run without the Sol reviewer by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6229](https://github.com/PrefectHQ/fastmcp/pull/6229)
- Add named model tiers to the agentic triage plans by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6228](https://github.com/PrefectHQ/fastmcp/pull/6228)
- Add reproducible public triage leads to backlog dashboard by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6293](https://github.com/PrefectHQ/fastmcp/pull/6293)
- Add a strict SkillsDirectoryProvider to fastmcp.skills.provider by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6278](https://github.com/PrefectHQ/fastmcp/pull/6278)
- Point experimental_skills at the new provider and drop alpha-only skills code by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6279](https://github.com/PrefectHQ/fastmcp/pull/6279)
- Deprecate the 4.1 skills API for removal in 4.3 by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6280](https://github.com/PrefectHQ/fastmcp/pull/6280)
- Add app restart to the smart home Fire TV example by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6356](https://github.com/PrefectHQ/fastmcp/pull/6356)
- Add a workflow that deploys agentic triage to Prefect Cloud by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6380](https://github.com/PrefectHQ/fastmcp/pull/6380)
- Support Annotated dependencies by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;Kludex](https://github.com/Kludex) in [#&#8203;6378](https://github.com/PrefectHQ/fastmcp/pull/6378)
- Post triage outcomes instead of run starts, and skip maintainer events by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6382](https://github.com/PrefectHQ/fastmcp/pull/6382)
- Support npm_config_registry override in fastmcp dev apps by [@&#8203;Abhi2939](https://github.com/Abhi2939) and [@&#8203;ezz3r](https://github.com/ezz3r) in [#&#8203;5969](https://github.com/PrefectHQ/fastmcp/pull/5969)
- Bump the conformance pin to 0.2.0-alpha.12 and check it weekly by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6424](https://github.com/PrefectHQ/fastmcp/pull/6424)
- Make background task execution TTL configurable by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;carterthayer](https://github.com/carterthayer) in [#&#8203;6428](https://github.com/PrefectHQ/fastmcp/pull/6428)
- Drop --isolated from the ty pre-commit hook by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6430](https://github.com/PrefectHQ/fastmcp/pull/6430)
- Set gen_ai.operation.name on tools/call spans by [@&#8203;zzstoatzz](https://github.com/zzstoatzz), [@&#8203;swantzter](https://github.com/swantzter), and [@&#8203;CaselIT](https://github.com/CaselIT) in [#&#8203;6429](https://github.com/PrefectHQ/fastmcp/pull/6429)
- Let a dependency's CallArgument own a tool argument by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;Kludex](https://github.com/Kludex) in [#&#8203;6438](https://github.com/PrefectHQ/fastmcp/pull/6438)
- Remove private dead code and type-check the companion packages by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6454](https://github.com/PrefectHQ/fastmcp/pull/6454)
- Add SkillManifestProvider to serve skills without loading their files by [@&#8203;jakekaplan](https://github.com/jakekaplan) in [#&#8203;6465](https://github.com/PrefectHQ/fastmcp/pull/6465)

##### Security 🔒

- Verify advertised skill frontmatter when reading content by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6090](https://github.com/PrefectHQ/fastmcp/pull/6090)
- Check skill limits before reading directory and remote files by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6092](https://github.com/PrefectHQ/fastmcp/pull/6092)
- fix: preserve \_list_query_params in FastMCPProviderResourceTemplate.wrap by [@&#8203;RS-ITACHI](https://github.com/RS-ITACHI) in [#&#8203;6130](https://github.com/PrefectHQ/fastmcp/pull/6130)
- Read composite action inputs from env and pin actions by digest by [@&#8203;gaker](https://github.com/gaker) in [#&#8203;6168](https://github.com/PrefectHQ/fastmcp/pull/6168)
- Scope the /marvin App token to the permissions it uses by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6206](https://github.com/PrefectHQ/fastmcp/pull/6206)
- Require patched Authlib in client and server extras by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;zhuweid](https://github.com/zhuweid) in [#&#8203;6337](https://github.com/PrefectHQ/fastmcp/pull/6337)
- Update example locks past the schema-parsing security fix by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6339](https://github.com/PrefectHQ/fastmcp/pull/6339)
- Redact passwords from the worker's backend URL by [@&#8203;jaeminbird](https://github.com/jaeminbird) and [@&#8203;mbishflavien](https://github.com/mbishflavien) in [#&#8203;6113](https://github.com/PrefectHQ/fastmcp/pull/6113)
- fix(auth): collapse a repeated `iss` in the client redirect by [@&#8203;shi-felix](https://github.com/shi-felix) and [@&#8203;alpaylan](https://github.com/alpaylan) in [#&#8203;6352](https://github.com/PrefectHQ/fastmcp/pull/6352)
- Normalize raw-string redirect URIs through AnyUrl before validation by [@&#8203;uhhgxg](https://github.com/uhhgxg) and [@&#8203;alpaylan](https://github.com/alpaylan) in [#&#8203;6315](https://github.com/PrefectHQ/fastmcp/pull/6315)
- fix(auth): include DNS in SSRF deadline by [@&#8203;mikamikasuki](https://github.com/mikamikasuki) in [#&#8203;5509](https://github.com/PrefectHQ/fastmcp/pull/5509)
- fix(transforms): enforce wall-clock timeout and external callback limit in MontySandboxProvider and CodeMode by [@&#8203;Pyhroff](https://github.com/Pyhroff) in [#&#8203;6063](https://github.com/PrefectHQ/fastmcp/pull/6063)

##### Fixes 🐞

- Make the version-check InvalidURL regression independent of proxy parsing by [@&#8203;HootRock](https://github.com/HootRock) in [#&#8203;6048](https://github.com/PrefectHQ/fastmcp/pull/6048)
- Build the Prefab renderer page on read, not on resources/list by [@&#8203;adam-zovos](https://github.com/adam-zovos) in [#&#8203;6039](https://github.com/PrefectHQ/fastmcp/pull/6039)
- Install mounted skills under their own name in sync_skills by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6078](https://github.com/PrefectHQ/fastmcp/pull/6078)
- Stage skill exports before replacing installed files by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6091](https://github.com/PrefectHQ/fastmcp/pull/6091)
- fix: Prefix backend hash addresses with double underscores by [@&#8203;jlowin](https://github.com/jlowin) and [@&#8203;BlueX888](https://github.com/BlueX888) in [#&#8203;6100](https://github.com/PrefectHQ/fastmcp/pull/6100)
- Rebind pre-4.2 Prefab backend addresses through 4.2 proxies by [@&#8203;jakekaplan](https://github.com/jakekaplan) in [#&#8203;6108](https://github.com/PrefectHQ/fastmcp/pull/6108)
- Isolate and bound triage verification by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6109](https://github.com/PrefectHQ/fastmcp/pull/6109)
- Improve OpenAPI upstream error details by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;mssaleh](https://github.com/mssaleh) in [#&#8203;6141](https://github.com/PrefectHQ/fastmcp/pull/6141)
- Compare JSON const and enum values by JSON equality by [@&#8203;prassu017](https://github.com/prassu017) and [@&#8203;alpaylan](https://github.com/alpaylan) in [#&#8203;6126](https://github.com/PrefectHQ/fastmcp/pull/6126)
- Bound Skills proxy backend pagination by [@&#8203;prassu017](https://github.com/prassu017) and [@&#8203;Yash-Tripath1](https://github.com/Yash-Tripath1) in [#&#8203;6104](https://github.com/PrefectHQ/fastmcp/pull/6104)
- fix: forward script arguments in FastMCPStdioTransport by [@&#8203;KashifManzer](https://github.com/KashifManzer) and [@&#8203;BlueX888](https://github.com/BlueX888) in [#&#8203;6119](https://github.com/PrefectHQ/fastmcp/pull/6119)
- Return invalid params for prompts/get with a missing required argument by [@&#8203;asasemahmed](https://github.com/asasemahmed) and [@&#8203;xubenqiang](https://github.com/xubenqiang) in [#&#8203;6027](https://github.com/PrefectHQ/fastmcp/pull/6027)
- Fix kept-alive stdio transports ignoring client timeouts by [@&#8203;HootRock](https://github.com/HootRock) in [#&#8203;6156](https://github.com/PrefectHQ/fastmcp/pull/6156)
- perf(schema): skip unnecessary reference sibling restoration by [@&#8203;andreivince](https://github.com/andreivince) in [#&#8203;6161](https://github.com/PrefectHQ/fastmcp/pull/6161)
- fix(cli): prefer Claude Code project servers by [@&#8203;mikamikasuki](https://github.com/mikamikasuki) in [#&#8203;5522](https://github.com/PrefectHQ/fastmcp/pull/5522)
- fix(cli): preserve JSON content block fields by [@&#8203;mikamikasuki](https://github.com/mikamikasuki) in [#&#8203;5530](https://github.com/PrefectHQ/fastmcp/pull/5530)
- Keep schema definitions when hydrating a wrapped tool result by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5927](https://github.com/PrefectHQ/fastmcp/pull/5927)
- Reject undeclared OpenAPI tool arguments under strict input validation by [@&#8203;prassu017](https://github.com/prassu017) and [@&#8203;mssaleh](https://github.com/mssaleh) in [#&#8203;6140](https://github.com/PrefectHQ/fastmcp/pull/6140)
- fix(resources): reverse hostless URIs through Namespace unchanged by [@&#8203;serhiizghama](https://github.com/serhiizghama) and [@&#8203;andreivince](https://github.com/andreivince) in [#&#8203;5230](https://github.com/PrefectHQ/fastmcp/pull/5230)
- fix(openapi): preserve timeouts so the server maps them to the actionable message by [@&#8203;BlueX888](https://github.com/BlueX888) in [#&#8203;5847](https://github.com/PrefectHQ/fastmcp/pull/5847)
- Keep posted review receipts on partial delivery and reject differing reviews by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6178](https://github.com/PrefectHQ/fastmcp/pull/6178)
- Drop client context holds left by finished tasks by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6205](https://github.com/PrefectHQ/fastmcp/pull/6205)
- Let clients with different timeouts share a kept-alive stdio session by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6223](https://github.com/PrefectHQ/fastmcp/pull/6223)
- fix(cli): preserve explicit null in generated tool commands by [@&#8203;likecake](https://github.com/likecake) in [#&#8203;6191](https://github.com/PrefectHQ/fastmcp/pull/6191)
- Honor empty tag inclusion filters in multi-server configs by [@&#8203;PennEwan](https://github.com/PennEwan) in [#&#8203;6200](https://github.com/PrefectHQ/fastmcp/pull/6200)
- fix(mcp-config): reuse one OAuth client per configured server by [@&#8203;kbkb628](https://github.com/kbkb628) and [@&#8203;whoskn](https://github.com/whoskn) in [#&#8203;6097](https://github.com/PrefectHQ/fastmcp/pull/6097)
- Fix and quiet the triage alerts from 2026-11-02 by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6235](https://github.com/PrefectHQ/fastmcp/pull/6235)
- fix(tasks): send task IDs in routing headers by [@&#8203;eli-yip](https://github.com/eli-yip) in [#&#8203;5810](https://github.com/PrefectHQ/fastmcp/pull/5810)
- fix(middleware): treat an empty methods allowlist as "log nothing" by [@&#8203;gdut4140](https://github.com/gdut4140) in [#&#8203;5727](https://github.com/PrefectHQ/fastmcp/pull/5727)
- Fix namespaced file resource reads while preserving URI normalization by [@&#8203;BlueLi66](https://github.com/BlueLi66) in [#&#8203;5716](https://github.com/PrefectHQ/fastmcp/pull/5716)
- fix(server): pass typed list request messages to list middleware hooks by [@&#8203;BlueX888](https://github.com/BlueX888) in [#&#8203;5732](https://github.com/PrefectHQ/fastmcp/pull/5732)
- Stop OpenAPI end-to-end tests from hitting the network by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6249](https://github.com/PrefectHQ/fastmcp/pull/6249)
- fix(auth): Preserve browser consent bindings across concurrent OAuth approvals by [@&#8203;mikamikasuki](https://github.com/mikamikasuki) in [#&#8203;5541](https://github.com/PrefectHQ/fastmcp/pull/5541)
- fix(openapi): serialize header and path parameters per the simple style by [@&#8203;Harsh23Kashyap](https://github.com/Harsh23Kashyap) in [#&#8203;5091](https://github.com/PrefectHQ/fastmcp/pull/5091)
- Fall back to method and path when an OpenAPI name slugs to nothing by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5699](https://github.com/PrefectHQ/fastmcp/pull/5699)
- Convert OpenAPI 3.0 boolean exclusive bounds to numeric bounds by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5697](https://github.com/PrefectHQ/fastmcp/pull/5697)
- Rewrite component refs under not, if/then/else and similar keywords by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5698](https://github.com/PrefectHQ/fastmcp/pull/5698)
- fix(openapi): keep media-type $defs beside component schemas by [@&#8203;BlueX888](https://github.com/BlueX888) in [#&#8203;5709](https://github.com/PrefectHQ/fastmcp/pull/5709)
- Omit readOnly properties from OpenAPI tool input schemas by [@&#8203;AarnavNoble](https://github.com/AarnavNoble) in [#&#8203;5753](https://github.com/PrefectHQ/fastmcp/pull/5753)
- fix: name root self-references after the generated root class by [@&#8203;BlueX888](https://github.com/BlueX888) in [#&#8203;5671](https://github.com/PrefectHQ/fastmcp/pull/5671)
- fix(proxy): keep stale list results out of cache by [@&#8203;mikamikasuki](https://github.com/mikamikasuki) in [#&#8203;5521](https://github.com/PrefectHQ/fastmcp/pull/5521)
- Match Claude Code project keys by path on Windows by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;yongpange](https://github.com/yongpange) in [#&#8203;6240](https://github.com/PrefectHQ/fastmcp/pull/6240)
- Stop preloading the server before launching the Inspector by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;mikamikasuki](https://github.com/mikamikasuki) in [#&#8203;6241](https://github.com/PrefectHQ/fastmcp/pull/6241)
- Cull expired OAuth state from the default OAuthProxy file store by [@&#8203;zzstoatzz](https://github.com/zzstoatzz), [@&#8203;nosmile99](https://github.com/nosmile99), and [@&#8203;mheidari98](https://github.com/mheidari98) in [#&#8203;6242](https://github.com/PrefectHQ/fastmcp/pull/6242)
- Reuse the stdio session after a cancelled startup by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;mikamikasuki](https://github.com/mikamikasuki) in [#&#8203;6243](https://github.com/PrefectHQ/fastmcp/pull/6243)
- Match Gemini function responses to tool-use IDs by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;mikamikasuki](https://github.com/mikamikasuki) in [#&#8203;6244](https://github.com/PrefectHQ/fastmcp/pull/6244)
- Replace parent type keywords when an ArgTransform changes the type by [@&#8203;zzstoatzz](https://github.com/zzstoatzz), [@&#8203;syf2211](https://github.com/syf2211), [@&#8203;HootRock](https://github.com/HootRock), and [@&#8203;chrikrah](https://github.com/chrikrah) in [#&#8203;6246](https://github.com/PrefectHQ/fastmcp/pull/6246)
- Expire idle per-client rate limiters by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;mikamikasuki](https://github.com/mikamikasuki) in [#&#8203;6247](https://github.com/PrefectHQ/fastmcp/pull/6247)
- Match resource templates that spell out a literal query by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;arieleven](https://github.com/arieleven) in [#&#8203;6248](https://github.com/PrefectHQ/fastmcp/pull/6248)
- fix(openapi): preserve explicit null in nullable JSON body properties by [@&#8203;mumu-bird](https://github.com/mumu-bird) in [#&#8203;5633](https://github.com/PrefectHQ/fastmcp/pull/5633)
- Keep OpenAPI refs that point into a component schema intact by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;AarnavNoble](https://github.com/AarnavNoble) in [#&#8203;6245](https://github.com/PrefectHQ/fastmcp/pull/6245)
- fix(telemetry): record mounted and nested server spans as INTERNAL by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;sonmaximum](https://github.com/sonmaximum) in [#&#8203;6252](https://github.com/PrefectHQ/fastmcp/pull/6252)
- fix(client): identify as fastmcp in clientInfo by default by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6254](https://github.com/PrefectHQ/fastmcp/pull/6254)
- fix(openapi): keep both values when a query object property matches another parameter by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;alpaylan](https://github.com/alpaylan) in [#&#8203;6256](https://github.com/PrefectHQ/fastmcp/pull/6256)
- fix(middleware): map exception subclasses in ErrorHandlingMiddleware by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;zurmag](https://github.com/zurmag) in [#&#8203;6257](https://github.com/PrefectHQ/fastmcp/pull/6257)
- fix(client): report a lost connection instead of 'Client is not connected' by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;alex-feel](https://github.com/alex-feel) in [#&#8203;6259](https://github.com/PrefectHQ/fastmcp/pull/6259)
- fix(client): keep ClientGroup tool routes after the group context exits by [@&#8203;zzstoatzz](https://github.com/zzstoatzz), [@&#8203;hntrl](https://github.com/hntrl), and [@&#8203;YingzuoLiu](https://github.com/YingzuoLiu) in [#&#8203;6268](https://github.com/PrefectHQ/fastmcp/pull/6268)
- Accept structured skill metadata and allowed-tools lists by [@&#8203;jakekaplan](https://github.com/jakekaplan) in [#&#8203;6292](https://github.com/PrefectHQ/fastmcp/pull/6292)
- Preserve 4.1 skills type checks and resource-only manifest migration by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6305](https://github.com/PrefectHQ/fastmcp/pull/6305)
- Fix generated CLIs for tools named app, console or Client by [@&#8203;andreivince](https://github.com/andreivince) in [#&#8203;6056](https://github.com/PrefectHQ/fastmcp/pull/6056)
- Disambiguate colliding parameter flags in generate-cli by [@&#8203;mohitdixit02](https://github.com/mohitdixit02) and [@&#8203;andreivince](https://github.com/andreivince) in [#&#8203;6311](https://github.com/PrefectHQ/fastmcp/pull/6311)
- fix: preserve CRLF descriptions in generated CLI parameter help by [@&#8203;chris00234](https://github.com/chris00234) in [#&#8203;6075](https://github.com/PrefectHQ/fastmcp/pull/6075)
- fix(agentic): repair baseline collection verification by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6313](https://github.com/PrefectHQ/fastmcp/pull/6313)
- Reject non-positive event retention limits by [@&#8203;mikamikasuki](https://github.com/mikamikasuki) in [#&#8203;5535](https://github.com/PrefectHQ/fastmcp/pull/5535)
- fix(search): rebuild the BM25 index when the tool name set changes by [@&#8203;shi-felix](https://github.com/shi-felix) in [#&#8203;6282](https://github.com/PrefectHQ/fastmcp/pull/6282)
- fix(tools): keep hidden parameter factories out of visible defaults by [@&#8203;shi-felix](https://github.com/shi-felix) in [#&#8203;6283](https://github.com/PrefectHQ/fastmcp/pull/6283)
- fix(auth): accept private-use scheme redirect URIs in CIMD documents by [@&#8203;ColePBryan](https://github.com/ColePBryan) in [#&#8203;6335](https://github.com/PrefectHQ/fastmcp/pull/6335)
- Report the stop reason from sampling handlers when no tools are offered by [@&#8203;AarnavNoble](https://github.com/AarnavNoble) in [#&#8203;6342](https://github.com/PrefectHQ/fastmcp/pull/6342)
- fix(auth): preserve empty authority on custom-scheme redirect URIs by [@&#8203;codesphere-u](https://github.com/codesphere-u) and [@&#8203;alpaylan](https://github.com/alpaylan) in [#&#8203;6347](https://github.com/PrefectHQ/fastmcp/pull/6347)
- Declare items.type on multi-select list shorthand elicitations by [@&#8203;zzstoatzz](https://github.com/zzstoatzz), [@&#8203;shi-felix](https://github.com/shi-felix), [@&#8203;Vivek1898](https://github.com/Vivek1898), and [@&#8203;alpaylan](https://github.com/alpaylan) in [#&#8203;6361](https://github.com/PrefectHQ/fastmcp/pull/6361)
- Mask prompt handler exceptions when mask_error_details=True by [@&#8203;pratyu2h](https://github.com/pratyu2h) and [@&#8203;maxmorrish](https://github.com/maxmorrish) in [#&#8203;6277](https://github.com/PrefectHQ/fastmcp/pull/6277)
- Send {} for required OpenAPI object bodies with no fields by [@&#8203;rome-xi](https://github.com/rome-xi) and [@&#8203;wang1299](https://github.com/wang1299) in [#&#8203;6340](https://github.com/PrefectHQ/fastmcp/pull/6340)
- fix(client): keep the response cache inert on legacy connections ([#&#8203;6298](https://github.com/PrefectHQ/fastmcp/issues/6298)) by [@&#8203;xunWhale](https://github.com/xunWhale) and [@&#8203;alpaylan](https://github.com/alpaylan) in [#&#8203;6321](https://github.com/PrefectHQ/fastmcp/pull/6321)
- Encode manifest paths in download_skill URIs by [@&#8203;zzstoatzz](https://github.com/zzstoatzz), [@&#8203;67-luck](https://github.com/67-luck), and [@&#8203;BlueX888](https://github.com/BlueX888) in [#&#8203;6376](https://github.com/PrefectHQ/fastmcp/pull/6376)
- Fix skill discovery for nested supporting files by [@&#8203;mahekara28](https://github.com/mahekara28) and [@&#8203;alpaylan](https://github.com/alpaylan) in [#&#8203;6310](https://github.com/PrefectHQ/fastmcp/pull/6310)
- fix: keep additionalProperties on object schemas without a type by [@&#8203;bfs2021](https://github.com/bfs2021) and [@&#8203;alpaylan](https://github.com/alpaylan) in [#&#8203;6127](https://github.com/PrefectHQ/fastmcp/pull/6127)
- Fix hydration of mutually recursive schema types by [@&#8203;zzstoatzz](https://github.com/zzstoatzz), [@&#8203;wozhenbang2004](https://github.com/wozhenbang2004), and [@&#8203;alpaylan](https://github.com/alpaylan) in [#&#8203;6394](https://github.com/PrefectHQ/fastmcp/pull/6394)
- Isolate filesystem component construction failures by [@&#8203;PennEwan](https://github.com/PennEwan) in [#&#8203;6210](https://github.com/PrefectHQ/fastmcp/pull/6210)
- fix(config): apply tool transforms before tag filters on single servers by [@&#8203;AP24110011695](https://github.com/AP24110011695) and [@&#8203;arjunprabhulal](https://github.com/arjunprabhulal) in [#&#8203;6214](https://github.com/PrefectHQ/fastmcp/pull/6214)
- fix(tools): isolate mutable defaults in transformed tool calls by [@&#8203;priy-anshugupta](https://github.com/priy-anshugupta) in [#&#8203;6184](https://github.com/PrefectHQ/fastmcp/pull/6184)
- fix(openapi): make resource templates for non-identifier path parameters readable by [@&#8203;AP24110011695](https://github.com/AP24110011695) and [@&#8203;alpaylan](https://github.com/alpaylan) in [#&#8203;6187](https://github.com/PrefectHQ/fastmcp/pull/6187)
- fix(json-schema): keep tools/list working when a root $ref resolves to a boolean schema by [@&#8203;AP24110011695](https://github.com/AP24110011695) and [@&#8203;alpaylan](https://github.com/alpaylan) in [#&#8203;6185](https://github.com/PrefectHQ/fastmcp/pull/6185)
- Document that a custom httpx_client_factory owns its timeout by [@&#8203;asasemahmed](https://github.com/asasemahmed) and [@&#8203;himanshuchawla0807-gif](https://github.com/himanshuchawla0807-gif) in [#&#8203;5923](https://github.com/PrefectHQ/fastmcp/pull/5923)
- Stop PingMiddleware erroring when the client has no back-channel by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5901](https://github.com/PrefectHQ/fastmcp/pull/5901)
- Store sessionless client log levels on the connection by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5899](https://github.com/PrefectHQ/fastmcp/pull/5899)
- Send the whole body when a body $ref with siblings cannot be flattened by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5893](https://github.com/PrefectHQ/fastmcp/pull/5893)
- Pass the transport to the fastmcp-remote proxy so it forwards server-initiated requests by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5885](https://github.com/PrefectHQ/fastmcp/pull/5885)
- fix(cli): forward path, stateless and log-level to SDK MCPServer servers by [@&#8203;BlueX888](https://github.com/BlueX888) in [#&#8203;5870](https://github.com/PrefectHQ/fastmcp/pull/5870)
- fix(client): preserve a caller-provided OAuth httpx client factory when verify is set by [@&#8203;BlueX888](https://github.com/BlueX888) in [#&#8203;5849](https://github.com/PrefectHQ/fastmcp/pull/5849)
- fix(prompts): resolve postponed annotations when rendering by [@&#8203;67-luck](https://github.com/67-luck) and [@&#8203;BlueX888](https://github.com/BlueX888) in [#&#8203;5803](https://github.com/PrefectHQ/fastmcp/pull/5803)
- fix(openapi): hydrate data for wrapped non-object responses with validate_output=False by [@&#8203;nosmile99](https://github.com/nosmile99) and [@&#8203;BlueX888](https://github.com/BlueX888) in [#&#8203;5784](https://github.com/PrefectHQ/fastmcp/pull/5784)
- Carry prompt argument titles through PromptArgument and proxies by [@&#8203;AarnavNoble](https://github.com/AarnavNoble) in [#&#8203;5749](https://github.com/PrefectHQ/fastmcp/pull/5749)
- Relay the client's sampling result unchanged through proxies by [@&#8203;AarnavNoble](https://github.com/AarnavNoble) in [#&#8203;5747](https://github.com/PrefectHQ/fastmcp/pull/5747)
- fix(tasks): let async-generator tools run as background tasks by [@&#8203;gdut4140](https://github.com/gdut4140) in [#&#8203;5730](https://github.com/PrefectHQ/fastmcp/pull/5730)
- Honor Code Mode search limits after BM25 ranking by [@&#8203;Winoren](https://github.com/Winoren) and [@&#8203;BlueX888](https://github.com/BlueX888) in [#&#8203;5715](https://github.com/PrefectHQ/fastmcp/pull/5715)
- Keep the client timeout from capping the HTTP read timeout by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5690](https://github.com/PrefectHQ/fastmcp/pull/5690)
- fix(auth): avoid rereading failed authorization forms by [@&#8203;pei711](https://github.com/pei711) and [@&#8203;JordanAfolabiLaw](https://github.com/JordanAfolabiLaw) in [#&#8203;5570](https://github.com/PrefectHQ/fastmcp/pull/5570)
- Fix unbounded Apps dev log retention by [@&#8203;mikamikasuki](https://github.com/mikamikasuki) in [#&#8203;5549](https://github.com/PrefectHQ/fastmcp/pull/5549)
- Bound error-stat cardinality in ErrorHandlingMiddleware by [@&#8203;mikamikasuki](https://github.com/mikamikasuki) in [#&#8203;5537](https://github.com/PrefectHQ/fastmcp/pull/5537)
- fix(auth): preserve GitHub sessions across transient verification failures by [@&#8203;sui-ni2](https://github.com/sui-ni2) and [@&#8203;benjohngf](https://github.com/benjohngf) in [#&#8203;4881](https://github.com/PrefectHQ/fastmcp/pull/4881)
- Expect the extended read timeout in the factory timeout test by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6395](https://github.com/PrefectHQ/fastmcp/pull/6395)
- Accept intake's contribution route in the triage review check by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6405](https://github.com/PrefectHQ/fastmcp/pull/6405)
- fix(auth): keep revocation ownership separate from user identity by [@&#8203;zzstoatzz](https://github.com/zzstoatzz), [@&#8203;BlueX888](https://github.com/BlueX888), and [@&#8203;67-luck](https://github.com/67-luck) in [#&#8203;6404](https://github.com/PrefectHQ/fastmcp/pull/6404)
- Authenticate and pin the schema download in the OpenAPI performance test by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6177](https://github.com/PrefectHQ/fastmcp/pull/6177)
- Use renamed argument names in transformed tool validation errors by [@&#8203;kartikmadan11](https://github.com/kartikmadan11) in [#&#8203;6158](https://github.com/PrefectHQ/fastmcp/pull/6158)
- Preserve invalid defaults for omitted JSON Schema fields by [@&#8203;totoyang](https://github.com/totoyang) and [@&#8203;alpaylan](https://github.com/alpaylan) in [#&#8203;6133](https://github.com/PrefectHQ/fastmcp/pull/6133)
- Validate positional array prefixes separately from their tails by [@&#8203;PennEwan](https://github.com/PennEwan) and [@&#8203;alpaylan](https://github.com/alpaylan) in [#&#8203;6146](https://github.com/PrefectHQ/fastmcp/pull/6146)
- Fix resource templates with multiple query expressions by [@&#8203;xiong-wei1](https://github.com/xiong-wei1) in [#&#8203;6061](https://github.com/PrefectHQ/fastmcp/pull/6061)
- fix(json-schema): decode RFC 6901 escapes when extracting $defs names by [@&#8203;AP24110011695](https://github.com/AP24110011695) and [@&#8203;RS-ITACHI](https://github.com/RS-ITACHI) in [#&#8203;6180](https://github.com/PrefectHQ/fastmcp/pull/6180)
- Drop backend serverInfo from proxied tool and prompt results by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5911](https://github.com/PrefectHQ/fastmcp/pull/5911)
- fix(telemetry): record exceptions once per span by [@&#8203;DMomplaisir](https://github.com/DMomplaisir) in [#&#8203;5861](https://github.com/PrefectHQ/fastmcp/pull/5861)
- fix(resources): honor Pydantic field aliases in resource templates by [@&#8203;anh-nguyenn](https://github.com/anh-nguyenn) and [@&#8203;BlueX888](https://github.com/BlueX888) in [#&#8203;6054](https://github.com/PrefectHQ/fastmcp/pull/6054)
- fix(auth): authorize hashed app-tool names and synthesized Prefab resources by [@&#8203;BlueX888](https://github.com/BlueX888) in [#&#8203;5841](https://github.com/PrefectHQ/fastmcp/pull/5841)
- fix(server): serialize structured prompt arguments before middleware by [@&#8203;67-luck](https://github.com/67-luck) and [@&#8203;BlueX888](https://github.com/BlueX888) in [#&#8203;5805](https://github.com/PrefectHQ/fastmcp/pull/5805)
- fix(client): stop validating version-pinned call_tool results against the highest version's schema by [@&#8203;gdut4140](https://github.com/gdut4140) in [#&#8203;5725](https://github.com/PrefectHQ/fastmcp/pull/5725)
- Preserve typed additional properties in hydrated tool results by [@&#8203;PrathmeshPawar2110](https://github.com/PrathmeshPawar2110), [@&#8203;yannvr](https://github.com/yannvr), [@&#8203;BlueX888](https://github.com/BlueX888), and [@&#8203;hulkbig](https://github.com/hulkbig) in [#&#8203;5779](https://github.com/PrefectHQ/fastmcp/pull/5779)
- fix(server): serve Mcp-Param validation from a wire-schema cache by [@&#8203;akushonkamen](https://github.com/akushonkamen) and [@&#8203;anormang1992](https://github.com/anormang1992) in [#&#8203;5666](https://github.com/PrefectHQ/fastmcp/pull/5666)
- Fix [#&#8203;5563](https://github.com/PrefectHQ/fastmcp/issues/5563): OTel: prefer `AccessToken.subject` over `client_id` for `enduser.id` by [@&#8203;nandanadileep](https://github.com/nandanadileep) and [@&#8203;omikader](https://github.com/omikader) in [#&#8203;5565](https://github.com/PrefectHQ/fastmcp/pull/5565)
- fix: decode URI fragments before schema reference hydration by [@&#8203;HuaTNA](https://github.com/HuaTNA) in [#&#8203;5561](https://github.com/PrefectHQ/fastmcp/pull/5561)
- Fix [#&#8203;5559](https://github.com/PrefectHQ/fastmcp/issues/5559): Configuration helpers still discard explicit port=0 by [@&#8203;nandanadileep](https://github.com/nandanadileep) and [@&#8203;dream-star-end](https://github.com/dream-star-end) in [#&#8203;5562](https://github.com/PrefectHQ/fastmcp/pull/5562)
- Preserve or explicitly reject images in sampling tool results by [@&#8203;mikamikasuki](https://github.com/mikamikasuki) in [#&#8203;5554](https://github.com/PrefectHQ/fastmcp/pull/5554)
- fix(client): close partial group connections on cancellation by [@&#8203;mikamikasuki](https://github.com/mikamikasuki) in [#&#8203;5519](https://github.com/PrefectHQ/fastmcp/pull/5519)
- fix(cli): resolve config paths beside fastmcp.json by [@&#8203;mikamikasuki](https://github.com/mikamikasuki) in [#&#8203;5511](https://github.com/PrefectHQ/fastmcp/pull/5511)
- fix(tools): reject non-finite floats at the JSON serialization boundary by [@&#8203;akushonkamen](https://github.com/akushonkamen) and [@&#8203;YogaSakti](https://github.com/YogaSakti) in [#&#8203;5665](https://github.com/PrefectHQ/fastmcp/pull/5665)
- Make the partial-construction stdio test fast and strict by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6433](https://github.com/PrefectHQ/fastmcp/pull/6433)
- test: isolate consent checks and preserve OpenAPI download budget by [@&#8203;Larry-Labs](https://github.com/Larry-Labs) in [#&#8203;5664](https://github.com/PrefectHQ/fastmcp/pull/5664)
- fix(client): validate accepted elicitation content by [@&#8203;mikamikasuki](https://github.com/mikamikasuki) in [#&#8203;5513](https://github.com/PrefectHQ/fastmcp/pull/5513)
- fix: `session: UserSession` on a resource or resource template fails at registration by [@&#8203;xixi-box](https://github.com/xixi-box) and [@&#8203;arjunprabhulal](https://github.com/arjunprabhulal) in [#&#8203;6198](https://github.com/PrefectHQ/fastmcp/pull/6198)
- fix(cli): parse JSON for non-string unions and accept null in call args by [@&#8203;Christian-Sidak](https://github.com/Christian-Sidak) and [@&#8203;BHAWESHBHASKAR](https://github.com/BHAWESHBHASKAR) in [#&#8203;6012](https://github.com/PrefectHQ/fastmcp/pull/6012)
- Forward URL-mode elicitation through the proxy by [@&#8203;Kushal9889](https://github.com/Kushal9889) in [#&#8203;5980](https://github.com/PrefectHQ/fastmcp/pull/5980)
- Let context list calls run outside a request by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5903](https://github.com/PrefectHQ/fastmcp/pull/5903)
- Keep ResourceLink content on prompt messages by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5897](https://github.com/PrefectHQ/fastmcp/pull/5897)
- Accept WorkOS tokens when required_scopes is set by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5881](https://github.com/PrefectHQ/fastmcp/pull/5881)
- fix(openapi): JSON-encode object form fields in urlencoded request bodies by [@&#8203;BlueX888](https://github.com/BlueX888) in [#&#8203;5851](https://github.com/PrefectHQ/fastmcp/pull/5851)
- Keep task config and execution on transformed tools by [@&#8203;Winoren](https://github.com/Winoren) and [@&#8203;BlueX888](https://github.com/BlueX888) in [#&#8203;5793](https://github.com/PrefectHQ/fastmcp/pull/5793)
- fix(proxy): relay non-object tool results across MCP versions by [@&#8203;Lpk124](https://github.com/Lpk124) and [@&#8203;maxime-gautre](https://github.com/maxime-gautre) in [#&#8203;5763](https://github.com/PrefectHQ/fastmcp/pull/5763)
- Fix [#&#8203;5706](https://github.com/PrefectHQ/fastmcp/issues/5706): Resource template with a level-3 operator such as {\&size} is listed but can never be read by [@&#8203;nandanadileep](https://github.com/nandanadileep) and [@&#8203;chrikrah](https://github.com/chrikrah) in [#&#8203;5711](https://github.com/PrefectHQ/fastmcp/pull/5711)
- fix(server): fall back to the highest authorized version on direct lookup by [@&#8203;gshklovs](https://github.com/gshklovs) and [@&#8203;CoralGarden52](https://github.com/CoralGarden52) in [#&#8203;5169](https://github.com/PrefectHQ/fastmcp/pull/5169)
- Resolve deferred defaults by alias and keep unverified GitHub scopes out of the cache by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6417](https://github.com/PrefectHQ/fastmcp/pull/6417)
- Drop unpinned ping from auth example clients by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;stephaneberle9](https://github.com/stephaneberle9) in [#&#8203;6418](https://github.com/PrefectHQ/fastmcp/pull/6418)
- Call a re-versioned tool by its transformed version by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;MayankTamakuwala](https://github.com/MayankTamakuwala) in [#&#8203;6419](https://github.com/PrefectHQ/fastmcp/pull/6419)
- Apply logging/setLevel to mounted servers over HTTP sessions by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;alpaylan](https://github.com/alpaylan) in [#&#8203;6421](https://github.com/PrefectHQ/fastmcp/pull/6421)
- Reconnect StdioTransport when reused on a different event loop by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;dsfaccini](https://github.com/dsfaccini) in [#&#8203;6425](https://github.com/PrefectHQ/fastmcp/pull/6425)
- Forward list-changed notifications through ProxyClient by [@&#8203;zzstoatzz](https://github.com/zzstoatzz), [@&#8203;chrikrah](https://github.com/chrikrah), and [@&#8203;ldlda](https://github.com/ldlda) in [#&#8203;6426](https://github.com/PrefectHQ/fastmcp/pull/6426)
- Report JSON-RPC error codes and request ids on telemetry spans by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6427](https://github.com/PrefectHQ/fastmcp/pull/6427)
- Stop the SSE endpoint sending a second response after its stream by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;JonZeolla](https://github.com/JonZeolla) in [#&#8203;6431](https://github.com/PrefectHQ/fastmcp/pull/6431)
- Bypass proxy env when fastmcp dev apps lists tools by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;AlyLanier](https://github.com/AlyLanier) in [#&#8203;6422](https://github.com/PrefectHQ/fastmcp/pull/6422)
- fix(context): allow background task logging without a session by [@&#8203;67-luck](https://github.com/67-luck) and [@&#8203;BlueX888](https://github.com/BlueX888) in [#&#8203;5806](https://github.com/PrefectHQ/fastmcp/pull/5806)
- fix(skills): follow empty pagination cursors when listing skills by [@&#8203;67-luck](https://github.com/67-luck) in [#&#8203;6473](https://github.com/PrefectHQ/fastmcp/pull/6473)
- Fix the CLI .js deprecation warning and a dead error-message link by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6453](https://github.com/PrefectHQ/fastmcp/pull/6453)
- Ignore stray ResourceWarnings in CLI OAuth warning checks by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6474](https://github.com/PrefectHQ/fastmcp/pull/6474)
- Accept a sync tool timeout that fires before its thread starts by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6475](https://github.com/PrefectHQ/fastmcp/pull/6475)
- Drop GC ResourceWarnings at the assertion in CLI OAuth warning checks by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6481](https://github.com/PrefectHQ/fastmcp/pull/6481)

##### Docs 📚

- Consolidate skills docs into one Skills over MCP page by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6049](https://github.com/PrefectHQ/fastmcp/pull/6049)
- Rewrite skills docs around Skill and SkillCatalogProvider by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6066](https://github.com/PrefectHQ/fastmcp/pull/6066)
- Tighten skills docs examples by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6070](https://github.com/PrefectHQ/fastmcp/pull/6070)
- Shorten the skills docs page by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6079](https://github.com/PrefectHQ/fastmcp/pull/6079)
- Badge the skills page as 4.2.0 by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6083](https://github.com/PrefectHQ/fastmcp/pull/6083)
- Consolidate skills examples around verified Skill values by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6093](https://github.com/PrefectHQ/fastmcp/pull/6093)
- docs: add v4.2.0a1 changelog entries by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6105](https://github.com/PrefectHQ/fastmcp/pull/6105)
- Add MCP tool annotations to get_file example by [@&#8203;gl1tchdust](https://github.com/gl1tchdust) in [#&#8203;5976](https://github.com/PrefectHQ/fastmcp/pull/5976)
- Fix dead links in current documentation by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;Wilson0511](https://github.com/Wilson0511) in [#&#8203;6142](https://github.com/PrefectHQ/fastmcp/pull/6142)
- docs: rename Horizon to FastMCP Gateway in current docs by [@&#8203;parkedwards](https://github.com/parkedwards) in [#&#8203;5653](https://github.com/PrefectHQ/fastmcp/pull/5653)
- Document strict-mode handling of undeclared OpenAPI arguments by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6169](https://github.com/PrefectHQ/fastmcp/pull/6169)
- docs: add v4.2.0a2 changelog entries by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6224](https://github.com/PrefectHQ/fastmcp/pull/6224)
- docs(settings): explain what FASTMCP_DEBUG actually does by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;ianw](https://github.com/ianw) in [#&#8203;6255](https://github.com/PrefectHQ/fastmcp/pull/6255)
- docs: pass referrers on outbound links, add organization schema and page descriptions by [@&#8203;madureira-gabriel](https://github.com/madureira-gabriel) in [#&#8203;6287](https://github.com/PrefectHQ/fastmcp/pull/6287)
- docs: add v4.2.0a3 changelog entries by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6306](https://github.com/PrefectHQ/fastmcp/pull/6306)
- docs: preserve docs routing metadata and release guidance by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6320](https://github.com/PrefectHQ/fastmcp/pull/6320)
- Correct how tools docs describe bytes return values by [@&#8203;DivyaNarahari97](https://github.com/DivyaNarahari97) in [#&#8203;6275](https://github.com/PrefectHQ/fastmcp/pull/6275)
- docs: add v4.2.0a4 changelog entries by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6388](https://github.com/PrefectHQ/fastmcp/pull/6388)
- docs: correct the server pages against main by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6406](https://github.com/PrefectHQ/fastmcp/pull/6406)
- docs: correct the client pages against main by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6407](https://github.com/PrefectHQ/fastmcp/pull/6407)
- docs: correct the apps pages against main by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6409](https://github.com/PrefectHQ/fastmcp/pull/6409)
- docs: correct getting started, CLI and deployment pages against main by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6410](https://github.com/PrefectHQ/fastmcp/pull/6410)
- docs: correct the integration pages against main by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6408](https://github.com/PrefectHQ/fastmcp/pull/6408)
- docs: label the current docs version v4 by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6411](https://github.com/PrefectHQ/fastmcp/pull/6411)
- docs: explain root_path for SSE behind a prefix-stripping proxy by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;KnittelK](https://github.com/KnittelK) in [#&#8203;6215](https://github.com/PrefectHQ/fastmcp/pull/6215)
- docs: keep the search shortcut hint off the button edge by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6413](https://github.com/PrefectHQ/fastmcp/pull/6413)
- docs: clarify tool errors and middleware transformations by [@&#8203;rasokiwayami](https://github.com/rasokiwayami) and [@&#8203;jeffsawatzky](https://github.com/jeffsawatzky) in [#&#8203;5566](https://github.com/PrefectHQ/fastmcp/pull/5566)
- docs: server-level component changes don't notify clients by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;Ngtvu1752](https://github.com/Ngtvu1752) in [#&#8203;6423](https://github.com/PrefectHQ/fastmcp/pull/6423)
- docs: badge 4.2.0 features and add the 4.1 → 4.2 upgrade guide by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6436](https://github.com/PrefectHQ/fastmcp/pull/6436)
- Pre-4.2 polish: stale docs, examples and docstrings by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6452](https://github.com/PrefectHQ/fastmcp/pull/6452)
- docs: add v4.2.0a5 changelog entries by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6469](https://github.com/PrefectHQ/fastmcp/pull/6469)
- Update docs logo to new FastMCP wordmark by [@&#8203;ninadewane](https://github.com/ninadewane) in [#&#8203;6462](https://github.com/PrefectHQ/fastmcp/pull/6462)
- docs: add v4.2.0 changelog entries by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6482](https://github.com/PrefectHQ/fastmcp/pull/6482)

##### Examples & Contrib 💡

- Register templated MCPMixin resources as resource templates by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5895](https://github.com/PrefectHQ/fastmcp/pull/5895)
- Keep structured content on bulk tool results by [@&#8203;asasemahmed](https://github.com/asasemahmed) in [#&#8203;5917](https://github.com/PrefectHQ/fastmcp/pull/5917)

##### Dependencies 📦

- build(deps): bump mcp from 1.28.1 to 1.30.0 in /examples/testing_demo in the uv group across 1 directory by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;5990](https://github.com/PrefectHQ/fastmcp/pull/5990)

##### Other Changes 🦾

- chore(deps): Update dependency ruff to v0.17.2 by [@&#8203;prefect-renovate](https://github.com/prefect-renovate)\[bot] in [#&#8203;6233](https://github.com/PrefectHQ/fastmcp/pull/6233)
- chore(deps): Pin dependencies by [@&#8203;prefect-renovate](https://github.com/prefect-renovate)\[bot] in [#&#8203;6064](https://github.com/PrefectHQ/fastmcp/pull/6064)
- Require patched joserfc by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) in [#&#8203;6371](https://github.com/PrefectHQ/fastmcp/pull/6371)
- Keep colon-terminated prose lines in docstring tool descriptions by [@&#8203;zzstoatzz](https://github.com/zzstoatzz), [@&#8203;jlx1999s](https://github.com/jlx1999s), and [@&#8203;ptrailblazer89](https://github.com/ptrailblazer89) in [#&#8203;6372](https://github.com/PrefectHQ/fastmcp/pull/6372)
- chore(deps): Update dependency oauthlib to v4.0.1 \[SECURITY] by [@&#8203;prefect-renovate](https://github.com/prefect-renovate)\[bot] in [#&#8203;6367](https://github.com/PrefectHQ/fastmcp/pull/6367)
- chore(deps): Update dependency node to v26 by [@&#8203;prefect-renovate](https://github.com/prefect-renovate)\[bot] in [#&#8203;6234](https://github.com/PrefectHQ/fastmcp/pull/6234)
- chore(deps): Update dependency prefect to v3.9.1 by [@&#8203;prefect-renovate](https://github.com/prefect-renovate)\[bot] in [#&#8203;6232](https://github.com/PrefectHQ/fastmcp/pull/6232)
- Keep completion from suggesting values for hidden references by [@&#8203;zzstoatzz](https://github.com/zzstoatzz) and [@&#8203;pvliesdonk](https://github.com/pvliesdonk) in [#&#8203;6450](https://github.com/PrefectHQ/fastmcp/pull/6450)

</details>

<details>
<summary>New contributors</summary>

- [@&#8203;adam-zovos](https://github.com/adam-zovos) made their first contribution in [#&#8203;6039](https://github.com/PrefectHQ/fastmcp/pull/6039)
- [@&#8203;fprieto14](https://github.com/fprieto14) made their first contribution in [#&#8203;6077](https://github.com/PrefectHQ/fastmcp/pull/6077)
- [@&#8203;keremoktener](https://github.com/keremoktener) made their first contribution in [#&#8203;6077](https://github.com/PrefectHQ/fastmcp/pull/6077)
- [@&#8203;gl1tchdust](https://github.com/gl1tchdust) made their first contribution in [#&#8203;5976](https://github.com/PrefectHQ/fastmcp/pull/5976)
- [@&#8203;Yash-Tripath1](https://github.com/Yash-Tripath1) made their first contribution in [#&#8203;6104](https://github.com/PrefectHQ/fastmcp/pull/6104)
- [@&#8203;ianw](https://github.com/ianw) made their first contribution in [#&#8203;6255](https://github.com/PrefectHQ/fastmcp/pull/6255)
- [@&#8203;hntrl](https://github.com/hntrl) made their first contribution in [#&#8203;6268](https://github.com/PrefectHQ/fastmcp/pull/6268)
- [@&#8203;YingzuoLiu](https://github.com/YingzuoLiu) made their first contribution in [#&#8203;6268](https://github.com/PrefectHQ/fastmcp/pull/6268)
- [@&#8203;mohitdixit02](https://github.com/mohitdixit02) made their first contribution in [#&#8203;6311](https://github.com/PrefectHQ/fastmcp/pull/6311)
- [@&#8203;chris00234](https://github.com/chris00234) made their first contribution in [#&#8203;6075](https://github.com/PrefectHQ/fastmcp/pull/6075)
- [@&#8203;67-luck](https://github.com/67-luck) made their first contribution in [#&#8203;6376](https://github.com/PrefectHQ/fastmcp/pull/6376)
- [@&#8203;mahekara28](https://github.com/mahekara28) made their first contribution in [#&#8203;6310](https://github.com/PrefectHQ/fastmcp/pull/6310)
- [@&#8203;DMomplaisir](https://github.com/DMomplaisir) made their first contribution in [#&#8203;5861](https://github.com/PrefectHQ/fastmcp/pull/5861)
- [@&#8203;KnittelK](https://github.com/KnittelK) made their first contribution in [#&#8203;6215](https://github.com/PrefectHQ/fastmcp/pull/6215)
- [@&#8203;kartikmadan11](https://github.com/kartikmadan11) made their first contribution in [#&#8203;6158](https://github.com/PrefectHQ/fastmcp/pull/6158)
- [@&#8203;totoyang](https://github.com/totoyang) made their first contribution in [#&#8203;6133](https://github.com/PrefectHQ/fastmcp/pull/6133)
- [@&#8203;xiong-wei1](https://github.com/xiong-wei1) made their first contribution in [#&#8203;6061](https://github.com/PrefectHQ/fastmcp/pull/6061)
- [@&#8203;anh-nguyenn](https://github.com/anh-nguyenn) made their first contribution in [#&#8203;6054](https://github.com/PrefectHQ/fastmcp/pull/6054)
- [@&#8203;yannvr](https://github.com/yannvr) made their first contribution in [#&#8203;5779](https://github.com/PrefectHQ/fastmcp/pull/5779)
- [@&#8203;akushonkamen](https://github.com/akushonkamen) made their first contribution in [#&#8203;5666](https://github.com/PrefectHQ/fastmcp/pull/5666)
- [@&#8203;anormang1992](https://github.com/anormang1992) made their first contribution in [#&#8203;5666](https://github.com/PrefectHQ/fastmcp/pull/5666)
- [@&#8203;jeffsawatzky](https://github.com/jeffsawatzky) made their first contribution in [#&#8203;5566](https://github.com/PrefectHQ/fastmcp/pull/5566)
- [@&#8203;rasokiwayami](https://github.com/rasokiwayami) made their first contribution in [#&#8203;5566](https://github.com/PrefectHQ/fastmcp/pull/5566)
- [@&#8203;omikader](https://github.com/omikader) made their first contribution in [#&#8203;5565](https://github.com/PrefectHQ/fastmcp/pull/5565)
- [@&#8203;dream-star-end](https://github.com/dream-star-end) made their first contribution in [#&#8203;5562](https://github.com/PrefectHQ/fastmcp/pull/5562)
- [@&#8203;YogaSakti](https://github.com/YogaSakti) made their first contribution in [#&#8203;5665](https://github.com/PrefectHQ/fastmcp/pull/5665)
- [@&#8203;Pyhroff](https://github.com/Pyhroff) made their first contribution in [#&#8203;6063](https://github.com/PrefectHQ/fastmcp/pull/6063)
- [@&#8203;Larry-Labs](https://github.com/Larry-Labs) made their first contribution in [#&#8203;5664](https://github.com/PrefectHQ/fastmcp/pull/5664)
- [@&#8203;xixi-box](https://github.com/xixi-box) made their first contribution in [#&#8203;6198](https://github.com/PrefectHQ/fastmcp/pull/6198)
- [@&#8203;BHAWESHBHASKAR](https://github.com/BHAWESHBHASKAR) made their first contribution in [#&#8203;6012](https://github.com/PrefectHQ/fastmcp/pull/6012)
- [@&#8203;Christian-Sidak](https://github.com/Christian-Sidak) made their first contribution in [#&#8203;6012](https://github.com/PrefectHQ/fastmcp/pull/6012)
- [@&#8203;Kushal9889](https://github.com/Kushal9889) made their first contribution in [#&#8203;5980](https://github.com/PrefectHQ/fastmcp/pull/5980)
- [@&#8203;Abhi2939](https://github.com/Abhi2939) made their first contribution in [#&#8203;5969](https://github.com/PrefectHQ/fastmcp/pull/5969)
- [@&#8203;ezz3r](https://github.com/ezz3r) made their first contribution in [#&#8203;5969](https://github.com/PrefectHQ/fastmcp/pull/5969)
- [@&#8203;Lpk124](https://github.com/Lpk124) made their first contribution in [#&#8203;5763](https://github.com/PrefectHQ/fastmcp/pull/5763)
- [@&#8203;maxime-gautre](https://github.com/maxime-gautre) made their first contribution in [#&#8203;5763](https://github.com/PrefectHQ/fastmcp/pull/5763)
- [@&#8203;gshklovs](https://github.com/gshklovs) made their first contribution in [#&#…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working. Reports of errors, unexpected behavior, or broken functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

json_schema_to_type fails on recursive schemas with a root title: "$ref": "#" never resolves

3 participants