Skip to content

Version 2.1.5

Choose a tag to compare

@JRG-code JRG-code released this 13 Nov 18:47
· 26 commits to main since this release
9c2c6e3

Added automatic repair of incomplete settings during plugin updates to prevent "Missing Tier" warnings while preserving user customizations.

Problem:

  • Plugin updates were not checking if settings were complete
  • Users who had customized settings would see "Missing Tier I/II/Ambassador" warnings
  • Settings were sometimes lost or corrupted during updates

Solution:

  • Created cas_repair_incomplete_settings() function that:
    • Performs deep merge of current settings with defaults
    • Preserves all existing custom values
    • Fills in only missing fields
  • Updated activate() to call repair function on every update
  • Existing customizations are now preserved while gaps are filled

This ensures settings are always complete without losing user preferences.