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 2.9.9 to 3.19.12 #24

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

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Feb 14, 2023

Bumps react-admin from 2.9.9 to 3.19.12.

Release notes

Sourced from react-admin's releases.

3.19.12

This release contains a security fix. You must upgrade to this version if you use <RichTextField> with rich text data that isn't sanitized server-side.

  • [Security] Fix XSS vulnerability in <RichTextField> (#8645) (fzaninotto)
  • Fix <Pagination> cannot be used outside a ListContext (#7957) (schirrel)
  • Fix <ArrayField fullWidth> throws DOM error (#7549) (WiXSL)
  • Fix useSimpleFormIterator is not exported (#7515) (WiXSL)
  • [TypeScript] Fix useRecordContext may return undefined (#7495) (KoltesDigital)
  • [Doc] Fix Fields doc reference to getMany usage (#7773) (mfaywu)
  • Bump moment from 2.24.0 to 2.29.2 (#7512) (dependabot)

3.19.11

3.19.10

  • Fix <CheckboxGroupInput> changes selected values type (#7248) (WiXSL)
  • Fix <DateField> shows wrong date on negative time zones (#7242) (fzaninotto)
  • [Doc] Fix <DateInput> example of format and parse with Date object as value (#7233) (WiXSL)
  • Bump minor dependencies

Full Changelog: marmelab/react-admin@v3.19.8...v3.19.10

3.19.9

Failed release, do not use

3.19.8

  • Fix <FilterButton> throws bad error if no filters are present (#7227) (WiXSL)
  • Fix page remains the same when changing perPage in <ReferenceXXX> Fields (#7213) (WiXSL)
  • Fix useNotify doesn't allow multi line notifications (#7188) (WiXSL)
  • Fix <AutocompleteInput> erases input while typing (#7173) (WiXSL)
  • Fix resolveBrowserLocale tests (#7194) (FernandoKGA)
  • Fix <Toolbar alwaysEnableSaveButton> doesn't accept false (#7167) (WiXSL)
  • Fix <ReferenceArrayInput> logs console warning in certain cases (#7165) (WiXSL)
  • Fix DOM warnings when using <SelectArrayInput> as child of <ReferenceArrayInput> (#7015) (ZachSelindh)
  • Fix failing admin test when running all tests together (#7136) (thdk)
  • Fix GraphQL data provider swallows the Apollo Error (#6956) (hlubek)
  • [TypeScript] Fix BooleanInputProps isn't exported (#7144) (alanpoulain)
  • [Doc] Fix bad url in Inputs documentation (#7230) (WiXSL)

... (truncated)

Changelog

Sourced from react-admin's changelog.

v3.19.12

This release contains a security fix. You must upgrade to this version if you use <RichTextField> with rich text data that isn't sanitized server-side.

  • [Security] Fix XSS vulnerability in <RichTextField> (#8645) (fzaninotto)
  • Fix <Pagination> cannot be used outside a ListContext (#7957) (schirrel)
  • Fix <ArrayField fullWidth> throws DOM error (#7549) (WiXSL)
  • Fix useSimpleFormIterator is not exported (#7515) (WiXSL)
  • [TypeScript] Fix useRecordContext may return undefined (#7495) (KoltesDigital)
  • [Doc] Fix Fields doc reference to getMany usage (#7773) (mfaywu)
  • Bump moment from 2.24.0 to 2.29.2 (#7512) (dependabot)

v3.19.11

v3.19.10

  • Fix <CheckboxGroupInput> changes selected values type (#7248) (WiXSL)
  • Fix <DateField> shows wrong date on negative time zones (#7242) (fzaninotto)
  • [Doc] Fix <DateInput> example of format and parse with Date object as value (#7233) (WiXSL)
  • Bump minor dependencies

v3.19.9

(failed release, do not use)

v3.19.8

  • Fix <FilterButton> throws bad error if no filters are present (#7227) (WiXSL)
  • Fix page remains the same when changing perPage in <ReferenceXXX> Fields (#7213) (WiXSL)
  • Fix useNotify doesn't allow multi line notifications (#7188) (WiXSL)
  • Fix <AutocompleteInput> erases input while typing (#7173) (WiXSL)
  • Fix resolveBrowserLocale tests (#7194) (FernandoKGA)
  • Fix <Toolbar alwaysEnableSaveButton> doesn't accept false (#7167) (WiXSL)
  • Fix <ReferenceArrayInput> logs console warning in certain cases (#7165) (WiXSL)
  • Fix DOM warnings when using <SelectArrayInput> as child of <ReferenceArrayInput> (#7015) (ZachSelindh)
  • Fix failing admin test when running all tests together (#7136) (thdk)

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

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

Bumps [react-admin](https://github.com/marmelab/react-admin) from 2.9.9 to 3.19.12.
- [Release notes](https://github.com/marmelab/react-admin/releases)
- [Changelog](https://github.com/marmelab/react-admin/blob/v3.19.12/CHANGELOG.md)
- [Upgrade guide](https://github.com/marmelab/react-admin/blob/master/docs/Upgrade.md)
- [Commits](marmelab/react-admin@v2.9.9...v3.19.12)

---
updated-dependencies:
- dependency-name: react-admin
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 14, 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