We’ve been working on a Foundry library to help with deploying and upgrading proxies from Forge scripts and tests. This library includes built-in support for running the same types of upgrade safety checks and storage layout comparisons that are featured in our Hardhat plugin.
Check out the Foundry Upgrades repository here:
This is currently available as a technology preview and its functionality can change. We invite you to try it out and let us know what you think, so that we can aim to make it even more useful for your scenarios. You can leave feedback here, in the forum or open issues in the GitHub repository.