Skip to content

Releases: marmelab/react-admin

5.4.3

18 Dec 15:10
v5.4.3
9e441c2
Compare
Choose a tag to compare
  • Fix <FormDataConsumer> causes its children to flicker (#10417) (djhi)
  • [Doc] Remove <ShowBase emptyWhileLoading> from the docs (#10416) (slax57)
  • [Doc] Introduce <DatagridAG> custom cell editors (#10410) (djhi)
  • [Doc] Update Access Control instructions following ra-rbac update (#10409) (djhi)
  • [Doc] Fix <TreeWithDetails filter> doc chapter (#10406) (erwanMarmelab)
  • Bump nanoid from 3.3.7 to 3.3.8 (#10414) (dependabot[bot])

5.4.2

09 Dec 16:33
Compare
Choose a tag to compare
  • Fix: Improve AutocompleteInput creation support (#10391) (djhi)
  • Fix useLogin should invalidate the getPermissions cache (#10392) (slax57)
  • Fix <Datagrid> rowClick function cannot expand or select (#10404) (djhi)
  • Fix <FileInput> triggers onChange twice with latest version of react-dropzone (#10402) (slax57)
  • Fix type of disableClearable prop for AutocompleteInput (#10393) (smeng9)
  • [Doc] Backport <ReferenceManyToManyField queryOptions> and <ReferenceManyToManyInput queryOptions mutationOptions> doc (#10403) (erwanMarmelab)
  • [Doc] Fix <DateRangeInput> import syntax (#10399) (erwanMarmelab)
  • [Doc] Introduce <TreeWithDetails filter> prop to render a sub tree (#10398) (djhi)

5.4.1

02 Dec 16:48
v5.4.1
5749322
Compare
Choose a tag to compare
  • Fix access control basename handling (#10383) (djhi)
  • Fix ReferenceManyField executes filter reset filter too often (#10371) (fzaninotto)
  • [Doc] Add video tutorial to Access Control documentation (#10378) (fzaninotto)
  • [Doc] Fix AutocompleteArrrayInput contains a useless tip (#10373) (erwanMarmelab)
  • [Doc] Update useUpdate doc to explain returnPromise option (#10372) (fzaninotto)
  • [Doc] Fix Supabase (GraphQL) DataProvider link label (#10370) (zackha)
  • [TypeScript] Fix <ReferenceArrayField queryOptions> param type (#10389) (dricholm)
  • [Storybook] Re-enable storysource addon (#10363) (slax57)
  • [Chore] Add a story when TextInput trigger a server error (#10386) (erwanMarmelab)

5.4.0

21 Nov 09:20
Compare
Choose a tag to compare

v5.3.4

15 Nov 14:23
Compare
Choose a tag to compare

5.3.3

08 Nov 14:45
Compare
Choose a tag to compare
  • Fix <Datagrid> header tooltip shows column names with a capital letter (#10337) (fzaninotto)
  • Fix <DateInput> and <DateTimeInput> do not react to form changes (#10335) (djhi)
  • Fix <Datagrid> header tooltip sometimes indicates the wrong sort order (#10334) (fzaninotto)
  • Fix meta location in buildVariables in ra-data-graphql-simple (#10322) (dricholm)
  • Fix createLabel option should not be clickable for <AutocompleteInput> and <AutocompleteArrayInput> (#10321) (slax57)
  • [Doc] Update horizontal navigation reference (#10329) (emmanuel-ferdman)
  • [Doc] Document usage of <DatagridAG> inside an <InfiniteList> (#10328) (djhi)
  • [Doc] Improve useUpdate usage instructions (#10326) (fzaninotto)
  • [Doc] Fix StackedFilters's defaultValue doc (#10325) (erwanMarmelab)

5.3.2

31 Oct 14:10
Compare
Choose a tag to compare
  • Fix undo logic not working when doing multiple deletions one by one (#10296) (fzaninotto)
  • Fix DateInput ignores the timezone when given (#10311) (fzaninotto)
  • Fix DateInput messes up dates in some timezones (#10299) (djhi)
  • Fix <Edit> ignores mutation meta when updating the getOne cache (#10314) (fzaninotto)
  • Fix ReferenceField link is wrong when the record is not yet loaded (#10309) (fzaninotto)
  • Fix <SimpleList> throws an error when no data in standalone mode (#10313) (fzaninotto)
  • Fix: Remove deprecated 'initialValue' from sanitizeInputRestProps (#10221) (afilp)
  • [Doc] Add Eicrud dataprovider to the docs (#10316) (danyalutsevich)
  • [Doc] Update <StackedFilters> documentation for defaultValue (#10319) (erwanMarmelab)
  • [Doc] Fix Supabase API handler example in NextJS tutorial (#10310) (Ariyn)
  • [Doc] Fix links to react-dropzone doc pages (#10312) (slax57)
  • [Doc] Fix typo in TabbedForm and TabbedShowLayout (#10308) (highwide)
  • [Demo] Leverage canAccess in CRM demo (#10300) (djhi)

5.3.1

25 Oct 14:05
Compare
Choose a tag to compare
  • Fix smart count for no results message (#10295) (thibault-barrat)
  • Fix double decoding of ids in URLs (#10293) (djhi)
  • Fix no results message has untranslated resource name (#10291) (fzaninotto)
  • Fix <AutocompleteInput> displays 'Create' option for choices that already exist when createLabel is provided (#10288) (slax57)
  • [Doc] Fix Authorization link in Authentication page (#10303) (djhi)
  • [Doc] Remove outdated warning about <SimpleFormIterator> cloning its children (#10302) (slax57)
  • [Doc] fix example in README (#10298) (antoinefricker)
  • [Doc] Document react-hook-form limitation preventing using dynamically added inputs in <ArrayInput> with shouldUnregister (#10271) (djhi)

5.3.0

17 Oct 13:15
Compare
Choose a tag to compare
  • Make authentication check pessimistic
    • Disable data provider calls in CRUD controllers while the auth check is pending (#10238) (djhi)
    • Disable rendering of CRUD views while the auth check is pending (#10258) (djhi)
    • Make <Authenticated> component blocking (#10251) (fzaninotto)
  • Add Access Control
    • Introduce useCanAccess, useCanAccessResources, and useCanAccessCallback hooks (#10222) (djhi)
    • Introduce <CanAccess> and <AccessDenied> components (#10222) (djhi)
    • Add access control check in page controllers (list, show, edit, create) (#10247) (djhi)
    • Add access control to views and action buttons (#10225) (djhi)
    • Add access control to <Datagrid rowClick> (#10227) (djhi)
    • Add access control to <DeleteButton> (#10226) (djhi)
    • Add access control to the / route and introduce <NavigateToFirstResource> (#10255) (djhi)
    • Avoid unnecessary rerenders with canAccess hooks when there is no authProvider (#10200) (djhi)
    • Make authProvider.getPermissions optional (#10257) (djhi)
    • Update Simple example to leverage access control (#10278) (slax57)
  • Add support for embedding and prefetching data to reduce API queries (#10270) (fzaninotto)
  • Add per-resource success notifications ("3 posts deleted" instead of "3 elements deleted") (#10203) (fzaninotto)
  • Add support for <Edit emptyWhileLoading> (#10230) (erwanMarmelab)
  • Fix redirection to first route prevents going back in history (#10267) (aqeebpathan)
  • Fix useAuthState may logout even though logoutOfFailure is false (#10280) (fzaninotto)
  • [TypeScript] Make records paths inferred from type compatible with react-hook-form (#10279) (djhi)
  • [Doc] Warn about <AutoSave> incompatibility with warnWhenUnsavedChanges (#10277) (djhi)
  • [Doc] Update mentions of Azure Active Directory to Microsoft Entra ID (#10276) (djhi)
  • [Doc] Rewrite access control documentation (#10250) (fzaninotto)

5.2.3

11 Oct 13:01
v5.2.3
1cba674
Compare
Choose a tag to compare
  • Fix <AutoCompleteInput> should not display a "Create" option when the filter is empty (#10266) (erwanMarmelab)
  • Fix pnpm error Module not found: Can't resolve '@mui/utils' (#10264) (slax57)
  • [Doc] Update <StackedFilters> doc for ra-form-layout v5.2.0 (#10268) (erwanMarmelab)
  • [Doc] Update Remix tutorial to fix port and yarn documentation link (#10263) (smeng9)
  • [Doc] Update <Search> doc for keyboardShortcutIcon, withKeyboardShortcut and isInAppBar (#10254) (erwanMarmelab)
  • [Doc] Update Admin and Routing docs to encourage using a Data Router (#10220) (smeng9)