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.11 #521

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps react-admin from 3.19.11 to 4.16.11.

Release notes

Sourced from react-admin's releases.

4.16.11

  • Fix <FilterForm> ignores key prop on children (#9588) (Dreamsorcerer)
  • [Demo] Fix missing tags field in simple example fake dataset raises a warning (#9660) (slax57)
  • [chore] Remove unused dependency on wait-on (#9663) (slax57)
  • [Doc] Add video tutorial to the Datagrid doc (#9666) (fzaninotto)
  • [Doc] Update Datagrid documentation regarding preferenceKey (#9649) (erwanMarmelab)
  • [Doc] Fix typo in Caching documentation (#9667) (n-kulic)

4.16.10

  • Fix DeleteWithConfirmButton raises an error when the record is not loaded (#9636) (fzaninotto)
  • Fix field label translation concatenates previous prefix (#9648) (adguernier)
  • Fix <ReferenceInput> accepts a validate prop while it should not (#9637) (fzaninotto)
  • [TypeScript] Fix some strict null checks errors in core (#9644) (fzaninotto)
  • [Doc] Add video tutorial for the <Admin> component (#9641) (fzaninotto)
  • [Doc] Update <AccordionForm> and <AccordionFormPanel> docs (#9646) (erwanMarmelab)
  • [Doc] Update DateInput, TimeInput, and DateTimeInput chapters to mention MUI variant (#9631) (erwanMarmelab)
  • [Doc] Update docs for <Breadcrumb> (#9640) (erwanMarmelab)
  • [Doc] Add screencasts and screenshot to <EditableDatagrid> docs (#9633) (erwanMarmelab)
  • [Doc] Add warning about using setFilters with other callbacks (#9639) (fzaninotto)
  • [Doc] Fix example code for sending files in Base64 (#9647) (davidhenley)
  • [Doc] Fix authProvider images (#9654) (erwanMarmelab)
  • [Doc] Fix dataproviders images (#9653) (djhi)
  • [Doc] Fix code example in the Usage section of <SaveButton> is broken (#9651) (slax57)

4.16.9

4.16.8

4.16.7

  • Fix <FileInputPreview> propTypes (#9596) (djhi)

... (truncated)

Changelog

Sourced from react-admin's changelog.

v4.16.11

  • Fix <FilterForm> ignores key prop on children (#9588) (Dreamsorcerer)
  • [Demo] Fix missing tags field in simple example fake dataset raises a warning (#9660) (slax57)
  • [chore] Remove unused dependency on wait-on (#9663) (slax57)
  • [Doc] Add video tutorial to the Datagrid doc (#9666) (fzaninotto)
  • [Doc] Update Datagrid documentation regarding preferenceKey (#9649) (erwanMarmelab)
  • [Doc] Fix typo in Caching documentation (#9667) (n-kulic)

v4.16.10

  • Fix DeleteWithConfirmButton raises an error when the record is not loaded (#9636) (fzaninotto)
  • Fix field label translation concatenates previous prefix (#9648) (adguernier)
  • Fix <ReferenceInput> accepts a validate prop while it should not (#9637) (fzaninotto)
  • [TypeScript] Fix some strict null checks errors in core (#9644) (fzaninotto)
  • [Doc] Add video tutorial for the <Admin> component (#9641) (fzaninotto)
  • [Doc] Update <AccordionForm> and <AccordionFormPanel> docs (#9646) (erwanMarmelab)
  • [Doc] Update DateInput, TimeInput, and DateTimeInput chapters to mention MUI variant (#9631) (erwanMarmelab)
  • [Doc] Update docs for <Breadcrumb> (#9640) (erwanMarmelab)
  • [Doc] Add screencasts and screenshot to <EditableDatagrid> docs (#9633) (erwanMarmelab)
  • [Doc] Add warning about using setFilters with other callbacks (#9639) (fzaninotto)
  • [Doc] Fix example code for sending files in Base64 (#9647) (davidhenley)
  • [Doc] Fix authProvider images (#9654) (erwanMarmelab)
  • [Doc] Fix dataproviders images (#9653) (djhi)
  • [Doc] Fix code example in the Usage section of <SaveButton> is broken (#9651) (slax57)

v4.16.9

v4.16.8

... (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
  • 387c425 v4.16.11
  • 38109bd changelog for v4.16.11
  • ff7b95b Merge pull request #9588 from Dreamsorcerer/patch-1
  • df6d698 Merge pull request #9666 from marmelab/doc-datagrid-video
  • 9ceebf1 Merge pull request #9667 from n-kulic/patch-1
  • 65b66a7 fix: correct typo udpate to update
  • be6e0df Fix typo in Features doc
  • ca24a00 [Doc] Add video tutorial to the Datagrid doc
  • 0f17a7b Merge pull request #9663 from marmelab/remove-wait-on
  • e443b3c [chore] Remove unused dependency on wait-on
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by slax57, a new releaser for react-admin since your current version.


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.11.
- [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.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Feb 26, 2024
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.

None yet

0 participants