Quote Originally Posted by ZorbaTHut View Post
Every once in a while, we need to go back to a feature or an interface and change it. Usually we can do this without breaking anyone's code. Sometimes we don't have a choice, and things will break. When we can, we'll be giving you ample warning about upcoming breaking changes. This top post will list all of those upcoming issues. Please keep these items in mind! If you use a function that's already slated for removal, and then it's removed, your addon will stop working. Discussion should go in the Discussion Thread. 1.10 BREAKING CHANGES: We've finally finished rigging up the deprecation system! All of the deprecation items we've been building up will be moved into Compatibility Mode for 1.10. Compatibility Mode is a checkbox that must be enabled by the player. This is a last warning before your addon breaks entirely - it will work through 1.10, with some player interaction required, but the last compatibility vestiges will be removed shortly after the release of Storm Legion. Note that "1.10 mode" can be enabled on live servers by running Command.System.Strict() inside the addon environment. If you want to prepare your addon for 1.10, you can do so today! This is a complete list of all breaking changes, as well as how you can replace that functionality: print_raw() - See Command.Console.Display() - some code changes may be necessary. Inspect.Ability.List() Inspect.Ability.Detail() - Use Inspect.Ability.New.*() instead. Inspect.Achievement.Detail().faction - Use Inspect.Achievement.Detail().alliance instead. Inspect.Buff.Detail().ability Inspect.Castbar().ability - Use Inspect.*().abilityNew instead. Inspect.Item.Detail().requiredFactionName Inspect.Unit.Detail().factionName - Use Inspect.Faction.Detail(Inspect.Item.Detail().requi redFaction / Inspect.Unit.Detail().faction).name instead. Inspect.Unit.Detail().titlePrefix/titleSuffix - For 1.9, use Inspect.Unit.Detail().titlePrefixName/titleSuffixName instead. For 1.10, use Inspect.Title.Detail(Inspect.Unit.Detail().titlePr efixId/titleSuffixId).name. Event.Ability.Add Event.Ability.Remove Event.Ability.Cooldown.Begin Event.Ability.Cooldown.End Event.Ability.Target Event.Ability.Range.True Event.Ability.Range.False Event.Ability.Usable.True Event.Ability.Usable.False - Use Event.Ability.New.* instead. Event.Unit.Available Event.Unit.Unavailable - See Event.Unit.Availability.* - some code changes may be necessary. Event.Unit.Detail.TitlePrefix Event.Unit.Detail.TitleSuffix - For 1.9, use Event.Unit.Detail.TitlePrefixName/TitleSuffixName instead. For 1.10, use Event.Unit.Detail.TitlePrefixId/TitleSuffixId, then use Inspect.Title.Detail() to look up the localized name. RiftButton/RiftCheckbox/RiftSlider/RiftTextfield/RiftWindow:GetDefaultWidth()/GetDefaultHeight() - Frames now initialize themselves with their default sizes automatically. RiftButton/RiftCheckbox/RiftSlider/RiftTextfield/RiftWindow:ResizeToDefault() - Clearing a frame's explicitly-set size will now return it to default.
Jump to post...