MultiQC / MegaQC

Web application to collect and visualise data across multiple MultiQC runs.
http://megaqc.info/
GNU General Public License v3.0
94 stars 28 forks source link

Bump react-admin from 3.19.11 to 4.16.11 #521

Closed dependabot[bot] closed 4 days ago

dependabot[bot] commented 6 months ago

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 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)
dependabot[bot] commented 4 days ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.