WoW:API change summaries: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page API change summaries to API change summaries without leaving a redirect)
 
(14 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<small>[[Interface Customization]] &raquo; [[World of Warcraft API|WoW API]] &raquo; {{PAGENAME}}</small>{{tocright}}
{{wowapi}}
 
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.  
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.
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.4 (20400) ==
* [[Patch 2.4.0/Consolidated API changes|2.4.0 consolidated API changes (collected by Iriel)]]


== Version 2.3 (20300) ==
== Version 2.3 (20300) ==
* [[2.3.0 consolidated API changes|2.3.0 consolidated API changes (collected by Iriel)]]
{| class="darktable"
 
|-
== Version 2.2 (20200) ==
!!!API!!Change Description
* [[2.2.0 consolidated API changes]]
|-
 
| class="title" colspan="3"|Macro Commands
== Version 2.1 (20100) ==
|-
* [[2.1.0 consolidated changes|2.1.0 consolidated changes (Iriel)]]
|[[Image:Icon-cogadd-16x16.png|New]]||/petautocasttoggle <slot or name>||Changes autocast status of a pet ability .
* [[2.1.0 Global API changes at release (Mikk)]]
|-
 
|[[Image:Icon-cogadd-16x16.png|New]]||/targetlastenemy||Targets last enemy
== Version 2.00 (20000) ==
|-
 
|[[Image:Icon-cogadd-16x16.png|New]]||/targetlastefriend||Targets last enemy
* [[2.0 consolidated changes|2.0 consolidated changes (Iriel)]]
|-
* [[2.0 misc changes in Beta (JIM the Inventor)]]
|[[Image:Icon-cogedit-16x16.png|Updated]]||/cancelform||Recognized instantly
 
|-
== Version 1.12 (11200) ==
|[[Image:Icon-cogedit-16x16.png|Updated]]||conditional abbreviations|| modifier -> mod, button-> btn, actionbar -> bar, equipped -> worn, stance -> form.
 
|-
* [[1.12.0 consolidated changes (Iriel)]]
| class="title" colspan="3"|Frame methods
 
|-
* [[1.12.0 API changes (Iriel)]]
|[[Image:Icon-cogedit-16x16.png|Changed]]||[[API_ScrollFrame_UpdateScrollChildRect|UpdateScrollChildRect]]||Automatically called when a child frame, texture or fontstring changes.
 
|-
* [[1.12.0 Global API changes at release (Mikk)]]
|[[Image:Icon-cogadd-16x16.png|New]]||[[API_Frame_IsEventRegistered|Frame:IsEventRegistered]]||Determines if a frame is registered for a specific event.
 
|-
== Version 1.11 (11100) ==
|[[Image:Icon-cogadd-16x16.png|New]]||[[API_FontString_SetFormattedText|FontString:SetFormattedText]]||Reduces garbage generated by format calls.
 
|-
* [[1.11.0 consolidated changes (Iriel)]]
|[[Image:Icon-cogadd-16x16.png|New]]||[[API_Button_SetFormattedText|Button:SetFormattedText]]||Reduces garbage generated by format calls.
 
|-
* [[1.11.0 API changes (Iriel)]]
|[[Image:Icon-cogadd-16x16.png|New]]||[[API_FontString_GetHeight|FontString:GetHeight]]||Returns a font string's height.
 
|-
* [[1.11.0 misc changes (Various)]]
|[[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.
 
|-
 
|[[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.
== Version 1.10 (11000) ==
|-
 
|[[Image:Icon-cogadd-16x16.png|New]]||EditBox:SetCursorPosition(position)||Allows setting cursor position.
* [[1.10.2 changes (Iriel)]]
|-
 
|[[Image:Icon-cogadd-16x16.png|New]]||EditBox:GetCursorPosition()||Returns cursor position.
* [[1.10.1 changes (Iriel)]]
|-
{{spc}}
|[[Image:Icon-coggo-16x16.png|Renamed]]||GameTooltip:SetTrackingSpell()||GameTooltip:SetTracking()
* [[1.10.0 consolidated changes (Iriel)]]
|-
 
| class="title" colspan="3"|Frame Support
* [[1.10.0 API changes (Iriel)]]
|-
 
|[[Image:Icon-cogadd-16x16.png|New]]||[[API_GetFramesRegisteredForEvent|GetFramesRegisteredForEvent]]||Returns a list of frames registered for a specific event.
[[Category:World of Warcraft API| {{PAGENAME}}]]
|-
[[Category:World of Warcraft API/Changes| {{PAGENAME}}]]
| class="title" colspan="3"|API
|-
|[[Image:Icon-cogadd-16x16.png|New]]||[[API_ PickupItem| PickupItem]]||Picks up a specific item (by id or item string) from anywhere in your bags.
|-
|[[Image:Icon-cogedit-16x16.png|Updated]]||[[API_GetItemCount|GetItemCount]]||New includeUses flag that returns the same value that GetActionCount() would for that item
|-
|[[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
|}

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