From 6faa2d61f82eab670694965606fd7b14bedddc7f Mon Sep 17 00:00:00 2001 From: Jeremiah Lowin <153965+jlowin@users.noreply.github.com> Date: Mon, 30 Mar 2026 11:09:26 -0400 Subject: [PATCH] Remove hardcoded prefab-ui version from pinning warnings (#3708) --- docs/apps/overview.mdx | 8 +------- docs/apps/prefab.mdx | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/docs/apps/overview.mdx b/docs/apps/overview.mdx index 8b7de1045..cb3c7c1ea 100644 --- a/docs/apps/overview.mdx +++ b/docs/apps/overview.mdx @@ -29,13 +29,7 @@ This installs [Prefab UI](https://prefab.prefect.io), the component library used -FastMCP pins a **minimum** version of `prefab-ui` for compatibility but intentionally does **not** pin an upper bound. Prefab is a rapidly evolving library with frequent breaking changes. If you are deploying to production, you **must** pin `prefab-ui` to a specific version in your own dependencies: - -``` -prefab-ui==0.15.0 -``` - -Without a pin, a `pip install --upgrade` or fresh deploy could pull a newer Prefab version that changes component APIs, breaking your app. FastMCP's minimum ensures baseline compatibility; your pin ensures stability. +FastMCP pins a **minimum** version of `prefab-ui` for compatibility but intentionally does **not** pin an upper bound. Prefab is a rapidly evolving library with frequent breaking changes. If you are deploying to production, you **must** pin `prefab-ui` to a specific version in your own dependencies. Without a pin, a fresh deploy could pull a newer Prefab version that changes component APIs, breaking your app. ## Which Approach? diff --git a/docs/apps/prefab.mdx b/docs/apps/prefab.mdx index 871ad1b9d..156767869 100644 --- a/docs/apps/prefab.mdx +++ b/docs/apps/prefab.mdx @@ -11,7 +11,7 @@ import { VersionBadge } from '/snippets/version-badge.mdx' -[Prefab](https://prefab.prefect.io) is in early, active development — breaking changes can occur with any release. FastMCP pins a minimum version of `prefab-ui` for compatibility but does not pin an upper bound. If you are deploying to production, **pin `prefab-ui` to a specific version** in your own dependencies (e.g. `prefab-ui==0.15.0`). +[Prefab](https://prefab.prefect.io) is in early, active development — breaking changes can occur with any release. FastMCP pins a minimum version of `prefab-ui` for compatibility but does not pin an upper bound. If you are deploying to production, **pin `prefab-ui` to a specific version** in your own dependencies. [Prefab UI](https://prefab.prefect.io) is the component library behind all FastMCP app features. You describe layouts, charts, tables, and forms in Python, and Prefab compiles them to interactive UIs that render in the host's conversation.