Why some methods are removed in ProxyAdmin contract from version 5.0.0

Hi,
I just found out that some functions for ProxyAdmlin have been remove from openzeooelin/contracts version 5.0.0, e.g. upgrade, getProxyImplementation etc, does anyone know why ? They look very useful imo.
Thanks a lot guys !

Generally you can search the changelog e.g. https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v5.0.0, look at the related pull requests for the changes you are wondering about, and find the rationale there.

For removal of getProxyImplementation, see https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3820

For removal of upgrade, see https://github.com/OpenZeppelin/openzeppelin-contracts/pull/4382

1 Like