ra-i18n-polyglot
Advanced tools
Changelog
v4.1.1
<DateTimeInput validate={required()} />
doesn't work correctly (#7744) (djhi)validate
function errors messages are not display when passed as translatable object (#7741) (djhi)useUpdateMany
does not support the returnPromise
option (#7740) (djhi)<SimpleForm>
and <TabbedForm>
toolbar with toolbar={false}
(#7738) (djhi)<Admin>
calls its child function without permissions while loading them (#7737) (djhi)useConfigureAdminRouterFromChildren
when child function return null (#7731) (djhi)<TabbedForm>
ignores the sx
prop (#7721) (slax57)<Loading>
ignores the sx
prop (#7723) (slax57)<Form>
submit cannot be prevented with event.preventDefault
(#7715) (slax57)<AutocompleteInput>
tests regression (#7714) (slax57)useSaveContext
code snippet (#7747) (wgiddens)<SelectArrayInput>
doc mentions non-existent prop resettable (#7743) (djhi)<SaveButton>
is documented in two different chapters (#7742) (fzaninotto)useGetOne
section about query aggregation (#7732) (fzaninotto)<BooleanInput>
example for overriding check icon (#7720) (mediafreakch)<Button>
component props accepts a record (#7764) (fzaninotto)<Button>
component props (#7750) (djhi)<SingleFieldList>
rejects the sx
prop (#7735) (djhi)useMutation
error typing definitions (#7722) (soullivaneuh)Changelog
v4.1.0
LabelPrefix
context to better guess correct input labels (#7710) (fzaninotto)<DashboardMenuItem>
(#7577) (kristelvdakker)Changelog
v4.0.5
<ReferenceField>
sometimes gets stuck on loading state (#7708) (djhi)<ReferenceInput>
sometimes gets stuck on loading state (#7707) (djhi)<ReferenceArrayInput>
with <AutocompleteArrayInput>
throws error if the array is empty (#7694) (slax57)<FormTab>
doesn't highlight selected tab label (#7693) (slax57)<Filter>
shows filter button even though there is no filter to add (#7691) (fzaninotto)<TextInput>
changes 'on' into 'false' (#7682) (Andonyaa)<Admin queryClient>
prop (#7704) (fzaninotto)Changelog
v4.0.4
variant
(#7636) (fzaninotto)<NumberInput>
edge cases (#7673) (fzaninotto)<ShowBase>
, <CreateBase>
and <EditBase>
components don't support resource
override via props (#7652) (slax57)ra-input-rich-text
(#7683) (friday)<Button color>
values (#7681) (smeng9)<Button>
component prop type (#7664) (okovpashko)<RichTextInputToolbar>
example in ra-input-rich-text
chapter (#7671) (friday)<SaveButton formId>
prop should be called <SaveButton form>
(#7658) (smeng9)Changelog
v4.0.3
<SimpleFormIterator disableRemove>
doesn't receive the record
argument (#7645) (andrico1234)<Admin>
forbids login when authProvider.setPermissions()
isn't implemented (#7642) (djhi)<SimpleFormIterator>
children display wrong labels (#7641) (djhi)<SimpleFormIterator>
(#7630) (andrico1234)useCreateController
(#7633) (waltheri)<FileInput>
no longer passes source
to name
attribute (#7619) (djhi)<FileInput>
doesn't accept options
prop (#7611) (fzaninotto)<SingleFieldList>
(#7617) (djhi)<SaveButton type>
is "button" (#7557) (WiXSL)NullableBooleanInput
helper text doesn't take isSubmitted
into account (#7553) (afilp)ra-data-graphql
options type (#7638) (arjunyel)<Button/>
props type mention unsupported icon
prop (#7627) (smeng9)<ArrayField>
doc mentions unsupported fieldKey
prop (#7613) (smeng9)Changelog
v4.0.2
<Admin queryClient>
prop (#7558) (joshq00)logout
doesn't reset resource registration (#7539) (fzaninotto)<ListGuesser>
does not update when resource changes (#7605) (djhi)<BooleanInput>
(#7556) (WiXSL)<RichTextInput>
buttons don't update correctly (#7585) (djhi)<ArrayInput sx>
prop (#7571) (djhi)<SelectInput choices>
type only allow Records (#7595) (bingluen)<SelectInput>
/ <SelectArrayInput>
onChange
handler (#7519) (WiXSL)<SelectInput>
props (#7566) (smeng9)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)