Closed amimart closed 9 months ago
The recent update introduces a more streamlined approach to handling application upgrades. It shifts from using setupUpgradeHandlers()
to RegisterUpgradeHandlers()
for better integration within the application initialization process. Additionally, a new structure for managing and implementing chain upgrade handlers is established, particularly spotlighting a specific upgrade process for version v7.0.0
. This process involves creating a dedicated upgrade handler that facilitates migrations through a module manager and configurator.
Files | Change Summary |
---|---|
app/app.go |
Replaces setupUpgradeHandlers() with RegisterUpgradeHandlers() for registering upgrade handlers. |
app/upgrades.go |
Introduces functionality for registering and managing chain upgrade handlers. |
.../upgrades/v7/upgrade.go |
Adds CreateUpgradeHandler for v7.0.0 upgrade, handling migrations with module manager and configurator. |
🐇✨
In the realm of code, where changes bound,
A rabbit hopped, leaving tracks on the ground.
"To upgrade, to enhance," it cheerfully said,
As it tweaked the code, ahead it sped.
Fromsetup
toregister
, with a magical flair,
A leap towards the future, through the coder's lair.
🚀🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
:tada: This PR is included in version 7.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
Register a new
v7.0.0
software upgrade 😎Summary by CodeRabbit