Skip to content

Releases: marmelab/react-admin

5.13.5

09 Jan 14:46
Immutable release. Only release title and notes can be modified.
v5.13.5
bcbde4a

Choose a tag to compare

  • Fix <Form> ignores resetOptions when record changes (#11099) (Jszigeti)
  • Fix <ColumnsSelector> cannot hide <DataTable.Col> items with no source (#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 following ra-datagrid-ag 7.0.0 release (#11097) (slax57)
  • [Doc] Update AdapterDateFns imports for MUIX v8 (#11090) (djhi)
  • [Doc] Document <FilterValue> (#11086) (djhi)
  • [chore] Fix security vulnerabilities in qs and systeminformation (#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

16 Dec 13:48
Immutable release. Only release title and notes can be modified.
v5.13.4
1dfc05f

Choose a tag to compare

  • Fix useAugmentedForm resets the form one too many time (#11085) (slax57)
  • Fix <BulkDeleteWithConfirmButton>: prevent mutationOptions from 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 of children or render is required (#11072) (slax57)
  • Bump @tiptap/extension-link from 2.0.3 to 2.10.4 (#11074) (dependabot[bot])

5.13.3

05 Dec 14:03
Immutable release. Only release title and notes can be modified.
v5.13.3
54b1982

Choose a tag to compare

  • Replace deprecated <ListItemSecondaryAction> component by secondaryAction prop (#11033) (smeng9)
  • Fix memoryStore does 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

21 Nov 11:02
Immutable release. Only release title and notes can be modified.
v5.13.2
0d01604

Choose a tag to compare

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)