Releases: marmelab/react-admin
Releases · marmelab/react-admin
5.3.0
- Make authentication check pessimistic
- Add Access Control
- Introduce
useCanAccess
,useCanAccessResources
, anduseCanAccessCallback
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)
- Introduce
- 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 thoughlogoutOfFailure
is false (#10280) (fzaninotto) - [TypeScript] Make records paths inferred from type compatible with
react-hook-form
(#10279) (djhi) - [Doc] Warn about
<AutoSave>
incompatibility withwarnWhenUnsavedChanges
(#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
- 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 forra-form-layout
v5.2.0 (#10268) (erwanMarmelab) - [Doc] Update Remix tutorial to fix port and yarn documentation link (#10263) (smeng9)
- [Doc] Update
<Search>
doc forkeyboardShortcutIcon
,withKeyboardShortcut
andisInAppBar
(#10254) (erwanMarmelab) - [Doc] Update Admin and Routing docs to encourage using a Data Router (#10220) (smeng9)
5.2.2
- Fix disabled inputs temporarily erase values (#10249) (fzaninotto)
- Fix List empty component wrongly appears when using partial pagination (#10248) (fzaninotto )
- [Doc] Remove extra TOC in upgrade guide (#10246) (smeng9)
- [Doc] Fix
<DateRangeInput>
's reference EE icon (#10245) (erwanMarmelab) - [Doc] Update migration guide with useRecordSelection changes (#10244) (WiXSL)
- [Doc] Add "standalaone usage" doc section in dialog views (#10241) (erwanMarmelab)
- [Doc] Update outdated ecommerce demo video (#10236) (erwanMarmelab)
- [Doc] Update 's screencast (#10213) (erwanMarmelab)
- Build(deps): Bump rollup from 4.21.3 to 4.22.4 (#10234) (dependabot[bot])
v5.2.1
- Fix
<SelectArrayInput>
options panel width and placement (#10232) (fzaninotto) - Fix duplicated dependencies in dev packages (#10212) (fzaninotto)
- Fix for ids not being escaped in paths in the Simple Rest Data Provider (#10206) (ckhsponge)
- [Doc] Fix
mutationMode
reference increate
documentation (#10231) (erwanMarmelab) - [Doc] Fix remaining
isLoading
should be renamed toisPending
(#10218) (smeng9) - [Doc] Add
ra-data-graphql-supabase
to data provider list (#10216) (maxschridde1494) - [Doc] Update
<Calendar>
doc to explain custom event format (#10214) (erwanMarmelab) - [Doc] Fix outdated
isLoading
in Data Provider chapter (#10209) (smeng9) - [Doc] Add doc for
<DatagridAgClient>
, make<DatagridAg>
stable (#10205) (erwanMarmelab) - Build(deps): Bump dompurify from 2.4.3 to 2.5.4 (#10208) (dependabot[bot])
- Build(deps): Bump dset from 3.1.3 to 3.1.4 (#10211) (dependabot[bot])
- Build(deps-dev): Bump vite from 5.3.1 to 5.3.6 (#10217) (dependabot[bot])
v5.2.0
- Add support for response metadata in
dataProvider.getList()
(#10179) (fzaninotto) - Add icons to
<FilterButton>
dropdown (#10186) (erwanMarmelab) - Add reset button to
<Datagrid>
and<SimpleList>
when the current filter brings to no result (#10184) (erwanMarmelab) - Add global Reset CSS (#10164) (fzaninotto)
- Add
<ReferenceManyField storeKey>
to allow more than one reference for the same resource (#10132) (djhi) - Add support for computed fields in
ra-data-json-server
'sdataProvider.create()
(#10162) (fzaninotto) - Enable Store sync when
disableSyncWithLocation
is true (#10187) (WiXSL) - Fix
<FilterButton>
accessibility (#10204) (djhi) - Fix
<FilterButton>
checked status (#10191) (fzaninotto) - Fix input validation and dirty state after re-enabling disabled fields (#10163) (michel-paiva)
- [Doc] Create a doc page for
<DateRangeInput>
(#10202) (erwanMarmelab) - [Doc] Document
<ReferenceManyField storeKey>
prop (#10142) (slax57)
v5.1.5
- Fix List shows empty page too often (#10190) (fzaninotto)
- [Demo] Fix clear filters option in tabbed datagrid (#10193) (fzaninotto)
- Build(deps): Bump dset from 3.1.3 to 3.1.4 (#10196) (dependabot[bot])
- [Doc] Fix codemod filename extensions in upgrade guide (#10199) (afilp)
5.1.4
- Fix
useFormGroup
doesn't return validation errors with react-hook-form 7.53.0 (#10168) (slax57) - Avoid "no source" warning when theres a finalSource in
useInput
(#10153) (GuilhermeCarra) - [chore] Bump webpack from 5.83.1 to 5.94.0 (#10175) (dependabot[bot])
- [Doc]: Fix
<SimpleFormIterator>
add and remove buttons snippets (#10173) (julienV)
5.1.3
- Fix
create-react-admin
fails with Yarn PnP (#10161) (fzaninotto) - Fix Datagrid row does not appear clickable although it is (#10160) (fzaninotto)
- [chore] Bump micromatch from 4.0.5 to 4.0.8 (#10165) (dependabot[bot])
- [chore] Bump axios from 1.6.1 to 1.7.4 (#10151) (dependabot[bot])
- [chore] Unit tests: Expand
expect
with testing-library helpers (#10169) (ThieryMichel) - [Doc] Add screencast for EditInDialogButton in ReferenceManyField documentation (#10137) (djhi)
- [Doc] Fix video playback on Firefox (#10152) (ThieryMichel)
5.1.2
- Fix
<PrevNextButtons>
index when using paginated results (#10144) (slax57) - Fix
useInput
should call a custom validator with the final source in respect to the<SourceContext>
(#10148) (slax57) - Fix
ra-data-graphql
incorrectly warns about deprecatedoverride
option being set (#10138) (JonasDoe) - Fix
create-react-admin
CLI to generate valid react-admin v5 apps (#10131) (djhi) - [Doc] Fix
<ReferenceInput>
usage incorrectly mentions thevalidate
prop (#10134) (fzaninotto) - [Doc] Fix broken links to webm videos (#10143) (slax57)
- [Doc] Improve types in QuickFilter doc (#10150) (slax57)
- [Doc] Update ra-search documentation to mention disableHighlight (#10135) (djhi)
- [Doc] Add
ra-data-nestjs-query
to the list of Data Providers (#10145) (mrnkr)
5.1.1
- Fix
<TranslatableInputs>
throws error when used with null value (#10125) (glauff) - Fix
ListContext.setSort
ignores the sort order when the chosen field is the current one (#10114) (adguernier) - Fix
<Datagrid rowClick>
is called on mount (#10102) (djhi) - Fix
<SimpleFormIterator>
adds a left padding when there is no label (#10092) (fzaninotto) - Fix
<DateInput>
and<DateTimeInput>
do not handle partial values correctly on Firefox (#9543) (arimet)