Change8

v5.49.0

📦 strapiView on GitHub →
1 features🐛 18 fixes🔧 4 symbols

Summary

This release introduces new builders for MCP (defineTool, defineResource, definePrompt) and fixes numerous bugs across the admin panel, content manager, and core services. Notably, keyboard shortcuts for saving and publishing in the Content Manager have been updated.

Migration Steps

  1. If you relied on Cmd/Ctrl+Enter to publish content in the Content Manager, note that this shortcut now saves the draft instead. Use Cmd/Ctrl+Shift+Enter to publish.

✨ New Features

  • Export defineTool, defineResource, and definePrompt builders in mcp.

🐛 Bug Fixes

  • Added support for initiallySelectedAssets.
  • Resolved homepage dashboard duplicating entries for users with multiple roles.
  • Avoid buffering large uploads when detecting MIME types.
  • Throw ValidationError if populate exceeds qs arrayLimit.
  • Fixed issue where tooltips were pushed off-screen by ensuring the anchor is in view.
  • Admin: Support array of links in StrapiApp.addSettingsLink.
  • Admin: Fixed admin users being logged out mid-session due to access-token expiry timer.
  • Content Manager: Used top-level Core type import in MCP types.
  • Content Manager: Enabled saving draft with Cmd/Ctrl+Enter and publishing with Cmd/Ctrl+Shift+Enter.
  • Content Manager: Reduced MCP relation output to identity-only shape.
  • Content Manager: Deduplicated MCP tool names when a plugin has multiple content types.
  • Core/Core: Corrected misleading lifecycle documentation for MCP.
  • Create-strapi-app: Allowed pnpm to build better-sqlite3 for SQLite scaffolds.
  • Data Transfer: Transfer admin menu and auth logos along with configuration.
  • Database: Stopped full-schema component_type IN query on dynamic zone populate.
  • Document Service: Preserved published relations from non-dp sources.
  • Strapi: Set default allowedHosts and pinned Vite HMR to the main server in development mode.
  • Types: Added explicit return types to recursive functions.

Affected Symbols