Migrating from v3.0 to v3.1 (Cloud)
This migration guide applies to FireCMS Cloud projects that deploy custom code using the CLI
(firecms deploy).
Do I Need to Do Anything?
Section titled “Do I Need to Do Anything?”All FireCMS Cloud users get every new feature automatically — Kanban board, Cards view, AI collection generation, and more are already live in your project. No update needed.
If you deploy custom code via the CLI (firecms deploy), your existing build will continue to
work exactly as before. However, we strongly encourage you to update your local dependencies to
Tailwind CSS v4 and React 19. React 18 is still supported today, but will be deprecated in a
future release, so updating now will save you effort later.
Recommended Updates
Section titled “Recommended Updates”Update FireCMS Packages
Section titled “Update FireCMS Packages”Update all @firecms/* packages in your package.json to version 3.1:
npm i @firecms/cloud@3.1.0Migrate to Tailwind CSS v4
Section titled “Migrate to Tailwind CSS v4”FireCMS 3.1 ships with Tailwind CSS v4 support. While your existing Tailwind v3 setup will continue to work, we recommend upgrading for faster builds and simpler configuration.
1. Install Tailwind CSS v4 and the Vite plugin
Section titled “1. Install Tailwind CSS v4 and the Vite plugin”npm i tailwindcss@4 @tailwindcss/vite2. Update your vite.config.ts
Section titled “2. Update your vite.config.ts”Add the new Tailwind CSS Vite plugin:
import { defineConfig } from "vite";import react from "@vitejs/plugin-react";import tailwindcss from "@tailwindcss/vite";
export default defineConfig({ esbuild: { logOverride: { "this-is-undefined-in-esm": "silent" } }, build: { outDir: "./build", target: "ESNEXT", sourcemap: true }, optimizeDeps: { include: ["react/jsx-runtime"] }, plugins: [ react({}), tailwindcss() ]})3. Update your index.css
Section titled “3. Update your index.css”Replace your existing CSS with the new v4 format:
@import "tailwindcss";@import "@firecms/ui/index.css";
@source "../index.html";@source "./**/*.{js,ts,jsx,tsx}";@source "../node_modules/@firecms/**/*.{js,ts,jsx,tsx}";
@custom-variant dark (:is(.dark &));
:root { --color-primary: #0070F4; --color-secondary: #FF5B79;}4. Clean up old config files
Section titled “4. Clean up old config files”Remove these files from your project — they are no longer needed:
tailwind.config.jspostcss.config.js
Upgrade to React 19
Section titled “Upgrade to React 19”FireCMS 3.1 supports React 19 while maintaining backward compatibility with React 18.3. We recommend upgrading now — React 18 support will be removed in a future release.
npm i react@19 react-dom@19npm i -D @types/react@19 @types/react-dom@19What’s New in v3.1
Section titled “What’s New in v3.1”These features are already available in your FireCMS Cloud project — no update required:
- Kanban Board view — drag-and-drop entities grouped by enum properties
- Cards view — visual card layout for content-heavy collections
- AI Collection Generation — generate schemas from natural language
- Drag-and-drop column reordering — rearrange table columns by dragging, order is saved automatically
- Duplicate collections — clone an existing collection to create a new one with the same schema
- Entity History improvements — previous values, “last edited by” indicator, per-collection toggles
- New filter UI — redesigned filter view for a cleaner experience
- Timezone support for dates — correct timezone handling, no more midnight auto-conversion
- Enum conditions — dynamically filter enum values based on other properties
- Collapsible drawer groups — cleaner sidebar navigation
- TipTap V3 — improved rich-text editor
- Image resizing — built-in image resizing on upload
For custom code projects, updating also unlocks:
- Tailwind CSS v4 — faster builds, simpler config
- React 19 — latest React features and performance
Check the changelog for the complete list of changes.
Troubleshooting
Section titled “Troubleshooting”Build errors after updating packages
Section titled “Build errors after updating packages”Ensure all @firecms/* packages are on the same version. Mixing v3.0 and v3.1 packages will
cause type mismatches and runtime errors.
Styles not applying after Tailwind v4 migration
Section titled “Styles not applying after Tailwind v4 migration”- Verify your
index.cssincludes the@sourcedirectives for your project files andnode_modules/@firecms - Ensure you removed the old
tailwind.config.jsandpostcss.config.js - Clear your
node_modulesfolder and reinstall:rm -rf node_modules && npm install
Cannot find namespace 'JSX'
Section titled “Cannot find namespace 'JSX'”Update your return type annotations from JSX.Element to React.ReactElement or remove the
explicit return type and let TypeScript infer it.