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

Bump react-admin from 3.19.11 to 4.16.9 #514

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 5, 2024

Bumps react-admin from 3.19.11 to 4.16.9.

Release notes

Sourced from react-admin's releases.

4.16.9

4.16.8

4.16.7

4.16.6

  • Fix click on <Datagrid> Select All button bubbles up to parent Datagrid (#9567) (Dreamsorcerer)
  • Bump follow-redirects from 1.15.2 to 1.15.4 (#9574) (dependabot[bot])
  • [Doc] Add a section demonstrating the <Datagrid> headers pinning feature (#9564) (adguernier)
  • [Doc] Add LinuxForHealth FHIR to DataProvider List (#9572) (scheiblr)
  • [Doc] Fix jekyll trying to parse jsx code on <Edit mutationOptions> example snippet (#9573) (Szulerinio)
  • [Doc] Fix linking to wrong prop anchor on <Resource> documentation (#9570) (Szulerinio)
  • [Demo] Fix new deals do not appear in the CRM demo (#9581) (adguernier)

4.16.5

  • Fix <AutocompleteInput> should keep working when passing custom InputProps (#9559) (adguernier)
  • Fix usePreference should throw an error when used outside a <Configurable> context (#9537) (arimet)
  • Revert "Fix <SelectArrayInput> does not use recordRepresentation" (#9563) (slax57)
  • [TypeScript] Fix error when using typed args in <WithRecord render> function (#9552) (seongwon-privatenote)
  • [TypeScript] Fix <MenuItemLink> prop type should omit placeholder (#9555) (smeng9)
  • [Doc] Improve <MarkdownField> doc (#9557) (adguernier)
  • [Doc] Better document <ReferenceOneField emptyText> prop (#9562) (slax57)

4.16.4

  • Fix <SelectArrayInput> does not use recordRepresentation (#9532) (adguernier)

... (truncated)

Changelog

Sourced from react-admin's changelog.

v4.16.9

v4.16.8

v4.16.7

v4.16.6

  • Fix click on <Datagrid> Select All button bubbles up to parent Datagrid (#9567) (Dreamsorcerer)
  • Bump follow-redirects from 1.15.2 to 1.15.4 (#9574) (dependabot[bot])
  • [Doc] Add a section demonstrating the <Datagrid> headers pinning feature (#9564) (adguernier)
  • [Doc] Add LinuxForHealth FHIR to DataProvider List (#9572) (scheiblr)
  • [Doc] Fix jekyll trying to parse jsx code on <Edit mutationOptions> example snippet (#9573) (Szulerinio)
  • [Doc] Fix linking to wrong prop anchor on <Resource> documentation (#9570) (Szulerinio)
  • [Demo] Fix new deals do not appear in the CRM demo (#9581) (adguernier)

v4.16.5

  • Fix <AutocompleteInput> should keep working when passing custom InputProps (#9559) (adguernier)
  • Fix usePreference should throw an error when used outside a <Configurable> context (#9537) (arimet)
  • Revert "Fix <SelectArrayInput> does not use recordRepresentation" (#9563) (slax57)
  • [TypeScript] Fix error when using typed args in <WithRecord render> function (#9552) (seongwon-privatenote)
  • [TypeScript] Fix <MenuItemLink> prop type should omit placeholder (#9555) (smeng9)

... (truncated)

Upgrade guide

Sourced from react-admin's upgrade guide.


layout: default title: "Upgrading to v4"

Upgrading to v4

React-admin v4 has upgraded all its dependencies to their latest major version. Some major dependencies were swapped (react-query instead of redux, react-hook-form instead of react-final-form). In addition, the lower layers of the react-admin code have been rewritten for better extensibility.

We've done our best to keep the general API of react-admin v4 similar with the v3 API. But the changes mentioned above result in many small compatibility breaks. An application built with react-admin v3 will need some work to run with react-admin v4.

Depending on the size of your v3 application, the upgrade will take between a few hours to a few days. If you use TypeScript, the migration will be much faster.

Material UI v5

React-admin v4 uses Material UI (Material-UI) v5. The Material UI team has written an upgrade guide, which you should read to upgrade your material-ui code.

https://mui.com/material-ui/migration/migration-v4/

Redux Is Gone

React-admin no longer relies on Redux. Instead, it relies on React context and third-party libraries (e.g. react-query).

You will need to update your code if it contains any of the following keywords:

  • createAdminStore
  • customReducers
  • customSagas
  • initialState
  • useSelector
  • useDispatch

Running Inside A Redux App

You could run a react-admin app inside an existing Redux app, provided that you initialized the react-admin reducers. This is no longer necessary, so you can directly put your custom reducers in your Redux store:

-import { createAdminStore, Admin } from 'react-admin';
+import { Admin } from 'react-admin';
+import { createStore, combineReducers } from 'redux';
import { Provider } from 'react-redux';
const App = () => (
<Provider


  store={createAdminStore({



      authProvider,



      dataProvider,



      history,



      customReducers,



  })}



</tr></table>

... (truncated)

Commits
  • 605fbb7 v4.16.9
  • c5b073d Update CHANGELOG for v4.16.9
  • 1385c5e Merge pull request #9635 from marmelab/doc-resource-video
  • 45f49ea [Doc] Add video tutorial to the Resource chapter
  • 5e24ca4 Merge pull request #9634 from megantaylor/styled-FieldToggle
  • 9a7216d fix another lint error?
  • dcd86e1 fix lint error
  • b34fcd2 add style name and override options to Fieldtoggle component so custom styles...
  • 2f205c7 Add youtube link to readme
  • c3a3618 Improve readme documentation sections
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [react-admin](https://github.com/marmelab/react-admin) from 3.19.11 to 4.16.9.
- [Release notes](https://github.com/marmelab/react-admin/releases)
- [Changelog](https://github.com/marmelab/react-admin/blob/master/CHANGELOG.md)
- [Upgrade guide](https://github.com/marmelab/react-admin/blob/master/docs/Upgrade.md)
- [Commits](marmelab/react-admin@v3.19.11...v4.16.9)

---
updated-dependencies:
- dependency-name: react-admin
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Feb 5, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 26, 2024

Superseded by #521.

@dependabot dependabot bot closed this Feb 26, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/react-admin-4.16.9 branch February 26, 2024 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants