Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Doc] Remove extra TOC in upgrade guide #10246

Merged
merged 1 commit into from
Sep 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 1 addition & 76 deletions docs/Upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,82 +273,7 @@ const myTheme = {
+ RaSimpleFormIterator: { defaultProps: { fullWidth: undefined } },
+ RaTranslatableInputs: { defaultProps: { fullWidth: undefined } },
},
<!-- TOC -->

- [Upgrading to v5](#upgrading-to-v5)
- [IE11 Is No Longer Supported](#ie11-is-no-longer-supported)
- [Dependencies](#dependencies)
- [React 18](#react-18)
- [Use @tanstack/react-query instead of react-query](#use-tanstackreact-query-instead-of-react-query)
- [Codemod](#codemod)
- [Minor Dependencies](#minor-dependencies)
- [UI Changes](#ui-changes)
- [Inputs Have Full Width By Default](#inputs-have-full-width-by-default)
- [Links are now underlined by default](#links-are-now-underlined-by-default)
- [Dark Theme Is Available By Default](#dark-theme-is-available-by-default)
- [<FileInput> And <ImageInput> accept prop has changed](#fileinput-and-imageinput-accept-prop-has-changed)
- [Data Provider](#data-provider)
- [ra-data-graphql And ra-data-graphql-simple No Longer Return A Promise](#ra-data-graphql-and-ra-data-graphql-simple-no-longer-return-a-promise)
- [Application Root & Layout](#application-root--layout)
- [<Admin menu> Is No Longer Supported](#admin-menu-is-no-longer-supported)
- [<Admin history> Prop Was Removed](#admin-history-prop-was-removed)
- [Codemod](#codemod)
- [<HistoryRouter> Was Removed](#historyrouter-was-removed)
- [Custom Layout No Longer Receives Props](#custom-layout-no-longer-receives-props)
- [Custom App Bars No Longer Receive Props](#custom-app-bars-no-longer-receive-props)
- [Custom Menu No Longer Receive Props](#custom-menu-no-longer-receive-props)
- [Custom Error Page No Longer Receives Title](#custom-error-page-no-longer-receives-title)
- [Custom Catch All No Longer Receives Title](#custom-catch-all-no-longer-receives-title)
- [List Components](#list-components)
- [List Components Can No Longer Be Used In Standalone](#list-components-can-no-longer-be-used-in-standalone)
- [<List hasCreate> Is No Longer Supported](#list-hascreate-is-no-longer-supported)
- [<Datagrid rowClick> is no longer false by default](#datagrid-rowclick-is-no-longer-false-by-default)
- [<Datagrid expand> Components No Longer Receive Any Props](#datagrid-expand-components-no-longer-receive-any-props)
- [setFilters Is No Longer Debounced By Default](#setfilters-is-no-longer-debounced-by-default)
- [Updates to bulkActionButtons Syntax](#updates-to-bulkactionbuttons-syntax)
- [<PaginationLimit> Component Was Removed](#paginationlimit-component-was-removed)
- [<DatagridBody> No Longer Provides record Prop To <DatagridRow>](#datagridbody-no-longer-provides-record-prop-to-datagridrow)
- [Show and Edit Pages](#show-and-edit-pages)
- [Custom Edit or Show Actions No Longer Receive Any Props](#custom-edit-or-show-actions-no-longer-receive-any-props)
- [Inputs default ids are auto-generated](#inputs-default-ids-are-auto-generated)
- [<SimpleFormIterator> No Longer Clones Its Buttons](#simpleformiterator-no-longer-clones-its-buttons)
- [<SimpleFormIterator> no longer clones its children](#simpleformiterator-no-longer-clones-its-children)
- [<FormDataConsumer> no longer passes a getSource function](#formdataconsumer-no-longer-passes-a-getsource-function)
- [warnWhenUnsavedChanges Changes](#warnwhenunsavedchanges-changes)
- [Inputs No Longer Require To Be Touched To Display A Validation Error](#inputs-no-longer-require-to-be-touched-to-display-a-validation-error)
- [<InputHelperText touched> Prop Was Removed](#inputhelpertext-touched-prop-was-removed)
- [Global Server Side Validation Error Message Must Be Passed Via The root.serverError Key](#global-server-side-validation-error-message-must-be-passed-via-the-rootservererror-key)
- [TypeScript](#typescript)
- [Fields Components Requires The source Prop](#fields-components-requires-the-source-prop)
- [useRecordContext Returns undefined When No Record Is Available](#userecordcontext-returns-undefined-when-no-record-is-available)
- [useAuthProvider Returns undefined When No authProvider Is Available](#useauthprovider-returns-undefined-when-no-authprovider-is-available)
- [Page Contexts Are Now Types Instead of Interfaces](#page-contexts-are-now-types-instead-of-interfaces)
- [Stronger Types For Page Contexts](#stronger-types-for-page-contexts)
- [EditProps and CreateProps now expect a children prop](#editprops-and-createprops-now-expect-a-children-prop)
- [BulkActionProps Type Has Been Removed](#bulkactionprops-type-has-been-removed)
- [onError Type From ra-core Was Removed](#onerror-type-from-ra-core-was-removed)
- [PublicFieldProps Interface Was Removed](#publicfieldprops-interface-was-removed)
- [InjectedFieldProps Interface Was Removed](#injectedfieldprops-interface-was-removed)
- [formClassName Prop Of FieldProps Type Was Removed](#formclassname-prop-of-fieldprops-type-was-removed)
- [formClassName Prop Of CommonInputProps Type Was Removed](#formclassname-prop-of-commoninputprops-type-was-removed)
- [Authentication](#authentication)
- [useCheckAuth No Longer Accepts A disableNotification Param](#usecheckauth-no-longer-accepts-a-disablenotification-param)
- [useLogoutIfAccessDenied No Longer Accepts A disableNotification Param](#uselogoutifaccessdenied-no-longer-accepts-a-disablenotification-param)
- [usePermissionsOptimized Hook Was Removed](#usepermissionsoptimized-hook-was-removed)
- [Routing](#routing)
- [linkToRecord Helper Was Removed](#linktorecord-helper-was-removed)
- [resolveRedirectTo Helper Was Removed](#resolveredirectto-helper-was-removed)
- [Theming](#theming)
- [useTheme no longer accepts a theme object as an optional argument](#usetheme-no-longer-accepts-a-theme-object-as-an-optional-argument)
- [ToggleThemeButton no longer accepts themes as props](#togglethemebutton-no-longer-accepts-themes-as-props)
- [<ThemeProvider theme> Is No Longer Supported](#themeprovider-theme-is-no-longer-supported)
- [Misc](#misc)
- [data-generator-retail commands Have Been Renamed to orders](#data-generator-retail-commands-have-been-renamed-to-orders)
- [Support For PropTypes Was Removed](#support-for-proptypes-was-removed)
- [Mutation Middlewares No Longer Receive The Mutation Options](#mutation-middlewares-no-longer-receive-the-mutation-options)
- [Upgrading to v4](#upgrading-to-v4)

<!-- /TOC -->};
}
```

### Links are now underlined by default
Expand Down
Loading