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

fix(#1747): Replace deprecated props in mui based components #1748

Conversation

Kalaiz
Copy link
Contributor

@Kalaiz Kalaiz commented Jul 13, 2021

Material-ui will be migrating from v4 to v5 and has been deprecating stuffs as a part of that move. Deprecation warnings as stated in #1747 appears when MUI-Datatable is used. This PR fixes it by using the recommendations provided by material-ui, in regards to the deprecations.

I tried running the npm test, however, I faced the same error as mentioned in here.

- Used TransitionProps instead of the deprecated onClose and onExited Props for material-ui based Popover.

- Used onPageChange and onRowsPageChange Props instead of the deprecated onChangePage and onChangeRowsPerPage Props respectively, for material-ui based TablePagination. 

- Used ref instead of the deprecated buttonRef for material-ui based IconButton .
@VitorMiguelPS
Copy link

There is any estimate to implement this PR?

@li-baptistegaspari
Copy link

There is any estimate to implement this PR?

+1

@kingeke
Copy link

kingeke commented Aug 2, 2021

Please can this be merged, thank you...

@kingeke kingeke mentioned this pull request Aug 4, 2021
@joaomantovani
Copy link

When it's going to be released?

@joaomantovani
Copy link

joaomantovani commented Aug 12, 2021

If anyone is facing this problem on production and needs to fix this immediately, I've created a fork from this repo and merged this PR on own master and created a manual release

Run this on your terminal:

yarn add https://github.com/penseapp/mui-datatables

or

npm i https://github.com/penseapp/mui-datatables

Warning

This will work but needs to be temporary, after merge of this PR, you should alter your package.json again!

@ghost
Copy link

ghost commented Aug 18, 2021

I haven't seen any response from those with the power to push changes, I've had luck with @wdh2100 reviewing and pushing changes. Maybe we can summon him.

@hs-analysis
Copy link

hs-analysis commented Aug 23, 2021

If anyone is facing this problem on production and needs to fix this immediately, I've created a fork from this repo and merged this PR on own master and created a manual release

Run this on your terminal:

yarn add https://github.com/penseapp/mui-datatables

or

npm i https://github.com/penseapp/mui-datatables

Warning:
This will work but needs to be temporary, after merge os this PR, you should alter your package.json again!

I can't install the fork and get error messages beginning with "npm ERR! prepareGitDep
One interesting one is:
npm ERR! prepareGitDep npm ERR! A complete log of this run can be found in:

@dan05011991
Copy link

I haven't seen any response from those with the power to push changes, I've had luck with @wdh2100 reviewing and pushing changes. Maybe we can summon him.

Hoping for this to get merged soon, saves us forking the repo temporarily

@Messhias
Copy link

@gregnb when you can merge this PR? There are others maintainers on this repo also to help you out?

@emekaokoli
Copy link

please is there a fix already? v3.7.8 still throws the same errors

@dan05011991
Copy link

please is there a fix already? v3.7.8 still throws the same errors

Its waiting on a merge. 3.7.8 wouldn't contain the fix.

@li-baptistegaspari
Copy link

up ?

@Messhias
Copy link

@gregnb we're waiting for some feedback, can you please increase the maintainers on this repository?

@kingeke
Copy link

kingeke commented Sep 15, 2021

I do home covid didn't get you @gregnb :(

@Messhias
Copy link

I do home covid didn't get you @gregnb :(

Now you're saying that I got quite worried. It's been a while since his last activity in Github.

@dan05011991
Copy link

Any movement on this?

@emekaokoli
Copy link

Please any update?

@adriprmn
Copy link

@gregnb you good?

@mattshoaf
Copy link

Based on the last several releases, it looks like @wdh2100 is maintaining this now. For MUI5 compatibility with need this pull request and #1772 merged in please.

Copy link
Collaborator

@wdh2100 wdh2100 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Kalaiz LGTM 👍

Forgive me for being late. 😢

@wdh2100 wdh2100 merged commit 99530f0 into gregnb:master Oct 25, 2021
@Cirelion
Copy link

I was just about to make a manual fork, you couldn't have had better timing! Thanks!

@wdh2100
Copy link
Collaborator

wdh2100 commented Oct 25, 2021

@Cirelion

It will be released(3.8.0) soon with some bugs.

@Cirelion
Copy link

@wdh2100 Some bugs I can work with! Do you have a rough estimate for when it will be released?

@wdh2100
Copy link
Collaborator

wdh2100 commented Oct 25, 2021

@Cirelion

Release 3.8.0

@Darkmift
Copy link

issue still ongoing...resorted to using:
mbrn/material-table#2937 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet