# react-jsonschema-form v7 upgrade guide > Every breaking change in react-jsonschema-form v7, one Markdown entry per action to take. First list the `uses` and `schema` values your project doesn't have, leaving out any you can't rule out. An entry applies to you unless one of these holds: your package.json has none of its `packages` (`*` is every `@rjsf/*` package, and every user has `@rjsf/core` and `@rjsf/utils`); it doesn't list `form` (every user) and every one of its `uses` is on your list; or it lists `schema` values and every one of them is on your list (an empty `schema`, shown as `any`, never rules an entry out). The filtered page applies the same rule: everything in its filter bar starts selected, and deselecting a use or schema feature puts it on that list. Work through the sections in order. Each entry is listed under the heading of its first `affects` value, or under Deprecations when it has `deprecated: true`. Each entry's frontmatter has `packages`, `uses`, `schema` (left out or empty, shown as `any` below, when the change doesn't depend on your schema), `affects` (what the change touches in your app, most important first) and, for something that still works in v7 and goes in a later major version, `deprecated: true`. An entry whose v6 code RJSF can recognize at run time has `warning`, the IDs of the console warnings it logs; `setWarningOptions({ throwOn: ['migration'] })` from `@rjsf/utils`, called in a test setup file or a development entry point, makes each of them throw an `RJSFWarningError` with that `id`. Its body has a `## Detect` section (what to search your code for), `## Change` (what to do) and `## Verify` (what passing looks like). People filter the same entries at https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7.x%20upgrade%20guide. The `uses` values: - `form`: Your code renders `
` (every user). - `typescript`: Your code is TypeScript. - `ui-schema`: Your code uses `ui:` keys or a `uiSchema`. - `form-props`: Your code passes a less common `Form` prop such as `customMergeAllOf`, `defaultFormStateBehavior`, `nameGenerator`, `extraErrors`, `transformErrors`, `noValidate`, `liveValidate` or an `onChange` that reads the event, or reads native form data (`FormData`, input `name`s). - `form-ref`: Your code holds a ref to `Form` or calls `FormRef` methods. - `custom-widgets`: Your code passes `widgets=` or sets `ui:widget` to a component. - `custom-templates`: Your code passes `templates=` or sets a `ui:*Template`. - `custom-fields`: Your code passes `fields=` or sets `ui:field`. - `custom-theme`: Your code calls `withTheme` or builds a `ThemeProps`. - `custom-validator`: Your code calls `customizeValidator`, uses a precompiled validator, or implements `ValidatorType`. - `utils-api`: Your code imports functions (not only types) from `@rjsf/utils`. - `markup`: Your code has CSS or tests that select RJSF's DOM, classes or ids, or snapshots of it. - `tooling`: Your build, bundler, test runner, CDN or Node setup loads RJSF packages. The `schema` values: - `any-of-one-of`: Your schema has `anyOf` or `oneOf`, including `dependencies` with `oneOf`. - `refs`: Your schema has `$ref`, `$defs` or `definitions`, `$id`, `$anchor`, or recursion. - `defaults`: Your schema has `default`, `allOf`, `dependencies`, `dependentRequired`, `dependentSchemas`, `if`/`then`/`else`, or a `const` used as a default. - `additional-properties`: Your schema has `additionalProperties`, `patternProperties` or `propertyNames`. - `arrays`: Your schema has an `array` with `items`, a tuple, `minItems` or `uniqueItems`. - `numbers`: Your schema has a `number` or `integer` field. - `dates`: Your schema has `format: date`, `date-time` or `time`. - `enums`: Your schema has `enum`, `const`, boolean fields, or constant `anyOf`/`oneOf` options. - `type-lists`: Your schema has `type` as a list, or a field with no `type`. The `affects` values, in the order of their sections: - `setup`: Installation and build. Update dependencies, peer versions, Node and React, and any CSS or subpath imports. - `code`: Code and APIs. Fix the imports, props, options and signatures your code uses, and update custom widgets, templates and fields. - `data`: Form data. Check the defaults, the anyOf/oneOf option picked, and the data and errors your form now submits and validates. - `appearance`: Markup and styles. Update CSS rules, selectors and DOM snapshots that rely on class names, elements or nesting. - `experience`: Localization and accessibility. Recheck label and button text, accessible names, focus, keyboard use and when errors appear. ## Combined files - [All entries](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/all.md): every entry of every package, under the same headings - [@rjsf/antd](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/antd.md): every entry for a user of `@rjsf/antd`, under the same headings - [@rjsf/bootstrap3](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/bootstrap3.md): every entry for a user of `@rjsf/bootstrap3`, under the same headings - [@rjsf/chakra-ui](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/chakra-ui.md): every entry for a user of `@rjsf/chakra-ui`, under the same headings - [@rjsf/daisyui](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/daisyui.md): every entry for a user of `@rjsf/daisyui`, under the same headings - [@rjsf/fluentui-rc](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/fluentui-rc.md): every entry for a user of `@rjsf/fluentui-rc`, under the same headings - [@rjsf/mantine](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/mantine.md): every entry for a user of `@rjsf/mantine`, under the same headings - [@rjsf/mui](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/mui.md): every entry for a user of `@rjsf/mui`, under the same headings - [@rjsf/react-bootstrap](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/react-bootstrap.md): every entry for a user of `@rjsf/react-bootstrap`, under the same headings - [@rjsf/shadcn](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/shadcn.md): every entry for a user of `@rjsf/shadcn`, under the same headings - [@rjsf/primereact (removed in v7)](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/primereact.md): every entry for a user of `@rjsf/primereact`, under the same headings - [@rjsf/semantic-ui (removed in v7)](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/semantic-ui.md): every entry for a user of `@rjsf/semantic-ui`, under the same headings - [@rjsf/validator-ajv8](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/validator-ajv8.md): every entry for a user of `@rjsf/validator-ajv8`, under the same headings - [@rjsf/validator-ata](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/validator-ata.md): every entry for a user of `@rjsf/validator-ata`, under the same headings - [@rjsf/validator-cfworker](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/validator-cfworker.md): every entry for a user of `@rjsf/validator-cfworker`, under the same headings ## Installation and build Update dependencies, peer versions, Node and React, and any CSS or subpath imports. - [The antd theme requires antd 6.7 or later](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/antd-requires-antd-6-7.md): packages: `@rjsf/antd`; uses: `form`; schema: `any`; affects: `setup`. `@rjsf/antd` no longer supports `antd` 5, and earlier 6.x releases crash or misread `labelAlign`. Upgrade `antd` to 6.7 or later. - [Bootstrap 3 markup moved from core to @rjsf/bootstrap3](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/bootstrap-3-markup-moved-to-bootstrap3.md): packages: `@rjsf/core`, `@rjsf/bootstrap3`; uses: `form`; schema: `any`; affects: `setup`, `appearance`. `@rjsf/core` no longer renders any Bootstrap 3 class, and its default `classMap` is empty. To keep Bootstrap 3, import `Form` or `Theme` from the deprecated `@rjsf/bootstrap3` package. - [The chakra-ui theme no longer has chakra-react-select as a peer dependency](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/chakra-ui-drops-chakra-react-select-peer.md): packages: `@rjsf/chakra-ui`; uses: `tooling`; schema: `any`; affects: `setup`. `@rjsf/chakra-ui` no longer lists `chakra-react-select` as a peer dependency, since its `SelectWidget` now uses Chakra's own `Select`. Drop the package if you installed it only for RJSF, or declare it directly if your code imports it. - [The chakra-ui theme no longer depends on @emotion/is-prop-valid](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/chakra-ui-drops-emotion-is-prop-valid.md): packages: `@rjsf/chakra-ui`; uses: `tooling`; schema: `any`; affects: `setup`. `@rjsf/chakra-ui` no longer has `@emotion/is-prop-valid` as a dependency, so it may no longer be installed for you. If your own code imports it, declare it as a direct dependency of your app. - [compileSchemaValidators is imported from its own subpath](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/compile-schema-validators-is-a-subpath.md): packages: `@rjsf/validator-ajv8`, `@rjsf/validator-ata`; uses: `custom-validator`; schema: `any`; affects: `setup`. The `lib/compileSchemaValidators` paths of the AJV and ata validators no longer resolve. Import `compileSchemaValidators` from `@rjsf/validator-ajv8/compileSchemaValidators` or `@rjsf/validator-ata/compileSchemaValidators`. - [Core lays out arrays, extra keys and grids through an optional stylesheet](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/core-layout-needs-rjsf-css.md): packages: `@rjsf/core`; uses: `form`, `tooling`; schema: `any`; affects: `setup`, `appearance`. Core no longer lays out array items, additional properties, the add button or `GridTemplate` with inline offsets and Bootstrap grid classes. Import `@rjsf/core/rjsf.css`, and `@rjsf/core/rjsf-theme.css` for a default look. - [daisyUI no longer ships src/styles.css or installs tailwindcss](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/daisyui-styles-css-and-tailwindcss-removed.md): packages: `@rjsf/daisyui`; uses: `tooling`; schema: `any`; affects: `setup`, `appearance`. `@rjsf/daisyui` removed its undocumented `src/styles.css` and its `tailwindcss` dependency. Import Tailwind and the daisyUI plugin from your own stylesheet, and add `tailwindcss` to your own dependencies. - [Imports from a package's lib folder no longer resolve](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/deep-imports-removed.md): packages: `*`; uses: `tooling`, `utils-api`; schema: `any`; affects: `setup`, `code`. Each package's `exports` now lists only its public entry points, so imports of `@rjsf//lib` or `lib/.js` fail. Import the same names from the package root or a listed subpath. - [Every RJSF package ships only ESM, and the dist builds are gone](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/esm-only-packages.md): packages: `*`; uses: `tooling`; schema: `any`; affects: `setup`. Every `@rjsf/*` package now ships only per-file ESM in `lib/`, and the `dist/` CommonJS and bundled ESM builds are gone. Remove any alias, mapping or import that points at `dist/` and import the package root instead. - [getTestRegistry moved to @rjsf/core/testing](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/get-test-registry-moved-to-core-testing.md): packages: `@rjsf/core`; uses: `custom-fields`, `custom-widgets`, `custom-templates`; schema: `any`; affects: `setup`, `code`. The `getTestRegistry()` helper moved from `@rjsf/core` to the `@rjsf/core/testing` entry point, which needs `@rjsf/validator-ajv8`. Change the import and add `@rjsf/validator-ajv8` to your dev dependencies. - [The Mantine theme requires Mantine 9.6.3 and React 19.2](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/mantine-requires-mantine-9-6-3.md): packages: `@rjsf/mantine`; uses: `form`; schema: `any`; affects: `setup`. `@rjsf/mantine` no longer supports Mantine 8. Upgrade Mantine to 9.6.3 or later, which requires React 19.2 or later. - [Markdown renders only through a registered MarkdownTemplate](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/markdown-needs-markdown-template.md): packages: `@rjsf/core`; uses: `ui-schema`; schema: `any`; affects: `setup`, `appearance`. `@rjsf/core` no longer installs `markdown-to-jsx` and its default `MarkdownTemplate` renders plain text. Install `markdown-to-jsx` and register `MarkdownTemplate` from `@rjsf/core/markdown` to keep markdown. - [The MUI theme requires MUI 9](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/mui-requires-material-9.md): packages: `@rjsf/mui`; uses: `form`; schema: `any`; affects: `setup`. `@rjsf/mui` no longer supports `@mui/material` and `@mui/icons-material` 7. Upgrade both to version 9. - [Node.js 22.18, 24.11 or 26 and later is required](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/node-22-18-or-later-required.md): packages: `*`; uses: `tooling`; schema: `any`; affects: `setup`. Version 7 supports only Node `^22.18.0 || ^24.11.0 || >=26.0.0`, dropping Node 20, 23, 25 and 24 before 24.11.0. Move your install, build and test environments to a supported release. - [Precompiled validator code must be regenerated](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/precompiled-validator-code-must-be-regenerated.md): packages: `@rjsf/validator-ajv8`, `@rjsf/validator-ata`; uses: `custom-validator`, `tooling`; schema: `any`; affects: `setup`, `code`. Precompiled validators are now compiled for `$ref`s into the root schema, so code generated by 6.x throws `No precompiled validator function was found`. Run `compileSchemaValidators()` again, and call `getValidationSchemas()` where you called `schemaParser()`. - [The PrimeReact theme is removed](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/primereact-theme-removed.md): packages: `@rjsf/primereact`; uses: `form`; schema: `any`; affects: `setup`. `@rjsf/primereact` has no v7 release because PrimeReact 11 requires a paid subscription. Switch to another theme, or port the v6 theme into your own code. - [React 19.2 or later is required](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/react-19-2-required.md): packages: `*`; uses: `form`; schema: `any`; affects: `setup`. `@rjsf/core` now declares `react` `>=19.2` as its peer dependency, and versions below it are no longer supported. Upgrade `react` (and `react-dom`) to 19.2 or later. - [react-dom is a peer dependency of @rjsf/core](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/react-dom-peer-of-core.md): packages: `@rjsf/core`; uses: `tooling`; schema: `any`; affects: `setup`. `@rjsf/core` now declares `react-dom` `>=19.2` as a peer dependency, for the `useFormStatus()` hook its submit button reads. A project without `react-dom`, such as a test setup on another renderer, adds it at the version of `react`. - [The Semantic UI theme is removed](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/semantic-ui-theme-removed.md): packages: `@rjsf/semantic-ui`; uses: `form`; schema: `any`; affects: `setup`, `code`. `@rjsf/semantic-ui` has no v7 release because Semantic UI React does not support React 19 and is unmaintained. Switch to another theme. - [The shadcn theme no longer ships prebuilt stylesheets](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/shadcn-prebuilt-stylesheets-removed.md): packages: `@rjsf/shadcn`; uses: `tooling`, `markup`; schema: `any`; affects: `setup`, `appearance`. The prebuilt `dist/.css` stylesheets of `@rjsf/shadcn` are gone, and the theme is now styled by your app's Tailwind build. Add `@source` for `node_modules/@rjsf/shadcn/lib` to your Tailwind CSS and take colors from your shadcn setup. - [The snapshot-tests package no longer has @testing-library/jest-dom as a peer dependency](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/snapshot-tests-no-longer-requires-jest-dom.md): packages: `@rjsf/snapshot-tests`; uses: `tooling`; schema: `any`; affects: `setup`. `@rjsf/snapshot-tests` no longer lists `@testing-library/jest-dom` as a peer dependency, so npm no longer installs it for you. If your tests use jest-dom matchers, declare it as a direct dev dependency. - [A theme's individual widgets and templates have no import path](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/theme-components-have-no-import-path.md): packages: `@rjsf/antd`, `@rjsf/chakra-ui`, `@rjsf/daisyui`, `@rjsf/fluentui-rc`, `@rjsf/mantine`, `@rjsf/mui`, `@rjsf/react-bootstrap`, `@rjsf/shadcn`; uses: `custom-widgets`, `custom-templates`; schema: `any`; affects: `setup`, `code`. A theme's single components under `lib/`, such as `@rjsf/mui/lib/SelectWidget/SelectWidget.js`, can no longer be imported. Read the component from the theme's `Widgets` or `Templates` export, or from the `registry` prop. - [@types/react 19.2.18 or later is required](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/types-react-19-2-18-required.md): packages: `@rjsf/core`; uses: `typescript`; schema: `any`; affects: `setup`. `@rjsf/core`'s published types import `SubmitEvent`, which `@types/react` added in 19.2.18, so earlier patches fail to compile against them. Upgrade `@types/react` to at least 19.2.18. - [The UMD bundles are gone](https://rjsf-team.github.io/react-jsonschema-form/docs/migration-guides/v7/umd-bundles-removed.md): packages: `*`; uses: `tooling`; schema: `any`; affects: `setup`. The `dist/.umd.js` bundles are no longer published, so a `