Add example of custom Datagrid usage in the List documentation (3956) (nicgirault)
Add a list if <Pagination> props in the List documentation (3954) (nicgirault)
Fix pessimistic delete one does not remove item from selection (3926) (fzaninotto)
Add a link to moleculer-data-provider in Data Providers doc (3925) (jjgumucio)
v2.9.8
Rewrite ra-tree. The new API isn't backwards compatible, but as ra-tree is considered a "lab" feature, we chose to release it in a minor version. (3771) (djhi)
Add support for custom queries in ra-data-graphql (3839) (djhi)
Add theme support in FileInput dropzone background (3823) (despatates)
Add link to OpenID Connect advanced example (3795) (Kmaschta)
Fix react-admin dependency in secondary packages (3791) (manelpb)
Fix trailing slash in url breaks routing (3788) (djhi)
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.
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';
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.
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';
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](https://github.com/PulseTile/PulseTile-RA/network/alerts).
Removes papaparse. It's no longer used after updating ancestor dependencies papaparse, ra-data-json-server, ra-ui-materialui and react-admin. These dependencies need to be updated together.
Removes
papaparse
Updates
ra-data-json-server
from 2.2.0 to 2.9.9Changelog
Sourced from ra-data-json-server's changelog.
... (truncated)
Commits
f5bea90
v2.9.95d59f62
Prepare changelog for v2.9.941e8562
Merge pull request #3956 from nicgirault/add-example-to-datagrid-doc056404e
Merge pull request #3954 from nicgirault/improve-pagination-docfc827b7
Merge pull request #3958 from gstvg/patch-19c688f0
Merge pull request #3994 from bicstone/patch-161c9636
Add link to ra-language-japanese3cb8ce3
Merge pull request #3993 from bicstone/fix-keyword335ddd4
Fix keyword10648b0
Fix typo, autocomplete to autoCompleteUpdates
ra-ui-materialui
from 2.8.3 to 4.7.0Release notes
Sourced from ra-ui-materialui's releases.
... (truncated)
Changelog
Sourced from ra-ui-materialui's changelog.
... (truncated)
Upgrade guide
Sourced from ra-ui-materialui's upgrade guide.
... (truncated)
Commits
840d856
v4.7.026ed481
Prepare changelog for v4.7.0285572c
Fix ts warningf3c9db2
Fix scrollIntoView7fd9635
Merge branch 'next'5f7bfc2
Merge pull request #8556 from marmelab/fix-enableGetChoices-examples5f2001a
Merge pull request #8555 from marmelab/realtime-doc857b91d
Mention that these features are part of the EE6e58866
Apply suggestions from code review8328931
Fix AutocompleteInput nested optionText with create and enableGetChoices exam...Updates
react-admin
from 2.8.5 to 4.7.0Release notes
Sourced from react-admin's releases.
... (truncated)
Changelog
Sourced from react-admin's changelog.
... (truncated)
Upgrade guide
Sourced from react-admin's upgrade guide.
... (truncated)
Commits
840d856
v4.7.026ed481
Prepare changelog for v4.7.0285572c
Fix ts warningf3c9db2
Fix scrollIntoView7fd9635
Merge branch 'next'5f7bfc2
Merge pull request #8556 from marmelab/fix-enableGetChoices-examples5f2001a
Merge pull request #8555 from marmelab/realtime-doc857b91d
Mention that these features are part of the EE6e58866
Apply suggestions from code review8328931
Fix AutocompleteInput nested optionText with create and enableGetChoices exam...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](https://github.com/PulseTile/PulseTile-RA/network/alerts).