Skip to content

Latest commit

 

History

History
1567 lines (1320 loc) · 181 KB

CHANGELOG.md

File metadata and controls

1567 lines (1320 loc) · 181 KB

Changelog

v4.2.7

v4.2.6

v4.2.5

v4.2.4

v4.2.3

  • Fix: Can't un-toggle filter through secondary action button in aside list (#7982) (septentrion-730n)
  • Fix: useChoicesContext props should take precedence over context (#7967) (djhi)
  • Fix: individually import lodash modules to reduce bundle size (#7962) (Jkker)
  • Fix: <Pagination> cannot be used outside a ListContext (#7956) (fzaninotto)
  • Fix: security alerts on development packages (#7953) (fzaninotto)
  • [TypeScript] Fix 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.2

  • Fix <AppBar> jiggles when scrolling down rapidly (#7947) (fzaninotto)
  • Fix <BulkDeleteWithConfirmButton> does not work when mutationMode is undoable (#7948) (fzaninotto)
  • [Doc] Fix <EditBase> and useEditController unsupported record prop (#7950) (fzaninotto)
  • [Doc] Fix <AutocompleteInput> choices description (#7949) (fzaninotto)
  • [Doc] Fix Upgrade guide mentions incorrect import in "Removed connected-react-router" section (#7945) (Matra-Master)
  • [Doc] Missing import in custom routes documentation (#7941) (septentrion-730n)

4.2.1

  • Fix warnings in <Menu> (#7931) (djhi)
  • Fix Stick menu to top when <AppBar> is collapsed (#7930) (septentrion-730n)
  • Fix ra-data-simple-rest create does 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 as optionText (#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-simple response parser for embedded arrays and objects (#7895) (djhi)
  • Fix <TabbedForm> ignores custom resource prop (#7891) (fzaninotto)
  • [TypeScript] Fix missing null checks in form helpers (#7894) (fzaninotto)
  • [Doc] Fix useAuthProvider documentation (#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)

4.2.0

  • Add ability to set meta in 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

v4.1.5

v4.1.4

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 alwaysOn filters are empty (#7786) (fzaninotto)
  • Fix useUpdate passes 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 DatagridContext and useDatagridContext aren't exported (#7779) (djhi)
  • Fix <ArrayInput> doesn't allow null as value (#7768) (septentrion-730n)
  • Fix <AutocompleteArrayInput> accepts true as disableClearable value (#7766) (septentrion-730n)
  • [Typescript] Fix <FunctionField> generic typing restriction (#7770) (septentrion-730n)
  • [TypeScript] Fix <FilterLiveSearch> missing fullWidth prop and harmonize label prop type between CommonInputProps and LabeledProps (#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 validate function errors messages are not display when passed as translatable object (#7741) (djhi)
  • Fix useUpdateMany does not support the returnPromise option (#7740) (djhi)
  • Fix cannot remove <SimpleForm> and <TabbedForm> toolbar with toolbar={false} (#7738) (djhi)
  • Fix <Admin> calls its child function without permissions while loading them (#7737) (djhi)
  • Fix useConfigureAdminRouterFromChildren when child function return null (#7731) (djhi)
  • Fix <TabbedForm> ignores the sx prop (#7721) (slax57)
  • Fix <Loading> ignores the sx prop (#7723) (slax57)
  • Fix <Form> submit cannot be prevented with event.preventDefault (#7715) (slax57)
  • Fix <AutocompleteInput> tests regression (#7714) (slax57)
  • [Doc] Fix typo in useSaveContext code 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 useGetOne section 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 the sx prop (#7735) (djhi)
  • [TypeScript] Fix missing useMutation error typing definitions (#7722) (soullivaneuh)
  • [TypeScript] Fix cannot specify the error type in mutation hooks (#7698) (soullivaneuh)

v4.1.0

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 support resource override 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 in ra-input-rich-text chapter (#7671) (friday)
  • [Doc] Fix <SaveButton formId> prop should be called <SaveButton form> (#7658) (smeng9)

v4.0.3

  • Fix <SimpleFormIterator disableRemove> doesn't receive the record argument (#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 when authProvider.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 passes source to name attribute (#7619) (djhi)
  • Fix <FileInput> doesn't accept options prop (#7611) (fzaninotto)
  • Fix duplicate key error in <SingleFieldList> (#7617) (djhi)
  • Fix Form validation when <SaveButton type> is "button" (#7557) (WiXSL)
  • Fix NullableBooleanInput helper text doesn't take isSubmitted into account (#7553) (afilp)
  • [TypeScript] Fix ra-data-graphql options type (#7638) (arjunyel)
  • [TypeScript] Fix <Button/> props type mention unsupported icon prop (#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 unsupported fieldKey prop (#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 logout doesn'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> onChange handler (#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 use isSubmitted (#7552) (afilp)
  • Fix <SimpleForm> should not accept mutationMode prop (#7533) (WiXSL)
  • Fix React warning when using a <Datagrid> on data without an id (#7548) (WiXSL)
  • Fix outdated propTypes on 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-rbac module (#7545) (artnest)
  • [Doc] Fix typo in useEditContext section (#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 dataProvider hooks (#7116)
  • Add support for partial pagination (i.e. no total) (#7120)
  • Add support for sx props in all ra-ui-materialui components (#7175)
  • Add headless <Form> component (#7087)
  • Add <ReferenceOneField> (#7060)
  • Add <CustomRoutes> (#7345)
  • Add useStore and persistent preferences (backport from ra-enterprise) (#7158, #7366)
  • Add Saved Queries (#7354)
  • Add <ToggleThemeButton> (#7340)
  • Add <LocalesMenuButton> (#7332)
  • Add useSetTheme (#7008)
  • Add combineDataProvider helper (#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-ui to v5 (and it's now called MUI) (#6650)
  • Use react-query for data fetching instead of home made solution (#6779, #6916, #7006, #7016, #7025, #6891, #7035, #7020, #7035, #7001)
  • Replace react-final-form with react-hook-form (#7087)
  • Upgrade react-router to V6 (#6873)
  • Replace Quill by TipTap in <RichTextInput> (#7153)
  • Upgrade dependencies to their latest major versions

🏹 Updated Syntax

  • Change the Record TypeScript name to RaRecord (#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 record prop injection
  • Remove permissions injection in main route controllers (#6921)
  • Avoid cloning Inputs components to pass variant and margin, and document theme override instead (#7223)
  • Rename loading to isLoading in authProvider hooks return type (#7334)
  • Rename initialValues to defaultValues in <Form> (caused by switch to react-hook-form)
  • Move bulkActionButtons from <List> to <Datagrid> (#7114)
  • Rename currentSort to sort (#7076)
  • Change setSort signature to make it consistent across components (#7065)
  • Use MUI autocomplete instead of our own (#6924, #6971)
  • Rename <TranslationProvider> to <I18nContextProvider>
  • Switch <WithPermissions> wrapping to a useAuthenticated hook in main controllers (#6921)
  • Move <Notification> component into <AdminUI> to avoid gotchas when overriding the layout (#7082)

🧹 Cleanup

  • Remove Redux (#7177)
  • Remove redux-saga and saga-based side effects (#6684)
  • Remove connected-react-router (#6704)
  • Remove basePath (#7100)
  • Remove addLabel prop in Field components (#7223)
  • Remove Resource initialization, Store Resource definitions in Context rather than in store (#7051)
  • Remove HOCs (like addField) and render props
  • Remove useQuery and useMutation (as react-query already provides them) (#7001)
  • Remove application cache and validUntil (#7001)
  • Remove useVersion (#7001)
  • Remove allowEmpty prop in choice inputs (#7200)
  • Remove deprecated sort prop in <DataGridHeaderCell> (#7065)
  • Remove <FormWithRedirect> and handleSubmitWithRedirect (#7087)
  • Remove TestContext (<AdminContext> does the trick) and ra-test (#7148)
  • Remove declarative side effects support in dataProvider (#6687)
  • Remove useGetMatching (use getList instead) (#6916)
  • Remove support for undoable prop now that we have mutationMode (#6711)
  • Remove withTranslate HOC (#7157)
  • Remove ra-test (#7148)
  • Use esbuild instead of webpack for simple example
  • Use GitHub actions instead of Travis for CI

📚 Updated Documentation

  • The v4 documentation was deeply reorganized to allow easier discovery and faster navigation.
  • Most of the common hooks and components now have a dedicated documentation page.
  • We've added a Storybook to help you discover the components API.
  • The demos (e-commerce, CRM) were updated to show how to build application in idiomatic react-admin.

🪜 Upgrade Guide

As 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.

📊 Statistics

Since react-admin counts about 112,000 lines of code, this means that 90% of the codebase was touched.

💌 Thank You

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.

v3.19.11

v3.19.10

  • Fix <CheckboxGroupInput> changes selected values type (#7248) (WiXSL)
  • Fix <DateField> shows wrong date on negative time zones (#7242) (fzaninotto)
  • [Doc] Fix <DateInput> example of format and parse with Date object as value (#7233) (WiXSL)
  • Bump minor dependencies

v3.19.9

(failed release, do not use)

v3.19.8

  • Fix <FilterButton> throws bad error if no filters are present (#7227) (WiXSL)
  • Fix page remains the same when changing perPage in <ReferenceXXX> Fields (#7213) (WiXSL)
  • Fix useNotify doesn't allow multi line notifications (#7188) (WiXSL)
  • Fix <AutocompleteInput> erases input while typing (#7173) (WiXSL)
  • Fix resolveBrowserLocale tests (#7194) (FernandoKGA)
  • Fix <Toolbar alwaysEnableSaveButton> doesn't accept false (#7167) (WiXSL)
  • Fix <ReferenceArrayInput> logs console warning in certain cases (#7165) (WiXSL)
  • Fix DOM warnings when using <SelectArrayInput> as child of <ReferenceArrayInput> (#7015) (ZachSelindh)
  • Fix failing admin test when running all tests together (#7136) (thdk)
  • Fix GraphQL data provider swallows the Apollo Error (#6956) (hlubek)
  • [TypeScript] Fix BooleanInputProps isn't exported (#7144) (alanpoulain)
  • [Doc] Fix bad url in Inputs documentation (#7230) (WiXSL)
  • [Doc] Add SQLite data provider (#7201) (fzaninotto)
  • [Doc] Add TreeQL / PHP-CRUD-API data provider (#7141) (itsjavi)
  • [Doc] Fix <XXXInput initialValue> description when the value is null (#7139) (WiXSL)

v3.19.7

  • Fix <SimpleFormIterator> assigns items indexes incorrectly (#7123) (WiXSL)
  • Fix error messages can't be copied (#7115) (WiXSL)
  • Fix <ArrayInput> could make the form dirty on initialization (#7112) (WiXSL)
  • Fix race condition accessing redux store after logout (#7105) (WiXSL)
  • Fix dom warning when overriding <AutocompleteInput> styles (#6486) (mohandes-jiri)
  • [Doc] customizing and disabling item reordering for <ArrayInput> (#7104) (vaizki)
  • [Doc] Fix code snippet for choice creation in <AutocompleteArrayInput> and <SelectArrayInput> (#7086) (kristelvdakker)
  • [Doc] Fix dead link in Data Providers documentation (#7063) (Fabious)
  • Bump dependencies for security warnings (#7092) (#7128) (#7126) (#7090)

v3.19.6

  • Fix loading indicator keeps spinning on permissions error when logoutUser is false (#7044) (WiXSL)
  • Fix redirect=false after save doesn't clear the form (#7041) (WiXSL)
  • Fix <SelectArrayInput optionText> function not fully supported with create item (#7039) (WiXSL)
  • Fix <AutocompleteArrayInput optionText> function not supported with create item set (#7038) (WiXSL)
  • Fix <SelectInput optionText> for create (#7031) (WiXSL)
  • Fix <SelectArrayInput optionText> for create (#7030) (WiXSL)
  • [Demo] Fix typescript error (#7045) (WiXSL)
  • [Demo] Update Create-React-App to V5 (#7022) (fzaninotto)

v3.19.5

  • Fix <Autocomplete> fails when used inside a <FormDataConsumer> (#7013) (WiXSL)
  • Fix updateMany throws an error for undefined ID in ra-data-graphql-simple (#7002) (djhi)
  • Fix warning for unrecognized enableGetChoices prop when using <SelectInput> as child of <ReferenceInput> (#6999) (ZachSelindh)
  • [Doc] Fix typos (#7012) (WiXSL)

v3.19.4

  • Fix list <FilterButton> is not accessible (#6967) (WiXSL)
  • Fix incorrect exporter when switching resource (#6989) (WiXSL)
  • Fix <ArrayField> doesn't accept <SimpleList> as child (#6975) (Luwangel)
  • Fix unit tests require build first (#6983) (WiXSL)
  • [TypeScript] Fix <SimpleList toolbar> doesn't allow false value (#6969) (ZachSelindh)
  • [TypeScript] Fix ToolbarProps to be compatible with FormWithRedirectOwnProps definition (#6994) (WiXSL)
  • [TypeScript] Fix missing definition for <ReferenceFieldController label> prop (#6745) (kevinmamaqi)
  • [TypeScript] Fix <ArrayInput> proptype definition (#6617) (WiXSL)
  • [Doc] Fix typo in <Tab> jsDoc (#6959) (erakli)
  • [Demo] Fix <SelectInput label> is overridden in simple project (#6920) (WiXSL)

v3.19.3

  • Fix <ArrayInput> issue with initialValue (#6932) (djhi)
  • Fix <Datagrid> select all rows fails over multiple pages (#6950) (WiXSL)
  • Fix <Notification> component appears only once when saving several times (#6929) (wbojaume)
  • Fix useList isn't usable with asynchronously fetched data (#6899) (djhi)
  • Fix <FilterListItem> styles can't be overridden via theme (#6941) (kristelvdakker)
  • Fix <List bulkActionButtons> prop does not handle the value true (#6926) (WiXSL)
  • Fix <SidebarToggleButton> is not exported (#6911) (WiXSL)
  • Fix <Tab> children are missing the fullWidth prop when addLabel is set (#6915) (WiXSL)
  • Fix useReferenceArrayInputController sets loading prop incorrectly (#6914) (WiXSL)
  • Fix e2e tests fail on a clean install (#6938) (WiXSL)
  • Fix wrong imports in tests (#6931) (djhi)
  • Fix warn about unsaved changes when modifying <CheckGroupInput> or <ArrayInput> components (#6954) (WiXSL)
  • [TypeScript] Fix types in tests (#6949) (WiXSL)
  • [Doc] Add Blitzjs data provider (#6945) (Fidym)
  • [Doc] Fix authProvider example (#6933) (WiXSL)
  • [Doc] Fix code examples of <FormDataConsumer> (#6936) (WiXSL)
  • [Doc] Fix mention of deprecated createMuiTheme in theming docs (#6918) (AntoineCrb)
  • [Doc] Fix useNotify examples encourage a deprecated syntax (#6912) (WiXSL)
  • [Demo] Fix no-code-demo does not work in CodeSandbox (#6463) (smeng9)
  • [Demo] Update simple example dependencies (#6930) (djhi)
  • [Demo] Fix deprecation warnings in simple project (#6903) (WiXSL)

v3.19.2

  • Fix <SimpleForm> warns of unsaved changes when the form is submitting (#6895) (WiXSL)
  • Fix useMutation not considering returnPromise option (#6886) (WiXSL)
  • Fix package duplication in yarn.lock slows down react-admin CI (#6874) (fzaninotto)
  • [TypeScript] Fix include side effects in <DeleteButton> props type (#6877) (WiXSL)
  • [Demo] Fix authProvider.getIdentity() returns an object instead of a promise in simple demo (#6881) (WiXSL)
  • [Doc] Fix typo in README (#6875) (CoreyB26)
  • [Doc] Fix various typos (#6872) (WiXSL)
  • [Doc] Fix List actions examples (#6742) (erakli)

v3.19.1

  • Fix sidebar is displayed over the content (#6723) (djhi)
  • Fix warnWhenUnsavedChanges warns too often (#6719) (djhi)
  • Fix useNotify shows a warning if only one argument is passed (#6760) (WiXSL)
  • Fix runtime error when type is not supplied to useNotify (#6713) (danielhusar)
  • Fix notify function when no type is passed (#6768) (nidebo)
  • Fix <SimpleFormIterator> transition animations on add and remove items (#6871) (WiXSL)
  • Fix simple CodeSandbox (#6781) (djhi)
  • Fix <DateInput> breaks <SimpleFormIterator> (#6763) (djhi)
  • Fix <Login> page isn't customizable through MUI theme (#6762) (djhi)
  • Fix call time parameters don't take priority in useMutation (#6761) (djhi)
  • Bump minor dependencies
  • [TypeScript] Fix Graphql Providers Types (#6724) (djhi)
  • [TypeScript] Make previousData of DeleteParams optional (#6536) (m0rtalis)
  • [Doc] Add GeoServer data provider (#6778) (sergioedo)
  • [Doc] Add paragraph about carbon footprint in README (#6774) (fzaninotto)
  • [Doc] Add link to images in tutorial (#6771) (ocxers)
  • [Doc] Fix typo in Architecture chapter (#6740) (HobbitCodes)
  • [Doc] Fix typo in Theming chapter (#6714) (afilp)
  • Fix MUI's urls reference for version 4 (#6702) (WiXSL)
  • [Doc] Add getIdentity function to the authProvider reference (#6697) (WiXSL)
  • [Doc] Improve useRedirect description and examples (#6696) (WiXSL)

v3.19.0

🚀 New Features

  • Allow lazy loading of choices in ReferenceInput (#6013) (@ValentinH)
  • Add support for custom url in SimpleList (#6594) (djhi)
  • Added support for customizing the styles of the Datagrid expand panels (#6596) (mjomble)
  • Blur input on suggestion create (#6646) (andrico1234)
  • Add support for multiline notifications (#6670) (WiXSL)
  • Introduce simpler signature for the notify function returned by useNotify (#6671) (WiXSL)
  • Returns error from controllers & add support for custom onFailure on useShowController and useEditController (#6680) (djhi)
  • Extract sidebar toggle button (#6603) (djhi)
  • [GraphQL] Upgrade graphql packages dependencies (Apollo v3) (#6614) (djhi)

🐛 Bug Fixes

  • Fix MUI 4.12 deprecation warnings (#6587) (fzaninotto)
  • Refactor ArrayInput and SimpleFormIterator with context (#6612) (djhi)
  • Refactor graphql providers and migrate to the new dataProvider signature (#6628) (djhi)
  • [GraphQL]: Fix Simple Response Parser Modify all Objects (#6643) (djhi)
  • [GraphQL]: add basic network error handling (#6648) (djhi)
  • Fix remove unused import (#6676) (WiXSL)
  • Fix react import (#6677) (WiXSL)

🟦 Types

  • Upgrade TypeScript version to 4.4 (#6588) (fzaninotto)
  • Support custom DataProvider type with useDataProvider (#6605) (djhi)
  • Fix simple project type errors (#6637) (WiXSL)
  • Fix export TranslationMessages StringMap type (#6638) (WiXSL)
  • Add missing types for TranslationMessages (#6640) (Aikain)

📚 Docs

v3.18.3

  • Fix custom menus do not shrink when sidebar is closed (#6635) (djhi)
  • Fix undoable bulk actions failure by refreshing the view (#6616) (WiXSL)
  • Fix datagrid usage inside reference array input (#6589) (djhi)
  • Fix tests console errors and warnings (#6578) (WiXSL)
  • [TypeScript] Fix DataProvider and RouteWithoutLayout some types (#6634) (djhi)
  • [TypeScript] Fix TranslatableInputs props interface (#6633) (djhi)
  • [Doc] Add DatagridHeader to reference section (#6631) (WiXSL)
  • [Doc] Fix typos in several examples (#6623) (WiXSL)
  • [Doc] Add SimpleForm component prop description and example (#6611) (WiXSL)
  • [Doc] Fix scrollable TabbedForm usage description (#6608) (WiXSL)
  • [Doc] Fixed naming of getMany ids params (#6604) (davidhenley)
  • [Doc] Updated README of ra-data-graphql-simple for function components (#6555) (Panzki)

v3.18.2

  • Fix displayName prop in Field components (6569) (WiXSL)
  • Fix submitErrorsMutators form mutator is not exported (6586) (djhi)
  • Fix linkToRecord syntax when pointing to the show page (6575) (ValentinnDimitroff)
  • Fix <UrlField> font size differs from other fields (6568) (WiXSL)
  • Fix <EmailField> font size differs from other fields (6567) (fzaninotto)
  • [Doc] Add mentions of supabase data & auth providers and Tip Tap rich text input (6590) (djhi)
  • [Doc] Fix examples of ra-test usage with fake dataProviders (6600) (DjebbZ)
  • [TypeScript] Remove FunctionComponent usage from RichTextInput (6577) (WiXSL)
  • [Doc] Fix <AutocompleteArrayInput> image link typo (6574) (WiXSL)
  • [Doc] Fix outdated link to Django REST Framework dataProvider (6571) (fzaninotto)
  • [TypeScript] Rename and export Mutation props (6576) (WiXSL)

v3.18.1

  • Fix BooleanField doesn't show label when used in a Show view (6553) (WiXSL)
  • Fix Field components don't show labels when used in a Show view (6564) (WiXSL)
  • Fix "Something went wrong" issue when using <SelectArrayInput> & <SelectInput> (6558) (djhi)

v3.18.0

🎨 UI Changes

  • <Sidebar>: Make it fixed when users scroll vertically (6534) (fzaninotto)
  • <TranslatableInputs>: Reduce language tabs margin to allow more languages to be used (6484) (fzaninotto)

🚀 New Features

  • <SimpleFormIterator>: Add support for reordering items (6433) (djhi)
  • <SimpleList>: Add RecordContext to allow usage of Field components in primaryText, secondaryText, and tertiaryText (6552) (djhi)
  • <Datagrid>: Add header prop to override the header row (6496) (fzaninotto)
  • useRedirect: Add support for absolute URLs to facilitate third-party authentication providers (OAuth, OpenID Connect) (6469) (fzaninotto)

🐛 Bug Fixes

  • Fix quick create suggestion label when using custom optionText (6551) (djhi)
  • Fix devDependencies of individual packages (6540) (quentingarcia)

🟦 Types

  • Export many internal ra-core prop types for easier override (6543) (WiXSL)
  • Fix dataProvider.delete response type marks data as optional (6548) (WiXSL)
  • Remove FC usage from <SimpleFormIterator> and Docs (6546) (WiXSL)
  • Remove FC usage from <AdminContext> (6545) (WiXSL)
  • Remove FC usage from <Field> components (6538) (WiXSL)
  • Remove FC usage from examples (6519) (WiXSL)
  • Remove FC usage from ra-core components (6515) (WiXSL)

📚 Docs

✨ Demos

  • Fix implicit any type prevents TypeScript compilation of e-commerce demo (6556) (fzaninotto)
  • Fix simple demo on IE11 (6544) (djhi)
  • Fix demo on IE11 (6542) (djhi)

v3.17.3

  • Fix <BooleanInput initialValue> overrides existing value from record (6533) (fzaninotto)
  • Fix <ArrayField> forbids empty component in child <Datagrid> (6524) (fzaninotto)
  • Fix useList pagination total (6500) (yksflip)
  • [Doc] Add link to auth tutorials for Auth0, AzureAD, and Loopback (6535) (fzaninotto)
  • [Doc] Fix typo in readme file (6527) (WiXSL)
  • [Doc] Fix emptyText prop description in Fields documentation (6525) (fzaninotto)
  • [RFR] Remove FC usage from ra-ui-materialui components (6514) (WiXSL)

v3.17.2

v3.17.1

  • Fix propType warning in <BulkExportButton> (6479) (fzaninotto)
  • Fix propType warning in delete buttons (6472) (djhi)
  • Fix props.options.labelWidth not being applied in <SelectArrayInput> (6465) (WiXSL)
  • Fix ignored inputRef in <AutocompleteInput> & <AutocompleteArrayInput> (6458) (djhi)
  • [TypeScript] Fix type of <SelectInput classes> prop (6456) (djhi)
  • [TypeScript] Fix missing translation message types (6426) (Aikain)
  • [Doc] Add ra-supabase to data providers list (6481) (djhi)
  • [Doc] Add usage for useList (6480) (djhi)
  • [Doc] Fix authentication examples (6467) (WiXSL)
  • [Doc] Improve Submission Validation example (6466) (WiXSL)
  • [Demo] Improve learning experience by keeping component names in React DevTools (6457) (fzaninotto)
  • [Doc] Fix minor syntax errors in code examples (6449) (WiXSL)
  • [Doc] Fix <BulkUpdateButton> example (6447) (WiXSL)
  • [Doc] Fix typos, anchors and code samples (6446) (WiXSL)
  • [Doc] Add link to ReactPage Integration in the third-party Inputs list (6444) (macrozone)
  • [Doc] added link to @bb-tech/ra-components in the third-party Inputs list (6443) (sivaavkd)

v3.17.0

  • Add ability to define filters as an array of Inputs (6368) (fzaninotto)
  • Add support for image path value in <SimpleList leftAvatar> (6418) (fzaninotto)
  • Add ability to hide Input labels with label={false} (6381) (VikrantShirvankar)
  • Add links to the <Error> page to help troubleshooting (6367) (fzaninotto)
  • Add ability to redirect to a custom page on logout (6326) (andrico1234)
  • Add useList, a way to reuse the list pagination/sorting/filtering client-side logic (6321) (6378) (djhi)
  • Add <SimpleFormIterator> label function (6305) (iamstiil)

v3.16.6

  • Fix <Empty> component isn't properly exported (6419) (djhi)

v3.16.5

  • Fix "Deprecated findDOMNode" warning in StrictMode (6398) (fzaninotto)
  • Fix <DateTimeInput> does not include timezone for initialValue (6401) (djhi)
  • Fix <TranslatableInputs> ignores child input label (6415) (mjomble)
  • Fix <Empty> component isn't exported (6416) (djhi)
  • [Demo] Improve dataProvider logging in GraphQL demo (6405) (fzaninotto)
  • [Doc] Add mention of <RichTextInput> display bug and userland fix (6403) (fzaninotto)

v3.16.4

  • [Demo] Optimize data loading in e-commerce demo (6392) (djhi)
  • [Demo] Fix CRM demo points to bad source file (6389) (fzaninotto)
  • [Doc] Fix a typo in main Readme (6390) (aminetakha)
  • [Doc] Fix incomplete side effect hooks documentation (6388) (fzaninotto)
  • [Doc] Fix misleading explanation of <List syncWithLocation> prop (6385) (fzaninotto)
  • [Doc] Fix <ListBase> snippet doesn't explain how to override the title (6383) (fzaninotto)
  • [Doc] Fix wrong ending tags in Actions documentation (6382) (Cornul11)

v3.16.3

  • Fix useInput incorrectly sets default value for numbers (6374) (djhi)
  • [Doc] Fix <Show aside> prop format is component instead of element (6376) (fzaninotto)
  • [Doc] Improve ListActions override (6218) (WiXSL)
  • [Doc] Fix code snippet in custom field example (6365) (neps-in)
  • [Doc] Add ra-data-eve to DataProviders chapter (6362) (smeng9)

v3.16.2

v3.16.1

v3.16.0

  • Update window title on page change (6119) (andrico1234)
  • Expose refetch in hooks and components (6237) (fzaninotto)
  • Add ability to set location state via useRedirect (6293) (despatates)
  • Disable <SaveButton/> while Inputs are being validated asynchronously (6288) (WiXSL)
  • Thrown an error when using a Reference field without the associated Resource (6266) (fzaninotto)
  • Add <BulkUpdateButton> component (6072) (WiXSL)
  • Fix logout button appears in two different menus (6230) (fzaninotto)
  • Fix <AutocompleteInput> choice creation support (6328) (djhi)
  • Fix useGetMany loaded state (6319) (djhi)
  • Fix <DatagridRow> nb columns computation occurs too often (6307) (WiXSL)
  • Fix errors and warnings in tests (6299) (WiXSL)
  • [TypeScript] Add UserMenuProps type (6320) (fzaninotto)
  • [TypeScript] Fix TabbedShowLayoutProps's tabs should be optional (6310) (WiXSL)
  • [TypeScript] Add the ability to type <SimpleList> callbacks (6254) (fzaninotto)
  • [Doc] Fix wrong link in Fields documentation (6325) (Cornul11)
  • [Doc] Fix CHANGELOG glitches (6311) (WiXSL)
  • [Doc] Update Polish translation maintainer (6297) (Tymek)
  • [Doc] Fix mention of non-existent fullWith attribute in <SelectArrayInput> (6291) (WiXSL)
  • [Doc] Add data example for ra-simple-rest (6278) (karltaylor)
  • [Lab] ra-no-code - Introduce Resource Configuration (6217) (djhi)
  • [Lab] ra-no-code - Introduce ApplicationsDashboard (6221) (djhi)
  • [Lab] ra-no-code - Add support for simple references (6246) (djhi)

v3.15.2

  • Fix performance regression causing unnecessary redraws (6285) (fzaninotto)
  • Fix missing margin prop in several Labeled components (6282) (WiXSL)
  • Fix defaultValue and initialValue props don't work in Edit views (6272) (djhi)
  • Fix performance of <Layout> rerenders (6264) (WiXSL)
  • Fix useQueryWithStore outputs incorrect loaded field when enabled is false (6262) (fzaninotto)
  • [Doc] Fix wrong return value in custom validator example (6296) (WiXSL)
  • [Doc] Fix hook name in on-the-fly choice creation examples for <SelectInput> and <AutocompleteInput> (6286) (andrico1234)
  • [Doc] Fix bad readability of <ReferenceInput> examples (6281) (WiXSL)
  • [Doc] Fix <TestContext> JSDoc (6276) (WiXSL)
  • [Doc] Fix missing reference to success notification type in useNotify() hook documentation (6273) (WiXSL)

v3.15.1

  • Add CRM example (6242) (fzaninotto)
  • Fix logout button appears in two different menus (6230) (fzaninotto)
  • Fix <SkipNavigationButton> component isn't exported (6263) (WiXSL)
  • Fix useMutation internal test syntax (6261) (WiXSL)
  • Fix <AutocompleteArrayInput optionText> when used with a function value (6256) (djhi)
  • Fix useQueryWithStore returns loading=true when enabled is false (6249) (djhi)
  • [TypeScript] Fix <SelectField> doesn't accept <Typography> props (6253) (fzaninotto)
  • [TypeScript] Fix missing translation item create_item (6248) (Aikain)
  • [Doc] Fix typos in useDelete and useDeleteMany JsDocs examples (6260) (WiXSL)
  • [Doc] Fix useDelete and useUpdate JsDocs examples (6238) (WiXSL)
  • [Doc] Fix dataProvider hooks incorrectly document error state as loaded=true instead of false (6252) (fzaninotto)
  • [Doc] Fix minor typos in <FileInput> and <ImageInput> props description (6243) (olliebennett)

v3.15.0

  • Add support for quick choice creation in <SelectInput>, <AutocompleteInput>, <SelectArrayInput>, and <AutocompleteArrayInput> (6215) (djhi)
  • Add ability to call specialized dataProvider hooks with specialized parameters (6168) (fzaninotto)
  • Add ability to refetch a query in useQuery and useQueryWithStore (6130) (djhi)
  • Add <Datagrid empty> prop to display column headers even on empty lists (6164) (andrico1234)
  • Add <AppBar container> props to override the root App Bar element (6178) (WiXSL)
  • Add <RouteWithoutLayout> component to enable TS-compatible custom routes with noLayout (6158) (fzaninotto)
  • Add support for truthy/falsy values in <BooleanField> (6027) (WiXSL)
  • Add customReducers to <TestContext> (6067) (ValentinnDimitroff)
  • Fix custom mutators crash <SimpleForm> and <TabbedForm> (6209) (WiXSL)
  • Fix hideFilter called repeatedly only registers the last call (6226) (fzaninotto)
  • Fix warning in <UrlField> when value is nullish and emptyText is empty (6176) (OoDeLally)
  • [Doc] Fix typo in example of <SaveButton disabled> handling (6232) (SleepWalker)
  • Fix undoable prop behavior (6153) (ThieryMichel)
  • [Doc] Fix custom <DatagridRow> example (6223) (WiXSL)
  • [TypeScript] Export PublicFieldProps and InjectedFieldProps types (so devs can use them to define their own field components) (6219) (jtomaszewski)
  • [TypeScript] Fix useMutation requires payload argument (6182) (jtomaszewski)
  • [Lab] Bootstrap ra-no-code package (6211) (djhi)

v3.14.5

  • Fix <DateIpnut> and <DateTimeInput> are broken on Safari (6199) (djhi)
  • Fix <Notification> undo button's color on success type (6193) (WiXSL)
  • [TypeScript] Publish data-generator typings (6204) (floo51)
  • [TypeScript] Fix ra-data-local-storage types (6203) (djhi)
  • [TypeScript] Fix view action component types aren't exported (6200) (djhi)
  • [TypeScript] Fix sidebar width type in application theme (6197) (jtomaszewski)
  • [Doc] Add OData data provider (6206) (jvert)
  • [Doc] Update tutorial images (6205) (fzaninotto)
  • [Doc] Fix custom fields documentation doesn't use useRecordContext (6201) (djhi)

v3.14.4

  • Fix useGetMany does not respect the enabled option (6188) (djhi)
  • Fix 'Cannot set property validating of undefined' error when conditionally rendering a form component (6186) (ThieryMichel)
  • Fix useWarnWhenUsavedChanges fails on nested fields (6185) (djhi)
  • Fix warning when using <BulkDeleteButton> without props (6165) (fzaninotto)
  • Fix Menu icon isn't aligned with the sidebar icons (6161) (JayKaku)
  • Fix missing query string after successful login (6129) (makbol)
  • [Doc] Add link to Google Sheet data provider (6187) (fzaninotto)
  • [Doc] Fix missing documentation about the ResourceContext (6183) (fzaninotto)
  • [Doc] Fix broken link to source in Testing Permissions documentation (6181) (YashJipkate)
  • [Doc] Fix typo in <FormDataConsumer> usage JSDoc (6169) (WiXSL)
  • [Doc] Fix typo in withDataProvider hook example (6160) (f-jost)
  • [Doc] Fix outdated link for Swedish translation (6156) (kolben)

v3.14.3

  • Fix <Field textAlign> prop doesn't accept value center (6152) (WiXSL)
  • Fix runtime warnings when <SimpleList> displays skeleton while loading (6146) (fzaninotto)
  • Fix useRedirect does not handle query strings (6145) (fzaninotto)
  • Fix logout notification may appear more than once (6144) (fzaninotto)
  • Fix submit errors cannot have translation arguments (6140) (djhi)
  • Fix <RadioButtonGroupInput> emits runtime warnings (6139) (djhi)
  • Fix <ArrayInput> validation (6136) (djhi)
  • Fix <Datagrid> logs a warning about invalid prop hasBulkActions of type array (6122) (RoBYCoNTe)
  • [TypeScript] Fix minor type errors in ra-ui-material-ui and validate (6147) (fzaninotto)
  • [Doc] Fix <Labeled> documentation is missing resource and source props usage (6138) (djhi)
  • [Doc] Add illustration for the <Aside> component (6132) (fzaninotto)
  • [Doc] Add link to ra-acl auth package (6123) (andrico1234)

v3.14.2

  • Fix <Datagrid> requires too many props when used standalone (6115) (fzaninotto)
  • Fix console warnings from <Error> component (6114) (fzaninotto)
  • Fix <UserMenu> hides the scrollbar (6113) (fzaninotto)
  • Fix <UserMenu> dropdown positioning (6105) (djhi)
  • Fix <Admin customRoutes> aren't used when the resources are empty (6112) (fzaninotto)
  • Fix ra-ui-material-ui dependency version on ra-core (6111) (fzaninotto)
  • [TypeScript] Fix missing import in ra-core hook utils (6071) (WiXSL)
  • [Doc] Fix <TabbedForm syncWithLocation> example (6097) (djhi)

v3.14.1

  • Fix performance regression (6096) (fzaninotto)
  • [TypeScript] Fix <SingleFieldList component> doesn't accept string components (6094) (fzaninotto)

v3.14.0

  • Add ability to use record from context in Field components (5995) (fzaninotto)
  • Add <Datagrid isRowExpandable prop (5941) (WiXSL)
  • Add useResourceLabel hook (6016) (djhi)
  • Add ability to use an element as label in <FormTab> (6061) (WiXSL)
  • Add ability to use an element as label in <FilterListItem> (6034) (fzaninotto)
  • Add ability to call useGetList without pagination, sort, or filter params (6056) (fzaninotto)
  • Add ability to omit basePath in buttons (6041) (fzaninotto)
  • Add ability to omit basePath in Reference fields (6028) (fzaninotto)
  • Add support for <SingleFieldList component> (6036) (fzaninotto)
  • Add support for <Labeled fullWidth> (6089) (seniorquico)
  • Add support for <ArrayInput helperText> (6062) (WiXSL)
  • Add debounce to <AutocompleteArrayInput> setFilter call (6003) (djhi)
  • Add success notification type (5961) (WiXSL)
  • Add support for a React element as <Confirm content prop value (5954) (andrico1234)
  • Fix refresh strategy to avoid empty page while refreshing (6054) (fzaninotto)
  • Fix performance issue in forms with many validators (6092) (djhi)
  • Fix <ReferenceArrayField> passes empty data to child when loaded (6080) (fzaninotto)
  • Fix typo in private variable name in useGetList code (6069) (WiXSL)
  • [TypeScript] Fix ra-input-rich-text is missing types (6093) (fzaninotto)
  • [TypeScript] Fix <SimpleList> and other list components can't be used without context (6090) (fzaninotto)
  • [TypeScript] Export more types for ra-ui-materialui Input components props (6086) (tdnl)
  • [TypeScript] Fix typo in <FormWithRedirect> props types (6085) (djhi)
  • [TypeScript] Fix type definition for <Datagrid rowClick> prop doesn't allow for functions that return a Promise (6060) (jvert)
  • [Doc] Fix error in snippet for custom error page (6091) (danangekal)
  • [Doc] Fix installation snippet for 'ra-data-local-storage (6083) (luoxi)

v3.13.5

  • Fix <FilterLiveSearch> looses its value upon navigation (6066) (djhi)
  • Fix <AutocompleteInput> and <AutocompletearrayInput> options appear behind Dialog (6065) (fzaninotto)
  • Fix <DeleteWithConfirmButton> propagates click event down to <DatagridRow> (6063) (WiXSL)
  • Fix <ReferenceInput> incorrectly sets the total value (6058) (WiXSL)
  • [TypeScript] Fix useGetList return type assumes data and ids are possibly undefined (6053) (fzaninotto)
  • [TypeScript] Fix useRecordContext doesn't work without props (6046) (fzaninotto)
  • [Doc] Fix various typos and doc anchors (6059) (WiXSL)
  • [Doc] Fix missing newline in Inputs chapter (6064) (WiXSL)
  • [Doc] Fix <Admin ready> prop doesn't appear in the side navigation (6048) (WiXSL)
  • [Doc] Fix typo in bulkActionButtons documentation (6043) (WiXSL)
  • [Doc] Fix react-admin package README is out of date (6042) (WiXSL)
  • [Doc] Fix outdated indonesian translation (5937) (danangekal)

v3.13.4

  • Fix Go to definition goes to the compiled code in VSCode (6039) (fzaninotto)
  • Fix <RecordContext> and useRecordContext internal representation (6038) (djhi)
  • Fix simple example in Webpack version (for CodeSandbox) (6037) (djhi)
  • Fix actions={false} in a View component throws a runtime warning (6033) (fzaninotto)
  • Fix <Admin> with no i18nProvider logs warnings for missing translations (6032) (fzaninotto)
  • Fix duplicated export in ra-ui-materialui Form components (6030) (adrien-may)
  • [TypeScript] Fix cannot pass custom appbar to Layout (6035) (yasharzolmajdi)
  • [Doc] Fix missing mention of <Labeled> in Fields doc (6040) (fzaninotto)
  • [Doc] Synchronize Readme files (5994) (WiXSL)

v3.13.3

  • Fix <SortButton> labels must have a valid translation message (6029) (fzaninotto)
  • Fix useRecordSelection function name (6021) (WiXSL)
  • Fix warnings about missing props when using <List> as a standalone component (6017) (fzaninotto)
  • Fix Form looses dirty field values after cancelling navigation (6005) (djhi)
  • [Doc] Fix CHANGELOG typos (6018) (WiXSL)

v3.13.2

  • Fix <NullabelBooleanInput> ignores defaultValue prop (6002) (djhi)
  • Fix error when missing field type in ra-data-graphql-simple (5999) (Kilometers42)
  • Fix <TabbedForm> tab headers don't turn red on validation error (5984) (djhi)
  • Fix validate on submit doesn't reset validation errors (5962) (alanpoulain)
  • Fix forward compatibility between react-admin packages (5989) (fzaninotto)
  • Fix <TabbedFormView> component isn't exported (6011) (WiXSL)
  • Fix <SimpleFormView> component isn't exported (6006) (WiXSL)
  • [TypeScript] Fix TS error on <CheckboxGroupInput> label styles (6001) (andrico1234)
  • [TypeScript] Fix <AutoCompleteArrayInput> Props Interface isn't exported (5990) (djhi)
  • [TypeScript] Fix missing field in interface of <DeleteButton> props (5998) (DjebbZ)
  • [Doc] Improve design on search modal (5991) (zyhou)
  • [Doc] Fix section title level in List and Create/Edit chapters (6010) (fzaninotto)
  • [Doc] Fix <SimpleForm> JDocs (6004) (WiXSL)
  • [Doc] Fix missing DataProviderContext in Querying the API chapter (5988) (fzaninotto)
  • [Doc] Fix wrong sortBy prop prescription in <ReferenceField> documentation (5983) (guilbill)

v3.13.1

  • Fix <ReferenceArrayInput> props drilling (5977) (djhi)
  • Fix <ReferenceArrayInput> passes wrong props to children (5975) (djhi)
  • Fix flaky e2e tests (5982) (djhi)
  • Fix flaky e2e tests (5963) (djhi)
  • Fix flaky unit tests (5980) (djhi)
  • [Doc] Fix dataProvider.deleteMany response format in Tutorial (5973) (tbrrt11)
  • [Doc] Fix ra-data-local-storage package name in installation instructions (5972) (Kiailandi)
  • [Doc] Fix default value for useListContext().perPage (5967) (WiXSL)
  • [Doc] Fix missing reference to <DashboardMenuItem> component (5966) (WiXSL)
  • [Doc] Fix incomplete <UserMenu> description and reference (5965) (WiXSL)
  • [Doc] Fix buttons anchors in Reference section (5964) (WiXSL)
  • [Doc] Fix scrollable <TabbedForm> example (5960) (WiXSL)

v3.13

  • [BC Break] Move test utils (<TestContext>, renderWithRedux, renderHook) out of ra-core into a new ra-test package (5846) (djhi)

This is a slight BC break in development: any import of the Test utils from "ra-core" will fail and must be replaced by an import or "ra-test".

-import { renderWithRedux, useMatchingReferences} from 'react-admin';
+import { useMatchingReferences} from 'react-admin';
+import { renderWithRedux } from 'ra-test';
  • Add scroll to top on key navigation links (5905) (fzaninotto)
  • Add enabled options to query hooks to allow dependent queries (5849) (ValentinH)
  • Add ability to disable routing in <TabbedForm> and <TabbedShowLayout> (5945) (djhi)
  • Add ability to disable options in <SelectArrayInput> (5940) (paulo9mv)
  • Add support for selecting a range of <Datagrid> rows shift + click (5936) (m4theushw)
  • Add ability to override the <UserMenu> component style (5918) (WiXSL)
  • Add support for array values in <ReferenceArrayField> filter (5887) (srosset81)
  • Add ListContext in <ReferenceArrayInput> (5886) (djhi)
  • Migrate simple example to Vite.js instead of Webpack for faster development (5857) (djhi)
  • Fix <CheckboxGroupInput> style error when used in <ReferenceArrayInput> (5953) (djhi)
  • Fix unused ccs rule in <CreateButton> (5915) (WiXSL)
  • Fix <ShowButton> does not re-render when the disabled prop changes (5914) (WiXSL)
  • Fix <CreateButton> does not re-render when the disabled prop changes (5866) (andrico1234)
  • [TypeScript] Fix compilation fails with @types/react@17 (5950) (fzaninotto)
  • [Doc] Add buttons CSS API (5913) (WiXSL)
  • [Doc] Add CSS API for the <Toolbar> component (5955) (WiXSL)
  • [Doc] Fix snippet about custom query for <Datagrid> (5951) (Shumuu)
  • [Doc] Fix typos in docs and comments (5946) (WiXSL)
  • [Doc] Add <MenuItemLink> component CSS API reference (5919) (WiXSL)

v3.12.5

  • Fix useGetManyReference loading state detection (5931) (djhi)
  • Fix warning about required resource prop in components using ResourceContext (5929) (WiXSL)
  • Fix simple example doesn't run on CodeSandbox (5928) (ValentinH)
  • Fix warning about <ReferenceField label> prop when using an element as value (5927) (ValentinH)
  • Fix skipped Loading tests (5925) (djhi)
  • Fix <FunctionField> misses PropType for the render prop (5924) (WiXSL)
  • Fix form children props are overridden (5895) (djhi)
  • [Doc] Add lb4, processmaker3, and mixer data provider links (5939) (ckoliber)
  • [Doc] Fix minor typos (5912) (WiXSL)
  • [TypeScript] Fix data provider mutation types don't allow to specify Record type (5934) (andrico1234)

v3.12.4

  • Fix useQueryWithStore doesn't change loading state false when stacked queries end (5922) (djhi)
  • Fix <SkipNavigationButton> does not allow global CSS override via theme (5917) (WiXSL)
  • Fix <ReferenceArrayInputView> propTypes warning about required resource prop (5916) (ValentinH)
  • Fix warning when passing partial props to useListContext and other view context hooks (5802) (Luwangel)
  • Fix <SaveButton> incorrectly checks <FormContext> presence (5911) (djhi)
  • Fix <TabbedForm> does not display errors in hidden tabs on submit (5903) (djhi)
  • [Doc] Fix <SelectField> definition (5923) (WiXSL)
  • [Doc] Fix minor typo in Authorization introduction (5920) (jormaechea)

v3.12.3

  • Failed release

v3.12.2

  • Fix <DeleteWithConfirmButton> does not allow to override resource (5884) (djhi)
  • Fix List view error after delete when using a field with no record test (5900) (fzaninotto)
  • Fix <Datagrid> fails when selectedIds is undefined (5892) (jtomaszewski)
  • Fix useInput doesn't pass down the isRequired option (5812) (FACOLOMBANI)
  • Fix <ReferenceManyField> throws error after insert (5877) (fzaninotto)
  • Fix <ArrayInput> always overrides disabled prop in its child Inputs (5876) (djhi)
  • [TypeScript] Add missing classes prop on <SimpleFormIterator> (5890) (ValentinH)
  • [Doc] Fix <List> prop list is duplicated and incomplete (5880) (f-jost)
  • [Doc] Fix Custom App example (5897) (f107)
  • [Doc] Fix various links anchors (5875) (WiXSL)
  • [Doc] Fix minor typos in jsDoc of ra-ui-materialui components (5889) (WiXSL)
  • [Doc] Fix minor typo in <ReferenceInput> jsDoc (5885) (WiXSL)

v3.12.1

  • Fix missing type for ra.navigation.skip_nav translation message (5867) (bicstone)
  • Fix error when using <List> outside of a ResourceContext (5863) (fzaninotto)
  • Fix <DeleteButton mutationMode> handling (5855) (djhi)
  • Fix form.restart is not a function error (5852) (fzaninotto)
  • Fix regression on <ArrayInput> children validation (5850) (djhi)
  • Fix <TranslatableInputs> layout (5848) (djhi)
  • Fix regression in <SaveButton> causing an error about missing <FormContext> (5842) (djhi)
  • Fix missing French translation for the ra.navigation.skip_nav message (5841) (adrien-may)
  • [TypeScript] Fix onSuccess / onFailure types (5853) (fzaninotto)
  • [Doc] Improve Reference section (5864) (WiXSL)
  • [Doc] Fix typo in <List aside> example (5861) (vdimitroff)
  • [Doc] Add documentation for linkToRecord (5860) (jgabriele)
  • [Doc] Fix typo in <ResourceContextProvider> documentation (5859) (abdusco)
  • [Doc] Fix typos in code snippets (5845) (WiXSL)
  • [Doc] Fix onSuccess callback signature for optimistic and undoable queries (5851) (fzaninotto)
  • [Doc] Added hindi transations to the ecosystem (5798) (harshit-budhraja)

v3.12.0

  • Add support for submission validation errors in <Edit> and <Create> (5778) (alanpoulain)
  • Add <Edit mutationMode> prop, deprecate <Edit undoable> prop, and add optimistic mutation mode (5799) (fzaninotto)
  • Add support for keyboard navigation in Menu (5772) (andrico1234)
  • Add skip to content button when navigating with the keyboard (5804) (andrico1234)
  • Add ability to use <List> inside another page, without location sync (5741) (djhi)
  • Add <TranslatableInputs> and <TranslatableFields> to edit and show translatable content (5810) (djhi)
  • Add loading state support to the children of <ReferenceInput> (5767) (djhi)
  • Add Form Groups to better show the validation status of a group of inputs (5752) (djhi)
  • Add <MenuItemLink TooltipPops> to override tooltips in menus (5714) (WiXSL)
  • Add <SimpleForm component> to override the root component in forms (5703) (WiXSL)
  • Upgrade test dependencies (5679) (Luwangel)
  • Fix typos in CHANGELOG (5839) (WiXSL)
  • Fix syncWithLocation DOM warnings when using <List> (5837) (fzaninotto)
  • Fix useResourceDefinition isn't overridable with Props (5829) (djhi)
  • Fix white page on load when using <WithPermissions> twice (5822) (fzaninotto)
  • Fix useQueryWithStore flaky Test (5800) (djhi)
  • [TypeScript] Fix <Edit transform> and <Create transform> types don't accept async transformation (5818) (Developerius)
  • [Doc] Fix deprecated Hasura data provider (5820) (cpv123)
  • [Doc] Add coreBOS dataProvider (5817) (joebordes)

v3.11.4

  • Fix "dataProvider should return a rejected Promise" error in GraphQL providers (5795) (fzaninotto)
  • Fix Redux store is duplicated when the <Admin> component updates (5793) (djhi)
  • Fix "Please login to continue" notification remains after login (5789) (fzaninotto)
  • [Demo] Fix double spinner on loading and TS warnings (5790) (fzaninotto)
  • [TypeScript] Fix FormWithRedirect types aren't exported (5809) (djhi)
  • [Doc] Fix custom <Menu> example misses Dashboard link (5811) (fzaninotto)
  • [Doc] Fix documentation about the undoable prop, which only works in <Edit> and not <Create> (5806) (alanpoulain)
  • [Doc] Fix Create method API call URL example in `ra-data-json-server (5794) (tjsturos)

v3.11.3

  • Fix <EditGuesser> is broken (5756) (maaarghk)
  • Fix <AutocompleteInput> doesn't work decorated with <ReferenceInput> (5763) (djhi)
  • Fix warning about unsaved change when using ArrayInputs (5776) (djhi)
  • Fix uncaught error when dataProvider fails on undoable forms (5781) (fzaninotto)
  • Fix resource context fallback in <EditGuesser> and <ShowGuesser> (5762) (djhi)
  • [Demo] Fix Review Edit warning due to missing <EditContext> (5780) (fzaninotto)
  • [Demo] Fix app doesn't need a CSS preprocessor (5765) (fzaninotto)
  • [TypeScript] Fix the type of the custom theme used in <Admin> (5784) (djhi)
  • [TypeScript] Fix the return type of the exporter function used in <List> (5782) (ohbarye)
  • [Doc] Fix various typos in Input components prop lists (5777) (WiXSL)
  • [Doc] Fix typo in saveModifiers code comment (5770) (DjebbZ)
  • [Doc] Fix <AutocompleteInput resettable> prop isn't documented (5769) (fzaninotto)
  • [Doc] Fix minor typos in code comments (5758) (WiXSL)
  • [Doc] Fix bad return types and typos in jsDocs for ra-core and ra-ui-material-ui packages (5690) (WiXSL)

v3.11.2

  • Fix SaveContext error when no context is supplied (5738) (WiXSL)
  • Fix getPossibleReferences.possibleValues prop gets overridden after one call (5737) (WiXSL)
  • Fix "Cannot read property 'fullName' of undefined" error after logout (5735) (etienne-bondot)
  • Fix <ReferenceInput> does not show loader while possible values and reference record are loading (5731) (fzaninotto)
  • Fix <Create>, <Edit> and <Show> cannot be used outside of a <ResourceContextProvider> (5730) (fzaninotto)
  • Fix <EditGuesser> is broken (5728) (fzaninotto)
  • Fix findDOMNode warning in StrictMode when using <SimpleFormIterator> (5725) (fzaninotto)
  • Fix DOM warning when using <Edit transform> (5705) (fzaninotto)
  • [Doc] Fix typos in jsDoc, comments and string literals (5739) (WiXSL)
  • [Doc] Add ra-language-malay translation (5736) (kayuapi)
  • [Doc] Fix authProvider.getIdentity() signature in Authentication doc (5734) (adrien-may)
  • [Doc] Fix ra-data-json-server getMany is documented as multiple getOne calls (5729) (fzaninotto)
  • [Doc] Fix custom query with <Datagrid> example uses incorrect resource (5726) (fzaninotto)
  • [Doc] Fix typo in useSelectionState jsdoc (5715) (DjebbZ)
  • [Doc] Fix Changelog links (5712) (WiXSL)
  • [Doc] Fix wrong anchor in useListContent examples list (5711) (WiXSL)

v3.11.1

  • Fix select empty option in <AutocompleteInput> does not reset the input (5698) (AnkitaGupta111)
  • Fix <Empty> list component does not display when the Resource has no create component (5688) (djhi)
  • Fix <ExportButton> doesn't take permanent filter into account (5675) (fzaninotto)
  • Fix <Confirm> dialog shows a scroll bar on mobile (5674) (rkfg)
  • Fix <ReferenceField> and <ReferenceArrayField> performance by showing loader only after a delay (5668) (djhi)
  • [Doc] Fix link to react-final-form Field documentation in CreateEdit chapter (5689) (WiXSL)
  • [Doc] Fix outdated Hasura Data Provider reference (5686) (djhi)
  • [Doc] Fix syntax in actions example for useUpdate (5681) (abdenny)
  • [Doc] Fix custom theme doc doesn't explain how to override default theme (5676) (fzaninotto)
  • [Doc] Fix typos in Tutorial doc (5669) (paulo9mv)

v3.11.0

Starting with this version, react-admin applications send an anonymous request on mount to a telemetry server operated by marmelab. You can see this request by looking at the Network tab of your browser DevTools:

https://react-admin-telemetry.marmelab.com/react-admin-telemetry

The only data sent to the telemetry server is the admin domain (e.g. "example.com") - no personal data is ever sent, and no cookie is included in the response. The react-admin team uses these domains to track the usage of the framework.

You can opt out of telemetry by simply adding disableTelemetry to the <Admin> component:

// in src/App.js
import * as React from "react";
import { Admin } from 'react-admin';

const App = () => (
    <Admin disableTelemetry>
        // ...
    </Admin>
);
  • Add domain telemetry on app mount (5631) (djhi)
  • Add ability to access (and override) side effects in SaveContext (5604) (djhi)
  • Add support for disabled in <ArrayInput> (5618) (fzaninotto)
  • Add ability to customize the notification element in the <Login> page (5630) (hieusmiths)
  • Disable ripple effect on Buttons for improved performance (5598) (fzaninotto)
  • Fix <TestContext> doesn't contain notifications node (5659) (fzaninotto)
  • Fix <Filter> fails to show compound filters with no default value (5657) (fzaninotto)
  • Fix "Missing translation" console error when the dataProvider fails (5655) (fzaninotto)
  • Fix <FilterListItem> doesn't appear selected when more than one filter is applied (5644) (fzaninotto)
  • Fix usePermissions always triggers a re-render even though the permissions are unchanged (5607) (fzaninotto)
  • [Doc] Add rowStyle example usage to <SimpleList> jsDoc (5661) (vdimitroff)
  • [Doc] Fix <ReferenceField link> prop type to show that it accepts a function (5660) (vdimitroff)
  • [Doc] Fix missing import in List example (5658) (WiXSL)
  • [Doc] Fix syntax error in <List exporter> prop usage (5649) (WiXSL)
  • [Doc] Fix Sidebar size change resets the theme color (5646) (zheya08)
  • [Doc] Fix <ReferenceInput> and <ReferenceArrayInput> JSDocs point to the wrong dataProvider method (5645) (WiXSL)
  • [Doc] Add mention of saved queries in List chapter (5638) (fzaninotto)
  • [Doc] Fix <Admin history> prop injection documentation misses package version constraint (5538) (fzaninotto)

v3.10.4

  • Fix ra-data-simple-rest delete method fails because of bad header (5628) (fzaninotto)
  • Fix <FilterButtonMenuItem> isn't exported (5625) (fzaninotto)
  • Fix support for async validators in Create and Edit forms (5623) (djhi)
  • Fix useless rerenders in minor components (5616) (WiXSL)
  • Fix <AppBar> rerenders too often (5613) (fzaninotto)
  • Fix <ReferenceManyField> rerenders too often (5612) (fzaninotto)
  • Fix <ReferenceArrayInput> doesn't humanize the source if no label is given (5606) (alanpoulain)
  • [TypeScript] Fix <EditActionsProps> type is missing (5614) (fzaninotto)

v3.10.3

  • Fix <Datagrid optimized> freezes when using expand (5603) (fzaninotto)
  • Fix warning about deprecated prop in useCreateController (5594) (djhi)
  • Fix Edit notifications are not shown in React 17 (5583) (djhi)
  • Fix <ReferenceField> doesn't accept the emptyText prop (5579) (fzaninotto)
  • Fix logout causes error in useGetList (5577) (fzaninotto)
  • Fix <Sidebar> width cannot be modified by the child <Menu> (5575) (djhi)
  • Fix <FilterListItem> doesn't accept object values (5559) (mjattiot)
  • [TypeScript] Export SimpleFormIteratorProps interface (5595) (djhi)
  • [Doc] Fix create and edit controller usage documentation (5597) (fzaninotto)
  • [Doc] Fix typos in <XXXBase> components jsdoc (5589) (WiXSL)

v3.10.2

  • Fix ra-data-simple-rest delete response mime type (5568) (djhi)
  • Fix ra-data-graphql-simple delete result (5567) (djhi)
  • Fix Loading route missing theme (5560) (thcolin)
  • Fix variant and margin prop on an input have no effect inside a Filter form (5555) (fzaninotto)
  • [Demo] Fix missing Roboto font in e-commerce demo (5566) (fzaninotto)
  • [Doc] Fix link formatting in "Writing your own input" documentation (5556) (fzaninotto)
  • [Doc] Fix typos in Theming doc (5546) (DjebbZ)
  • [Doc] Fix code examples in TypeScript (5548) (WiXSL)
  • [Doc] Improve List chapter screenshots and cross-links (5543) (fzaninotto)
  • [Doc] Add link to MrHertal/react-admin-json-view package for JSON field and input (5542) (MrHertal)
  • [Doc] Update tutorial link (5540) (WiXSL)
  • [Doc] Fix sample REST translation of dataProvider calls in Tutorial (5535) (ayhandoslu)
  • [Doc] Fix sample REST translation of dataProvider calls in Data Providers documentation (5536) (ayhandoslu)

v3.10.1

  • Fix <ReferenceInput> ignores sort prop (5527) (djhi)
  • Fix <ExportButton> doesn't use UTF-8 mimetype (5499) (ValentinnDimitroff)
  • Fix setImmediate is not defined error when using SSR (5523) (fzaninotto)
  • Fix useDataProvider throws 'options is undefined' error when called without arguments (5524) (fzaninotto)
  • Fix options prop not being injected to View elements (5511) (WiXSL)
  • [TypeScript] Fix View types (5532) (djhi)
  • [Doc] Improve some docs anchors visibility (5515) (WiXSL)
  • [Doc] Add missing <Datagrid> css rules (5522) (WiXSL)
  • [Doc] Add ra-compact-ui to the Ecosystem docs (5520) (ValentinnDimitroff)
  • [Doc] Fix code examples errors and typos in jsDoc (5517) (ValentinnDimitroff)
  • [Doc] Fix typos (5510) (WiXSL)
  • [RFR] Fix typo in README example (5503) (janakact)
  • Use React 17 in examples to make sure react-admin works with this version (5453) (fzaninotto)
  • Migrate CI to GitHub Actions (5508) (djhi)

v3.10.0

  • Add <RecordContext> and Base components for Edit, Create and Show (5422) (djhi)
  • Add <ResourceContext> (5456) (djhi)
  • Update the <ResourceContext> to store a scalar instead of an object (5489) (fzaninotto)
  • Update <Reference> elements to use <ResourceContext> (5502) (fzaninotto)
  • Add ability to reset an <AutocompleteInput> (5396) (fzaninotto)
  • Add ability to disable redirection after logout (5458) (fzaninotto)
  • Add ability to customize the ready screen on empty admins (5441) (fzaninotto)
  • Add ability to disable the <UserMenu> without rewriting the <AppBar> (5421) (Luwangel)
  • Add ability to hide notification when authProvider.checkAuth() or authProvider.checkError() fail (5382) (fzaninotto)
  • Add ability to specify record type in <FunctionField> (5370) (fzaninotto)
  • Add ability to infer field type from data (5485) (fzaninotto)
  • Add rest props sanitizer for Fields and Inputs (5392) (fzaninotto)
  • Speed up show & hide filter (5411) (fzaninotto)
  • Fix typo on bulk action labels in French translation (5494) (etienne-bondot)
  • Fix <EmailField> with target prop fails TypeScript compilation (5488) (fzaninotto)
  • Fix crash when navigating away during undo period (5487) (fzaninotto)
  • Fix <ShowButton> does not update on to prop change (5483) (rkfg)
  • Fix error when using withDataProvider without options argument (5481) (fzaninotto)
  • [TypeScript] Fix layout component type (5473) (fzaninotto)
  • [TypeScript] Add rowStyle prop to SimpleList (5252) (ValentinnDimitroff)
  • [Doc] Improve Auth Provider chapter (5493) (fzaninotto)
  • [Doc] Fix typo (5482) (WiXSL)
  • [Doc] Fix docs typos and grammar (5480) (WiXSL)
  • [Demo] use stepper for customer actions (5472) (fzaninotto)

v3.9.6

v3.9.5

  • Fix Custom Menu doesn't always receive onMenuClick prop (5435) (fzaninotto)
  • Fix <Appbar> custom content flickers when loading (5434) (fzaninotto)
  • Fix several eslint warnings (5433) (Luwangel)
  • Fix <AutocompleteArrayInput> doesn't support the disabled prop (5432) (fzaninotto)
  • Fix Edit view doesn't work with ra-data-graphql-simple if resource id is of type Int! (5402) (EmrysMyrddin)
  • Fix useDataProvider signature prevents custom methods usage (5395) (djhi)
  • [TypeScript] Add type for theme (5429) (djhi)
  • [TypeScript] Export and Rename Pagination Types (5420) (djhi)
  • [Doc] Fix typos (5431) (WiXSL)
  • [Doc] Fix typos (5412) (WiXSL)

v3.9.4

  • Fix <AutocompleteInput> suggestions appear beneath Dialog (5393) (fzaninotto)
  • [TypeScript] Fix missing types for <AppBar> and other layout components (5410) (fzaninotto)
  • [TypeScript] Fix compilation error on defaultIdentity (5408) (fzaninotto)
  • [TypeScript] Fix missing path prop in Tab component type (5386) (nickwaelkens)
  • [Demo] Improve Order Edit UI (5407) (fzaninotto)
  • [Doc] Fix "Link to filtered list" snippet incorrectly requires all query parameters (5401) (fzaninotto)
  • [Doc] Add warning about inconsistent record shapes in custom data provider instructions (5391) (fzaninotto)
  • [Doc] Fix specialized dataProvider hooks usage (5390) (fzaninotto)
  • [Doc] Fix linking two inputs example (5389) (fzaninotto)
  • [Doc] Fix custom login snippet missing theme (5388) (fzaninotto)
  • [Doc] Remove Input defaultValue syntax with a function (5387) (fzaninotto)
  • [Doc] Replace TypeScript code by js code in examples documentation(5385) (WiXSL)
  • [Doc] Fix <EmailField> and <UrlField> definitions (5384) (WiXSL)
  • [Doc] Fix <FileInput> props table format documentation(5383) (WiXSL)

v3.9.3

  • Fix dataProvider fails silently when response has wrong type (5373) (fzaninotto)
  • Fix default authProvider.getIdentity() triggers infinite loop (5381) (fzaninotto)
  • Fix duplicated lodash package when bundling react-admin without tree shaking (5380) (impronunciable)
  • Fix default AuthContext value fails TypeScript compilation (5372) (fzaninotto)
  • Fix unused css rules in Input components (5345) (WiXSL)
  • Fix support for className prop in <SimpleFormIterator> (5368) (edulix)
  • [Doc] Fix rendering a Datagrid outside a Resource instructions (5371) (fzaninotto)
  • [Doc] Add Inputs and Fields CSS Api documentation (5346) (WiXSL)
  • [Doc] Add open in Gitpod button in README (5364) (nisarhassan12)
  • [Doc] Fix Demo Video Links in the READMEs of ra- packages (5369) (djhi)
  • [Doc] Add mentions of the Enterprise Edition components in documentation (5363) (fzaninotto)
  • [Doc] Fix wrong link in shop demo's README (5357) (DjebbZ)
  • [Doc] Fix links to source code following TypeScript migration (5358) (WiXSL)
  • [Doc] Add react-router link in Resource documentation (5356) (WiXSL)
  • [Doc] Fix typo in CreateEdit chapter introduction (5355) (pamuche)
  • [Doc] Fix useAuthState hook js docs (5351) (WiXSL)
  • [Doc] Fix import in <AdminUI> code example (5352) (WiXSL)

v3.9.2

  • Add onSuccess and onFailure props to <DeleteButton> (5310) (gavacho)
  • Fix sideEffect saga can throw undefined as error (5315) (Hemant-yadav)
  • Fix ra-data-graphql only considers resource implementing GET_ONE and GET_LIST (5305) (Kilometers42)
  • Fix <TabbedShowLayout> resolves path incorrectly if first tab is null (5312) (WiXSL)

v3.9.1

  • Fix packages dependencies pointing to react-admin beta and causing duplicate packages (5347) (WiXSL)

v3.9.0

  • Emit TypeScript types (5291) (fzaninotto)
  • Add user name and avatar on the top bar (5180) (fzaninotto)
  • Add ability to use a custom count header in ra-data-simple-rest data provider instead of Content-Range (5224) (alexisjanvier)
  • Add localStorage data provider (5329) (fzaninotto)
  • Add ability to customize the option labels of <NullableBooleanInput> (5311) (gavacho)
  • Add ability to pass custom icons to <BooleanField> to show as values (5281) (WiXSL)
  • Add ability to disable notifications of useCheckAuth and useLogoutIfAccessDenied hooks (5255) (WiXSL)
  • Fix warning about <Error> component proptypes when using string error (5341) (fzaninotto)
  • Convert <Tab> component to TypeScript (5342) (fzaninotto)
  • Fix <Edit> logs warning when using transform prop (5332) (fzaninotto)
  • Fix <NullableBooleanInput> empty value isn't selectable (5326) (fzaninotto)
  • Fix <Edit> refreshes dirty forms if tab is backgrounded (5319) (WiXSL)
  • Fix TypeScript types (5318) (djhi)
  • Fix TypeScrip types (5313) (djhi)
  • Fix warning when passing FieldProps to <Input> components (5300) (fzaninotto)
  • Fix TypeScript types (5298) (djhi)
  • Fix <LoadingIndicator> does not get class overrides (5279) (WiXSL)
  • Fix IsRowSelectable return type (5278) (WiXSL)
  • Fix useGetIdentity fails when there is no authProvider (5209) (fzaninotto)
  • Fix <Datagrid> doesn't support forwarding ref (5202) (jeiea)
  • [BC Break] Rename duplicate Sort, Filter and Navigation types to allow type emission from react-admin (5257) (fzaninotto)
  • [Doc] Fix missing link to <DateTimeInput> in reference documentation (5340) (Hettomei)
  • [Doc] Fix a typo in the ra-data-localstorage readme (5333) (WiXSL)
  • [Doc] Fix <UserMenu> example in theming docs (5328) (ceracera)
  • [Doc] Add link to a new REST data provider, variant of ra-data-simple-rest, allowing configurable id field (5290) (zachrybaker)
  • [Doc] Fix the instructions for customizing the Toolbar in <SaveButton> (5285) (Luwangel)
  • [Doc] Add ra-enterprise packages to Ecosystem documentation (5284) (djhi)
  • [Doc] Fix http docs links (5277) (WiXSL)
  • [Doc] Fix changelog links (5276) (WiXSL)
  • [Doc] Fix minor typo in Actions documentation (5274) (lipusal)

v3.8.5

  • Fix ugly rounded corners in <Datagrid> Header (5264) (djhi)
  • Fix unexpected page change in <List> (5263) (jdemangeon)
  • Fix syntax error in useLogoutIfAccessDenied hook (5254) (WiXSL)
  • Fix useLogin optional pathName cannot be reached (5248) (bardeutsch)
  • Fix <AutocompleteArrayInput /> chips input when variant=outlined (5238) (m4theushw)
  • Fix welcome banner style in the ecommerce demo (5236) (Luwangel)
  • [Doc] Add links to new advanced tutorials (5261) (djhi)
  • [Doc] Improve explanation of onSuccess callback execution in <Edit undoable> component (5260) (jdemangeon)
  • [Doc] Improved Form examples. (5250) (WiXSL)
  • [Doc] Fix outdated Catalan translation link (5245) (joshf)
  • [Doc] Fix react-final-form links (5239) (WiXSL)

v3.8.4

  • Fix margin-top on <Filter> that creates an invisible overlay (5234) (JulienMattiussi)
  • Fix support for function value in <Form initialValues> (5222) (djhi)
  • Fix proptypes warning in <ListToolBar> (5230) (zyhou)
  • Fix vulnerability in simple example due to serve package (5227) (fzaninotto)
  • Fix Firefox support in end-to-end tests (5223) (djhi)
  • [Doc] Fix changelog typos (5219) (WiXSL)

v3.8.3

  • Fix Optimistic Effects Handling (5212) (djhi)
  • Fix props & TypeScript related warnings in webpack, upgrade to TypeScript 4 (5198) (djhi)
  • Fix missing useChoices Types (5193) (djhi)
  • Fix cursor pointer in <ChipField> when wrapped in <ReferenceField> (5186) (smeng9)
  • Add easy dev setup with Gitpod in README (5213) (fzaninotto)
  • Migrate remaining ra-ui-materialui/List components to TypeScript (5187) (fzaninotto)
  • Migrate ra-ui-materialui/Layout components to typescript RFR(5183) (fzaninotto)
  • Migrate data-generator package to TypeScript RFR(5174) (fzaninotto)
  • [Doc] Fix onSuccess function examples missing data parameter (5214) (WiXSL)
  • [Doc] Fix specialized hooks definitions missing options parameter (5207) (WiXSL)
  • [Doc] Fix typos in jsDoc params of dataProvider hooks (5206) (WiXSL)

v3.8.2

  • Add ability to disable the <Empty> page in <List> (5165) (jdemangeon)
  • Fix <Edit> form has wrong pristine state when coming from a Create form (5146) (djhi)
  • Fix <ListContext> subcontexts lack resource data (5176) (fzaninotto)
  • Fix missing range header in ra-data-simple-rest getList request (5164) (jpetitcolas)
  • Fix <SortButton> label does not use resource name (5159) (WiXSL)
  • Fix webpack warnings about incorrect imports (5156) (djhi)
  • Fix Automatic Refresh in <Create> and <Edit> if the form is dirty (5152) (djhi)
  • Fix addEventListener calls for compatibility with React v17 (5147) (WiXSL)
  • Fix DOM warning in <SimpleForm> and <TabbedForm> (5143) (Kmaschta)
  • Convert Form components to TypeScript (5170) (fzaninotto)
  • [Doc] Fix sidebar navigation on Firefox (5175) (fzaninotto)
  • [Doc] Fix missing mention of i18n messages in <NullableBooleanInput> usage (5172) (sliterok)
  • [Doc] Fix wrong create verb request format in the ra-data-simple-rest data provider (5171) (Luwangel)
  • [Doc] Add example for how to add a custom back button (5155) (fzaninotto)
  • [Doc] Add ra-treemenu to the ecosystem (5153) (harshit-budhraja)
  • [Doc] Fix markdown of props tables (5150) (WiXSL)
  • [Doc] Fix missing <RichTextInput> options documentation (5145) (WiXSL)
  • [Doc] Fix documentation link hidden on small screens (5167) (Luwangel)

v3.8.1

  • Fix warning about duplicate filter files with different case in esm build (5036) (fzaninotto)
  • [Doc] Fix various typos and anchors (5137) (WiXSL)

v3.8.0

  • [BC Break] Remove dependency on recompose - add it to your packages.json if your code depends on recompose (5088) (Luwangel)
  • [BC Break] Remove ra-data-graphcool dataProvider. The graph.cool service is discontinued anyway. (5015) (fzaninotto)
  • Add <FilterList> and <SortButton> components, split <ListContext> for better performance (5031) (fzaninotto)
  • Add abilility to make <Sidebar> full height (5119) (djhi)
  • Add ability to opt out of sanitizeEmptyValues in <SimpleForm> and <TabbedForm> (5077) (Kmaschta)
  • Add ability to make the <SaveButton> not disabled by default (5002) (Luwangel)
  • Add ability to cutomize Add and Remove buttons in <SimpleFormIterator> (4818) (manishsundriyal)
  • Fix bad type for useQuery options (onError -> onFailure) (5130) (fzaninotto)
  • Fix <ReferenceInput> throws exception on custom pages (5129) (fzaninotto)
  • Fix TypeError when suggested element in <AutocompleteInput> is empty (5125) (fzaninotto)
  • Fix <LogoutButton> memorizes last visited page (5124) (fzaninotto)
  • Fix <Sidebar> component classes (5121) (WiXSL)
  • Fix sorting a list using a <Datagrid> inside a <ReferenceManyField> (5094) (Luwangel)
  • Fix "Deprecated findDOMNode" warning in StrictMode (5079) (pietro909)
  • Fix notifications appear under confirm dialog (5073) (JulienMattiussi)
  • Fix eslint version (5055) (WiXSL)
  • Remove recompose dependency from ra-core and demo projects (5087) (WiXSL)
  • [Doc] Fix a typo about the <SimpleFormIterator> (5095) (Luwangel)
  • [Doc] Fix the "Not Using the <Admin> Components" code (5058) (srosset81)

v3.7.2

  • Fix authProvider.checkAuth() support for redirection with query string (5115) (fzaninotto)
  • Fix ra-input-rich-text dark theme compatibility (5113) (manishprivet)
  • Full height <Layout> & <Sidebar> margins (5111) (djhi)
  • Fix error when passing an undefined record to the <DeleteButton> (5110) (Luwangel)
  • Fix <Placeholder> component className value order (5109) (WiXSL)
  • Fix <BulkDeleteButton> confirmation dialog does not close after success when using <Datagrid> in a non-list page (5097) (Luwangel)
  • Fix <BooleanInput> label in filters does not use theme color (5092) (djhi)
  • Fix typo in <FormDataConsumer> warning (5080) (Hemant-yadav)
  • Fix CORS issue in simple example CodeSandbox (5068) (JulienMattiussi)
  • Fix useUpdateMany argument type (5067) (WiXSL)
  • Fix <ReferenceInput> adds a buggy pagination DOM property to the inner <SelectInput> (5053) (Luwangel)
  • Replace recompose's shallowEqual with react-redux's shallowEqual (5051) (WiXSL)
  • Fix warning about useEffect in <AutocompleteArrayInput> (5044) (helenwilliamson)
  • Fix ESLint @material-ui/core rule configuration (5042) (rassie)
  • Fix warning when deleting last element on last page in data table (4894) (JulienMattiussi)
  • [Doc] Fix various typos in code samples (5107) (WiXSL)
  • [Doc] Fix various typos in descriptions (5100) (WiXSL)
  • [Doc] Fix outdated NestJS data provider (5091) (rayman1104)
  • [Doc] Fix typo in authProvider comment (5084) (WiXSL)
  • [Doc] Fix typo in <SaveButton> comment (5083) (adrien-may)
  • [Doc] Fix various typos (5075) (WiXSL)
  • [Doc] Fix title formatting in the <Admin> component documentation (5061) (WiXSL)
  • [Doc] Add ra-postgraphile for PostGraphile as Data Provider (5060) (BowlingX)

v3.7.1

  • Fix <ExportButton> fails to export data when using default exporter (5032) (fzaninotto)
  • Fix <ReferenceManyField> does not pass the right resource to its children (5029) (fzaninotto)
  • Fix setFilter fails on <ReferenceManyField> (5025) (fzaninotto)
  • Fix <CreateButton> does not update when to prop changes (5014) (rkfg)
  • Fix import errors when tree-shaking @material-ui (4983) (rassie)
  • Add data and auth providers for AWS Amplify (5011) (MrHertal)
  • [Doc] Fix unused import in <EditButton> usage example (5033) (jpetitcolas)
  • [Doc] Fix typo in auth code index comment (5019) (damner)
  • [Doc] Fix many grammar errors and typos in documentation (5017) (WiXSL)
  • [Doc] Fix typo in ra-data-simple-rest documentation (5013) (thekevinbrown)

v3.7.0

  • Add useListContext(), which greatly simplifies the development of custom <List> views (4952) (fzaninotto)
  • Add real product names to ecommerce demo (4997) (fzaninotto)
  • Add custom theme to ecommerce demo (should be more welcoming to people hostile to material design) (4948) (fzaninotto)
  • Add support for <AutocompleteInput disabled (4915) (fancyaction)
  • Update <BooleanField> height to match other fields (4901) (fzaninotto)
  • Fix incompatibility between <Datagrid rowClick="toggleSelection"> and selectable="false" (5006) (WiXSL)
  • Fix typing of Field components (4947) (fzaninotto)

v3.6.3

  • Fix <SearchInput> with label prop renders incorrectly (4995) (fzaninotto)
  • Fix <LogoutButton> should not render as a <li> in Mobile menu (4994) (fzaninotto)
  • Fix useGetOne() throws exception when used in <Dashboard> (4990) (fzaninotto)
  • Fix missing type for ra.action.unselect translation message (4987) (bicstone)
  • [Doc] Fix missing documentation about <AdminContext> and <AdminUI> components to build admins with a dynamic list or resources (5004) (Luwangel)
  • [Doc] Fix typo in dataProvider usage documentation (5000) (tranln025)
  • [Doc] Fix description of react-admin in README (4979) (christiaanwesterbeek)

v3.6.2

  • Fix createAdminStore warning on SSR and tests (4970) (hammadj)
  • Fix message in delete confirmation dialog does not respect German name capitalization rule (4957) (JulienMattiussi)
  • Fix <ExpandRowButton> is not exported in ra-ui-material-ui (4950) (floo51)
  • Fix useQuery does not run again after calling refresh (4945) (fzaninotto)
  • Update unit tests to use assert instead of expect (4941) (WiXSL)

v3.6.1

  • Fix "name not found" error in ra-data-graphql data provider when queryType or mutationType do not exist in the schema (4940) (braco)
  • Fix call to dataProvider.update() or dataProvider.delete() resets the pagination (4936) (fzaninotto)
  • Fix duplicate id in <RadioButtonGroupInput> when using a React element for the choices (4928) (helenwilliamson)
  • Fix regression in <ArrayField> when used with <SingleFieldList> (4918) (smeng9)
  • Fix <NumberInput> doesn't accept min and max props (4912) (fzaninotto)
  • Fix HttpError error name does not allow proper detection in authProvider (4911) (jesseshieh)
  • Fix pristine prop not applied to the edit toolbar on <SaveButton> (4904) (kopax)
  • [Doc] Fix outdated jsDoc example in <ArrayInput> (4907) (pefi1011)

v3.6.0

  • Add onSuccess, onFailure and transform to <Create>, <Edit> and <SaveButton> (4881) (fzaninotto)
  • Add ability to deselect rows in one click in <BulkActionsToolbar> (4859) (fzaninotto)
  • Add ability to style pagination buttons (4891) (djhi)
  • Add ability to create custom <DeleteButton> views without rewriting the logic (4858) (fzaninotto)
  • Add ability to use a React element as <Field> label (4852) (fzaninotto)
  • Add useListParams hook to allow easier customization of List pages (4843) (WiXSL)
  • Add support for download, rel, and ping attributes in <FileField> (4798) (fzaninotto)
  • Add ability to use pagination and sort in GET_MANY_REFERENCE for ra-data-graphcool dataProvider (4778) (byymster)
  • Add feature to disable <SaveButton> if the Form is pristine (4773) (WiXSL)
  • Add sortByOrder prop to <Field> components to allow specifying the default sort order (4518) (JulienMattiussi)
  • Add support for variant=outlined in <SelectArrayInput> (4511) (JulienMattiussi)
  • Add explicit error when useGetOne is called for an undefined resource (4430) (fzaninotto)
  • Fix <EmailField> doesn't use the theme typography (4866) (WiXSL)
  • Fix deprecated usage of recompose methods, replaced by React.memo (4786) (WiXSL)
  • Convert the demo <GridList> to TypeScript (4870) (MohammedFaragallah)
  • Convert products demo example to TypeScript (4758) (MohammedFaragallah)
  • Convert <ArrayField> component to function component. (4536) (WiXSL)
  • Convert demo example to TypeScript (4516) (josephktcheung)

For the changelog of older releases, check the GitHub repository: