Upgrades Plugins: Initial support for linked libraries

OpenZeppelin Upgrades Plugins are the recommended way for users to deploy and manage their upgradeable contracts. They augment your Truffle or Buidler setup with the ability to upgrade your contracts. If you’re new to the plugins check out the documentation and step by step tutorials.

In previous versions of the plugins, contracts with linked libraries were not at all supported. Starting with the newly published version 1.2.0, these contracts will be allowed if you enable the flag unsafeAllowLinkedLibraries. Linked libraries are not automatically checked for upgrade safety, so users must manually assert that the library is upgrade safe using this flag.

Thank you @julianmrodri for working with us on this feature!

Future versions of the plugins will run these validations automatically without the need for manual assessment. Stay tuned! If this is something that interests you, make sure to subscribe to the issue below, and don’t hesitate to chime in with your use case!

1 Like