Releases: marmelab/react-admin
Releases · marmelab/react-admin
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])
5.12.1
- Fix
<ColumnsSelector>reset button is not translatable (#10984) (yarkovaleksei) - [Doc] Update
useRedirectJSDoc to add absolute URL example (#10987) (COil) - [Doc] Update Soft Delete documentation (#10986) (djhi)
- [Doc] Mention Scheduler in All Features (#10985) (slax57)
- [Doc] Fix Soft Delete documentation links (#10980) (djhi)
- [Doc] Add documentation about ra-relationship core components (#10979) (jonathanarnault)
- [Doc] Add documentation for headless enterprise features in ra-core documentation (#10973) (djhi)
- [Doc] Add
<ReferenceInputBase>and<ReferenceArrayInputBase>documentation in headless doc site (#10965) (djhi) - [TypeScript] Fix
useShowControllerresult type (#10992) (slax57) - Bump astro from 5.13.7 to 5.14.3 (#10988) (dependabot[bot])
5.12.0
- Add
error,loading,emptyandofflineprops to<ListBase>,<WithListContext>,<EditBase>, and<ShowBase>to set fallback components for non-success states. (#10880) (erwanMarmelab) - Add
<RecordsIterator>for easy rendering of lists of records (#10880) (erwanMarmelab) - Add
<TextArrayField>to render arrays of strings (#10939) (slax57) - Add
useUpdateControllerto make the logic portable (#10924) (djhi) - Add
useBulkUpdateControllerto make the logic portable (#10925) (djhi) - Add
useBulkDeleteControllerto make the logic portable (#10923) (djhi) - Add
<ListBase emptyWhileLoading>option (#10917) (djhi) - Add
useMutationWithMutationModehook (#10910) (djhi) - Update Guessers to use
<TextArrayInput>/<TextArrayField>for scalar arrays (#10939) (slax57) - Fix
useMutationWithMutationModeinoptimisticandundoablemode may pass invalid parameters to the mutation (#10977) (djhi) - Fix update removing
metaandpageInfoproperties fromgetManyReferenceresult (#10975) (jvasseur) - [Doc] Add missing props to
<ReferenceArrayField>and<ReferenceManyField>, and base components (#10978) (slax57) - [Doc] Add Soft Delete Documentation (#10974) (djhi)
5.11.4
- Fix
useGetManyAggregatemerge queries with differentmeta(#10969) (djhi) - Fix
useDeleteControllershould get the record from closestRecordContext(#10967) (djhi) - Fix incompatibility with latest
@tanstack/react-query(#10964) (djhi) - Fix
<Toolbar>design (#10960) (djhi) - Fix
<ReferenceInput>don't return currently selected choice whenenableGetChoicesreturnsfalse(#10958) (djhi) - Fix
<FilterLiveForm>may override latest users inputs when they type at the same pace than the debounce delay (#10952) (djhi) - [Doc] Update
<ReferenceManyInput>documentation to mentionrankSource(#10970) (djhi) - [Doc] Add logo to
ra-coredocumentation (#10968) (djhi) - [Doc] Change
ra-coredocumentation styles (#10966) (djhi) - [Doc] Improve sidebar scrolling on
ra-coredocumentation (#10963) (slax57) - [Doc] Fix some incorrect video types (#10962) (slax57)
- [Doc] Add missing props to
<ReferenceArrayFieldBase>and<ReferenceManyFieldBase>documentation (#10956) (slax57) - [Doc] Fix
<BulkActionsToolbar selectAllButton>only accepts an element (#10954) (slax57) - [Doc] Update
<Scheduler>documentation (#10950) (djhi)
5.11.3
5.11.2
- Fix
<BulkDeleteWithConfirmButton>default color (#10928) (wmatex) - Fix
RaDataTable-rowCellCSS class is not applied on<DataTable>cells (#10933) (djhi) - Fix passing an element to
notifyrequires to wrap it inforwardRef(#10935) (djhi) - [Doc] Update
<TreeInput>assets and doc (#10929) (slax57) - [TypeScript] Fix inputs and fields label type (#10922) (djhi)
- [Demo] Fix demos with MSW (#10920) (Madeorsk)
- [website] Remove greenframe widget (#10934) (djhi)
- [chore] Fix security vulnerabilities affecting
astroandejs(#10937) (slax57) - [chore] Remove Greenframe CI step config (#10936) (slax57)
- [chore] Bump vite from 6.3.5 to 6.3.6 (#10931) (dependabot[bot])