blink
blink copied to clipboard
Update react-admin monorepo to v4 (major)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| ra-data-simple-rest | ^3.19.0 -> ^4.0.0 |
||||
| react-admin | ^3.19.0 -> ^4.0.0 |
Release Notes
marmelab/react-admin
v4.3.2
- Fix
useFormStatesometimes returns outdated state (#β8138) (WiXSL) - Fix
<ArrayInput>not showing validation error message (#β8154) (WiXSL) - Fix
<FileInput>and<ImageInput>not showing validation error message (#β8150) (WiXSL) - Fix
<AppBar className>prop is ignored (#β8148) (WiXSL) - Fix
<ReferenceManyField>row selection is shared for a given resources (#β8149) (WiXSL) - Fix
useNotify()triggers useless rerenders (#β8136) (fzaninotto) - Fix
<AutocompleteInput>does not allow zero as value (#β8144) (WiXSL) - [Doc] Add documentation for the
<SavedQueriesList>component (#β8157) (fzaninotto) - [Doc] Fix tutorial about sanitizing empty values (#β8156) (fzaninotto)
- [Doc] Fix Theming doc mentions old syntax of
<Menu.Item>(#β8137) (fzaninotto)
v4.3.1
- Fix
<SelectInput>reorders choices by id (#β8135) (fzaninotto) - Fix global validation not firing after submit with
<ArrayInput>(#β8118) (slax57) - Fix
useGetManyAggregatethrows "filter is not a function" when getting 401 (#β8131) (matthieuMay) - Fix
<AutocompleteInput clearOnBlur>has no effect (#β8123) (WiXSL) - Fix dataProvider hooks do not handle
pageInfowhen updatinggetListquery cache (#β8105) (slax57) - Fix guesser for of
<ReferenceField>and<ReferenceArrayField>do not userecordRepresentation(#β8104) (fzaninotto) - Fix
useGetList's onSuccess side effect overriding internal one (#β8102) (slax57) - [Doc] Fix ambiguity about
<ReferenceInput>label prop (#β8128) (fzaninotto) - [Doc]: Fix
ra-rbaclinks (#β8127) (slax57) - [Doc] Fix code error in usage example of
ra-data-localstorageREADME (#β8122) (rnllv) - [Doc] Fix outdated link to
ra-data-postgrestdata provider (#β8111) (scheiblr) - [Doc] Fix
<ReferenceArrayField>doc to use a child-less syntax first (#β8117) (fzaninotto) - [Doc] Fix package name for
<JsonSchemaForm>(#β8106) (arimet) - [Doc] Fix typo in
<ReferenceField emptyText>documentation (#β8112) (LabisAnargyrou) - [Doc] Fix
<TabbedForm>chapter to explain how to force scrollable variant (#β8109) (arimet)
v4.3.0
- Add default Record representation (#β8011) (fzaninotto)
- Add ability to remove empty option in
<SelectInput>for required fields (#β8039) (fzaninotto) - Add a "Clear all filters" button (#β8017) (septentrion-730n)
- Add support for
<SimpleFormIterator>inlineandsxprops (#β8067) (fzaninotto) - Add support for custom login redirection (#β7999) (fzaninotto)
- Add abiliy to have two react-admin apps under the same domain (#β8031) (septentrion-730n)
- Add
<TimeInput>(#β7917) (arnaudvergnet) - Add ability to make
<Authenticated />pessimistic and require authentication (#β7993) (smeng9) - Fix sourcemaps are missing from build (#β8095) (fzaninotto)
- Fix
<ArrayInput>validation does not prevent submission (#β8080) (arimet) - Fix
<AutocompleteInput>suggestions flicker when used inside<ReferenceInput>(#β8037) (fzaninotto) - [TypeScript] Fix some strict null checks in
ra-core(#β7952) (fzaninotto)
v4.2.8
- Fix
<ArrayInput>doesn't support scalar values (#β8090) (fzaninotto) - Fix
<CoreAdmin store>prop is ignored (#β8088) (fzaninotto) - Fix
<Notification multiLine>prop is ignored (#β8078) (arimet) - Fix
<ImageInput>includes useless class names (#β8066) (thibault-barrat) - [TypeScript] Add
resettableprop toSelectInputProps(#β8071) (thibault-barrat) - [Doc] Fix upgrade guide still mentioning
<TextInput transform>pop (#β8089) (Cimanel) - [Doc] Fix typos in
<ReferenceArrayField>doc (#β8087) (zackha) - [Doc] Fix typos in migration to v4 guide (#β8084) (Cimanel)
- [Doc] Add WooCommerce in available DataProvider list (#β8081) (zackha)
- [Doc] Add Express & Mongoose in available DataProvider list (#β8076) (NathanAdhitya)
- [Doc] Fix installation instructions in tutorial project (#β8074) (zackha)
- [Doc] Fix missing
labelprop in<ReferenceInput>and<ReferenceArrayInput>docs (#β8068) (thibault-barrat)
v4.2.7
- Fix
<FormDataConsumer>inside<SimpleFormIterator>adds empty value (#β8061) (fzaninotto) - Fix
useStoreinternal state reset when key changes (#β8058) (slax57) - Fix notification for validation errors doesn't show on
<Edit>pages (#β8055) (arimet) - Fix
<Form>does not display notification after the first invalid submit (#β8057) (arimet) - Fix
<FileInput>and<ImageInput>clone their child (#β8052) (thibault-barrat) - [Doc] Document how to sanitize form values (#β8048) (septentrion-730n)
- [Doc] Improve
<ImageField>,<NumberField>and<SelectField>docs (#β8045) (fzaninotto) - [Doc] Add Vite integration doc (#β8054) (thibault-barrat)
- [Doc] Add
useGetTreedoc (#β8065) (thibault-barrat) - [Doc] Add
<JsonSchemaForm>doc (#β8056) (thibault-barrat)
v4.2.6
- Fix
<DeleteButton mutationOptions>ignoresmetaparameter (#β8023) (septentrion-730n) - Fix
<NumberInput>state only changes on blur (#β8033) (fzaninotto) - Fix
<ArrayInput>adds previously removed item (#β8029) (djhi) - [TypeScript] Fix
<MenuItemLink>prop type isn't exported (#β8040) (fzaninotto) - [Doc] Add Search component (#β8021) (fzaninotto)
- [Doc] Fix typos in Search documentation (#β8024) (septentrion-730n)
- [Demo] Fix Pending reviews link on Dashboard (#β8036) (arimet)
- [Demo] Fix Category List does not use RecordContext (#β8035) (arimet)
v4.2.5
- Fix Input label proptypes and
<DatagridInput>imports (#β8019) by (megantaylor) - Fix
<DashboardMenuItem>Types (#β8007) by (djhi) - Fix
<Admin dashboard>causes a console warning due to missing key in the<Menu>(#β8005) by (DerYeger) - Fix
<AutocompleteInput>generates warning for identical label (#β8002) by (septentrion-730n) - Fix usage warning trigger in
<CheckboxGroupInput>(#β8001) by (septentrion-730n) - Fix
<FilterForm>overflow on mobile (#β7940) by (septentrion-730n) - [Typescript] Fix
<ListContextProvider>types (#β8020) by (septentrion-730n) - [Doc] Fix typo in
ra-data-graphql-simpledocs (#β8012) by (mattleff) - [Doc] Fix
react-querylinks in documentation (#β8010) by (septentrion-730n) - [Doc] Fix
useQueryexample snippet (#β8009) by (fzaninotto) - [Doc] Fix Custom
<ReferenceInput>label must be carried by the child component (#β8004) by (ApolloRisky) - [Doc] Add
<Breadcrumb>documentation (#β8000) by (fzaninotto)
v4.2.4
- Fix
<SelectInput>loading UI to avoid visual jump (#β7998) by (fzaninotto) - Fix
<SelectInput>resettable background color glitch (#β7997) by (fzaninotto) - Fix console error when using
<ReferenceArrayInput>in list filter (#β7995) by (septentrion-730n) - Fix
<NumberInput>field stateisTouchedis always false (#β7992) by (fzaninotto) - Fix error after being logged out and logging in again (#β7991) by (fzaninotto)
- Fix
useThemereturns undefined as value (#β7960) by (septentrion-730n) - Fix leading character in
<AutocompleteInput>can not be deleted (#β7954) by (septentrion-730n) - [Doc] Fix typo in
<RichTextInput>documentation (#β7990) by (uzegonemad) - [Doc]: Fix
<WithPermissions />and<IfCanAccess />doc (#β7994) by (smeng9) - [Doc] Add entry for
<MultiLevelMenu>(#β7983) by (fzaninotto)
v4.2.3
- Fix: Can't un-toggle filter through secondary action button in aside list (#β7982) (septentrion-730n)
- Fix:
useChoicesContextprops should take precedence over context (#β7967) (djhi) - Fix: individually import lodash modules to reduce bundle size (#β7962) (Jkker)
- Fix:
<Pagination>cannot be used outside aListContext(#β7956) (fzaninotto) - Fix: security alerts on development packages (#β7953) (fzaninotto)
- [TypeScript] Fix <Admin> used with function child and fragment does not compile (#β7981) (fzaninotto)
- [doc] Fix UserMenu customization documentation (#β7979) (ApolloRisky)
- [chore] Update lerna (#β7951) (fzaninotto)
v4.2.1
- Fix warnings in
<Menu>(#β7931) (djhi) - Fix Stick menu to top when
<AppBar>is collapsed (#β7930) (septentrion-730n) - Fix
ra-data-simple-restcreatedoes not return server data (#β7925) (dylanlt) - Fix
<AutocompleteInput>should show options after selection (#β7909) (djhi) - Fix
<AutocompleteInput>create text is undefined when using a function asoptionText(#β7908) (septentrion-730n) - Fix
<ArrayInput>does not apply the margin prop (#β7905) (djhi) - Fix
<ReferenceArrayInput>does not fetch defaultValues applied on its child (#β7904) (djhi) - Fix test files are in JS instead of TSX (#β7893) (fzaninotto)
- Fix
<ReferenceArrayField>throw error when its value is not an array (#β7899) (shreyas-jadhav) - Fix
ra-data-graphql-simpleresponse parser for embedded arrays and objects (#β7895) (djhi) - Fix
<TabbedForm>ignores customresourceprop (#β7891) (fzaninotto) - [TypeScript] Fix missing null checks in form helpers (#β7894) (fzaninotto)
- [Doc] Fix
useAuthProviderdocumentation (#β7927) (sunil-sharma-999) - [Doc] Assign variable before export default in examples (#β7926) (sunil-sharma-999)
- [Doc] Add installation instructions for CRA, Next.js and Remix (#β7921) (fzaninotto)
- [Doc] Add documentation for the
<Menu>component (#β7907) (fzaninotto) - [Doc] Fix examples using wrong key for setting the theme mode (#β7906) (pibouu)
- [Doc] Correct
<MenuItemLink>active state configuration (#β7901) (septentrion-730n) - [Doc] Add documentation for the
<Layout>component (#β7900) (fzaninotto) - [Doc] Add Next.js integration tutorial (#β7879) (fzaninotto)
v4.2.0
- Add ability to set
metain page components (#β7841) (fzaninotto) - Add ability to accept more than one child in
<Reference>Fields (#β7812) (fzaninotto) - Add support for
<ReferenceField emptyText>when the reference is missing (#β7851) (fzaninotto) - Add ability to specify available locales on the
i18nProvider(#β7758) (djhi) - Add support for custom toolbar buttons in
<RichTextInput>(#β7816) (bladx) - Add responsiveness to the
<RichTextInput>toolbar (#β7863) (bladx)
v4.1.6
- Fix
useListParamsmight navigate to an old pathname (#β7882) (djhi) - Fix
<AutocompleteInput>paginates passed choices (#β7889) (djhi) - Fix
<Form>throws error when passed adefaultValuesfunction (#β7888) (fzaninotto) - Fix
<FileInput>propTypes forlabelprop (#β7869) (slax57) - Fix
<SaveButton>loading state (#β7860) (septentrion-730n) - [TypeScript] Fix
FilterLiveSearchPropsshould extendTextInputProps(#β7859) (septentrion-730n) - [Doc] Fix link to outdated third party color input / field (#β7886) (alexgschwend)
- [Doc] Fix documentation summary design (#β7876) (septentrion-730n)
- [Doc] Fix
<NumberInput>example (#β7875) (afilp) - [Doc] Fix syntax error in code examples (#β7870) (WiXSL)
- [Doc] Fix link to
ra-data-postgrestfor v4 (#β7867) (septentrion-730n) - [Doc] Document
<LongForm>component (#β7862) (fzaninotto)
v4.1.5
- Fix
css-mediaqueryDependency (#β7849) (fzaninotto) - Fix
<Sidebar>does not forward theme substyles to its children (#β7854) (septentrion-730n) - Fix
useFormStatereturns null with yarn pnp (#β7850) (fzaninotto) - Fix
<AutocompleteInput>storybook does not select newly created option (#β7847) (slax57) - [Doc] Fix Inputs doc is too concise (#β7856) (fzaninotto)
- [Doc] Fix
<TextField>doc mentionslabelfield as required (#β7848) (fzaninotto)
v4.1.4
- Fix example simple codesandbox (#β7846) (slax57)
- Fix
<Logout />appears even when not logged in (#β7842) (septentrion-730n) - Fix
<Show disableAuthentication>prop is ignored (#β7837) (septentrion-730n) - Fix
<ImageField>style is ignored for single images (#β7836) (fzaninotto) - Fix
<FileInput>and<ImageInput>style don't use MUI theme (#β7835) (septentrion-730n) - Fix
<NumberInput>seems buggy when used in a Filter Form (#β7830) (fzaninotto) - Fix
<Datagrid expand>expands ALL rows when used as a child of<ArrayField>(#β7828) (septentrion-730n) - Fix
<ReferenceInput>generated label in Filter Form (#β7825) (septentrion-730n) - Fix
useDataProviderreturnsundefinedvalue when unauthorized 401 error is thrown (#β7820) (slax57) - Fix sourcemaps support with TypeScript (#β7818) (djhi)
- [Doc] Fix
<AutocompleteInput>creation props and examples (#β7844) (slax57) - [Doc] Fix tutorial about creating new choices (#β7833) (davidhenley)
- [Doc] Remove link to third-party TipTap input component (#β7819) (fzaninotto)
- [Doc] Fix
<ReferenceOneField>doc is missing (#β7813) (fzaninotto) - [Doc] Update location of
ra-data-treeql(#β7808) (nkappler)
v4.1.3
- Fix
<BooleanInput>and<CheckboxInput>don't have focus states (re-add ripple) (#β7772) (andrico1234) - Fix edit and show controllers do not handle falsy identifiers (#β7790) (djhi)
- Fix sourcemaps in packages build (#β7803) (djhi)
- Fix user cannot to load saved queries when
alwaysOnfilters are empty (#β7786) (fzaninotto) - Fix
useUpdatepasses old record to onSuccess in optimistic mode (#β7783) (djhi) - Fix
<Menu>storybook is missing (#β7776) (septentrion-730n) - [Doc] Fix custom menu items example (#β7804) (davidhenley)
- [Doc] Fix typo in Theming code snippet (#β7802) (AntonOfTheWoods)
- [Doc] Fix Theming doc uses outdated syntax for conditional formatting example (#β7799) (fzaninotto)
- [Doc] Fix Enterprise Edition modules syntax following 4.0 release (#β7795) (fzaninotto)
- [Doc] Fix
<DualListInput>menu item misses the premium badge (#β7789) (davidhenley) - [Doc] Restructure Translation Documentation (#β7759) (djhi)
v4.1.2
- Fix
DatagridContextanduseDatagridContextaren't exported (#β7779) (djhi) - Fix
<ArrayInput>doesn't allow null as value (#β7768) (septentrion-730n) - Fix
<AutocompleteArrayInput>accepts true asdisableClearablevalue (#β7766) (septentrion-730n) - [Typescript] Fix
<FunctionField>generic typing restriction (#β7770) (septentrion-730n) - [TypeScript] Fix
<FilterLiveSearch>missingfullWidthprop and harmonizelabelprop type betweenCommonInputPropsandLabeledProps(#β7757) (septentrion-730n) - [Doc] Fix quick filters screencast doesn't show saved filters (#β7778) (septentrion-730n)
v4.1.1
- Fix
<DateTimeInput validate={required()} />doesn't work correctly (#β7744) (djhi) - Fix
validatefunction errors messages are not display when passed as translatable object (#β7741) (djhi) - Fix
useUpdateManydoes not support thereturnPromiseoption (#β7740) (djhi) - Fix cannot remove
<SimpleForm>and<TabbedForm>toolbar withtoolbar={false}(#β7738) (djhi) - Fix
<Admin>calls its child function without permissions while loading them (#β7737) (djhi) - Fix
useConfigureAdminRouterFromChildrenwhen child function return null (#β7731) (djhi) - Fix
<TabbedForm>ignores thesxprop (#β7721) (slax57) - Fix
<Loading>ignores thesxprop (#β7723) (slax57) - Fix
<Form>submit cannot be prevented withevent.preventDefault(#β7715) (slax57) - Fix
<AutocompleteInput>tests regression (#β7714) (slax57) - [Doc] Fix typo in
useSaveContextcode snippet (#β7747) (wgiddens) - [Doc] Fix
<SelectArrayInput>doc mentions non-existent prop resettable (#β7743) (djhi) - [Doc] Fix
<SaveButton>is documented in two different chapters (#β7742) (fzaninotto) - [Doc] Fix typo in custom form layout example (#β7734) (ApolloRisky)
- [Doc] Fix
useGetOnesection about query aggregation (#β7732) (fzaninotto) - [Doc] Fix global theme overrides example (#β7727) (mediafreakch)
- [Doc] Fix Form Validation section mentions ability to do both async validation per input and global validation (#β7726) (slax57)
- [Doc] Fix
<BooleanInput>example for overriding check icon (#β7720) (mediafreakch) - [Doc] Fix tutorial example cannot be run in CodeSandbox (#β7713) (slax57)
- [TypeScript] Fix
<Button>component props accepts a record (#β7764) (fzaninotto) - [TypeScript] Fix
<Button>component props (#β7750) (djhi) - [TypeScript] Fix
<SingleFieldList>rejects thesxprop (#β7735) (djhi) - [TypeScript] Fix missing
useMutationerror typing definitions (#β7722) (soullivaneuh) - [TypeScript] Fix cannot specify the error type in mutation hooks (#β7698) (soullivaneuh)
v4.1.0
- Add
LabelPrefixcontext to better guess correct input labels (#β7710) (fzaninotto) - Add middlewares support to create and edit controllers (#β7701) (djhi)
- Add imports to guesser output (#β7699) (fzaninotto)
- Add ability to change icon for
<DashboardMenuItem>(#β7577) (kristelvdakker)
v4.0.5
- Fix
<ReferenceField>sometimes gets stuck on loading state (#β7708) (djhi) - Fix
<ReferenceInput>sometimes gets stuck on loading state (#β7707) (djhi) - Fix
<ReferenceArrayInput>with<AutocompleteArrayInput>throws error if the array is empty (#β7694) (slax57) - Fix
<FormTab>doesn't highlight selected tab label (#β7693) (slax57) - Fix
<Filter>shows filter button even though there is no filter to add (#β7691) (fzaninotto) - Fix
<TextInput>changes 'on' into 'false' (#β7682) (Andonyaa) - [Doc] Fix "Save And Add Another" example in forms section (#β7709) (slax57)
- [Doc] Fix missing doc for
<Admin queryClient>prop (#β7704) (fzaninotto) - [Doc] Fix Validation chapter misses section explaining that global and input level validation can not be combined (#β7703) (slax57)
v4.0.4
- Fix cannot use theme to override input
variant(#β7636) (fzaninotto) - Fix
<NumberInput>edge cases (#β7673) (fzaninotto) - Fix
<ShowBase>,<CreateBase>and<EditBase>components don't supportresourceoverride via props (#β7652) (slax57) - Fix inconsistent casing for translation keys of
ra-input-rich-text(#β7683) (friday) - Fix warning when using some valid
<Button color>values (#β7681) (smeng9) - [TypeScript] Fix
<Button>component prop type (#β7664) (okovpashko) - [Doc] Fix "Prefilling the Form" example in Create chapter (#β7684) (slax57)
- [Doc] Fix
<RichTextInputToolbar>example inra-input-rich-textchapter (#β7671) (friday) - [Doc] Fix
<SaveButton formId>prop should be called<SaveButton form>(#β7658) (smeng9)
v4.0.3
- Fix
<SimpleFormIterator disableRemove>doesn't receive therecordargument (#β7645) (andrico1234) - Fix cannot create an admin without resources (#β7609) (djhi)
- Fix cannot define ressource config based on Permissions (#β7606) (djhi)
- Fix
<Admin>forbids login whenauthProvider.setPermissions()isn't implemented (#β7642) (djhi) - Fix
<SimpleFormIterator>children display wrong labels (#β7641) (djhi) - Fix style overrides in
<SimpleFormIterator>(#β7630) (andrico1234) - Fix ability to disable redirect in
useCreateController(#β7633) (waltheri) - Fix
<FileInput>no longer passessourcetonameattribute (#β7619) (djhi) - Fix
<FileInput>doesn't acceptoptionsprop (#β7611) (fzaninotto) - Fix duplicate key error in
<SingleFieldList>(#β7617) (djhi) - Fix Form validation when
<SaveButton type>is "button" (#β7557) (WiXSL) - Fix
NullableBooleanInputhelper text doesn't takeisSubmittedinto account (#β7553) (afilp) - [TypeScript] Fix
ra-data-graphqloptions type (#β7638) (arjunyel) - [TypeScript] Fix
<Button/>props type mention unsupportediconprop (#β7627) (smeng9) - [Doc] Fix wrong import in List docs (#β7647) (davidhenley)
- [Doc] Fix Edit doc mentions unsupported prop (#β7628) (fzaninotto)
- [Doc] Fix
<ArrayField>doc mentions unsupportedfieldKeyprop (#β7613) (smeng9) - [Doc] Fix instructions for using react-admin in a sub path (#β7612) (fzaninotto)
- [Doc] Add Prisma REST to the list of third-party Data Providers (#β7568) (mshd)
v4.0.2
- Publish GraphQL data provider packages (#β7607) (fzaninotto)
- Fix missing
<Admin queryClient>prop (#β7558) (joshq00) - Fix
logoutdoesn't reset resource registration (#β7539) (fzaninotto) - Fix
<ListGuesser>does not update when resource changes (#β7605) (djhi) - Fix cannot set custom icon in
<BooleanInput>(#β7556) (WiXSL) - Fix cannot clear filter form when clicking the clerar button on Firefox (#β7574) (smeng9)
- Fix
<RichTextInput>buttons don't update correctly (#β7585) (djhi) - [TypeScript] Fix missing
<ArrayInput sx>prop (#β7571) (djhi) - [TypeScript] Fix
<SelectInput choices>type only allow Records (#β7595) (bingluen) - [TypeScript] Fix
<SelectInput>/<SelectArrayInput>onChangehandler (#β7519) (WiXSL) - [Doc] Add an example GraphQL data provider (#β7602) (fzaninotto)
- [Doc] Fix missing
<SelectInput>props (#β7566) (smeng9) - [Doc] Fix Upgrade instructions for List views (#β7563) (hjr3)
- [Doc] Fix Upgrade instructions regarding router imports (#β7562) (hjr3)
v4.0.1
- Fix
<DateTimeInput>doesn't work when used as filter (#β7551) (WiXSL) - Fix
<BooleanInput>helper text doesn't useisSubmitted(#β7552) (afilp) - Fix
<SimpleForm>should not acceptmutationModeprop (#β7533) (WiXSL) - Fix React warning when using a
<Datagrid>on data without anid(#β7548) (WiXSL) - Fix outdated
propTypeson a few components (#β7535) (WiXSL) - [Doc] Fix
<Datagrid>usage example shows bulk actions (#β7547) (WiXSL) - [Doc] Fix
<Datagrid>body snippet is missing<RecordContextProvider>(#β7546) (fzaninotto) - [Doc] Fix link to the
ra-rbacmodule (#β7545) (artnest) - [Doc] Fix typo in
useEditContextsection (#β7542) (usman-coe) - [Doc] Fix typo in
<List>component section (#β7536) (Eric013) - Fix yarn.lock and dependencies versions (#β7532) (WiXSL)
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).
π New features
- Add
<Admin requireAuth>to hide the app until auth is checked (#β7475) - Add
<Admin basename>to allow mounting react-admin inside a sub path (#β7100, #β6917) - Add the ability to pass custom params to all
dataProviderhooks (#β7116) - Add support for partial pagination (i.e. no
total) (#β7120) - Add support for
sxprops in allra-ui-materialuicomponents (#β7175) - Add headless
<Form>component (#β7087) - Add
<ReferenceOneField>(#β7060) - Add
<CustomRoutes>(#β7345) - Add
useStoreand persistent preferences (backport fromra-enterprise) (#β7158, #β7366) - Add Saved Queries (#β7354)
- Add
<ToggleThemeButton>(#β7340) - Add
<LocalesMenuButton>(#β7332) - Add
useSetTheme(#β7008) - Add
combineDataProviderhelper (#β7055) - Add
<Datagrid expandSingle>to limit the number of expanded rows to 1 (#β7454) - Add
<ChoicesContextProvider>in all ReferenceInputs to avoid child cloning and allow choices filtering, pagination, and sorting (#β7185) - Add
<FileInput validateFileRemoval>prop to allow confirmation before file deletion (#β7003) - Add ability to register custom
<Resource options>(#β7392)
π¦ Dependency Updates
- Add React 18 compatibility (#β7377)
- Upgrade
material-uito v5 (and it's now calledMUI) (#β6650) - Use
react-queryfor data fetching instead of home made solution (#β6779, #β6916, #β7006, #β7016, #β7025, #β6891, #β7035, #β7020, #β7035, #β7001) - Replace
react-final-formwithreact-hook-form(#β7087) - Upgrade
react-routerto V6 (#β6873) - Replace
QuillbyTipTapin<RichTextInput>(#β7153) - Upgrade dependencies to their latest major versions
πΉ Updated Syntax
- Change the
RecordTypeScript name toRaRecord(#β7078) - Change data provider hooks signature to reflect the data provider signature
- Remove prop injection and child cloning, use context instead (#β7060, #β7218, #β7215, #β7214, #β7207, #β7206, #β7205, #β7203).
- Remove
recordprop injection - Remove permissions injection in main route controllers (#β6921)
- Avoid cloning Inputs components to pass
variantandmargin, and document theme override instead (#β7223) - Rename
loadingtoisLoadinginauthProviderhooks return type (#β7334) - Rename
initialValuestodefaultValuesin<Form>(caused by switch toreact-hook-form) - Move
bulkActionButtonsfrom<List>to<Datagrid>(#β7114) - Rename
currentSorttosort(#β7076) - Change
setSortsignature to make it consistent across components (#β7065) - Use MUI autocomplete instead of our own (#β6924, #β6971)
- Rename
<TranslationProvider>to<I18nContextProvider> - Switch
<WithPermissions>wrapping to auseAuthenticatedhook in main controllers ([#β6921](https:
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
β Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
β» Renovate will retry this branch, including artifacts, only when one of the following happens:
- any of the package files in this branch needs updating, or
- the branch becomes conflicted, or
- you click the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: blink@undefined
npm ERR! Found: [email protected]
npm ERR! node_modules/history
npm ERR! dev history@"^4.10.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer history@"^5.1.0" from [email protected]
npm ERR! node_modules/ra-core
npm ERR! peer ra-core@"^4.0.0" from [email protected]
npm ERR! node_modules/ra-data-simple-rest
npm ERR! dev ra-data-simple-rest@"^4.0.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /tmp/renovate-cache/others/npm/_logs/2023-03-19T16_08_27_651Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in:
npm ERR! /tmp/renovate-cache/others/npm/_logs/2023-03-19T16_08_27_651Z-debug-0.log
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
π Inspect: https://vercel.com/janejeon/blink/Bm63wyStMzgzAChi2ThGR13nSTXf
β
Preview: https://blink-git-renovate-major-react-admin-monorepo-janejeon.vercel.app
Deploying with Β
Β Cloudflare Pages
| Latest commit: |
65909b1
|
| Status: | Β β Β Deploy successful! |
| Preview URL: | https://8662c200.blink.pages.dev |
| Branch Preview URL: | https://renovate-major-react-admin-m.blink.pages.dev |
The latest updates on your projects. Learn more about Vercel for Git βοΈ
| Name | Status | Preview | Comments | Updated |
|---|---|---|---|---|
| blink | β Ready (Inspect) | Visit Preview | π¬ Add your feedback | Mar 19, 2023 at 4:13PM (UTC) |
Renovate Ignore Notification
Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 4.x releases. But if you manually upgrade to 4.x then Renovate will re-enable minor and patch updates automatically.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.