WoW:API change summaries: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(6.0.2 is a new expansion patch.)
m (Move page script moved page API change summaries to API change summaries without leaving a redirect)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
This page lists summaries of changes to the [[World of Warcraft API|WoW API]] (including the [[Widget API]] and [[Lua functions]]).
{{wowapi}}
{{apichanges}}
This page lists archived summaries of changes to the [[World of Warcraft API|WoW API]] (including the [[Widget API]] and [[Lua functions]]) as seen on forums and other places.  


For changes to [[FrameXML]], see http://wdn.wowinterface.com, it has a full repository of all FrameXML versions, including on-line diff engines and the works.
== Version 2.3 (20300) ==
{| class="darktable"
{| class="darktable"
! Major Patch !! API Changes
|-
|-
| colspan="2" class="title" | Warlords of Draenor
!!!API!!Change Description
|-
|-
! [[Patch 6.0.2]]
| class="title" colspan="3"|Macro Commands
| [[Patch 6.0.2/API changes|6.0.2]]
|-
|-
| colspan="2" class="title" | Mists of Pandaria
|[[Image:Icon-cogadd-16x16.png|New]]||/petautocasttoggle <slot or name>||Changes autocast status of a pet ability .
|-
|-
! [[Patch 5.4.1]]
|[[Image:Icon-cogadd-16x16.png|New]]||/targetlastenemy||Targets last enemy
| [[Patch 5.4.1/API changes|5.4.1]]
|-
|-
! [[Patch 5.4.0]]
|[[Image:Icon-cogadd-16x16.png|New]]||/targetlastefriend||Targets last enemy
| [[Patch 5.4.0/API changes|5.4.0]]
|-
|-
! [[Patch 5.2.0]]
|[[Image:Icon-cogedit-16x16.png|Updated]]||/cancelform||Recognized instantly
| [[Patch 5.2.0/API changes|5.2.0]]
|-
|-
| colspan="2" class="title" | Cataclysm
|[[Image:Icon-cogedit-16x16.png|Updated]]||conditional abbreviations|| modifier -> mod, button-> btn, actionbar -> bar, equipped -> worn, stance -> form.
|-
|-
! [[Patch 5.0.4]]
| class="title" colspan="3"|Frame methods
| [[Patch 5.0.4/API changes|5.0.4]]
|-
|-
! [[Patch 4.0]]
|[[Image:Icon-cogedit-16x16.png|Changed]]||[[API_ScrollFrame_UpdateScrollChildRect|UpdateScrollChildRect]]||Automatically called when a child frame, texture or fontstring changes.
| [[Patch 4.0.1/API changes|4.0.1]]
|-
|-
| colspan="2" class="title" | Wrath of the Lich King
|[[Image:Icon-cogadd-16x16.png|New]]||[[API_Frame_IsEventRegistered|Frame:IsEventRegistered]]||Determines if a frame is registered for a specific event.
|-
|-
! [[Patch 3.3]]
|[[Image:Icon-cogadd-16x16.png|New]]||[[API_FontString_SetFormattedText|FontString:SetFormattedText]]||Reduces garbage generated by format calls.
| [[Patch 3.3.0/API changes|3.3.0]] &middot; [[Patch 3.3.3/API changes|3.3.3]] &middot; [[Patch 3.3.5/API changes|3.3.5]]
|-
|-
! [[Patch 3.2]]
|[[Image:Icon-cogadd-16x16.png|New]]||[[API_Button_SetFormattedText|Button:SetFormattedText]]||Reduces garbage generated by format calls.
| [[Patch 3.2.0/API changes|3.2.0]]
|-
|-
! [[Patch 3.1]]
|[[Image:Icon-cogadd-16x16.png|New]]||[[API_FontString_GetHeight|FontString:GetHeight]]||Returns a font string's height.
| [[Patch 3.1.0/API changes|3.1.0]]
|-
|-
! [[Patch 3.0]]
|[[Image:Icon-cogedit-16x16.png|Updated]]||[[API_FontString_GetWidth|FontString:GetWidth]]||Now takes an optional argument explicit, which, if provided and true, returns 0 if the width has not been explicitly set rather than returning the effective width. Defaults to false.
| [[Patch 3.0.2/API changes|3.0.2]] &middot; [[Patch 3.0.3/API changes|3.0.3]] &middot; [[Patch 3.0.8/API changes|3.0.8]]
|-
|-
| colspan="2" class="title" | Burning Crusade
|[[Image:Icon-cogedit-16x16.png|Updated]]||[[API_FontString_GetHeight|FontString:GetWidth]]||Now takes an optional argument explicit, which, if provided and true, returns 0 if the width has not been explicitly set rather than returning the effective height. Defaults to false.
|-
|-
! [[Patch 2.4]]
|[[Image:Icon-cogadd-16x16.png|New]]||EditBox:SetCursorPosition(position)||Allows setting cursor position.
| [[Patch 2.4.0/API changes|2.4.0]] &middot; [[Patch 2.4.2/API changes|2.4.2]]
|-
|-
! [[Patch 2.3]]
|[[Image:Icon-cogadd-16x16.png|New]]||EditBox:GetCursorPosition()||Returns cursor position.
| [[Patch 2.3.0/API changes|2.3.0]]
|-
|-
! [[Patch 2.2]]
|[[Image:Icon-coggo-16x16.png|Renamed]]||GameTooltip:SetTrackingSpell()||GameTooltip:SetTracking()
| [[Patch 2.2.0/API changes|2.2.0]]
|-
|-
! [[Patch 2.1]]
| class="title" colspan="3"|Frame Support
| [[Patch 2.1.0/API changes|2.1.0]]
|-
|-
! [[Patch 2.0]]
|[[Image:Icon-cogadd-16x16.png|New]]||[[API_GetFramesRegisteredForEvent|GetFramesRegisteredForEvent]]||Returns a list of frames registered for a specific event.
| [[Patch 2.0.1/API changes|2.0.1]]
|-
|-
| colspan="2" class="title" | World of Warcraft
| class="title" colspan="3"|API
|-
|-
! [[Patch 1.12]]
|[[Image:Icon-cogadd-16x16.png|New]]||[[API_ PickupItem| PickupItem]]||Picks up a specific item (by id or item string) from anywhere in your bags.
| [[Patch 1.12.0/API Changes|1.12.0]] (summary) &middot; [[1.12.0 API changes (Iriel)|1.12.0]] (API) &middot; [[1.12.0 Global API changes at release (Mikk)|1.12.0]] (global)
|-
|-
! [[Patch 1.11]]
|[[Image:Icon-cogedit-16x16.png|Updated]]||[[API_GetItemCount|GetItemCount]]||New includeUses flag that returns the same value that GetActionCount() would for that item
| [[Patch 1.11.0/API changes|1.11.0]] (summary) &middot; [[1.11.0 API changes (Iriel)|1.11.0]] (API) &middot; [[1.11.0 misc changes (Various)|1.11.0]] (observed)
|-
|-
! [[Patch 1.10]]
|[[Image:Icon-cogadd-16x16.png|New]]||[[API_GetSpellCount|GetSpellCount]]||Given a spell ID/name, returns the same value that GetActionCount() would return for that spell
| [[Patch 1.10.0/API changes|1.10.0]] (summary) &middot; [[1.10.0 API changes (Iriel)|1.10.0]] (API) &middot; [[1.10.1 changes (Iriel)|1.10.1]] &middot; [[1.10.2 changes (Iriel)|1.10.2]]
|}
|}
== External links ==
{{elink|site=GitHub|link=http://github.com/tekkub/wow-ui-source/tree/master|desc=FrameXML history stored in a git repository}}
{{elink|site=Google Code|link=http://wowdiff.googlecode.com|desc=FrameXML history stored in an svn repository}}
{{elink|site=wow.go-hero.net|link=http://wow.go-hero.net/framexml/builds|desc=Available FrameXML Builds|bydate=(.lua, .toc, and .xml viewer)}}
[[Category:World of Warcraft API/Changes| API change summaries]]

Latest revision as of 04:45, 15 August 2023

WoW API < change summaries

This page lists archived summaries of changes to the WoW API (including the Widget API and Lua functions) as seen on forums and other places.

For changes to FrameXML, see http://wdn.wowinterface.com, it has a full repository of all FrameXML versions, including on-line diff engines and the works.

Version 2.3 (20300)[edit]

API Change Description
Macro Commands
New /petautocasttoggle <slot or name> Changes autocast status of a pet ability .
New /targetlastenemy Targets last enemy
New /targetlastefriend Targets last enemy
Updated /cancelform Recognized instantly
Updated conditional abbreviations modifier -> mod, button-> btn, actionbar -> bar, equipped -> worn, stance -> form.
Frame methods
Changed UpdateScrollChildRect Automatically called when a child frame, texture or fontstring changes.
New Frame:IsEventRegistered Determines if a frame is registered for a specific event.
New FontString:SetFormattedText Reduces garbage generated by format calls.
New Button:SetFormattedText Reduces garbage generated by format calls.
New FontString:GetHeight Returns a font string's height.
Updated FontString:GetWidth Now takes an optional argument explicit, which, if provided and true, returns 0 if the width has not been explicitly set rather than returning the effective width. Defaults to false.
Updated FontString:GetWidth Now takes an optional argument explicit, which, if provided and true, returns 0 if the width has not been explicitly set rather than returning the effective height. Defaults to false.
New EditBox:SetCursorPosition(position) Allows setting cursor position.
New EditBox:GetCursorPosition() Returns cursor position.
Renamed GameTooltip:SetTrackingSpell() GameTooltip:SetTracking()
Frame Support
New GetFramesRegisteredForEvent Returns a list of frames registered for a specific event.
API
New PickupItem Picks up a specific item (by id or item string) from anywhere in your bags.
Updated GetItemCount New includeUses flag that returns the same value that GetActionCount() would for that item
New GetSpellCount Given a spell ID/name, returns the same value that GetActionCount() would return for that spell