ra-data-fakerest
Advanced tools
Changelog
v4.0.1
<DateTimeInput>
doesn't work when used as filter (#7551) (WiXSL)<BooleanInput>
helper text doesn't use isSubmitted
(#7552) (afilp)<SimpleForm>
should not accept mutationMode
prop (#7533) (WiXSL)<Datagrid>
on data without an id
(#7548) (WiXSL)propTypes
on a few components (#7535) (WiXSL)<Datagrid>
usage example shows bulk actions (#7547) (WiXSL)<Datagrid>
body snippet is missing <RecordContextProvider>
(#7546) (fzaninotto)ra-rbac
module (#7545) (artnest)useEditContext
section (#7542) (usman-coe)<List>
component section (#7536) (Eric013)Changelog
v4.0.0
React-admin v4 focuses on modernizing the inner workings of the library. It improves the developper experience a great deal, and paves the way for future changes. It is the result of 6 months of intensive refactoring, development, and test.
The following list concerns version 4.0.0, as well as all the pre-releases (alpha, beta, and rc).
<Admin requireAuth>
to hide the app until auth is checked (#7475)<Admin basename>
to allow mounting react-admin inside a sub path (#7100, #6917)dataProvider
hooks (#7116)total
) (#7120)sx
props in all ra-ui-materialui
components (#7175)<Form>
component (#7087)<ReferenceOneField>
(#7060)<CustomRoutes>
(#7345)useStore
and persistent preferences (backport from ra-enterprise
) (#7158, #7366)<ToggleThemeButton>
(#7340)<LocalesMenuButton>
(#7332)useSetTheme
(#7008)combineDataProvider
helper (#7055)<Datagrid expandSingle>
to limit the number of expanded rows to 1 (#7454)<ChoicesContextProvider>
in all ReferenceInputs to avoid child cloning and allow choices filtering, pagination, and sorting (#7185)<FileInput validateFileRemoval>
prop to allow confirmation before file deletion (#7003)<Resource options>
(#7392)material-ui
to v5 (#6650)react-query
for data fetching instead of home made solution (#6779, #6916, #7006, #7016, #7025, #6891, #7035, #7020, #7035, #7001)react-final-form
with react-hook-form
(#7087)react-router
to V6 (#6873)Quill
by TipTap
in <RichTextInput>
(#7153)Record
TypeScript name to RaRecord
(#7078)record
prop injectionvariant
and margin
, and document theme override instead (#7223)loading
to isLoading
in authProvider
hooks return type (#7334)initialValues
to defaultValues
in <Form>
(caused by switch to react-hook-form
)bulkActionButtons
from <List>
to <Datagrid>
(#7114)currentSort
to sort
(#7076)setSort
signature to make it consistent across components (#7065)<TranslationProvider>
to <I18nContextProvider>
<WithPermissions>
wrapping to a useAuthenticated
hook in main controllers (#6921)<Notification>
component into <AdminUI>
to avoid gotchas when overriding the layout (#7082)Redux
(#7177)redux-saga
and saga-based side effects (#6684)connected-react-router
(#6704)basePath
(#7100)addLabel
prop in Field components (#7223)Resource
initialization, Store Resource definitions in Context rather than in store (#7051)addField
) and render propsuseQuery
and useMutation
(as react-query
already provides them) (#7001)validUntil
(#7001)useVersion
(#7001)allowEmpty
prop in choice inputs (#7200)sort
prop in <DataGridHeaderCell>
(#7065)<FormWithRedirect>
and handleSubmitWithRedirect
(#7087)TestContext
(<AdminContext>
does the trick) and ra-test
(#7148)useGetMatching
(use getList instead) (#6916)undoable
prop now that we have mutationMode
(#6711)withTranslate
HOC (#7157)ra-test
(#7148)esbuild
instead of webpack
for simple exampleAs this is a major release, there are breaking changes. We documented all the changes required in a react-admin v3 application to make it compatible with version 4 in the react-admin v4 Upgrade Guide.
Since react-admin counts about 112,000 lines of code, this means that 90% of the codebase was touched.
Many thanks to all the contributors (whether they helped developing, testing, documenting, proofreading react-admin v4), and in particular to the core team (fzaninotto, djhi, WiXSL) for their hard work.
Changelog
v3.19.11
history
dependency (#7481) (WiXSL)setFilter
(#7444) (slax57)useGetMany
loading/loaded state does not change when query updated (#6913) (WiXSL)<BulkUpdateButton>
color (#7303) (WiXSL)<AutocompleteInput optionText>
returning an element throws error (#7289) (WiXSL)url-parse
from 1.5.7 to 1.5.10 dependencies(#7313) (dependabot)url-parse
from 1.5.3 to 1.5.7 dependencies(#7263) (dependabot)<Datagrid>
example (#7375) (WiXSL)ra-data-graphql
readme (#7347) (dijonkitchen)<Resource options>
label property (#7422) (soullivaneuh)