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

chore(deps): bump react-admin from 4.7.4 to 5.3.0 in /ui #544

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 Oct 21, 2024

Bumps react-admin from 4.7.4 to 5.3.0.

Release notes

Sourced from react-admin's releases.

5.3.0

  • Make authentication check pessimistic
    • Disable data provider calls in CRUD controllers while the auth check is pending (#10238) (djhi)
    • Disable rendering of CRUD views while the auth check is pending (#10258) (djhi)
    • Make <Authenticated> component blocking (#10251) (fzaninotto)
  • Add Access Control
    • Introduce useCanAccess, useCanAccessResources, and useCanAccessCallback hooks (#10222) (djhi)
    • Introduce <CanAccess> and <AccessDenied> components (#10222) (djhi)
    • Add access control check in page controllers (list, show, edit, create) (#10247) (djhi)
    • Add access control to views and action buttons (#10225) (djhi)
    • Add access control to <Datagrid rowClick> (#10227) (djhi)
    • Add access control to <DeleteButton> (#10226) (djhi)
    • Add access control to the / route and introduce <NavigateToFirstResource> (#10255) (djhi)
    • Avoid unnecessary rerenders with canAccess hooks when there is no authProvider (#10200) (djhi)
    • Make authProvider.getPermissions optional (#10257) (djhi)
    • Update Simple example to leverage access control (#10278) (slax57)
  • Add support for embedding and prefetching data to reduce API queries (#10270) (fzaninotto)
  • Add per-resource success notifications ("3 posts deleted" instead of "3 elements deleted") (#10203) (fzaninotto)
  • Add support for <Edit emptyWhileLoading> (#10230) (erwanMarmelab)
  • Fix redirection to first route prevents going back in history (#10267) (aqeebpathan)
  • Fix useAuthState may logout even though logoutOfFailure is false (#10280) (fzaninotto)
  • [TypeScript] Make records paths inferred from type compatible with react-hook-form (#10279) (djhi)
  • [Doc] Warn about <AutoSave> incompatibility with warnWhenUnsavedChanges (#10277) (djhi)
  • [Doc] Update mentions of Azure Active Directory to Microsoft Entra ID (#10276) (djhi)
  • [Doc] Rewrite access control documentation (#10250) (fzaninotto)

5.2.3

  • Fix <AutoCompleteInput> should not display a "Create" option when the filter is empty (#10266) (erwanMarmelab)
  • Fix pnpm error Module not found: Can't resolve '@​mui/utils' (#10264) (slax57)
  • [Doc] Update <StackedFilters> doc for ra-form-layout v5.2.0 (#10268) (erwanMarmelab)
  • [Doc] Update Remix tutorial to fix port and yarn documentation link (#10263) (smeng9)
  • [Doc] Update <Search> doc for keyboardShortcutIcon, withKeyboardShortcut and isInAppBar (#10254) (erwanMarmelab)
  • [Doc] Update Admin and Routing docs to encourage using a Data Router (#10220) (smeng9)

5.2.2

v5.2.1

... (truncated)

Changelog

Sourced from react-admin's changelog.

5.3.0

  • Make authentication check pessimistic
    • Disable data provider calls in CRUD controllers while the auth check is pending (#10238) (djhi)
    • Disable rendering of CRUD views while the auth check is pending (#10258) (djhi)
    • Make <Authenticated> component blocking (#10251) (fzaninotto)
  • Add Access Control
    • Introduce useCanAccess, useCanAccessResources, and useCanAccessCallback hooks (#10222) (djhi)
    • Introduce <CanAccess> and <AccessDenied> components (#10222) (djhi)
    • Add access control check in page controllers (list, show, edit, create) (#10247) (djhi)
    • Add access control to views and action buttons (#10225) (djhi)
    • Add access control to <Datagrid rowClick> (#10227) (djhi)
    • Add access control to <DeleteButton> (#10226) (djhi)
    • Add access control to the / route and introduce <NavigateToFirstResource> (#10255) (djhi)
    • Avoid unnecessary rerenders with canAccess hooks when there is no authProvider (#10200) (djhi)
    • Make authProvider.getPermissions optional (#10257) (djhi)
    • Update Simple example to leverage access control (#10278) (slax57)
  • Add support for embedding and prefetching data to reduce API queries (#10270) (fzaninotto)
  • Add per-resource success notifications ("3 posts deleted" instead of "3 elements deleted") (#10203) (fzaninotto)
  • Add support for <Edit emptyWhileLoading> (#10230) (erwanMarmelab)
  • Fix redirection to first route prevents going back in history (#10267) (aqeebpathan)
  • Fix useAuthState may logout even though logoutOfFailure is false (#10280) (fzaninotto)
  • [TypeScript] Make records paths inferred from type compatible with react-hook-form (#10279) (djhi)
  • [Doc] Warn about <AutoSave> incompatibility with warnWhenUnsavedChanges (#10277) (djhi)
  • [Doc] Update mentions of Azure Active Directory to Microsoft Entra ID (#10276) (djhi)
  • [Doc] Rewrite access control documentation (#10250) (fzaninotto)

5.2.3

  • Fix <AutoCompleteInput> should not display a "Create" option when the filter is empty (#10266) (erwanMarmelab)
  • Fix pnpm error Module not found: Can't resolve '@​mui/utils' (#10264) (slax57)
  • [Doc] Update <StackedFilters> doc for ra-form-layout v5.2.0 (#10268) (erwanMarmelab)
  • [Doc] Update Remix tutorial to fix port and yarn documentation link (#10263) (smeng9)
  • [Doc] Update <Search> doc for keyboardShortcutIcon, withKeyboardShortcut and isInAppBar (#10254) (erwanMarmelab)
  • [Doc] Update Admin and Routing docs to encourage using a Data Router (#10220) (smeng9)

5.2.2

5.2.1

... (truncated)

Upgrade guide

Sourced from react-admin's upgrade guide.


layout: default title: "Upgrading to v5"

Upgrading to v5

React-admin v5 mostly focuses on removing deprecated features and upgrading dependencies. This makes the upgrade process easier than previous versions. However, there are still some breaking changes you should be aware of.

... (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 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 4.7.4 to 5.3.0.
- [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@v4.7.4...v5.3.0)

---
updated-dependencies:
- dependency-name: react-admin
  dependency-type: direct:production
  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 Oct 21, 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.

0 participants