Nothing Special   »   [go: up one dir, main page]

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 ra-ui-materialui and react-admin in /admin #5997

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

Conversation

dependabot[bot]
Copy link
Contributor
@dependabot dependabot bot commented on behalf of github Mar 13, 2023

Removes ra-ui-materialui. It's no longer used after updating ancestor dependency react-admin. These dependencies need to be updated together.

Removes ra-ui-materialui

Updates react-admin from 2.9.9 to 4.8.3

Release notes

Sourced from react-admin's releases.

4.8.3

  • Fix <FilterFormInput> should not override its children's size if they provide one explicitly (#8693) (slax57)
  • Fix <ReferenceInput> throws an error when referencing the same resource as <Edit> and the reference is undefined (#8719) (slax57)
  • Fix some components are translating labels twice (#8700) (djhi)
  • Fix <SelectArrayInput> does not display its label correctly in outlined variant (#8705) (sebastianbuechler)
  • Fix <UrlField> click should cancel Datagrid's row click (#8708) (slax57)
  • [Doc] Better document <ReferenceManyField>'s source prop (#8726) (slax57)
  • [Doc] add Strapi v4 provider (#8725) (garridorafa)
  • [Doc] Add documentation for fetchJson (#8712) (slax57)
  • [Doc] Fix documentation regarding <RecordContextProvider> usage (#8716) (postor )
  • [Doc] Improve <Confirm> documentation (#8711) (fzaninotto)
  • Use Vite for the CRM demo (#8696) (djhi)

4.8.2

  • Fix <Labeled> ignores fullWidth when label is false (#8689) (slax57)
  • Fix <AutocompleteInput> when record has a different shape between getList and getMany (#8687) (slax57)
  • Fix <Configurable> elements don't allow to edit a text field (#8682) (fzaninotto)
  • Fix <DatagridConfigurable> column ordering feature does not work in Firefox (#8673) (slax57)
  • [Typescript] Fix <Datagrid rowClick> type and documentation (#8677) (djhi)
  • [TypeScript] Add type to downloadCSV function (#8686) (zhujinxuan)
  • [Doc] Add ra-auth-msal to the authProvider list (#8703) (slax57)
  • [Doc] Fix typo in Vite documentation (#8692) (djhi)
  • [Doc] Add global definition to the Vite example, and offer to install the Roboto font locally (#8680) (slax57)
  • [Doc] Fix <MenuItem> example usage in Upgrade guide (#8678) (WiXSL)
  • [Doc] Add troubleshooting section to the Routing chapter (#8669) (fzaninotto)
  • [Demo] Remove Webpack bundler in simple example (#8694) (djhi)

4.8.1

  • Fix <Notification> raises a MUI warning when message is a string (#8666) (slax57)
  • Fix <ArrayField> breaks when value is null (#8659) (slax57)
  • Fix <SimpleForm> save toolbar hides content on mobile (#8656) (fzaninotto)
  • [TypeScript] Fix bad type deprecation on onError type (#8668) (djhi)
  • [TypeScript] Fix bad casing on onError type (#8667) (djhi)
  • [Doc] Explain <ReferenceOneField> usage with one-to-many relationships (#8660) (fzaninotto)
  • [Doc] Fix Remix installation instructions to avoid react-router error (#8655) (fzaninotto)
  • [Doc] Fix typos, snippets and file extensions in Tutorial (#8607) (erikvanderwerf)
  • [Doc] Improve <CheckboxGroupInput translateChoice> code example (#8657) (WiXSL)
  • [Demo] Fix Datagrid shows gutter on last row (#8661) (slax57)

4.8.0

  • Add ability for <List> children to handle the empty state (#8585) (djhi)
  • Add ability to override available routes for a <Resource> (#8640) (slax57)
  • Add support for <ExportButton meta> and <BulkExportButton meta> (#8636) (fkowal)
  • Add ability to use a React Node as useNotify message (#8580) (fzaninotto)
  • Add ability for <Datagrid isRowSelectable> to show a disabled checkbox for unselectable rows (#8650) (WiXSL)
  • Improve performance by memoizing mutation callbacks (#8526) (rkfg)
  • Fix shouldUnregister prop used in an Input logs a DOM warning (#8653) (fzaninotto)
  • Fix <CheckboxGroupInput helperText> placement and color (#8652) (fzaninotto)
  • Fix useList filter option not working with nested objects (#8646) (WiXSL)
  • [TypeScript] Make <FormDataConsumer> generic (#8389) (Gabriel-Malenowitch)

... (truncated)

Changelog

Sourced from react-admin's changelog.

v4.8.3

  • Fix <FilterFormInput> should not override its children's size if they provide one explicitly (#8693) (slax57)
  • Fix <ReferenceInput> throws an error when referencing the same resource as <Edit> and the reference is undefined (#8719) (slax57)
  • Fix some components are translating labels twice (#8700) (djhi)
  • Fix <SelectArrayInput> does not display its label correctly in outlined variant (#8705) (sebastianbuechler)
  • Fix <UrlField> click should cancel Datagrid's row click (#8708) (slax57)
  • [Doc] Better document <ReferenceManyField>'s source prop (#8726) (slax57)
  • [Doc] add Strapi v4 provider (#8725) (garridorafa)
  • [Doc] Add documentation for fetchJson (#8712) (slax57)
  • [Doc] Fix documentation regarding <RecordContextProvider> usage (#8716) (postor )
  • [Doc] Improve <Confirm> documentation (#8711) (fzaninotto)
  • Use Vite for the CRM demo (#8696) (djhi)

v4.8.2

  • Fix <Labeled> ignores fullWidth when label is false (#8689) (slax57)
  • Fix <AutocompleteInput> when record has a different shape between getList and getMany (#8687) (slax57)
  • Fix <Configurable> elements don't allow to edit a text field (#8682) (fzaninotto)
  • Fix <DatagridConfigurable> column ordering feature does not work in Firefox (#8673) (slax57)
  • [Typescript] Fix <Datagrid rowClick> type and documentation (#8677) (djhi)
  • [TypeScript] Add type to downloadCSV function (#8686) (zhujinxuan)
  • [Doc] Add ra-auth-msal to the authProvider list (#8703) (slax57)
  • [Doc] Fix typo in Vite documentation (#8692) (djhi)
  • [Doc] Add global definition to the Vite example, and offer to install the Roboto font locally (#8680) (slax57)
  • [Doc] Fix <MenuItem> example usage in Upgrade guide (#8678) (WiXSL)
  • [Doc] Add troubleshooting section to the Routing chapter (#8669) (fzaninotto)
  • [Demo] Remove Webpack bundler in simple example (#8694) (djhi)

v4.8.1

  • Fix <Notification> raises a MUI warning when message is a string (#8666) (slax57)
  • Fix <ArrayField> breaks when value is null (#8659) (slax57)
  • Fix <SimpleForm> save toolbar hides content on mobile (#8656) (fzaninotto)
  • [TypeScript] Fix bad type deprecation on onError type (#8668) (djhi)
  • [TypeScript] Fix bad casing on onError type (#8667) (djhi)
  • [Doc] Explain <ReferenceOneField> usage with one-to-many relationships (#8660) (fzaninotto)
  • [Doc] Fix Remix installation instructions to avoid react-router error (#8655) (fzaninotto)
  • [Doc] Fix typos, snippets and file extensions in Tutorial (#8607) (erikvanderwerf)
  • [Doc] Improve <CheckboxGroupInput translateChoice> code example (#8657) (WiXSL)
  • [Demo] Fix Datagrid shows gutter on last row (#8661) (slax57)

v4.8.0

  • Add ability for <List> children to handle the empty state (#8585) (djhi)
  • Add ability to override available routes for a <Resource> (#8640) (slax57)
  • Add support for <ExportButton meta> and <BulkExportButton meta> (#8636) (fkowal)
  • Add ability to use a React Node as useNotify message (#8580) (fzaninotto)
  • Add ability for <Datagrid isRowSelectable> to show a disabled checkbox for unselectable rows (#8650) (WiXSL)
  • Improve performance by memoizing mutation callbacks (#8526) (rkfg)

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

MUI v5

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

https://mui.com/guides/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
  • 8748248 v4.8.3
  • 52910fc Add changelog
  • 4b7bc1c Add AuthProvider for Postgrest
  • 50f6924 Merge pull request #8726 from marmelab/ReferenceManyField-doc-source-prop
  • 52d5859 [Doc] Better document ReferenceManyField's source prop
  • 5e5ec09 Merge pull request #8725 from garridorafa/update-strapi-providers
  • 52fa258 add strapi v4 provider
  • 6ee8d71 Merge pull request #8693 from marmelab/SearchInput-size
  • 6cf793f Merge pull request #8719 from marmelab/Fix-useGetManyAggregate-onSuccess
  • 6d2c96a Remove log
  • Additional commits viewable in compare view
Maintainer changes

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


You can trigger a rebase of this PR 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 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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Removes [ra-ui-materialui](https://github.com/marmelab/react-admin). It's no longer used after updating ancestor dependency [react-admin](https://github.com/marmelab/react-admin). These dependencies need to be updated together.


Removes `ra-ui-materialui`

Updates `react-admin` from 2.9.9 to 4.8.3
- [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@v2.9.9...v4.8.3)

---
updated-dependencies:
- dependency-name: ra-ui-materialui
  dependency-type: indirect
- dependency-name: react-admin
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 13, 2023
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants