Quantcast
WoWInterface - View Single Post - oUF 9.0 Upgrade Guide
View Single Post
01-03-19, 03:35 AM   #1
lightspark
A Rage Talon Dragon Guard
 
lightspark's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2012
Posts: 328
oUF 9.0 Upgrade Guide

Upgrade Guide

It's highly recommended to upgrade to 9.x, especially if you're using oUF for your raid frames. This is due to a bug in RegisterUnitEvents introduced in 8.1.

Breaking changes:
  • Events:
    • Unitless events have to be explicitly marked as such when calling oUF's RegisterEvent;
    • The event handler is now obligatory and must be a function.
  • Nameplates:
    • Nameplate callback's first argument may now be nil.

Non-breaking Changes:
  • Health:
    • Added SetFrequentUpdates method to toggle frequent updates after the element has been created.
      lua Code:
      1. Health:SetFrequentUpdates(true) -- enables frequent updates
      2. Health:SetFrequentUpdates(false) -- disables frequent updates
  • Power:
    • Added SetFrequentUpdates method to toggle frequent updates after the element has been created.
      lua Code:
      1. Power:SetFrequentUpdates(true) -- enables frequent updates
      2. Power:SetFrequentUpdates(false) -- disables frequent updates
  • SummonIndicator:
    • Added the element.

For the full changelog since the last major release, please see the commit log.
__________________