File Details
DeathNotificationLib V7
- R
- Feb 26, 2026
- 5.77 MB
- 6
- 2.5.5+1
- Classic + 1
File Name
DeathNotificationLib.zip
Supported Versions
- 2.5.5
- 1.15.8
V7 — 2026-02-26
Unified Version Notification
- Extracted a shared
_dnl.notifyNewerVersion(tag, remote_ver)function in~VersionCheck.luathat owns all version-upgrade logic: updatingnewest_detected_version, printing the chat warning (once per addon per session), and firingHookOnNewerVersioncallbacks ~VersionCheck.luahandlers (handleVersionAnnounce,handleNewerNotify) now delegate tonotifyNewerVersioninstead of duplicating the print/hook logic inline~Sync.lua_checkAddonVersionHintnow delegates tonotifyNewerVersionafter its 3-peer quorum is met, removing its own duplicatewarnedtable,newest_detected_versionupdate,print, and hook-firing code- Both modules share the same
warned_versionstable (keyed by tag), so a notification from any source (social-channel V$/N$ or sync-watermark quorum) permanently suppresses further warnings for that addon until/reload - Swapped load order in
DeathNotificationLib.xml:~VersionCheck.luanow loads before~Sync.luaso the shared function is available when Sync initialises
Bug Fix: Multiple Version Warnings Per Session
- Previously, each distinct newer version string produced a separate chat warning (e.g. v2.0 then v3.0 would print twice); now only one warning per addon per session is shown
newest_detected_versioncontinues to be silently updated if an even newer version is seen later

