Skip to content

Add config migrantion api #183

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

Merged
merged 10 commits into from
Apr 23, 2025
Merged

Add config migrantion api #183

merged 10 commits into from
Apr 23, 2025

Conversation

Hendrix-Shen
Copy link
Owner

Summary

  • Fix config_version is always 0 no matter how it is set up
  • Extract interface from MagicConfigHandler and rename it to MagicConfigHandlerImpl. Old class path remains available but is deprecated
  • Add config migration api. The following built-in migrators are provided:
    • ConfigRelocationMigrator
    • RenameCategoryMigrator
    • RenameConfigMigrator
    • RenameStatisticMigrator
    • VersionMigrator

@Hendrix-Shen Hendrix-Shen changed the title Feat/config migrantion Add config migrantion api Apr 23, 2025
@Hendrix-Shen Hendrix-Shen merged commit e42674b into dev/0.8 Apr 23, 2025
9 checks passed
@Hendrix-Shen Hendrix-Shen deleted the feat/config-migrantion branch April 23, 2025 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant