Skip to content

Releases: marmelab/react-admin

5.13.1

14 Nov 10:44
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

  • 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

13 Nov 09:06
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

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

03 Nov 10:32
Immutable release. Only release title and notes can be modified.
v5.12.3
439f6fe

Choose a tag to compare

  • 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

24 Oct 13:37
v5.12.2
75f9601

Choose a tag to compare

  • Fix middlewares might not be applied in optimistic and undoable modes when they are unregistered before the actual mutation is called (#11007) (djhi)
  • Fix <AutocompleteArrayInput> does not apply ChipProps nor slotProps.chip in renderTags (#11003) (djhi)
  • Fix <SaveButton> form dirty status check (#10997) (djhi)
  • [Doc] Add missing Enterprise ribbon to some ra-core-ee modules (#11001) (jonathanarnault)
  • [Doc] Mention Soft Delete in Buttons documentation (#11000) (djhi)
  • [Doc] Add <FormDataConsumer> and useSourceContext headless 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

17 Oct 08:57

Choose a tag to compare

  • Fix <ColumnsSelector> reset button is not translatable (#10984) (yarkovaleksei)
  • [Doc] Update useRedirect JSDoc 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 useShowController result type (#10992) (slax57)
  • Bump astro from 5.13.7 to 5.14.3 (#10988) (dependabot[bot])

5.12.0

07 Oct 07:37
v5.12.0
210478f

Choose a tag to compare

  • Add error, loading, empty and offline props 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 useUpdateController to make the logic portable (#10924) (djhi)
  • Add useBulkUpdateController to make the logic portable (#10925) (djhi)
  • Add useBulkDeleteController to make the logic portable (#10923) (djhi)
  • Add <ListBase emptyWhileLoading> option (#10917) (djhi)
  • Add useMutationWithMutationMode hook (#10910) (djhi)
  • Update Guessers to use <TextArrayInput> / <TextArrayField> for scalar arrays (#10939) (slax57)
  • Fix useMutationWithMutationMode in optimistic and undoable mode may pass invalid parameters to the mutation (#10977) (djhi)
  • Fix update removing meta and pageInfo properties from getManyReference result (#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

26 Sep 12:15
v5.11.4
353b0e2

Choose a tag to compare

  • Fix useGetManyAggregate merge queries with different meta (#10969) (djhi)
  • Fix useDeleteController should get the record from closest RecordContext (#10967) (djhi)
  • Fix incompatibility with latest @tanstack/react-query (#10964) (djhi)
  • Fix <Toolbar> design (#10960) (djhi)
  • Fix <ReferenceInput> don't return currently selected choice when enableGetChoices returns false (#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 mention rankSource (#10970) (djhi)
  • [Doc] Add logo to ra-core documentation (#10968) (djhi)
  • [Doc] Change ra-core documentation styles (#10966) (djhi)
  • [Doc] Improve sidebar scrolling on ra-core documentation (#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

19 Sep 09:14

Choose a tag to compare

  • Fix useLogout does not redirect to the checkAuth call redirectTo property (#10949) (djhi)
  • [Doc] Update disableSort property in <DataTable> documentation (#10947) (johannchopin-buyco)

5.11.2

15 Sep 13:17

Choose a tag to compare

  • Fix <BulkDeleteWithConfirmButton> default color (#10928) (wmatex)
  • Fix RaDataTable-rowCell CSS class is not applied on <DataTable> cells (#10933) (djhi)
  • Fix passing an element to notify requires to wrap it in forwardRef (#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 astro and ejs (#10937) (slax57)
  • [chore] Remove Greenframe CI step config (#10936) (slax57)
  • [chore] Bump vite from 6.3.5 to 6.3.6 (#10931) (dependabot[bot])

5.11.1

05 Sep 09:35

Choose a tag to compare

  • Fix <Datagrid> and <DataTable> bulk selection (#10918) (djhi)
  • Revert usage on <ListIterator> in ra-ui-materialui (#10919) (djhi)
  • [Doc] Update ra-realtime documentation for 5.2.0 (#10914) (djhi)
  • [chore] Upgrade Cypress (#10913) (djhi)