Skip to content

v3.14.0

Latest

Choose a tag to compare

@modernjs-release-bot modernjs-release-bot released this 30 Nov 09:54

What's Changed

New Features 🎉

  • feat(mcp-apps): require per-view opt-in for card HTTP pages by @danpeen in #9214
  • feat(mcp-apps): resolve plugin MCP endpoints from an application origin and BFF prefix by @danpeen in #9214
  • feat(mcp-apps): expose resolved page URLs for application entries and UI views by @danpeen in #9214
  • feat: move the tsconfig baseline to bundler mode, and compile server code with the project's own tsc command by @keepview in #8921

Bug Fixes 🐞

  • fix(plugin-bff): fail the build on type errors in api/ when the server tsconfig sets "noEmitOnError": true, and keep the dev server running on compile errors by @keepview in #8921
  • fix(bff-runtime): Use the CommonJS entry for both import and require in Node.js. ESM consumers can import match, isHandler, and isSchemaHandler by name and access the full schema API through the default import. by @GiveMe-A-Name in #9258

Other Changes ✨

  • Upgrade @rsbuild/core to 2.3.4. by @stormslowly in #9246
  • Replace host-specific plugin resource copying with explicit plugin.resources paths and ignore entry connection callbacks after teardown. by @danpeen in #9214
  • Support URL delivery through existing application entries and standalone component views, preserve native resource metadata, and package production plugins with HTTP MCP connections. Define tools in MCP server code instead of view configuration and manifests. by @danpeen in #9214

Rsbuild Update 📦

  • Upgrade @rsbuild/core from v2.3.3 to v2.3.4. See v2.3.4 for details.

更新内容

新特性 🎉

  • feat(mcp-apps): 支持按视图显式开启卡片 HTTP 页面,默认仅提供 MCP 资源 由 @danpeen 实现, 详情可查看 #9214
  • feat(mcp-apps): 支持通过应用域名和 BFF 前缀生成插件 MCP 地址 由 @danpeen 实现, 详情可查看 #9214
  • feat(mcp-apps): 支持通过解析后的视图 URL 引用应用入口和 UI 页面 由 @danpeen 实现, 详情可查看 #9214
  • feat: tsconfig 基线切换到 bundler 模式,服务端代码改用项目自己的 tsc 命令行编译 由 @keepview 实现, 详情可查看 #8921

Bug 修复 🐞

  • fix(plugin-bff): 服务端 tsconfig 设置 "noEmitOnError": true 时,api/ 的类型错误让构建失败;dev 时编译错误只打印不中断 由 @keepview 实现, 详情可查看 #8921
  • fix(bff-runtime):在 Node.js 中让 import 和 require 使用同一 CommonJS 入口。ESM 调用方可按名称导入 match、isHandler 和 isSchemaHandler,并通过默认导入访问完整的 schema API。 由 @GiveMe-A-Name 实现, 详情可查看 #9258

其他变更 ✨

  • 将 @rsbuild/core 升级至 2.3.4。 由 @stormslowly 实现, 详情可查看 #9246
  • Allow applications to disable automatic entry handshakes and explicitly connect or retry through connectEntryMcpApp.
    Use the emitted bundler public path for deployment resource CSP and validate resource selections before registration. 由 @danpeen 实现, 详情可查看 #9214

Rsbuild 更新 📦

  • 升级 @rsbuild/core 从 v2.3.3 到 v2.3.4,查看 v2.3.4 了解详情。