
StaleCheck-1.0
Easily add to your addon the ability to detect and warn users about new versions being released.
Addon Details
Expansion
Categories
Developers
Having issues?

StaleCheck is a library that helps users keep your addons up to date. It handles both detecting when a new version of your addon is available and letting users know of it in an unobtrusive way. It is listed here on CurseForge for discovery only, in GitHub you will find the latest versions.
Usage
You can simply call the library to check for updates (after saved variables have been loaded):
Lib:CheckForUpdates("MyAddon", My_Saved_Vars)
The library will store all the information it needs under My_Saved_Vars.latest. You can also embed the library or specify an icon to be shown in dialog popups.
MyAddon:Embed(Lib)
MyAddon:CheckForUpdates("MyAddon", My_Saved_Vars, "Interface/Addons/MyAddon/myIcon")
Popups
Creating popups through the blizzard API causes taint. Thus, the library will only show a popup message if Sushi-3.1 is loaded. Otherwise, a chat message will be printed instead.
Reminder!
If you use this library, please list it as one of your dependencies in the CurseForge admin system. It's a big help!
More addons for The Burning Crusade
Discover other addons that might interest you
SimpleCalc
SimpleCalc is a slash-utility calculator with variable support. Type /calc for help!
HandyNotes
Handy notes for your maps
Zygor Guides
Multi-purpose leveling guide and talents viewer.
Wishlist
Keeps a list of all items you want and shows how much you need.
BankItems
View bank, inventory, mail, equipped and guild bank contents from any character anywhere!
AlarArtRemover
Customize your UI a bit by removing the default action bar griffins and art.
Luggage
A chest made of sapient pearwood that sorts your inventory for you
MonkeyBuddy
Allows you to easily configure your MonkeyQuest with a nice config window.







