Sentinel-1.7.0
What's new
Changelog
All notable changes to Sentinel are documented here. This project follows Semantic Versioning and the spirit of Keep a Changelog.
[1.7.0] - 2026-11-22
Added
- Every texture ships with the addon. The window border, buttons, close button,
search box, scrollbar and highlights are drawn from copies in
Media\Game, so a client patch that renames or drops game art can no longer blank the window. - Culprit addon. Each error names the addon most likely at fault, taken from the message path, a taint notice, a blocked action or the first addon frame in the stack. It leads the list row, the row tooltip, the detail pane and copied text.
- Session browser. The Previous session tab steps through every older session that has errors, skipping clean logins.
- Search reads the stack. Searching for an addon name also finds errors that only mention it in the trace.
- Clearer stack and locals. Addon frames show their folder in gold while game and engine frames are dimmed. Nested locals keep their indentation, and widgets, secret values and engine temporaries each get their own colour.
- Retail and Forever only. The TOC lists Interface 120105 (Retail) and 16001 (Forever). The Classic Era, Anniversary and Mists Classic numbers are dropped, so those clients mark Sentinel out of date.
Fixed
- Wrong trace when the client reports no error height. The fallback pointed into Sentinel's own capture code, so those errors stored Sentinel's stack and locals instead of the failing addon's. The fault frame is now measured from the handler's entry. Older captures affected by this hide the leftover frames and locals.
- Search typed ahead of itself. Every keystroke queued its own full rebuild because the debounce timer could never be cancelled.
- Memory that was never released. Stack and locals are capped at 8000 bytes per row, including rows saved before this version. The search cache empties when a search ends or the window closes, and the export box drops its text when closed.
- Version tag contrast. The version next to the title was nearly invisible on the dark fill.
[1.6.0] - 2026-10-25
Fixed
- Received reports no longer pose as your own errors. Reports sent to you by other players stay in the Received tab. They no longer inflate This session, the minimap badge or a session you send, and a local error that matches a received message now gets its own row instead of being folded into the peer's.
- The detail pane keeps its place. A repeat of the error you are reading used to snap the scroll back to the top. It now only jumps to the top when you pick a different error.
- Large sessions arrive. Sends over the receiver's 64KB limit were dropped whole. Sessions now go out in size-limited messages, long text is clipped to the same limits the receiver enforces, and an oversized session sends its newest 50 errors instead of its oldest.
- Rate limit matches the protocol. A full 50 error message used to hit the 30 per minute receive cap. The window now allows 120, and the "received" count only counts reports that were actually stored or merged.
- Square minimaps. The button orbit now follows the minimap shape reported by minimap addons, which load after Sentinel and were never seen before.
- Session send prompt showed the session id where it meant the error count.
- Double announcement at login. An error already announced while addons loaded was announced a second time on PLAYER_LOGIN.
- Chat link to a received report opens on the Received tab and scrolls the list to it.
Changed
- Virtualized error list. Only the rows in view exist as frames, and a row reformats only when its error or repeat count changes. A full 1000 error store draws as fast as a handful, and selecting a row no longer rebuilds the list.
- Export is capped at about 200,000 characters, keeping the newest errors in reading order and saying so in chat. A multi-megabyte string froze the text box.
- A peer flooding reports cannot push out your errors. At the 1000 error cap the oldest received report is dropped before any local error.
- Cleaner store on load. Rows that are not tables or have no string message are dropped every load, not just once.
- Per-sender receive state is pruned, so one-off senders do not leave entries behind.
- Interface bumped to 12.1.5 (120105).
Added
- Headless tests and a check script.
scripts/check.ps1runs the syntax pass, luacheck and tests for capture, the database, sharing and the main window.
[1.5.8] - 2026-08-25
Fixed
- Capture can no longer wedge itself. The store and dedupe step now runs inside a protected call, so a fault in Sentinel's own capture path clears the re-entrancy guard instead of leaving it stuck and silently dropping every later error until a reload.
Changed
- Cleaner locals. The locals dump now skips functions and userdata, matching the game's own error handler, so traces stay short and readable.
- Native non-printable escaping. Sentinel now uses the client's
C_StringUtil.EscapeDecimalNonPrintableswhen it is present, which also repairs invalid UTF-8 bytes, and keeps the Lua version as a fallback. - UTF-8-safe trimming. List rows and received wire strings trim on a character boundary, so a cut message never leaves a broken glyph before the ellipsis.
- Repeat counter is capped at 99999 so a long-lived spammy error cannot grow it without bound.
- Interface bumped to 12.1.0 (120100).
Added
- Detail font size. A new setting picks the stack and locals font size in the detail pane, from Small to X-Large, so the trace is comfortable to read at any UI scale.
- Hide on combat toggle. A new setting hides the window when you enter combat and restores it afterward. Either way, Escape and the close button now reliably close the window during combat rather than leaving it stuck until combat ends.
Notes
- Sentinel is now released under an All Rights Reserved license. Bundled libraries
under
Libs/keep their own licenses.
[1.5.6] - 2026-07-17
Added
- Combat hide/restore: if the error window (or export dialog) is open when you
enter combat, Sentinel hides it and reopens after combat. Auto-open during combat
also queues for regen, and
/senremains available mid-fight if you need it. Also resyncs onPLAYER_DEAD/PLAYER_ENTERING_WORLDwhen regen can miss. - Send session button, dedicated control to whisper every error from this session (Shift-click Send remains as a shortcut).
- Chat hyperlinks, new-error chat announcements include a clickable
|Haddon:sentinel:<id>|hlink that opens Sentinel on that error. Uses a stable numericerr.id(survives/reload). - GameEvent unregister, when
GameEvent.UnregisterInternalEventexists (12.1+), also detachADDON_ACTION_*/MACRO_ACTION_*from GameEvent so Blizzard’s blocked-action popups stay suppressed.
Changed
- Secret-value prune (Resources 12.0.7 / docs-driven rules):
- Keep guards on
seterrorhandlermessages and stack/locals (Blizzard ScriptErrors confirms these can be Secret). - Drop over-guards on
LUA_WARNING(untagged plain cstring) and AceComm receive / AceSerializer payloads (wire data is never Secret). - Capture stores
<secret stack>/<secret locals>placeholders instead of opaque values in SavedVariables.
- Keep guards on
- Conventions note updated to match the keep/prune table.
- Chat announcement setting text notes the clickable link.
- Session-send UX no longer relies on Shift as the only discoverable path.
- Comment hygiene, Lua comments describe Blizzard quirks and Sentinel intent, with no third-party addon name-drops.
- End-of-frame UI refresh coalesce, error storms rebuild the open list once per frame instead of once per capture.
- List row pool resetter, clears
errorObjecton release so recycled rows don’t retain stale refs. - Bounded taint offender map, wipe after 64 unique names so long sessions can’t grow forever.
- Instance-combat tooltips, row, action, and minimap tooltips no-op in party/raid/PvP combat.
- Bottom bar layout, widened the window and tightened button widths so Send session and TaintLog no longer overlap.
[1.5.5] - 2026-06-16
Added
- Wipe confirmation dialog before Clear, settings Wipe, Alt-click minimap wipe,
and
/sen clear, prevents accidental total data loss. - Comm protocol v1 (
{ v = 1, errors = {...} }) with legacy bare-array receive support and a localized notice for unknown versions. - Per-sender receive rate cap (30 new stored reports per 60s) to limit SavedVariables growth from whisper spam.
- Taint log button in the Blizzard settings panel (retail clients with the
taintLogCVar). ns.NotSecrethelper alongsidens.IsSecret/ns.CanAccess.- Full locale overrides for all UI strings (settings, slash help, tooltips, taint log) across deDE, esES/esMX, frFR, koKR, ruRU, zhCN, zhTW, ptBR, itIT.
Fixed
- False login alerts when only deduped load-screen errors were present (alerts
now require a genuinely new capture via
hadNewErrorThisLoad). - Secret guards on comm receive path (
clip, dedupe compare) before any string operations on deserialized data.
Changed
- Search box refresh is debounced (150ms) to reduce list rebuild churn while typing.
DB.GetBySession/DB.GetReceivedreuse scratch tables, and the main window list building avoids throwaway{}on every refresh.- Localized hardcoded English prints (missing-library comm fallback,
/sen test).
[1.5.4] - 2026-06-16
Fixed
- Minimap button orbit now uses LibDBIcon-style positioning (minimap shape quads, half-width + 5px radius, 18×18 retail icon) so the tracking ring sits on the outside edge instead of overlapping the minimap border. Repositions when the minimap is resized (Edit Mode).
Changed
- Minimap button uses file IDs for ring/background art and
SetFixedFrameStratawhere supported, matching current retail minimap button conventions.
[1.5.3] - 2026-06-16
Added
- Stack/locals refresh on recurring errors idle for more than two minutes, so long-running intermittent bugs keep an up-to-date trace.
- Session-wide send: Shift+click Send (or the session send dialog) whispers every error from the current session to another Sentinel user, up to 50 per message. Receive cap raised to match.
- DB sanitation on load strips corrupt rows where
messagewas stored as a table, tracked by a one-timelastSanitationflag so it only runs once. - Locale overrides for deDE, esES/esMX, frFR, koKR, ruRU, zhCN, zhTW, ptBR,
and itIT (
Core/LocaleOverrides.lua).
[1.5.2] - 2026-06-16
Added
- TaintLog button on the error window footer (between Send and Delete). Left-click
cycles Blizzard's
taintLogCVar (0-4), and the label shows the current level (TaintLog: OfforTaintLog: 1...TaintLog: 4). Debug output is written totaint.login your World of Warcraft folder. Also available via/sen taintlogand shown in/sen status. Hidden on clients without the CVar (Classic flavors).
[1.5.1] - 2026-06-16
Fixed
- 12.0.7 / Midnight hardening: error capture now checks
issecretvalue()before callingtostring()on the fault message (which can throw on a Secret), andLUA_WARNINGtext is guarded with bothissecretvalueandcanaccessvaluebefore any string concatenation. !BugGrabberis now included in the legacy grabber disable list, matching the README and ensuring a clean handoff ofseterrorhandlerownership.- Automatic flood-protection pause (
too many errors per second) is now visible in/sen statusand the minimap/broker tooltip, distinct from the manual pause toggle.
Changed
- TOC now declares both
120007(12.0.7) and120005(12.0.5) interface numbers. - Added
ns.IsSecret,ns.CanAccess,canaccessvaluecaching, and runtimeIS_MIDNIGHT/IS_12_0_7flags for patch-aware code paths. - Public API:
Sentinel.GetVersion()andSentinel.IsFloodPaused().
1.5.0 - 2026-06-13
Added
- Selected-error deletion. A new
Deletebutton removes only the currently selected report, leaving the rest of your history intact, andClearremains the full wipe action. - Manual capture pause/resume. Use the new "Pause error capture" setting,
/sen pause, or/sen resumewhen a known bad addon is spamming and you want Sentinel to stop recording new errors temporarily. The minimap/broker tooltip now shows when capture is paused. /sen soundtoggles the new-error sound on/off on the fly, mirroring the existing "Play a sound on new errors" setting without opening the panel./sen chattoggles new-error chat announcements the same way, and/sen statusprints the current capture, sound, chat, blocked-action, and stored-error state at a glance./sen helpnow lists every slash command so users can discoverconfig,clear,pause,resume,sound,chat,status,test, andbuildwithout reading the README.
Security
- Hardened inbound error sharing against abuse. Reports received from other players are now fully untrusted: the serialized payload is size-capped before decoding, at most a handful of errors are accepted per message, the message, stack, and locals fields are length-capped, repeats from the same sender are deduped into a single entry, and the "received from" chat line is throttled. Together these stop a malicious or buggy peer from flooding your chat or bloating your SavedVariables. Received entries are also rebuilt from known fields only and stamped with your own clock rather than the sender's.
Fixed
- The new-error sound (and chat announcement / auto-open) now fires only for genuinely new, unique errors, matching the setting's own description. Previously the alert pipeline ran for every captured error, including repeats, so a single recurring error from another addon would replay the sound and re-print "A new error was caught" every few seconds, and could re-open a window you had just closed. Repeats still refresh the window and minimap count, they just no longer re-alert.
1.4.0 - 2026-06-12
Added
- Setting to ignore blocked-action (taint) errors. A new "Capture blocked-action
errors" toggle (on by default) lets you opt out of
ADDON_ACTION_FORBIDDEN/ADDON_ACTION_BLOCKEDand the macro equivalents. When off, these are ignored at capture time, no list entry, no sound/chat alert, no auto-open, so unfixable taint noise from other addons stays out of your way.
Fixed
- Fixed Copy/Export showing an empty box for some errors. When the captured stack
or locals contained WoW escape sequences, most often the Battle.net name token
(
|K...|k) seen in friends-list errors, or inline textures (|T...|t), they were fed raw into the read-only EditBox, which renders blank on an escape it can't resolve. Copy/Export now neutralises those sequences (matching the pipe escaping the detail pane already used), so every error copies reliably. - Restored non-printable character escaping. It was wired to
C_StringUtil.EscapeDecimalNonPrintables, which does not exist on the live client, so the guard silently did nothing. Control bytes in an error message, stack, or locals dump are now escaped in Lua (preserving tabs, newlines, and UTF-8 text), so a stray control character can't corrupt the display or truncate the text.
1.3.0 - 2026-06-10
Added
- LibDataBroker-1.1 "data source" launcher. Sentinel now exposes an LDB object so broker display addons (Titan Panel, ChocolateBar, Bazooka, etc.) can surface the live error count, tooltip, and left/right/shift/alt click actions on a panel instead of the minimap ring, useful when the minimap is already crowded. The data source always registers and stays in sync even when the minimap button is hidden, and the library degrades gracefully if it ever fails to load.
- Hover tooltips on every tab and action button. Each tab (All bugs, This session, Previous session, Received) and each button (Copy, Export, Send, Clear, Reload UI) now explains what it does on hover, making the difference between Copy (just the selected error) and Export (every error in the current tab) obvious at a glance.
Fixed
- Copy/Export now produces genuinely plain text. Captured data such as Blizzard
POI/map field dumps embeds WoW colour escapes, which previously leaked into the
export box, rendering as colour on screen and pasting into Discord/pastebin as
raw colour-code garbage. Both the classic hex (
|cAARRGGBB...|r) and the named (|cnCOLOR_NAME:...|r) colour forms are now stripped, so shared reports are clean. The colored detail pane is unaffected.
1.2.0 - 2026-06-09
Added
- Added
/sen wowbuild(also available as/sen build) to print the current WoW client version, build number, build date, and numeric interface/TOC version for quick bug-report context.
Changed
- The selected tab is now clearly highlighted. Previously the active and resting
tabs used nearly identical teal vertex tints, so the current view was almost
impossible to tell apart. Each tab now draws Blizzard's
auctionhouse-nav-button-secondary-selectatlas, purpose-built for rectangular nav buttons, as a cyan highlight that shows only on the active tab and follows tab/search selection automatically. - Error-message identifiers now stand out. The offending symbol that Lua names in
single quotes (e.g.
attempt to index local 'victim') is lifted into the same aqua used for local variable names, so the culprit pops against the white headline while the rest of the message stays crisp. This applies only to the colored detail pane, and copy/export plaintext is unchanged.
1.1.0 - 2026-06-09
Changed
- Reworked the detail-pane syntax highlighting around a centralized cyan/silver
palette (
ns.SYNTAX). The headline now tokenizespath:line: messageso the file path is soft cyan, the line number is bright cyan, punctuation is slate gray, and the actual error message stays crisp white. Stack and locals highlighting still use lightweightgsubpasses, with light-silver base text, electric-blue counts/numbers, aqua local names, silver strings, soft-rednil, and amber booleans. Color prefixes are cached once at load so formatting does not regenerate WoW color codes. - Refined the visual theme to use Sentinel's cyan/teal brand consistently across the window title, addon-list title, counters, minimap tooltip header, tabs, action buttons, and close buttons. Buttons now keep Blizzard's native bevel art while using desaturated teal-tinted states and white labels.
Fixed
- The window now selects its default tab the very first time it is opened.
Previously the tab was only chosen in the frame's
OnShowhandler, but a newly created frame is already shown, so the firstUI.Open()call toShow()was a no-op that never firedOnShow, leaving the list with no active tab until the window was closed and reopened. The frame is now hidden once at build time so the first open is a real hidden-to-shown transition. - Receiving a shared error from another player no longer behaves like a fresh
local fault. It previously fired the same event as a local capture, so it
played the alert sound, printed "A new error was caught," and could auto-open
the window. Received bugs now fire a distinct
Sentinel.ErrorReceivedevent that only refreshes the window and minimap badge, while the alert pipeline stays reserved for genuine local errors, keeping grabbed and received reports cleanly separated.
1.0.0 - 2026-06-09
The first public release of Sentinel, a modern, Secret-Value-safe Lua error watcher for the Midnight-era WoW client.
Added
Error capture
- Sole-owner error handler that captures the full call stack and locals at the
real fault site, installed early via the leading
!load order. - Capture of taint events (
ADDON_ACTION_BLOCKED/ADDON_ACTION_FORBIDDEN), the macro equivalents, andLUA_WARNING, with the default blue blocked-action popups suppressed. - Deduplication with per-error occurrence counters and re-stamped timestamps.
- Token-bucket flood protection that pauses capture during an error storm to protect frame rate, with a re-entrancy guard against recursive faults.
- Automatic disable of legacy grabbers (
!BugGrabber,!Swatter,!BaudErrorFrame) so capture is never silently swallowed.
Window & display
- Tabbed views: All bugs, This session, Previous session, Received, and Search.
- Smart default tab on open (This session, falling back to All bugs when the session is clean but older bugs exist).
- Syntax-highlighted, scrollable detail pane for stack traces and locals.
- Per-row hover tooltips showing occurrences, last-seen date/time, session, and sender (for shared bugs).
- Copy a single error or export the entire list as clean plaintext.
- Flat dark theme with an ornate Maw/runecarving frame border and modern scrollbars.
Sharing
- Send a caught error to another Sentinel user over a chunked, throttled addon channel (AceComm-3.0 + AceSerializer-3.0).
- Received bugs are tagged with the sender's name and flagged with a
*. - Secret values are stripped before sending, and sharing is blocked inside instances (where Midnight disallows addon messages) with a prompt to use Export instead.
Access & settings
- Self-contained minimap button with a live error-count badge, drag-to-position, a rich tooltip, and an Addon Compartment entry.
- Options panel on Blizzard's Settings API: minimap toggle, throttled sound, chat announcement, auto-open on error, and a one-click wipe.
- Slash commands:
/sentinel,/sen,/sen config,/sen clear,/sen test.
Under the hood
- Midnight Secret-Value safety across every UI and formatting path.
- Persistence via SavedVariables with
LoadSavedVariablesFirst, default merging, schema versioning, and a hard cap on stored errors. - Event-driven design with no idle
OnUpdate, pooled list rows, and combat-lockdown-aware behavior throughout.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

