WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   oUF (Otravi Unit Frames) (https://www.wowinterface.com/forums/forumdisplay.php?f=87)
-   -   oUF 9.0 Upgrade Guide (https://www.wowinterface.com/forums/showthread.php?t=56943)

lightspark 01-03-19 03:35 AM

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.


All times are GMT -6. The time now is 05:25 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI