# SpartanUI

## [879d660](https://github.com/Wutname1/SpartanUI/tree/879d660bff6a279d4a4819adb796b8bcf0a9d339) (2026-01-20)
[Full Changelog](https://github.com/Wutname1/SpartanUI/commits/879d660bff6a279d4a4819adb796b8bcf0a9d339) [Previous Releases](https://github.com/Wutname1/SpartanUI/releases)

- Consolidate API usage based on 1.15.2+ unification  
    As of WoW Patch 1.15.2 (Dec 2024), many Blizzard APIs were unified  
    across all versions. This update removes unnecessary wrapper code and  
    updates all addon modules to use the modern C\_* APIs directly.  
    Changes:  
    - Updated BlizzAPI.lua to remove wrappers for unified APIs  
      - Removed: C\_Item, C\_Spell, C\_Container wrappers (now unified)  
      - Kept: GetMerchantItemInfo wrapper (still has version differences)  
      - Simplified: HasEditMode to basic helper with usage note  
      - Removed: Retail-only wrappers (should be checked in place)  
    - Updated AutoSell module (AutoSell.lua, BagMarking.lua, Options.lua):  
      - Changed from old GetContainerItemInfo pattern to C\_Container API  
      - Removed version-specific branching (SUI.IsRetail checks)  
      - Simplified bag scanning loops to use unified API  
    - Updated StatsTracker module:  
      - Removed fallback logic for C\_Container APIs  
      - Now uses C\_Container directly (available everywhere)  
    - Updated UnitFrames module (AuraWatch.lua, AuraBars.lua, Options.lua):  
      - Simplified GetSpellInfoCompat helper to use C\_Spell directly  
      - Removed old GetSpellInfo fallback code  
    - Added API-Consolidation-Questions.md for reference  
    All changes based on verified API compatibility across:  
    - Retail 12.0.0  
    - Vanilla Classic 1.15.8  
    - TBC Classic 2.5.5  
    - MoP Classic 5.5.3  
