Releases: marmelab/react-admin
Releases · marmelab/react-admin
5.14.0
Immutable
release. Only release title and notes can be modified.
- Add router abstraction and TanStack Router adapter (#11102) (fzaninotto)
- Update
<ExportButton>to make in work in every list (#11119) (WiXSL) - Add forwardRef to react-admin buttons to support tooltips (#11122) (WiXSL)
- Allow disabling auto focusing the first input of newly added row with
<SimpleFormIterator disableAutoFocus>(#11101) (AarishMansur) - Add
Store.listItemsmethod (#11096) (djhi) - Add
useSupportCreateSuggestionsprimitives to ra-core (#11094) (slax57) - Move
genericMemoto ra-core (#11093) (slax57) - Add
useSavedQueriesprimitives to ra-core (#11092) (slax57) - Fix
ColumnsSelectorsearch input should stay fixed above menu list (#11114) (WiXSL) - [Doc] Fix Inputs doc code example (#11125) (gartner)
- [Doc] Add deleteMany method to README and source code docs for json-server Data Provider (#11118) (femrek)
- [Chore] Update Cypress (#11127) (fzaninotto)
- [chore] Stabilize flaky tests (#11121) (WiXSL)
- Bump lodash from 4.17.21 to 4.17.23 (#11129) (dependabot[bot])
- Bump lodash-es from 4.17.21 to 4.17.23 (#11128) (dependabot[bot])
- Bump diff from 5.2.0 to 5.2.2 (#11126) (dependabot[bot])
5.13.6
- [Doc] Update link to marmelab blog (#11117) (WiXSL)
- [Doc] Update
<AutoPersistInStore>documentation (#11110) (djhi) - [Doc] Update Soft Delete headless documentation (#11109) (jonathanarnault)
- [Doc] Fix
<ReferenceArrayInput>and<ReferenceInput>validation section position (#11107) (WiXSL) - Bump h3 from 1.15.4 to 1.15.5 (#11116) (dependabot[bot])
- Bump devalue from 5.5.0 to 5.6.2 (#11115) (dependabot[bot])
5.13.5
- Fix
<Form>ignoresresetOptionswhen record changes (#11099) (Jszigeti) - Fix
<ColumnsSelector>cannot hide<DataTable.Col>items with nosource(#11088) (fzaninotto) - [Doc] Clarify validation prop usage on
<ReferenceInput>/<ReferenceArrayInput>(#11104) (WiXSL) - [Doc] Add tutorial for React Router Framework (#11100) (djhi)
- [Doc] Update
<DatagridAG>docs followingra-datagrid-ag7.0.0 release (#11097) (slax57) - [Doc] Update
AdapterDateFnsimports for MUIX v8 (#11090) (djhi) - [Doc] Document
<FilterValue>(#11086) (djhi) - [chore] Fix security vulnerabilities in
qsandsysteminformation(#11103) (slax57) - Bump react-router from 6.28.1 to 6.30.2 (#11106) (dependabot[bot])
- Bump storybook from 8.6.11 to 8.6.15 (#11098) (dependabot[bot])
5.13.4
- Fix
useAugmentedFormresets the form one too many time (#11085) (slax57) - Fix
<BulkDeleteWithConfirmButton>: preventmutationOptionsfrom being passed to DOM (#11077) (devserkan) - Fix regression in
memoryStore(#11075) (djhi) - [Doc] Update RA Core EE documentation (#11078) (jonathanarnault)
- [Doc] Fix
<ReferenceOneField>doc incorrectly mentions one ofchildrenorrenderis required (#11072) (slax57) - Bump @tiptap/extension-link from 2.0.3 to 2.10.4 (#11074) (dependabot[bot])
5.13.3
- Replace deprecated
<ListItemSecondaryAction>component bysecondaryActionprop (#11033) (smeng9) - Fix
memoryStoredoes not support nested-looking keys (#11070) (slax57) - Fix
<Datagrid>does not show the correct number of selected items (#11069) (djhi) - Fix values from location are not applied on Forms (#11067) (djhi)
5.13.2
- Fix
<SelectAllButton>ignores thestoreKey(#11060) (slax57) - Fix package exports (#11059) (djhi)
- Fix
<DataTable>may duplicate ids in its selection state (#11047) (Jszigeti) - [Doc] Update
<ReferenceManyInputBase>props table (#11055) (jonathanarnault) - [Doc] Fix Youtube integrations (#11053) (slax57)
- [Doc] Fix headless FormDataConsumer doc still references react-admin, and mention SimpleFormIteratorBase (#11050) (slax57)
- [Doc] Update RA Core EE documentation (#11037) (jonathanarnault)
- [TypeScript] Fix usage of
ReactElementwhen it should beReactNode(#11046) (djhi) - [website] Remove banner to announce Shadcn Admin Kit - master (#11048) (slax57)
- [chore] Bump astro from 5.15.6 to 5.15.9 (#11057) (dependabot[bot])
- [chore] Stabilize flaky unit tests (#11056) (djhi)
5.13.1
Immutable
release. Only release title and notes can be modified.
- Fix imports from directory (#11039) (djhi)
- Fix
<ReferenceFieldBase>considers zero-index reference as empty (#11042) (fzaninotto) - [Storybook] Fix
<ArrayInputBase>story issue when adding back a removed item (#11041) (djhi) - [Storybook] Fix
<SaveButton>Dirty story (#11040) (djhi) - Bump astro from 5.15.3 to 5.15.6 (#11043) (dependabot[bot])
- [chore] Fix release script copies invalid node_modules subfolder (#11038) (slax57)
5.13.0
Immutable
release. Only release title and notes can be modified.
- Add
<ArrayInputBase>,<SimpleFomIteratorBase>and<SimpleFormIteratorItemBase>(#10955) (djhi) - Add guessers views (#10981) (djhi)
- Add
<ListBase empty>and<InfiniteListBase empty>props (#10940) (Madeorsk) - Update
<List>allow multiple selection states (#10953) (mikhail-fedosenko) - Update packages exports to use a more modern format (#10995) (djhi)
- Fix
<ArrayInput>performance issues (#10926) (fzaninotto) - Fix
useExpandeddoes not have a stabledefaultValue(#11028) (djhi) - [Doc] Explain how to set up Jest for RA 5.13 (#11036) (slax57)
- [Doc] Fix data provider options in Create React Admin documentation (#11032) (slax57)
- [Doc] Update README to use React 18 createRoot API (#11031) (hamed-zeidabadi)
- [Doc] Update RA Core EE documentation (#11023) (jonathanarnault)
- [Doc] Fix
<LockOnMount>invalid example (#11019) (djhi) - [Doc] Fix incorrect documentation of EditInDialogButton (#10943) (Madeorsk)
- [TypeScript] Fix usage of
ReactElementwhen it should beReactNode(#10996) (jonathanarnault) - [TypeScript] Fix remaining usage of
ReactElementwhen it should beReactNode(#11030) (djhi) - [Demo] Update lists to allow sorting by reference (#11021) (fzaninotto)
- [Storybook] Fix array input stories (#11002) (djhi)
- [Chore] Update
ra-coreTest UI (#11020) (djhi) - Bump min-document from 2.19.0 to 2.19.1 (#11029) (dependabot[bot])
- Bump vite from 6.3.6 to 6.4.1 (#11026) (dependabot[bot])
- Bump astro from 5.13.7 to 5.14.3 (#11025) (dependabot[bot])
React-hook-form version bump
This release bumps the minimum required version of react-hook-form to 7.65.0.
Jest configuration update
This release changed the way react-admin exports its modules to be fully compatible with ESM (PR #10995). This may require you to update your Jest configuration if you are using Jest in CJS mode (the default).
See https://marmelab.com/react-admin/UnitTesting.html#working-with-jest for more details.
Webpack configuration update
If you use MUI v5 or MUI v6, you may need to update your Webpack config by adding the following rules:
{
// Your config
modules: {
rules: [
// Your other rules
{
test: /\.m?js/,
type: "javascript/auto",
},
{
test: /\.m?js/,
resolve: {
fullySpecified: false,
},
},
]
}
}Vite configuration update
If you use MUI v5, you may have to add the following alias:
export default defineConfig(({ mode }) => ({
// Your config
resolve: {
// Your resolve config
alias: [
// Your other aliases
{
find: /^@mui\/icons-material\/(.*)/,
replacement: "@mui/icons-material/esm/$1",
},
]
}
});5.12.3
- Fix optimistic query invalidation and avoid invalidating the same query twice (#11017) (slax57)
- Fix: Shift+Click deselection range not working properly in Datagrid (#11012) (Jszigeti)
- [Doc] Document how to support line-breaks in notifications (#11014) (slax57)
- [Doc] Add documentation for
<LockOnMount>and<WithLocks>headless components (#11008) (jonathanarnault) - [Chore] Add Agents.md to help coding agents (#11005) (fzaninotto)
5.12.2
- Fix middlewares might not be applied in
optimisticandundoablemodes when they are unregistered before the actual mutation is called (#11007) (djhi) - Fix
<AutocompleteArrayInput>does not applyChipPropsnorslotProps.chipinrenderTags(#11003) (djhi) - Fix
<SaveButton>form dirty status check (#10997) (djhi) - [Doc] Add missing Enterprise ribbon to some
ra-core-eemodules (#11001) (jonathanarnault) - [Doc] Mention Soft Delete in Buttons documentation (#11000) (djhi)
- [Doc] Add
<FormDataConsumer>anduseSourceContextheadless documentation (#10991) (jonathanarnault) - [Doc] Improve AuthProvider documentation (#10989) (slax57)
- [chore] Bump vite from 6.3.6 to 6.4.1 (#10999) (dependabot[bot])