Changelog
v5.0.1
Changelog
v5.0.0
This major release introduces new features and some breaking changes. Here are the highlights:
We've written a migration guide to help you upgrade your apps to v5. It covers all the breaking changes and how to adapt your code to the new APIs.
We estimate that a react-admin app with 50,000 lines of code will require about 2 days of work to upgrade to v5.
Fix <SelectArrayInput>
options panel width and placement (#10232) (fzaninotto)
[Doc] Fix mutationMode
reference in create
documentation (#10231) (erwanMarmelab)
[Doc] Fix remaining isLoading
should be renamed to isPending
(#10218) (smeng9)
Build(deps-dev): Bump vite from 5.3.1 to 5.3.6 (#10217) (dependabot[bot])
[Doc] Add ra-data-graphql-supabase
to data provider list (#10216) (maxschridde1494)
[Doc] Update <Calendar>
doc to explain custom event format (#10214) (erwanMarmelab)
Fix duplicated dependencies in dev packages (#10212) (fzaninotto)
Build(deps): Bump dset from 3.1.3 to 3.1.4 (#10211) (dependabot[bot])
[Doc] Fix outdated isLoading
in Data Provider chapter (#10209) (smeng9)
Build(deps): Bump dompurify from 2.4.3 to 2.5.4 (#10208) (dependabot[bot])
Fix for ids not being escaped in paths in the Simple Rest Data Provider (#10206) (ckhsponge)
[Doc] Add doc for <DatagridAgClient>
, make <DatagridAg>
stable (#10205) (erwanMarmelab)
[Doc] Create a doc page for <DateRangeInput>
(#10202) (erwanMarmelab)
Fix FilterButton checked status (#10191) (fzaninotto)
Enable Store sync when disableSyncWithLocation
is true (#10187) (WiXSL)
Add icons to FilterButton dropdown (#10186) (erwanMarmelab)
Update <Datagrid>
and <SimpleList>
empty message when a filter is active (#10184) (erwanMarmelab)
Add support for response metadata in dataProvider.getList() (#10179) (fzaninotto)
Add global Reset CSS (#10164) (fzaninotto)
Fix input validation and dirty state after re-enabling disabled fields (#10163) (michel-paiva)
Add support for computed fields in ra-data-json-server
's dataProvider.create()
(#10162) (fzaninotto)
[Doc] Document <ReferenceManyField storeKey>
prop (#10142) (slax57)
Add <ReferenceManyField storeKey>
to allow more than one reference for the same resource (#10132) (djhi)
[Doc] Fix codemod filename extensions in upgrade guide (#10199) (afilp)
Build(deps): Bump dset from 3.1.3 to 3.1.4 (#10196) (dependabot[bot])
[Demo] Fix clear filters option in tabbed datagrid (#10193) (fzaninotto)
Fix List shows empty page too often (#10190) (fzaninotto)
Build(deps): Bump webpack from 5.83.1 to 5.94.0 (#10175) (dependabot[bot])
[Doc]: Fix SimpleFormIterator add and remove buttons snippets (#10173) (julienV)
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] Unit tests: Expand expect
with testing-library helpers (#10169) (ThieryMichel)
Build(deps): Bump micromatch from 4.0.5 to 4.0.8 (#10165) (dependabot[bot])
Fix create-react-admin
fails with Yarn PnP (#10161) (fzaninotto)
Fix Datagrid row does not appear clickable although it is (#10160) (fzaninotto)
[Doc] Fix video playback on Firefox (#10152) (ThieryMichel)
Build(deps): Bump axios from 1.6.1 to 1.7.4 (#10151) (dependabot[bot])
[Doc] Add screencast for EditInDialogButton in ReferenceManyField documentation (#10137) (djhi)
[Doc] Add ra-data-nestjs-query
to the list of Data Providers (#10145) (mrnkr)
Fix <PrevNextButtons>
index when using paginated results (#10144) (slax57)
Fix ra-data-graphql
incorrectly warns about deprecated override
option being set (#10138) (JonasDoe)
[Doc] Update ra-search documentation to mention disableHighlight (#10135) (djhi)
[Doc] Fix <ReferenceInput>
usage incorrectly mentions the validate
prop (#10134) (fzaninotto)
Fix create-react-admin
CLI to generate valid react-admin v5 apps (#10131) (djhi)
Update <SelectInput>
to support an array of strings as choices (#10038) (fzaninotto)
Add ability to disable title in page components (#9969) (fzaninotto)
Update <ReferenceField>
to render a link to the show view when relevant (#9951) (fzaninotto)
Preserve extra query parameters in List view (#9933) (Nilegfx)
Allow to customize Login page icon with <Login avatarIcon>
(#9917) (mjarosch)
Add ability to customize the success notification message in delete buttons (#9868) (ethembynkr)
Allow <Title>
to be non configurable (#9836) (markyao6275)
fix <AutocompleteInput>
clear button does not clear new choice (#10023) (adguernier)
[Doc] Verify if Beginning mode exist before add event (#10016) (arimet)
Fix <FilterLiveSearch>
should react to filter values change (#9996) (slax57)
For a detailed changelog, see the release notes for the following pre-releases:
Changelog
v5.0.0-rc.0
<Error>
background in global ErrorBoundary
(#9913) (fzaninotto)combineDataProvider
throws a runtime error (#9910) (fzaninotto)<List>
should not render <Error>
component on fetch error (#9912) (fzaninotto)useDelete
doesn't delete record if its id
is zero (#9894) (adguernier)<ArrayInput>
to use SourceContext
instead of cloning children (#9911) (adguernier)<SelectArrayInput>
to use default record representation when used inside <ReferenceArrayInput>
(#9902) (djhi)useRegisterMutationMiddleware
stories (#9899) (djhi)yarn
.lock (#9897) (fzaninotto)Changelog
v4.16.19
<ArrayInput>
ghost error after removing scalar item (#9918) (djhi)<SelectInput resettable>
does not reset the value (#9895) (fzaninotto)<SaveButton transform>
usage (#9915) (slax57)Changelog
v5.0.0-beta.3
<TextField>
should call toString
instead of JSON.stringify
for non-string values (#9888) (slax57)<ReferenceInput>
in <ArrayInput>
(#9882) (fzaninotto)ra-audit-log
chapter (#9881) (erwanMarmelab)ra-navigation
chapter (#9877) (erwanMarmelab)Changelog
v5.0.0-beta.1
useAuthProvider
may return undefined when no authProvider
is available (#9861) (slax57)<DatagridBody>
to create <RecordContext>
(#9808) (adguernier)clsx
to v2 (#9822) (MohammedFaragallah)query-string
to v9 (#9812) (MohammedFaragallah)PropTypes
(#9851) (slax57)useNavigation
(#9840) (erwanMarmelab)<DatagridRow>
(#9847) (adguernier)strictNullCheck
errors in examples (#9833) (djhi)useResourceDefinition
return type (#9852) (slax57)Changelog
v5.0.0-beta.0
<ReferenceFieldBase>
(#9698) (djhi)<ReferenceInputBase>
(#9672) (djhi)<ReferenceManyField queryOptions>
prop (#9750) (erwanMarmelab)<List storeKey={false}>
to disable all store interactions (sort, pagination, filters and now also selection state). (#9742) (nbalaguer)ErrorBoundary
(#9799) (erwanMarmelab)useInput
to generate a unique id by default (#9788) (erwanMarmelab)<List>
to restore scroll position when coming from Edit and Create views side effects (#9774) (djhi)<SimpleFormIterator>
so that it doesn't clone buttons (#9805) (djhi)react-error-boundary
to v4 (#9819) (MohammedFaragallah)react-i18next
to v14 (#9818) (MohammedFaragallah)react-dropzone
to v14 (#9811) (MohammedFaragallah)date-fns
to v3 (#9801) (MohammedFaragallah)@mui
to v5.15 (#9763) (djhi)inflection
to v3 (#9804) (MohammedFaragallah)<ReferenceManyFieldView>
(#9821) (djhi)<SimpleList>
always returns empty when controlled (#9802) (fzaninotto)<SimpleList>
<Basic>
story (#9792) (adguernier)data-generator-retail
(#9800) (djhi)Changelog
v4.16.17
Changelog
v4.16.16
<Admin requireAuth>
forbids access to custom routes with no layout (#9786) (fzaninotto)<Search>
and <SearchWithResult>
to introduce queryOptions
(#9779) (erwanMarmelab)<SimpleForm>
has wrong import for <RichTextInput>
(#9775) (anthonycmain)<RichTextInput>
typo on TipTap (#9759) (adguernier)<JsonSchemaForm>
to add details about available widgets (#9758) (adguernier)create-react-admin
(#9728) (hbendev)