promotional bannermobile promotional banner

LibGuildRoster

A library for use in WoW addons that manages the guild members and roster to make that data available for use in your addon.
Back to Files

GuildRoster-v1.14.0

File nameGuildRoster-GuildRoster-v1.14.0.zip
Uploader
PmptastyPmptasty
Uploaded
Nov 21, 2026
Downloads
38.5K
Size
318.1 KB
Flavors
Titan Reforged ClassicRetailMoP ClassicClassic TBCClassicForever
File ID
9741948
Type
R
Release
Supported game versions
  • 12.1.0
  • 12.0.7
  • 12.0.5
  • 5.5.4
  • 4.4.2
  • 3.80.2
  • 3.80.0
  • 3.4.5
  • 2.5.6
  • 1.60.1
  • 1.15.9

What's new

Changelog

All notable changes to LibGuildRoster-1.0 are documented here.

1.14.0 -- guildmates' dings no longer dropped; a joiner's level when it arrives; layer detection off by default

The LibStub MINOR moves 46 -> 47.

Fixed

  • Home dings were thrown away as baselines. The operator on Classic Era, 2026-11-19: "i'm missing dings all together" (TOGTools 9f37b7b5, forwarded by Ultimate Guild Roster as c7a8668f). Two drops in noteHomeLevel, both mine:
    • levelStale was set on EVERY login (MarkMemberOnline), so a guildmate who logged in and dinged before the next paced read (or group UNIT_LEVEL) was read once, at the new level, as a baseline. That included a level read while they were offline, which is exactly the level they log in at -- nobody levels offline.
    • source == "roster" and not member.isOnline was always a baseline, so a guildmate who dinged and logged off before the next read was lost.
  • New lib.levelProof says what the held level proves. "offline": read while the row AND our presence model both said offline (the login build, or a paced read); their next login then does not set levelStale, so the first higher reading after it fires. The row's flag is required as well as the model's because the model can miss a login, and a false congratulation in guild chat is the defect that matters most. "left": set at the "has gone offline" message when nothing was stale or unknown; an offline reading above it fires source "roster". Still a baseline: a member read online who logs off and back on with nothing read in between (the held level may predate a ding in the earlier spell).
  • KNOWN COST: a "roster" ding can now fire for a member who has just logged off. A consumer congratulating in chat should check IsOnline.

Changed

  • Layer detection is OFF by default on WoW Forever. The operator, 2026-11-21: "lets go ahead and disable layer detection in forever, people are complainging about it and it doesn't work" -- superseding the 2026-11-13 on-by-default directive (1.11.1). The ids no longer mark a layer (see "Not covered"), and two Discord players that day complained of the nameplates it switched on. IsLayerDetectEnabled now reads a new saved key, layerDetectOn (true only when the player opts in); the old layerDetect is no longer read, so an account that was on by default from 1.11.1 to 1.13.0 starts off. Opting in still works from /guildroster layer on, the /gr box and Options > AddOns. Ultimate Guild Roster holds detection only while this setting is on (its Layers:Hold reads IsLayerDetectEnabled), so it stops too. Specs in layers_spec ("is off by default on Forever, even where an older release saved it on") and zz_window_spec.

New

  • OnMemberLevelKnown(charKey, guildKey, level) (UGR contract 4b3fb8f9): a home member whose level was invented (levelUnknown -- a joiner known only from the chat line) gets a real one. Fired once, after GetMember(charKey).level returns it, from noteHomeLevel (any source), from ResolvePendingDetail when the joiner's own row brings a level, and from a short-login-build repair that does. Never a level-up; never for a member whose level was known. UGR uses it to put the level on its join line.
  • OnLevelRefreshRead(rows) (UGR's addendum on 4b3fb8f9): fired at the end of ReadRosterLevels, after every callback that read caused, so UGR can release a held join announcement without a level when a read did not bring one -- no timer on either side. rows is the count read.
  • The nameplates layer detection turns on are hidden (WoW Forever). A player on Discord, 2026-11-19: friendly NPC plates "fill the screen in every town and cover up NPCs' titles". The operator: "can we give the option to hide the plates even if they are on, especially for the NPC ones, but we'll want it for all of them". Detection needs a plate to exist (its unit is read), not to be seen, so the nameplate settings stay on and UpdateLayerPlate sets the plate's unit frame to alpha 0 on NAME_PLATE_UNIT_ADDED (back to 1 on NAME_PLATE_UNIT_REMOVED, because the frame is pooled). Only a kind the player had OFF when detection took the settings is hidden -- enemy plates via nameplateShowEnemies, NPC plates via nameplateShowFriendlyNpcs -- and a friendly player's plate is never touched. Nothing is hidden inside an instance, where nothing is read either (Peer Review b4d87153 R2); a plate hidden outside comes back when it appears inside. Only frames the library hid are put back (layers.hiddenFrames), so another addon's alpha on a plate we never hid is never overwritten (found by the self-audit). Account setting layerHidePlates, on by default: lib:IsLayerHidePlates() / lib:SetLayerHidePlates(bool), callback OnLayerHidePlatesChanged(enabled), a row in Options > AddOns, a /gr checkbox, and /guildroster layer plates on|off. RefreshLayerPlates redraws what is on screen when the setting or the hold changes. Specs in layers_spec ("hiding the plates it turns on") and zz_window_spec. Not seen in game: whether a hidden plate gives the NPC's own name and title back, whether the invisible plate still takes clicks, and whether Blizzard's nameplate code resets the alpha.
  • Layer detection says what it switched on (WoW Forever). A player on Discord, 2026-11-21, after disabling addons one by one to find what kept turning friendly NPC plates back on: "it's so invisible it's impossible to tell where it's from". Since 1.11.1 detection is on by default and set both nameplate settings to on at every login, silently. AnnounceLayerNameplates now prints one chat line, once a session, naming the kinds of plate it switched on that the player had off, whether they are drawn invisible, and that /gr turns detection off. Nothing is said when both were already on. Spec in layers_spec ("says once a session which nameplate settings it switched on").
  • Specs in sisterlevel_spec ("dings the refresh used to drop, and a joiner's first level"): login-then-ding, ding-then-logoff (and the read after it counting as offline), the row/model disagreement gate, the three OnMemberLevelKnown paths, and OnLevelRefreshRead ordering and pacing. The UNIT_LEVEL spec that pinned the old login-stale rule is rewritten (writ test change c282169e4860e290, approved by the operator).

Not covered

  • Nothing was run in a client. The two drops were found by reading noteHomeLevel; TOGTools' Gratz trace was not asked for.
  • Layer ids no longer mark a layer on WoW Forever. Two /gr layer readouts from the operator, minutes apart on 2026-11-21: four guildmates on unchanged maps reported completely different ids (Leli Grimwald, map 1433: 49749-11342280, then 47871-6444974), where every NPC read in 1.11.0 testing gave 7074-3. The serverID and zoneUID parts of a creature GUID now change between reads, which a Discord player (Vishiswaz) had reported as Blizzard removing layer detection. LayerFromGUID still reads them, so the ids shared and shown are meaningless. Detection is therefore off by default now (below).

1.13.0 -- guildmates' note changes seen during play

The LibStub MINOR moves 45 -> 46.

New

  • OnMemberNoteChanged(name, isPublic, oldNote, newNote): a home member's public or officer note changed mid-session. A player's report through Ultimate Guild Roster (contract c6a6213a, from Discord): "I rarely ever see the updates except after relogs and reloads". There is no chat event for a note edit, so a change waited for that player's relog. Declined on 2026-11-08 against the settled "a note waits for the relog" rule; the operator reopened it on 2026-11-18 and chose option 2, "allow notes in the existing paced level refresh".
    • ReadRosterLevels (the paced read, only while a consumer holds RequestLevelRefresh, at most once per LEVEL_REFRESH_INTERVAL, from GUILD_ROSTER_UPDATE, never a timer) now also takes each row's public note, and the officer note while IsOfficer() says the client can see it, through the new lib:TakeRowNote. No new scan: the read already walked every row.
    • Fires on a real change only: not for a member whose login details are still pending (pendingDetail), not when the held note was never read, and the officer note is compared only when the previous paced read could see it too (levelRefresh.officerView) -- a client gaining the right would otherwise "change" every officer note in the guild.
    • The held publicNote changes with it, so the home roster's note hash (GetRosterNoteHash) now moves mid-session; the relay and a served delta already carry and verify nh, with a full pull as the fallback. No e2e scenario drives a mid-session note edit across to a sister client.
    • Specs in sisterlevel_spec ("the shared level refresh › notes"): fires once and updates the held note; nothing with no holder; no officer note the client cannot see; the officer baseline when the right arrives; a pending member and a missing note.

1.12.0 -- a settings page in Options > AddOns; the guild window reopens on the Members tab

The LibStub MINOR moves 44 -> 45.

New

  • A LibGuildRoster page in the game's Options > AddOns. The operator, 2026-11-16: "create a settings menu in esc>options>addon", and on Discord, "You can have LGR without UGR, that was a bad idea to put it there" -- the nameplate switch must not depend on another addon. The page carries the account-wide switches: mailbox autocomplete, the Members tab, opening the guild window on it, and on WoW Forever layer detection. lib:InstallSettingsPanel() at PLAYER_LOGIN builds a canvas-layout category (Settings.RegisterCanvasLayoutCategory + RegisterAddOnCategory, both in Blizzard_Settings_Shared on Era and retail) with UICheckButtonTemplate boxes of its own, rather than Settings.RegisterAddOnSetting, whose signature differs between clients. The rows are lib:SettingsPanelRows(); the boxes repaint on show and on OnMailAutocompleteChanged / OnGuildTabChanged / OnLayerDetectChanged. Nothing is built without the Settings API. Specs in zz_window_spec: registered once, no layer row on Era, a click writes the setting, the slash command repaints the box, "open on it" greys out without the tab, and nothing without the API.

  • A "Detect layers" checkbox in /gr, on WoW Forever only. A Discord ask (2026-11-16): "can you make it so UGR has toggles to turn on/off Nameplates?". The nameplates are this library's doing -- layer detection switches on nameplateShowEnemies and nameplateShowFriendlyNpcs while held, on by default since 1.11.1 -- and /guildroster layer off was the only off switch. The box is win.layerBox, added only when HasLayers(); it writes SetLayerDetect and repaints from the window's callbacks.

  • OnLayerDetectChanged(enabled), fired by SetLayerDetect on a change and not on a repeat, so a consumer's own toggle (Ultimate Guild Roster's, as asked) can follow /gr and the slash command. Specs: layers_spec (fires on change only), zz_window_spec (no box on Era; on Forever it writes the setting and follows the slash command).

Fixed

  • The guild window reopens on the Members tab when that was the page up as it closed, on both the Communities window and the classic window, as the game reopens on its own last tab. A player's report through Ultimate Guild Roster (contract 07e021e3): "when I open the guild interface (keybind: J), it will take me to the last used tab, but it refuses to do so for UGR's tab". Closing the window only announced the page hidden, and the open hook (OnGuildWindowShow / OnFriendsFrameShow) brought ours back only under guildTabDefault.
    • hookPageClose's OnHide now records rec.reopen (was ours the page announced up) before announcing it hidden; the open hooks show ours when guildTabDefault or rec.reopen says so. rec.activePane was already kept across the close, so a consumer's pane comes back with the page and gets its shown call.
    • The classic window still comes back to ours only when it opens on their Guild tab: the O key opening on Friends stays theirs.
    • In memory only; a /reload opens as the game does. No Blizzard method is called -- the same ShowGuildTab the default setting already used.
    • Specs: the reopen in rostersisters_spec (ours, theirs, the default, and a pane coming back), classictab_spec (ours on Guild, theirs on Friends) and tabhooks_spec's Shown/Hidden pairing, which now expects a Shown on every reopen after a close on ours. Three of those assertions pinned the old reopen-on-theirs behaviour and were changed.

Not covered

  • The settings page was seen in game on 2026-11-16, on a WoW Forever client (the operator's screenshot: Options > AddOns > LibGuildRoster with all four boxes, layer detection included; "new settings there and working"). Not opened on the other clients; the harness has no model of the Options window.
  • Not seen in game. In particular, whether the Communities window's own restore of its last display mode after our open hook puts ours away again was not checked; the default setting takes the same path.

1.11.1 -- layers on by default on WoW Forever

The LibStub MINOR moves 43 -> 44.

Changed

  • Layer detection is on by default on WoW Forever. The operator, 2026-11-13: "is the layering not turned on by default? it should be?". In 1.11.0 nothing was read until a consumer called RequestLayers or a tester typed /guildroster layer on. Now an account setting, layerDetect at the root of LibGuildRosterDB (absent = on, like mailAutocomplete), makes the library hold detection itself from PLAYER_LOGIN under lib.LAYER_DEFAULT_OWNER (lib:ApplyLayerDetect). The nameplate settings are switched on then, and given back as before.
    • lib:IsLayerDetectEnabled() / lib:SetLayerDetect(bool). /guildroster layer on|off now changes this setting, so "off" survives a relog; it used to hold or release a session-only "slash" owner.
    • A consumer's own RequestLayers is a separate hold: turning the setting off does not release it, and /guildroster layer says so when another addon still has detection on.
    • Off Forever the setting holds nothing.
    • layers_spec pins the default from login, a saved off surviving the next login, the consumer hold staying, and nothing held off Forever.

Fixed

  • The LEVEL-UPS section header no longer says nothing re-reads the roster. It predated the level refresh (MINOR 27) and said a ding by a guildmate without the library, out of the player's group, is never seen; Ultimate Guild Roster quoted it to the operator as fact (peer review f2332eaa). It now lists the three home sources -- "comm", "unit" and "roster" (the refresh, while a consumer holds RequestLevelRefresh). Comment only; no behaviour change.

Not covered

  • Not seen in game: that the nameplates come on at login on Forever without a click, and that the setting survives a relog.

1.11.0 -- guildmates' layers on WoW Forever, for testing

The LibStub MINOR moves 42 -> 43.

Added

  • Layers, WoW Forever only (Ultimate Guild Roster, contract 9987cc65 and its correction a558cc26). The operator, 2026-11-05: "wouldn't this belong in libguildroster, not in you? so any addon that needs it has it?", "only in forever do layers exist", "without clicking on anything", "just turn on all the nameplates when this feature is turned on", and "you build it in the way we talked about, and get feedback from the community. they need the code to be able to test this".
    • lib:HasLayers() is true on WoW Forever (WOW_PROJECT_ID 18) only.
    • lib:RequestLayers(owner) / lib:ReleaseLayers(owner), held per owner like RequestLevelRefresh. While held, nameplateShowEnemies and nameplateShowFriendlyNpcs are set on (the names Forever's own options panel uses, Blizzard_SettingsDefinitions_Frame/Nameplates.lua:467, 520), the plates already on screen are read, and every NAME_PLATE_UNIT_ADDED, PLAYER_TARGET_CHANGED and UPDATE_MOUSEOVER_UNIT creature is read. The player's own values go back on the last release and at PLAYER_LOGOUT; a setting the player changed while it was held is left as they set it. A change in combat waits for PLAYER_REGEN_ENABLED.
    • The reading is "<serverID>-<zoneUID>" from a creature GUID (lib:LayerFromGUID), with the uiMapID it was read on. Skipped: a player-controlled unit, creature type 12 (Non-combat Pet), anything in an instance, and a secret value. Not trusted for LAYER_GROUP_SETTLE (180 s) after GROUP_JOINED, which also drops the held layer, or for LAYER_ZONE_SETTLE (30 s) after a zone change. These are Nova World Buffs' own windows; its code was read for behaviour only and none of it is used.
    • lib:GetLayer(name) / lib:GetOwnLayer() return id, number, map. number is the id's place among those this client knows, sorted by serverID then zoneUID. Callback OnMemberLayerChanged(name, id, map).
    • Shared as layer:<id>:<map> / layer:0 on the existing live prefix (LibGRxlive): to the guild when ours changes and once when the roster becomes ready (a layer read earlier waits for it), and whispered to a guildmate's library that says hi. There is no home-guild DeltaSync sync, so the correction's "through DeltaSync" rides this message instead; UGR agreed (thread 3e57097a). Session only: a guildmate's layer is forgotten on logoff, leave and guild change.
    • /guildroster layer [on|off] for testers: turns detection on or off and prints the raw readings.
    • The new helpers are methods, not file locals: the main chunk had reached Lua's 200-local limit.
  • member.guildRepStanding (Ultimate Guild Roster, contract 470d6826): GetGuildRosterInfo's 16th return, the member's guild reputation standing, kept on home members by the login build and by a joiner's targeted row read. No ClubMemberInfo carries reputation, so this slot is the only per-member source; Blizzard's Classic FriendsFrame.lua:3403 names it _guildRepStanding and never reads it. Passed through as the client returns it, nil included. ReadRosterRow returns it last, so callers that read only the leading values are unchanged. roster_spec pins a supplied value and an absent one. The CurseForge page's GetMember field list also gains guid, which it had been missing since 1.3.0.
  • The guild tabs' search matches the officer note (a player's request on Discord, through Ultimate Guild Roster, contract 6e733418: "can you make the search in the Members tab of 'J' also search Officer notes for those who can see them?"). BuildGuildTabRows adds the row's officerNote to W:SearchMatch only while C_GuildInfo.CanViewOfficerNote() answers true, read once per build; a client without that function searches no officer note. The C_Club rows already carry officerNote (ClubMemberInfo, ClubDocumentation.lua:1723 in the Era tree); the fallback rows built from lib.roster now carry it under the same name. Sister rows carry none. The help text and both search placeholders say so. The Members tab on both guild windows (the Communities window and the classic Friends frame) shares this search. The player's second ask, showing the officer note, is not done: the row layout is Blizzard's column set, which has no officer-note column. rostersisters_spec pins the match with the permission, no match without it, and no match without the function, on both row paths.
  • /guildroster notetest [text], for testers (FastGuildInvite inbox 9534abee, from a UGI player on retail asking for notes on join). Note writes were never tried on retail, where C_GuildInfo.SetNote adds SecretArguments = "AllowedWhenUntainted". The command sets the player's OWN public note, which every rank may edit, from the slash command's Enter on any client, says whether CAN_WRITE_NOTES offers writes there and whether the guid is a secret value, and with no text reads the note back from the client's row. A Lua error from SetNote is caught and printed; a blocked action is not visible to it and shows in BugSack. It does not change CAN_WRITE_NOTES; retail is widened into it by hand only once a note is seen to land. zz_window_spec drives it on retail under the protected-call model. Answered 2026-11-21: run on the retail client, it raised ADDON_ACTION_FORBIDDEN ("tried to call the protected function") from the Enter key. SetNote is protected there, not merely gated on player input, so retail stays out of CAN_WRITE_NOTES and the note editor is not offered on retail.
  • Tests/layers_spec.lua: the flavour gate and event registration, GUID parsing, every skip and settle window, sending, receiving, numbering, forgetting, the nameplate settings in and out of combat, and the slash command.

Not covered

  • Nothing here has been seen working in game. On Forever, every NPC the operator read in Dun Morogh showed serverID 7074 and zoneUID 3, and nobody could compare two layers. If neither part changes between layers, every player will show the same layer. Players' reports decide the next step.
  • Whether the nameplate settings can be changed in combat was not checked. The library waits for the end of combat in case they cannot.
  • Which clients actually fill guildRepStanding, and with what values, was not checked in game. Guild reputation exists from Cataclysm on; Classic Era and TBC are expected to give nil.

1.10.0 -- a pane button that opens your own window; the switcher lines up; same-hour log order

The LibStub MINOR moves 41 -> 42.

Added

  • RegisterGuildTabPane's spec takes an optional onClick = function(kind) (Ultimate Guild Roster, contract b8e0d44c). The operator, 2026-11-05, on the switcher's UGR button: "this UGR button doesn't work, it should do the same /ugr roster command and open the UI, right now it goes to another tab". With onClick, the pane's switcher button calls it, protected, and does not select the pane; SelectGuildTabPane from code still does. It is validated like shown / hidden and replaced or dropped by a re-register. The buttons now click through the new public lib:ClickGuildTabPane(owner, kind), resolved at click time as before, so a later copy's code runs from buttons an older copy built.
  • Tests/tabpanes_spec.lua: onClick on both windows, a raising onClick, a re-register without it, its validation, and the switcher's placement.

Fixed

  • The Members / pane switcher sat a pixel low of Invite Member on the Communities tab. The operator, 2026-11-05: "the members/UGR buttons need to be centered vertically like your other invite member button". The bar was hung 4 below the page's bottom (window bottom +4 to +24); Invite Member is window bottom +5 to +25 (CommunitiesFrame.xml:582-585). The bar is now anchored to that band from the two offsets, named GUILD_TAB_PAGE_BOTTOM (28, the page's own anchor) and GUILD_TAB_INVITE_BOTTOM (5). Not yet seen in game.
  • GetGuildEventLog() was OLDEST first within one hour (Ultimate Guild Roster peer review 5f881c5d). Rows with the same ago kept the server's index order, lowest first, but the highest index is the newest: Blizzard's reader walks numEvents down to 1 and appends each line, so numEvents is its top line (GuildInfo.lua:169-191, Forever tree), and a player's log window on Forever showed the newer line on top. So an invite sorted after the join it led to, both "12 hours ago", and a consumer looking for the invite among older rows found none. The tie now goes to the higher index. guildinfo_spec's parse example had asserted the old order; it now asserts the join first.

1.9.0 -- last seen for sister members; on Forever, room for names and an Invite Member that says why

The LibStub MINOR moves 40 -> 41.

Added

  • An offline sister member's Zone cell says when we last saw them on the Communities guild tab: Seen < 1 min ago, then > 1 / 5 / 15 / 30 min, > 1 / 3 / 6 / 12 hr, > 1 day. The operator, 2026-11-04: "if they are online, show the zone they are in, if they are not, show the time". An online member keeps their zone, and a guildmate keeps Blizzard's own last-online time (the server's lastOnline fields, which their row already writes into Zone). A sister row has no such fields, so Blizzard's row wrote Offline; each of our rows now follows their RefreshExpandedColumns with PaintGuildTabLastSeen. The time comes from sisterLastSeen, the newest of every source the online rule weighs, read without its time-to-live cut-offs: a sighting, a /who row that listed them, and the live stream's on or off. New on the row: lastSeenAgo (seconds); new API: lib:FormatLastSeen. Session-only: no sighting is saved or synced, so a member not seen since login still reads Offline. The classic Friends-frame Sisters tab is unchanged, since its Zone column carries the sister guild's name.
  • Tests/guildtablastseen_spec.lua (new, five examples); the row model in Tests/env_guild.lua writes Zone as Blizzard's RefreshExpandedColumns does.

Changed

  • WoW: Forever: our guild tab's Invite Member is greyed out, with a tooltip. On Forever, an Add Guild Member box opened by an addon has its Accept refused: StaticPopup_Show writes dialog.which from the caller and StaticPopup_OnClick reads it before OnAccept (StaticPopup.lua:405, :699, Forever tree), and Forever forbids addons C_GuildInfo.Invite. The operator saw ours refused, 2026-11-04: "when i use yours, it fails in forever as well". Asked for "grey it out with a tooltip ... the tooltip should point them back to the right tab to invite", so on Forever the button still shows where Blizzard's is hidden, is disabled, ignores a click, and on hover says addons cannot send guild invites there and points to the Chat tab's Invite Member or /ginvite. Kept rather than removed, so a way back needs only the one branch in SyncGuildTabInvite. New: lib:CanAddonGuildInvite() (false on WOW_PROJECT_ID 18), public so FastGuildInvite can ask the same question. Every other client is unchanged.
  • Tests/guildtabinvite_spec.lua (new, five examples). The Invite example in Tests/rostersisters_spec.lua now records the button's scripts by name, since the button sets OnEnter and OnLeave as well as OnClick.

Fixed

  • WoW: Forever: the guild tab's Name column was too narrow (Ultimate Guild Roster contract c61fe2fb, from the operator's screenshot: "Cattibrie Stormblessed" running into "Dun Morogh"). Forever names are "First Last", and our page takes Blizzard's guild column set (Name 100, Zone 100) and their rows (a 95 px name frame; CommunitiesMemberList.lua:97-133, :1375-1436 in the Forever tree). Where RegionalNames() is true, Name now takes 50 px more -- 20 from Zone, 30 from Note -- in both halves: the page's RefreshLayout re-lays the headers from a widened COPY of their set (WidenGuildTabColumns; their file-local table is never written), and each row's UpdateNameFrame is followed by WidenGuildTabRowName, which grows the name, cuts the zone from the width it was born with (their code never resets it, so a relative cut would shrink it on every refresh), and puts the rank icon back at the name's end. Every other client keeps Blizzard's widths; nothing changes for a client without regional names.

  • Tests/guildtabwidth_spec.lua (new, six examples) and Tests/env_guild.lua: the column model carries Blizzard's widths, the header records LayoutColumns, and a row has a name frame, zone and rank icon sized as their UpdateNameFrame sizes them.

  • The guild tab's own Invite Member button (shown where Blizzard's is hidden, e.g. our tab opened from Roster) set its enabled state only when our page opened, from CanGuildInvite(). Blizzard re-enables theirs on club, roster and rank events (UpdateCommunitiesButtons) and also disables it for a guild at capacity. So a page opened before the rank data arrived stayed greyed out until reopened, a rank change mid-view was missed, and a full guild left ours clickable. Ours now copies their button's enabled state and re-syncs from a post-hook on UpdateCommunitiesButtons (present on every flavour's Communities frame); CanGuildInvite() is the fallback only for a button that cannot report IsEnabled.

  • Tests/rostersisters_spec.lua: the invite example now drives their refresh with the page open; one new example pins the fallback.

Not covered

  • Seen in game on WoW Forever, 2026-11-04: the wider Name column (the operator's screenshot), the last-seen Zone cell (operator: "the zone stuff is working") and the greyed Invite Member with its tooltip (operator: "ok, it's working"). The 50 px is judged from one screenshot, not measured against the longest name a Forever guild holds; a longer name still truncates, as Blizzard's does, with the full name in the row tooltip.
  • The Invite Member enable-state fix was not checked in a client.
  • The classic Friends-frame Sisters tab is unchanged and was not looked at.

1.8.0 -- a member's current notes

The LibStub MINOR moves 39 -> 40.

Added

  • lib:GetClientNotes(name) -> publicNote, officerNote, for FastGuildInvite (contract 2bcc0109), whose note restore on join must check a note is still empty before writing it. It reads the CLIENT's roster row at call time, found by the member's guid -- not the copy held since login, which a note edit this session has made stale. Both are strings ('' for an empty or unreadable note), or nil when the name is not a held member, the member has no guid yet, or the client has no row for that guid. Never errors when guildless.
  • EditMemberNote now takes its starting text from it instead of its own copy of the row walk. One difference: an officer note the row returns as nil now opens as '' rather than falling back to the held copy.
  • One example in Tests/zz_window_spec.lua.

Not covered

  • Not run in a client. Whether the row reflects our own SetNote before the server's next roster push is still not verified.

1.7.0 -- which realms count as here

The LibStub MINOR moves 38 -> 39.

Added

  • The connected-realm group, for FastGuildInvite (contract 6a87c6ab), which wants to elect one recruiter per realm group instead of one per guild:
    • lib:GetConnectedRealms() -> the group's realm names, normalized (spaces and hyphens removed), de-duplicated case-insensitively, sorted, always including the player's own realm. A fresh table per call.
    • lib:IsConnectedRealm(realm) -> boolean, any spelling or case (Area 52, Area-52, area52). false for a non-string or empty name.
    • lib:GetRealmGroupKey() -> the lower-cased names joined by |, the same on every client of the group; nil while GetNormalizedRealmName has not answered, because a key without the own realm would differ.
    • lib:IsSameRealmGroup(charKey) -> boolean for a Name-Realm key; a bare key is the own realm (NormalizeName's contract) and answers true, which is also every key under WoW: Forever's regional names.
  • Source: C_AutoComplete.GetAutoCompleteRealms(), documented with no arguments and a non-nilable table of strings in every flavour tree (AutoCompleteDocumentation.lua); the bare global is a deprecation fallback, so the library reads the namespaced form and treats a missing API or a non-table as an empty list. Nothing is cached and there is no callback (contract item 5): every call reads the client, so a later answer is seen.
  • C_AutoComplete added to .luacheckrc and .luarc.json.
  • Tests/realmgroup_spec.lua, 16 examples, on the harness's wow.autoCompleteRealms model.

Not covered

  • None of it has run in a client. Not seen: what the call returns on a realm with no connections (the library adds the own realm either way), whether it answers at PLAYER_LOGIN, and what Classic Era returns.

1.6.0 -- can this member invite?

The LibStub MINOR moves 37 -> 38.

Added

  • lib:CanInvite([name]) -> true | false | nil, for FastGuildInvite (contract 332fcbb6), which wants to accept synced lists only from members whose rank can invite. With no name, or the player's own name, it is CanGuildInvite(). For anyone else it is flag 7 of C_GuildInfo.GuildControlGetRankFlags(rankIndex + 1) (rankOrder is a luaIndex, GuildInfoDocumentation.lua:122 in every tree). Flag 7 is named RANK_FLAG_INVITE in the library. The table is indexed by GUILDCONTROL_OPTIONn (the Classic rank popup checks box n from flags[n], FriendsFrame.lua:2447; the Promote and Demote buttons use GUILDCONTROL_OPTION5 and 6, FriendsFrame.xml:3710, 3742), and warcraft.wiki.gg's Const_GUILDCONTROL_OPTION gives 7 as Invite Member; the strings themselves are not in the UI source. false when guildless, for a name that does not normalize, or for a name absent from a COMPLETE roster. nil when the roster is not complete and the name is absent, when the member's rankIndex is unknown, when the flags table comes back empty, or when either API is missing. Nothing is cached; the answer can change on OnGuildRanksChanged and OnMemberRankChanged.
  • IsOfficer's comments (library, README, officer_spec) no longer say the client has no API for another member's permissions. It has one for their rank's flags; "officer" is just not a single flag, so IsOfficer(other) stays nil.
  • CurseForge page: the SetSisterRoster warning no longer names TOGProfessionMaster as a feeder (it is Ultimate Profession Master now, and the library's own sync is the feeder), and two reference paragraphs drop the addon names they told history with (Peer Review b79a4d7a). The v1.1.3 block left Recent Updates to make room.
  • From Peer Review 34d98f6c: a promote/demote naming a rank the library cannot translate now clears member.rankIndex to nil instead of keeping the old rank's index. CanInvite was answering from that old index with confidence. Every reader of rankIndex already handles nil (a joiner starts there); roster_spec's "rank name nobody holds" example now asserts nil where it asserted the old 3. The CurseForge page's IsOfficer bullet lost the same "no API for another member's permissions" sentence. The CanInvite and IsOfficer docstrings now say why a name that does not normalize is false for one and nil for the other.
  • Tests/caninvite_spec.lua, 17 examples (a promotion announced in chat, a promotion to an unknown rank, and a sister-only name added after review). The harness models neither CanGuildInvite nor GuildControlGetRankFlags, so the spec stages both.

Not covered

  • CanInvite itself has not run in a client. The raw call has: on the operator's Classic Era client (2026-10-31), slot 7 read for all ten ranks of their guild came back a real boolean for every rank, true for nine and false for one ("Innitiate", rank order 8), so the flags differ per rank and none was missing. The operator then judged that the one false rank probably cannot invite ("lets assume initiates can't invite, that's probably true"), which fits slot 7 being Invite Member; it was not checked in the guild control window, which only the guild master can open (FriendsFrame.lua:3037). Also unknown: what the call returns before the ranks load (an empty table is read as "not loaded").

1.5.0 -- walk every roster, home included

The LibStub MINOR moves 36 -> 37.

Added

  • lib:IterateRosters() yields (roster, guildKey, isHome) for every roster held, the home roster first, then sister rosters in key order (ClassicCalendar contract 0634dc22, which suggested key-first). The roster leads because a generic for ends when its first value is nil (Lua 5.1 manual 2.4.5): my first cut put the key first, and an unresolved home ended every walk with nothing yielded -- two of the new specs caught it. While GetHomeGuildKey is still nil at login, the home roster is yielded with a nil key as soon as it holds members. GetKnownRosters adds home only once its key resolves and GetRoster(nil) never resolves to home, so a consumer walking those to answer "who is in any of my guilds" saw only the sister guilds in that window: ClassicCalendar's World Buff dialog resolved a bare Bob to a sister guild's Bob, or to nothing, and refused to save a guildmate its picker offered. Home is NOT yielded while guildless or while GuildChanged says the live guild is not the one the roster was built for -- the members are the old guild's then, the reason GetHomeGuildKey is nil there (Peer Review reply 70af5535, R1). A sister roster filed under the home key is skipped, as GetKnownRosters does. The list is taken when the walk starts, so feeding or removing a roster mid-walk does not disturb it.
  • lib:GetHomeRosterHash() is the home membership hash whether or not the key has resolved, nil exactly when IterateRosters would not yield home. It and GetRosterHash share one function (membershipHashOf), so once the key is known the two are equal. It hashes membership only and does NOT move when the key arrives; a consumer caching per walk stamps with the yielded key too.
  • GetKnownRosters, GetRoster and GetRosterHash are unchanged.
  • Five sister_spec examples under IterateRosters.

1.4.1 -- the home guild key follows a guild change

The LibStub MINOR moves 35 -> 36.

Fixed

  • GetHomeGuildKey kept the OLD guild's key after a guild switch (Peer Review 0596e8d1, from Dibs' self-audit df49d3e9). It returned the cached homeGuildKey whenever one was set, and only the not-in-guild branch of OnGuildRosterUpdate cleared it. Leave guild B and join guild A with no guildless GUILD_ROSTER_UPDATE handled in between (a missed event, or one spent by the retry gate) and the key said B for the rest of the session. Worse than the finding said: build-once then IGNORED A's events, so the roster stayed B's members too. Dibs refuses to reconcile when the key and GetGuildInfo disagree, so it archived nobody until a relog.
    • The key is built in one place, LiveHomeGuildKey. homeGuildKey now means "the guild the roster was built for". Only OnGuildRosterUpdate sets it, and only ResetGuildState clears it (from either OnGuildRosterUpdate or OnPlayerGuildUpdate), so the getter writes nothing and stays pure (the finding-30 rule, which the first cut of this fix still broke by seeding an empty cache; Peer Review reply 70af5535, R2).
    • While the cached and live keys disagree, GetHomeGuildKey answers nil -- "not known yet", which every caller already handles. The first cut answered the NEW key at once, over the OLD guild's members, until the next roster event: a consumer like Dibs would then reconcile guild A's records against guild B's roster, a wrong write where the original bug was only a refusal (Peer Review reply 70af5535, R1; red in run 20261018-185733, green in 20261018-190226). It also answers nil when guildless with a key cached, and the cache while the name is loading.
    • OnGuildRosterUpdate compares the cache with the live key; on a mismatch it runs the same reset as the guildless branch -- now one function, ResetGuildState, both paths call -- and falls through, so that event builds the new guild.
    • query_spec's "builds Faction-GuildName and caches it" asserted the stale key survived a name change -- it pinned the defect. It now asserts the getter writes nothing, answers nil mid-switch and the live key after the event, plus the loading-name fallback; roster_spec pins the switch end to end (nil and no roster served under either key before the event, then key, event log, rank index and roster rebuilt as A's) and the guildless nil.
    • PLAYER_GUILD_UPDATE is now handled too (lib:OnPlayerGuildUpdate, Peer Review self-audit b58cab1b, F2), so the switch no longer waits on a GUILD_ROSTER_UPDATE nothing guarantees. Guildless -> ResetGuildState at once; a live key that differs from the cache -> ResetGuildState and RequestGuildRoster, and the answering roster event builds the new guild. A key that still matches does nothing, so build-once is untouched. IsReady() goes false at the switch, so it does not answer for the old guild in between. IsInGuild then reads the client's live rows, so it answers for whichever guild the client holds rows for; whether those are still the old guild's right after the event is not verified (Peer Review reply 6354435c, A3). roster_spec pins it with the harness's rows already switched. The event is documented in the Classic Era, Classic, Anniversary, retail and Forever API trees (GuildInfoDocumentation.lua); not seen firing in a client. The unit argument is ignored, as Blizzard's own handlers ignore it. Pinned in roster_spec (leave, switch, matching key, ready state).
    • A faction that has not loaded is "still loading", never Neutral (F3). LiveHomeGuildKey fell back to "Neutral" when UnitFactionGroup returned nil; a "Neutral-X" cached at login meeting "Horde-X" later would read as a guild change and rebuild the roster mid-session. It now returns nil until the faction is known, as it already did for a missing guild name. UnitDocumentation.lua declares UnitFactionGroup's returns Nilable = false (Peer Review's read of the API trees); that is the declared type, not what a client does mid-login, so the nil guard stays. Whether the client ever returns a nil faction alongside a guild name is not verified. query_spec's Neutral-fallback test now asserts the opposite, and a second spec pins a late faction: no Neutral- cache, no reset, the member still held.
    • A build that went ready with no faction left sister sync off for the session (Peer Review reply ce1cc3d2, A3). With no key, the build's StartSisterSync returned at once and the home hash was never published, and build-once never reached either again. Every member record built then also carried guild = nil, so GetRoster(homeKey) would have mixed nil and keyed members once later joiners got the key (Peer Review reply 2a8f8005, N1). OnGuildRosterUpdate now has a keyArrived block: on the event that first caches a key after ready, it fills in guild on every record that has none, then runs StartSisterSync and publishes the hash, once. The late-faction spec used to assert only the key and the member, which pinned the stuck state as correct; it now asserts the sync start failing at the build, succeeding when the key lands, not repeating, the hash, and guild on a member built before the key and on a joiner after it (red in run 20261019-095437); a second spec does the same for a joiner announced BEFORE the key (Peer Review reply 4d81d9a5, C2; red in run 20261019-100834). Between the faction answering and that roster event, GetHomeGuildKey already returns the key while the records still carry nil (G1); the getter stays pure, so the window stands and is documented.
    • A guild switch away from a guild built with no faction kept the old members (self-audit aef24e64, A1). Both guild-change checks compared keys, and no key had been cached, so the new guild's key was cached over the old guild's members. The bare guild name is now remembered beside the key (homeGuildName) and compared when no key is cached, in OnPlayerGuildUpdate, OnGuildRosterUpdate and GetHomeGuildKey -- one test, GuildChanged, which compares names whenever either key is missing. So GetHomeGuildKey now also answers nil when a key is missing on either side and the live guild NAME differs from homeGuildName; before, it answered the cache or nil without comparing names (self-audit 5786abce, S3; Peer Review reply 4d81d9a5, G2). The two event handlers reset on that mismatch; the getter only answers nil and resets nothing. Leaving the guild also drops a name cached by a roster event that came before both the key and a finished build (Peer Review reply 2a8f8005, N3; red in run 20261019-095549), and rows scanned before the guild name loaded, when neither name nor key was cached (G3; red in run 20261019-100834). Pinned in query_spec (switch answers nil, the roster event resets before caching, PLAYER_GUILD_UPDATE resets with the faction still nil, leaving drops the name and the nameless rows, the same guild resets nothing).
    • Sister-guild keys take the home key's faction. Seven sites built them with UnitFactionGroup("player") or "Neutral"; with "Horde-X" cached and the faction momentarily nil, a sister list naming X built "Neutral-X", which is not the home key, so the home guild was listed as its own sister (Peer Review reply ce1cc3d2, A2). One helper, KeyFaction, now serves all seven, taking the cached key's faction first. Pinned in query_spec. A key's faction is read in one place, FactionOfKey, which only accepts Alliance, Horde or Neutral; KeyFaction, GetHomeGuildInfo and the guild-tag name strip all use it, so the three can no longer drift apart (self-audit 5786abce, S2).
    • GetHomeGuildInfo().faction is read from the key, not from UnitFactionGroup, so the two cannot disagree: with a key cached and the faction momentarily nil, it answers the key's faction rather than a "Neutral" beside a "Horde-" key. Pinned in query_spec.
  • The two-client harness read and answered under the wrong client. env_e2e.count called GetRoster without entering the client, and answerWho fired WHO_LIST_UPDATE after a floor advanceTime whose timers had entered OTHER clients -- so one provider built a refusal naming a third client's guild. The old cache hid both. count enters its client, answerWho re-enters after the advance, and nine direct GetRoster reads in e2e_spec go through e2e.as; the refusal's k is now asserted.
  • .pkgmeta carried comments, against the rule that it carries none (a trailing # comment on a quoted ignore entry makes the packager upload an empty zip). All removed; the entries are unchanged. toc_spec now fails on any # in .pkgmeta, and first checks its detector against a commented sample so the check cannot pass by never firing (Peer Review reply 9a65646b). The trailing-comment check is now part of that one test, still naming each offending entry (Peer Review de0f66f1).
  • toc_spec runs the harness's .pkgmeta checker (Tests/wowapi/pkgmeta.lua) against the tracked files: no FAIL finding, ace3, libaceguiwidgets and versioncheck uploaded as required dependencies, nothing under Tests/ shipped. Its WARN findings are pinned exactly, so a new one goes red instead of passing unseen (Peer Review 89ae4a06). Three are known: "*.code-workspace" and "*.bat" match no tracked file, and there is no curseforge-project-id: (the id is in the TOCs). Both ignore entries stay, because wow-version-replication.ps1 reads the ignore list over the untracked local tree. Green in run 20261020-102630.
  • wow-version-replication.ps1 now matches ignore globs the way the packager does. * spans folders (the packager globs with a shell case), so "*.ps1" skips .ps1 files at every depth; ** gets no special case; and a # is no longer stripped as a comment, since the packager strips none. Dev tool only; nothing in the zip changes.

1.4.0 -- allied-guild short tags, CanonName is idempotent again, and a gossiped sister list is cleaned

The LibStub MINOR moves 34 -> 35. (Begun as 1.3.1 for the fix below; the tags are a new feature, so the release is 1.4.0, still MINOR 35.)

New

  • Short tags for allied guilds: "Ahmbrai <Other>". Asked for by TOGProfessionMaster (contract 49703e36), on the operator's words: "for the <old><other> that shouldn't come from you ... it should feed that to every addon that consumes a sister guild". Two addons deriving tags on their own could show one guild under two tags; the library holds the sister list, so it holds the tags.
    • lib:GetGuildTag(nameOrKey) -> the tag for a SISTER guild, by name or "Faction-GuildName" key; nil for the home guild and any unlisted one.
    • lib:GetCharGuildTag(charKey) -> the tag of the allied roster a character is in (IsInAnyRoster); nil for a home member or an unknown character.
    • lib.DeriveGuildTags(names) -> { [name] = tag }, the pure derivation, a port of TOGPM's DeriveGuildAbbrevs: filler words dropped (the, of, and, a, an, &, -), the first word no other guild in play shares, cut to five CHARACTERS (not bytes, so an accented letter is never split); on a collision the whole word, then the initials, then a number. Names are sorted first -- before the case-insensitive dedupe too, so even which spelling of a case-only duplicate survives is fixed (Peer Review 1804345f, F3) -- so the result never depends on typing order, and no automatic tag is shared. "The Old Gods" + "The Other Gods" -> "Old" / "Other".
    • lib:SetGuildTag(nameOrKey, tag | nil) and lib:GetGuildTagOverrides() (a copy, keyed by lower-case guild name): a per-guild override that beats the automatic tag. Stored per home guild in LibGuildRosterDB beside the sister list (guildTags), and LOCAL -- not gossiped, because it is a reader's preference and gossip would let one member's spelling replace everyone's. Every | is removed, whitespace runs (a pasted newline included) become one space, the ends are trimmed, and the tag is cut to 12 characters (GUILD_TAG_OVERRIDE_LEN), so a tag is always plain text that fits a consumer's column (Peer Review 1804345f, F2).
    • An override that matches another listed guild's tag (automatic or override, case-insensitively) is STORED -- it is the player's choice -- and SetGuildTag names that guild as its second return, so a settings box can warn: local ok, clash = GR:SetGuildTag(name, tag) (Peer Review 1804345f, F1).
    • OnGuildTagsChanged() fires on an override change and on any sister-list change, since every automatic tag is worked out against the whole list.
    • KNOWN COST: the home guild's name takes part in the derivation, and it resolves a moment after login. A tag read before then can differ from the one read after, and no callback marks that moment.
  • Tests/guildtags_spec.lua, 23 examples.

Fixed

  • A sister-guild list adopted from a guildmate's gossip was not cleaned the way an officer's edit is. The gossip path dropped only non-strings and empty names, so a list from a sender that never ran the officer's cleaner could hold "Sister Guild ", whose key matches no real guild -- that sister silently never synced -- or two case variants of one name. Both paths now share one cleaner (trim, drop empties, de-duplicate case-insensitively). Peer Review 1804345f, N1; whether any sender in the wild sends a dirty list is not known. Tests/sistersync_spec.lua gossips one.

  • CanonName dropped a stray colon AFTER trimming, so the space the colon had hidden survived one pass. CanonName("E :") was "E " and CanonName("E ") was "E": the function was not idempotent, though the comment in SetAltGroup's re-parent block relies on it being so. The failure: SetAltGroup("E :", ...) filed the group under "E ", after which GetAltOwner("E :") was nil while GetAltGroup("E :") found the group, and a consumer re-canonicalising the stored key got "E", a different name. The colon is now removed first and the trim runs on what is left. Reported by Ultimate Guild Roster (peer review f1827f75). Whether any real client produces such a name is not known; the colon strip exists only to repair malformed input.

  • Tests/normalize_spec.lua gains three rows ("Thrall :", ": Thrall", "Thrall : - Fairbanks"). The existing "is idempotent" example walks the same table, so it now covers a colon next to whitespace; before, no input in it had one. With the old order, "Thrall :" returns "Thrall " and fails that row. I worked that out from the code and did not run it to see it go red.

  • NormalizeName had the same defect one layer up, and it is the one that keys GetMember, SetSisterRoster and its own cache: "Bob :" keyed as "Bob -Testrealm" (the realm appended after the surviving space), and that key normalised again to "Bob-Testrealm". The same reorder fixes it. The NormalizeName examples gain a colon row and an idempotency example over eleven inputs (Peer Review eafe6816, N1). A sister roster persisted under 1.3.0 with such a key is re-keyed on the first 1.3.1 login, because the login re-feed passes each stored name back through SetSisterRoster.

1.3.0 -- extension points on the Members tab, and roster-manager data

The LibStub MINOR moves 33 -> 34. Additions only.

New

  • Four extension points on the guild window's Members tab, both windows (Communities and classic). Asked for by Ultimate Guild Roster (contract fa4de08e): players coming from GRM want member tools reachable from the guild window, and the tab is the library's, shared by every consumer, so the only way in had been hooking OnGuildTabRowClick / GuildTabRowMenuItems.
    • lib:RegisterGuildTabClickHandler(owner, fn) -- fn(name, row, mouse) runs in OnGuildTabRowClick before the default whisper / menu; true takes the click. First true stops the walk.
    • lib:RegisterGuildTabMenuItems(owner, fn) -- fn(name, row) returns menu items appended after the library's in GuildTabRowMenuItems; non-table entries are skipped. A consumer item's table children comes back from GuildTabRowMenuItems as a FUNCTION that builds the protected submenu when it is opened, so a direct caller indexing children[1] must call it first.
    • lib:RegisterGuildTabTooltip(owner, fn) -- fn(tooltip, name, row) adds lines; ShowGuildTabRowTooltip shows GameTooltip. On the Communities rows it is a HookScript("OnEnter") after Blizzard's own row OnEnter, which stays (on our expanded rows it draws one only when a column is truncated, CommunitiesMemberList.lua:1163-1167, so ours takes ownership when theirs drew none); on the classic rows it is the OnEnter itself, and HideGuildTabRowTooltip the OnLeave (both were nil, because theirs read GetGuildRosterInfo). With no consumer registered, ShowGuildTabRowTooltip returns at once and the rows behave exactly as in 1.2.1.
    • lib:GetGuildTabPage() -> the visible page and "communities" / "classic", and the callbacks OnGuildTabPageShown(kind, page) / OnGuildTabPageHidden(kind, page), which ALTERNATE: announcePage keeps what consumers were last told in rec.announced, so a second click on our tab fires no second Shown, and an OnHide post-hook on each window (CommunitiesFrame, FriendsFrame) fires Hidden when the window closes around the page. rec.page:IsShown() cannot carry this: closing the window hides only the parent, so the page still read shown, Hidden never fired on close, and on reopen either Shown fired twice in a row (J opens on our tab) or HideGuildTab fired a late Hidden for the earlier close (Peer Review on the self-audit, thread c3db3155). The hook goes in through hookPageClose, once per rec under rec.hideHooked, and is called BEFORE each install's rec.page early return as well as at the build, so a newer copy adds it to a tab an older copy built (Peer Review, thread 9ede451f, F3). Registries live in lib.guildTabHooks (survives a LibStub upgrade), are ordered lists keyed by owner (re-registering replaces in place, nil removes), and every consumer call goes through callConsumer, which hands an error to geterrorhandler() and carries on.
  • What a consumer is handed is a copy. row is a shallow copy of the row per call (rowMember), so a consumer writing row.charKey cannot change what the row whispers or draws. A consumer's menu items are copied too (protectMenuList) and their onClick, checked and children functions run through callConsumer, nested children included, with submenus past depth 8 dropped so a list containing itself cannot overflow the stack inside the right-click. A table-valued children is protected LAZILY, as a function LibAceGUIWidgets calls on hover: copied eagerly, a self-containing list of n items was n^8 copies on one right-click, and 50 items never returned (Peer Review, thread 9ede451f). LibAceGUIWidgets calls a function-valued checked while the menu draws and children on hover, unprotected, so a raising checked threw out of OpenMenu inside our row click; its onClick protection exists only from its MINOR 39, which this library does not require.
  • The consumer tooltip adds to Blizzard's only when GameTooltip is owned by the row AND shown; owned-but-hidden is a tooltip left from an earlier hover, and adding to it would re-show its old lines.
  • Specs: Tests/tabhooks_spec.lua, 30 examples across both windows, among them close-then-reopen in both windows with the default tab on and off, the close hook added to a tab built without it, and a 50-item self-containing submenu; classictab_spec now pins the classic rows' OnEnter / OnLeave as functions. Every one of these was shown RED with its fix reverted: the owned-and-shown, Communities close-pairing, row-copy and both menu-protection specs (one drives the real OpenMenu) earlier, and the classic close-pairing, classic hook-on-an-older-tab and lazy-children specs in run 20261015-113400.411, the Communities hook-on-an-older-tab spec in 20261015-113531.678.
  • Consumer panes inside the Members page, both windows. Asked for by Ultimate Guild Roster (contract cf43f522): a player wanted UGR's window in the tab, and parenting into our page from outside draws over our list, which is ours to lay out. lib:RegisterGuildTabPane(owner, { label, build(parent, kind), shown?, hidden? }), lib:SelectGuildTabPane(owner|nil, kind?) and lib:GetGuildTabPane(kind); registry lib.guildTabPanes (ordered, survives a LibStub upgrade). A pane's parent is a frame of ours, child of rec.page so it hides with it, laid over the list body at page level + GUILD_TAB_PANE_LEVEL (30: above the template's InsetFrame border, which LiftGuildTabPage puts at + 20, and re-levelled with it on every lift by setLevelWithChildren, which moves the whole subtree by the same amount so the consumer's content and the switcher's buttons stay above their parent and in their own order) with a tiled marble background, the mouse and the wheel taken (an empty OnMouseWheel, so a wheel cannot reach the hidden list), built and build run the first time it is selected on that window (rec.paneFrames[owner]). The list is covered, never hidden. A switcher (rec.paneBar, UIPanelButtonTemplate buttons, "Members" from the global MEMBERS then one per pane, the current view disabled) is built only once a pane is registered, so with none the page is unchanged; syncPaneBar runs at registration and at the end of both installs. shown / hidden ride announcePage, so a selected pane is told when the page comes and goes on the same once-per-change rule as the page callbacks, and selectPane tells them only while rec.announced (a pane selected on a hidden page is built, and told shown when the page comes up). While a pane shows, every list control OUTSIDE its rectangle is hidden: the search box and Reset on both pages, the classic page's Show Offline box, and the Communities template's own Show Offline check -- a click on either toggle changed a list the player could not see (Peer Review, thread 70bed601). Unregistering the view tells it hidden and puts the list back. Placement: Communities, the pane covers the page plus the template's column headers (page top + 1 to + 25: ColumnDisplayTemplate is 60 tall with its bottom on the page's top, and its headers are 24-tall ColumnDisplayButtonTemplate buttons at its BOTTOMLEFT 2, 1 -- the same in the classic_era, live and forever trees; Peer Review, thread 299eb7fb, found the 20 first used here was 5 short) and its scroll bar (to + 22 right), because RefreshLayout re-shows the headers on every refresh (CommunitiesMemberList.lua:592-613) so hiding them would not hold; the switcher hangs below at the page's BOTTOMLEFT (0, -4). Classic, the pane covers FriendsFrame (4, -57) to (-6, 26) and the switcher sits at its BOTTOMLEFT (8, 3). The switcher's buttons call lib:SelectGuildTabPane at click time, so a later copy's code runs from buttons an older one built, and RegisterGuildTabPane refuses false as an owner as well as nil. Tests/tabpanes_spec.lua, 27 examples on the widget layer (the switcher's template buttons and the search box are not modelled hollow); the hidden-page example went RED with selectPane's rec.announced guard forced true (run 20261015-141932.461), and the Communities Show Offline example went RED on my first cut, whose ipairs stopped at the classic-only offlineBox (nil there) and never reached the check (run 20261015-143753.988). The child-level assertion went RED with setLevelWithChildren's subtree loop switched off (expected 301, got 51; run 20261015-145416.898) once the spec put a frame of theirs at + 200 so the lift really moves the page -- without that it passed either way.
  • Edit a guildmate's public or officer note from the Members tab's row menu, both windows. A Discord request forwarded by Ultimate Guild Roster (contract 0c32a43b): the tab's search finds the member, and Blizzard's roster has no search, but the menu only offered Whisper and Invite. A guildmate's row now adds "Edit public note" / "Edit officer note" where lib:CanEditMemberNote(name, isPublic) allows: your own public note, or CanEditPublicNote(); the officer note only with C_GuildInfo.CanViewOfficerNote() AND CanEditOfficerNote() -- Blizzard's own guild UI's rule (Blizzard_Communities/GuildRoster.lua:125, :154-156), so nobody overwrites a note they could not read. Never on a sister member's row. lib:EditMemberNote(name, isPublic) opens LibAceGUIWidgets' shared dialog, capped at lib.NOTE_MAX_LETTERS (31, the client's own SET_GUILDPLAYERNOTE cap) for that show only, and lib:SetMemberNote(name, text, isPublic) calls C_GuildInfo.SetNote(member.guid, ...) from the dialog's OK click or Enter key and nowhere else: SetNote is HasRestrictions in every tree and the docs do not say which restriction, so it is driven only from player input. Offered on Classic Era, TBC / Anniversary and Mists only (lib.CAN_WRITE_NOTES, public so a consumer reads one answer): the allow-list UGR's own editor keeps (CanWriteNotes), and an unknown client -- Wrath, Cata, retail, WoW: Forever, an unseen id -- answers false. Retail and Forever add SecretArguments = "AllowedWhenUntainted" with an effect on addons nobody has established, and Wrath and Cata have no source tree on this box (Peer Review 153b3518, F2; until then the gate was "not IS_RETAIL", which offered the edit on Wrath and Cata). The dialog's starting text is read from the CLIENT's roster row on the click, the way Blizzard's editor reads GetGuildRosterInfo at OnMouseUp (Classic/FriendsFrame.lua:3390), with the held note as the fallback, so a second edit in one session does not open on the pre-edit text (F4). Whether the client's row reflects our own SetNote before the server's next roster push is not verified. The section comment that said SetNote "cannot be driven from our frame at all" inferred that from the HasRestrictions flag alone, which does not name the restriction, and is corrected. Not seen in game: whether the write lands -- a 2019 retail report reads SetNote() as forbidden from a tainted path, which a click would not lift; one save on Era settles it. KNOWN COST: the roster is built once, so the HELD note stays the old one until relog; SetNote confirms nothing, so it is not rewritten to claim the write landed. Specs: ten examples in zz_window_spec.lua (the real dialog needs the widget layer): the write asserted inside protected.asHardwareEvent with protected.enforce on and wow.blocked empty, nothing written on open or on Cancel, the allow-list per project id, the client's row as starting text, and the cap kept through a window close (a parent hiding is not a close in the widget library) and taken off before the next addon's prompt on the shared frame (F5). The last two went RED with the row read and the onHide reset removed (run 20261016-192833.355).
  • Roster-manager data, asked for by Ultimate Guild Roster (contract 2f8b405d).
    • member.guid -- slot 17 of GetGuildRosterInfo, read by ReadRosterRow in the login build and for a joiner's row. The three Classic trees read it there themselves (FriendsFrame.lua:3390, memberGUID). Stored and handed over, never compared.
    • lib:GetMemberRace(name) -> englishRace, localizedRace from GetPlayerInfoByGUID(member.guid) at call time, nil while the client has the character uncached (MayReturnNothing). Not stored: that would be a call per member at login for a field one consumer reads.
    • OnMemberLeft's fifth argument kickedBy and OnMemberRankChanged's fourth changedBy: the officer the kick / promote / demote message names, through the same PickArg positional mapping as the member, then NormalizeName. Trailing, so existing handlers are unaffected. A join's inviter is NOT in ERR_GUILD_JOIN_S (one argument) -- it comes from the event log's invite row.
    • lib:GetGuildRanks() -> every rank, { rankIndex (0-based), name }, from GuildControlGetNumRanks / GuildControlGetRankName on each call, and OnGuildRanksChanged(ranks) on GUILD_RANKS_UPDATE. It also teaches rankIndexByName, and the promote/demote branch calls it when the new rank name is unknown -- so a promotion into a rank nobody held now moves rankIndex and fires, where it used to update the name and stay silent.
    • lib:RequestGuildEventLog() (QueryGuildEventLog, only when a consumer asks), lib:GetGuildEventLog() and OnGuildEventLogUpdated(log) on GUILD_EVENT_LOG_UPDATE, whoever asked. Each row is { type, player, actor, rank, ago, time }: player1 is the actor for invite / promote / demote / remove (FriendsFrame.lua:2846-2857), time is GetServerTime() minus ago with 30-day months and 365-day years -- approximate, the server sends nothing finer, and recomputed per parse. Rows are sorted NEWEST FIRST by the ago tuple (years, months, days, hours; ties keep index order), because which end of GetGuildEventInfo's index is newest is not confirmed (Blizzard's reader walks numEvents down to 1, FriendsFrame.lua:2838). The callback fires only when type/player/actor/rank/ago changed or when the answer is to a RequestGuildEventLog() call -- Blizzard's log windows re-query on show (FriendsFrame.xml:3938, GuildInfo.xml:436) and on every GUILD_ROSTER_UPDATE while open (FriendsFrame.lua:396), and a consumer that asks later must still get its answer -- though the fresh table is always stored. Forgotten on leaving the guild. (Peer Review, thread d4c39490.)
    • The rank-name map (rankIndexByName) is now wiped on leaving the guild and rebuilt from scratch by GetGuildRanks() -- but only from a read that names EVERY rank; a read with an unnamed rank only adds, or ranks still loading would drop out of the map (Ultimate Guild Roster, thread cb69437d). The returned list can be partial; rankIndex says the slot. Before, a name learned in the OLD guild survived: with 'Officer' at index 1 there and at index 3 in the next guild, a promotion to Officer found the stale 1, skipped the rank-list read, and fired OnMemberRankChanged with the wrong index. A renamed rank's old name likewise kept its slot. GetHomeGuildInfo() returns nil, not a nameless table, when GetGuildInfo has no name yet.
    • lib:GetHomeGuildInfo() -> { name, realm, faction, key, clubId }. realm is GetGuildInfo's fourth return with spaces and hyphens stripped, else the player's own (GetRealmName): that return is nil for a same-realm guild per warcraft.wiki.gg, and no Blizzard caller reads it, so the source cannot confirm it. clubId is C_Club.GetGuildClubId(), which can be nil early (RequiresClubsInitialized).
    • Declined: public / officer note changes mid-session. Notes are read with the roster once at login, and a mid-session edit waiting for the player's relog is the settled build-once cost (2026-09-16). Done in UGR by re-reading rows, it would cost exactly what build-once removed.
    • Specs: Tests/guildinfo_spec.lua (18), plus the officer argument pinned in chat_spec, roster_spec and both of buildonce_spec's positional examples (the reordered deDE kick names the kicker though it is written first). The joiner-GUID and empty-rank specs were shown RED with their fixes switched off (run 20261015-114931.490). The rank list and the event log come from the harness's guild.setRanks / guild.setEventLog (delivered in be92d12, inbox 3e695769); the spec's own stand-ins are gone. The harness refuses an event row with no type, so the index the client answers with nothing is now its own example, staged over the harness's GetGuildEventInfo.
  • The Tests/wowapi harness pin moves cc816a0 -> 1d75340. Since d640d37 the harness silences every frame on a library it evicts, which left each earlier env_e2e client deaf (8 e2e_spec failures, bisected to that commit). env_e2e.client now takes a still-live client's instance out of LibStub itself, and env_e2e.reset silences every outgoing client's frames the same way the harness does, rather than leaving the ones taken out by hand to the garbage collector (Peer Review, thread 44c3e4ce).
  • Suite 1043 green forward, reverse and shuffled; coverage 5921/5921.

Not covered

  • Nothing of this has run in a client. The Communities OnEnter post-hook sits on a row whose OnEnter is Blizzard's mixin method on OUR frame instance; the same rows already carry our replaced OnClick, so no new kind of write to a Blizzard object is made, but taint was not measured in game.
  • Whether GetGuildRosterInfo returns the GUID in slot 17 on retail and WoW: Forever: neither tree's Blizzard code calls it (the Communities roster uses club members), so only the Classic trees confirm the slot.
  • Whether every flavour's kick and promote/demote lines carry the officer: read from the format strings' argument counts, not from a client.
  • The panes' placement was chosen from the windows' layout code and never seen: that the Communities window's bottom strip is free left of Invite Member, that the classic Sisters page's strip is free at (8, 3), that page level + 30 sits above every child the pages build, and that a wheel over the pane stops there. The header height is read from the templates, not seen.

1.2.1 -- NormalizeName follows the regional-names switch

The LibStub MINOR moves 32 -> 33. No API change.

Fixed

  • NormalizeName's cache now keys on RegionalNames() as well as the realm. It wiped only when GetRealmName() changed, so a name normalized while RegionalUniqueNamesEnabled() was true kept its bare spelling after the switch went false, while GetNormalizedPlayer (uncached) followed the switch -- the two then disagreed for the same character. A flip of the switch now wipes the cache and re-keys the sister rosters exactly as a realm change does (lib.nameCacheRegional). RegionalNames' docstring, which said the answer was "not cached", now says the name cache keys on it. Found by FastGuildInvite (peer review 740ceb25): its Forever specs flip the switch, and a later spec file saw a roster row keyed Me against a player key of Me-Testrealm, 27 failures under a shuffled order. On a live client the switch is not expected to change within a session (not verified), so the player-visible impact is believed to be none.
  • Specs: normalize_spec "re-spells a cached name when the switch flips, agreeing with GetNormalizedPlayer", and sister_spec "re-keys a fed roster both ways when the regional-names switch flips" -- with the switch on, CanonName drops the realm half, so a stored Ana-Testrealm re-keys to Ana and back again. The HOME roster is not re-keyed after login (the documented build-once margin), so a mid-session flip, if a live client can make one (not verified), leaves its keys in the old spelling.

Changed

  • Removed: the three dev-only boards -- docs/AUDIT.md, docs/LIBRARY_CONTRACTS.md and Tests/HARNESS_CONTRACT.md. Their content was imported into the writ inbox, where every item is closed, and git history keeps the files. None of them shipped (docs and Tests are in .pkgmeta ignore:).

1.2.0 -- "ready" and "complete" are separate answers

The LibStub MINOR moves 31 -> 32. Nothing changed shape: three additions, and the server's "No player named X" now reads as known offline (see Changed).

Request from FastGuildInvite (contract a19005f7ee7b, 2026-10-09). FGI judges a guild-log departure the live route never saw by asking IsReady / IsInGuild, and IsReady goes true on a SHORT login build: the stabilization block counts a short scan as complete once retryCount >= MAX_RETRIES, so the build goes ready on the rows it has. A current member that build never read then reads as gone. LoginBuildIsShort finishes such a build later, but nothing told a consumer when -- and it gives up after MAX_LOGIN_REPAIRS (3) without telling anyone either.

New

  • lib:IsRosterComplete() -- ready AND the held roster came from a scan that saw as many rows as GetNumGuildMembers counted. Backed by lib.rosterShort, set from the scan's own short when the login build goes ready and on every repair: a repair that reads every row clears it, one that comes out short sets it (including the retry path, which has already rewritten the roster with the partial rows). Reset on leaving a guild. A build still short when the repair cap runs out stays incomplete for the session, which is the honest answer.
  • OnRosterCompleted() -- fires on each incomplete -> complete edge: right after OnRosterReady (and after OnRosterUpdated on the same event) when the login build read every row, or when a repair finishes a short build. One handler therefore covers both cases. A repair of a build that was already complete does not fire it again.
  • OnMemberLeft(name, guildKey, kicked) -- kicked is true when the home message matched the kick patterns, false for "has left", and absent for the sister-roster diff, where nothing says why. FGI asked for it as an option so it can drop its guild-log round trip for live departures.
  • lib:GetSisterPresence(guildKey, name) -- true online, false known offline, nil nobody said, for one sister member. Asked for by DeltaSync (contract 90f5fd1913f4): GetOnlineMembersScoped cannot tell "known offline" from "nobody said", and DeltaSync's sister-whisper guard declined both. Same sources as that list and no /who ("candidates, not presence"). The home guild answers from the roster: isOnline for a member, nil for anyone else.

Changed

  • The server's "No player named X" now records X as known OFFLINE. OnPeerUnreachable used to clear the sighting stamp, leaving "nobody said", so a consumer's guard let X straight through again. It now also stamps lib.offline[lower(guildKey)][X] in every sister roster holding X, and sisterOnline reads it newest-wins: a strictly newer sighting or stream "on" beats it, a sighting in the same instant keeps "on" (the clock cannot order them), an aged relay sighting from before it loses. No TTL. Dropped with the guild by RemoveSisterRoster. The guild tab rows and the level readings use the same rule, so they show the member offline too.

  • A repair's retries count as ONE repair. Found by Peer Review (G1, 2026-10-10) before this shipped: a repair that came out short retried like the login build, and every retry event spent one of the MAX_LOGIN_REPAIRS (3). Three short events spent the cap, so the event that finally carried every row was never read and IsRosterComplete stayed false for the session. lib.repairInProgress now spans a repair's retries and loginRepairs counts repairs started. lib.repairEvents is the hard bound on events any repair may read (MAX_LOGIN_REPAIRS * (MAX_RETRIES + 1), 18), so a server that never lifts its request throttle cannot keep the library scanning. KNOWN COST: a client that never fills its rows now reads up to 8 times instead of 3 before giving up (one repair's six events plus two more repairs).

Tests

  • buildonce_spec: seven specs for completeness -- complete login build fires once after ready; short build is ready but incomplete, then a repair completes it and fires once; a repair that comes out short goes incomplete and the next completes it; a short repair's retries count once, so the full event after them completes it (G1); a repair the server never lets retry stops at the event bound; the repair cap running out short never fires; a guild change resets it. The cap spec now asserts reads equal the events read and stop at the bound. chat_spec pins kicked for both messages.
  • livestream_spec: six specs for GetSisterPresence -- nil when nobody said; false after a not-found with no earlier sighting (and absent from GetOnlineMembersScoped); a newer sighting or stream "on" beats it and an older relayed one does not; no /who input; the home guild and bad arguments; dropped with the guild.
  • 947 specs pass; line coverage 100% on the library and both env layers.

Not covered

  • Run in no client. How often a login build actually goes ready short in play is not known here.

1.1.4 -- no more "secret string value" error on WoW: Forever

The LibStub MINOR moves 30 -> 31. No API changed shape.

Field report via FastGuildInvite (peer review 457f6869, Discord, WoW Forever, count 5): "LibGuildRoster-1.0.lua:2587: attempt to compare local 'message' (a secret string value, while execution tainted by 'GuildRoster')", ParseSystemMessage <- OnChatMsgSystem <- OnEvent.

Fixed

  • I gated secret chat payloads on the flavour instead of on the value. OnChatMsgSystem and OnChatMsgGuild skipped a payload only when IS_RETAIL (WOW_PROJECT_ID == WOW_PROJECT_MAINLINE) and C_ChatInfo.InChatMessagingLockdown() were both true. WoW: Forever runs the retail client -- its ChatInfoDocumentation.lua flags CHAT_MSG_SYSTEM, CHAT_MSG_GUILD and CHAT_MSG_OFFICER SecretInChatMessagingLockdown and leaves playerName without NeverSecret, and its FrameScriptDocumentation has issecretvalue -- but it is not WOW_PROJECT_MAINLINE, so the secret message reached message == "". Both handlers now return when isSecret(arg) (1.1.3's helper) says the argument is secret, on every flavour. Classic clients have InChatMessagingLockdown but never a secret payload, so they keep parsing through a lockdown as before.
  • chat_spec models a secret payload with issecretvalue on both a Classic and a mainline env, for the system and the guild handler; the old lockdown-flag specs are replaced.
  • Forever got Classic's 5 s /who floor instead of retail's 8 s. IS_RETAIL now also matches WOW_PROJECT_ID 18, which Forever reports: observed in a client on 2026-10-01 and recorded in FastGuildInvite's FGI_Compatibility.lua (Blizzard's forever tree defines no constant for it). FGI's fn.getMinScanInterval already gives Forever 8 s, so the two libraries now hold their sends apart by the same floor there. WHO_SEND_FLOOR is the only thing that reads IS_RETAIL; sistersync_spec pins 5 / 8 / 8 for Classic, Forever and Mainline.
  • 934 passed; coverage 100% on the library, env_guild.lua and env_e2e.lua.

Not covered

  • Not run on a WoW: Forever client (there is none on this box).

1.1.3 -- no more "secret string value" error on retail

The LibStub MINOR moves 29 -> 30. No API changed shape.

Field report, 2026-09-30, retail: "LibGuildRoster-1.0.lua:1287: attempt to compare local 'name' (a secret string value, while execution tainted by 'GuildRoster')", from UnitKeyName under OnUnitLevel (UNIT_LEVEL).

Fixed

  • 1.1.0's level reading compared unit data that retail can hand back as a secret value. On retail 12.0+ UnitName, UnitLevel, UnitIsUnit and UnitIsConnected may return secrets, and comparing or testing one from addon code is a Lua error. A file-local isSecret (the client's issecretvalue, absent = nothing is secret) now guards all four: UnitKeyName returns nil for a secret name or surname/realm, and OnUnitLevel drops a unit whose identity, connection or level is secret. The reading is lost for that unit, which is the same outcome as any unit we cannot name. Classic flavours have no issecretvalue and take the old path unchanged.
  • sisterlevel_spec models a secret as a value issecretvalue names and asserts none of the four is read; .luacheckrc and .luarc.json declare the global.

Changed

  • Comments only, no behaviour: the GreenWall send helper and livestream_spec now record that GreenWall 1.14.0's SendMessage tried a channel send before its relay and raised ADDON_ACTION_BLOCKED 52 times on Classic Era on 2026-09-30, and that GreenWall's next release sends API data relay-only with the same signature (peer review d49c5edb3f3f), so nothing here changes.
  • The Tests/wowapi harness pin moves 1ccef14 -> cc816a0; the whole suite is green on it (930 passed).

Seen in a retail client, 2026-10-01, in a delve: the same line on "target" printed false Valeera Sanguinar out of combat and true nil in a real fight, and OnUnitLevel("target") raised nothing either time. Per the Warcraft Wiki's Secret Values page, a unit's name is secret in combat when it is neither player-controlled nor in the party or raid -- so the reported crash was most likely a target or nameplate unit's UNIT_LEVEL.

Not covered

  • Which unit was targeted in the in-combat run was not recorded. The secret UnitLevel / UnitIsUnit / UnitIsConnected guards were exercised by the spec alone.

1.1.2 -- WoW: Forever whispers go to "First Last", no realm

The LibStub MINOR moves 28 -> 29. No API changed shape; one helper added (lib:WhisperTarget(name)).

FastGuildInvite contract 54277063, 2026-09-29: on WoW Forever a player saw three lines of "No player named 'Quebeldorf Flamehammer-ClassicBetaPvE2' is currently playing." while that player was online and in their guild, and the reporter "was doing literally nothing". FGI's own whispers were one source; it asked whether ours were too. Which sends produced those three lines is not known.

Fixed

  • Every whisper this library sends addressed the realm-suffixed name, which the Forever server refuses. 1.1.1 fixed the KEYS on Forever but left the sends addressing AceComm's raw sender, which carries the realm. Every WHISPER send now goes through lib:WhisperTarget(name): the baton's here answer to a guildmate's hi, and every sister-pull message (the guild offer, the pull request, the refusal, unchanged, no copy we can vouch for, the delta, the ack and the roster) -- plus the name handed to VersionCheck's RequestFrom. On a client where RegionalUniqueNamesEnabled() is true it is CanonName(name), the full name with no realm; everywhere else the name goes through untouched, so no other flavour's addressing changes. That the Forever server accepts the bare First Last is what Blizzard's own whisper UI implies; not verified on a Forever client.

Tests

  • normalize_spec: WhisperTarget drops the realm on Forever and leaves a name untouched on every other client.
  • livestream_spec: the here answer is addressed exactly as the sender arrived on a normal client (a same-realm sender is bare, Zed), and to Zed Stonefist for a Forever sender Zed Stonefist-ClassicBetaPvE2. The sister-pull sites share the same call and are covered by the existing sister-sync and e2e specs on the non-Forever path only.

Docs

  • README and the CurseForge page add lib:WhisperTarget to the API list and a "whisper through it" line to the Forever section, a 1.1.2 section each, and the MINOR moves to 29 in the README header, the feature-detect list and docs/HEALTHCHECK.md.

1.1.1 -- WoW: Forever names: "First Last", no realm

The LibStub MINOR moves 27 -> 28. No API changed shape; three small helpers added (lib:RegionalNames(), lib:SurnameSeparator(), lib:UnitKeyName(unit)).

The user, 2026-09-28: "we may need to look at the forever name normalization, there are no relams, and the characters have a first and last name" / "we probably don't want to break things with normalization".

Fixed

  • A Forever character is keyed by its full name, with no realm. On WoW: Forever a character is "First Last", unique across the region, and realms are not shown to players (Blizzard, "Create a Name of Your Own in WoW: Forever"). NormalizeName appended the viewer's internal realm to every bare name, so one character could key differently on two clients with different internal realms -- the same divergence CanonName exists to prevent on connected realms. Now, when the client's own RegionalUniqueNamesEnabled() says so, NormalizeName never appends a realm and CanonName drops a -Realm suffix an API added, so "Drie Stonefist" and "Drie Stonefist-Realm" are one key. Chomp and Total RP 3 made the same call.
  • The player's own key lost the surname. GetNormalizedPlayer read only UnitName("player")'s first return; on Forever the second return is the SURNAME (Blizzard's Camelot/NameUtil.lua joins exactly those two), so the player was keyed as First-Realm. It is now First Last.
  • A party member's level reading treated the surname as a realm. OnUnitLevel built name .. "-" .. second from UnitName(unit), which on Forever made First-Last. It goes through lib:UnitKeyName(unit) now, which joins with the client's surname separator on Forever and with a hyphen everywhere else.

Every other client is untouched: RegionalUniqueNamesEnabled is absent there, so the switch reads false and every name takes the path it took in 1.1.0. The separator is read from the engine's Constants.CharacterNameSeparatorConsts.CHARACTERNAME_SURNAME_SEPARATOR, with " " when it is absent (Chomp's fallback, and what Blizzard's whisper parser implies). If a client ever separates the surname with a hyphen, CanonName keeps the whole string rather than cutting the surname off as a realm.

Tests

  • normalize_spec: eight cases for the Forever path -- the switch off by default, no realm appended, a realm suffix dropped, a hyphen separator kept, the player's full name, the missing-separator fallback, a player with no surname, and UnitKeyName on both kinds of client.
  • env_guild.useRegionalNames(first, surname, sep) models a Forever client, and resetState clears both globals so nothing leaks into later files. The harness does not model regional names; asked of WoWAPITesting.

Docs

  • README and the CurseForge page each gain a "Forever" section, the three helpers in the API list, and a Forever line in the features list. Both usage examples now read a unit through lib:UnitKeyName rather than bare UnitName, which on Forever returns the surname second and elsewhere drops a cross-realm target's realm when only the first return is kept.

Dev tooling

  • wow-version-replication.ps1 (not shipped): a Deleted whose source file exists again is copied as Changed instead of removed from every replica install, so an editor's save-by-replace cannot delete a live file from the other WoW installs (TOGProfessionMaster's peer review, thread 99d78fe0).

Not covered

  • Nothing here has run on a Forever client -- there is no install on this box. What GetGuildRosterInfo, chat senders, AceComm senders and /who rows return there is engine-side and was not read from any source; the fix handles both "First Last" and "First Last-Realm" so either is safe.
  • The separator's actual value is not in Blizzard's Lua source (the constant is engine-supplied). The space is Chomp's fallback, not a reading.
  • Sister-guild KEYS (Guild-Realm) are unchanged; whether Forever's guild names need the same treatment is not known.

1.1.0 -- a live sister-guild presence stream, level-ups, and one shared level refresh

The LibStub MINOR moves 26 -> 27. Two callbacks with one signature, a request/release pair and the baton's methods added; nothing an addon calls changed shape. Two new addon-message prefixes, LibGRxlvl (lib.LEVEL_PREFIX) and LibGRxlive (lib.LIVE_PREFIX), and GreenWall messages under the addon id GuildRoster.

All seven TOCs now carry ## Category: Library, so the in-game AddOns list files the library under the "Library" heading with the fleet's other libraries instead of among the ungrouped addons (VersionCheck-1.0's request, thread 3ecb0b4bb88f). ## X-Category: Libraries stays for CurseForge. The title is now in the fleet's brand orange, |cffFF8000Lib: LibGuildRoster|r, on every flavour (DeltaSync thread 3f323604089b); toc_spec pins both.

Added

  • THE BATON: the home guild's live presence, carried to the sister guilds. The user, 2026-09-27: "deltasync requires near real time liveness and you do this well, for your host guild. but with cross guild syncs, this is an issue we'll want to tackle", and on the shape, "it would have to be airtight and FAST".

    • Who holds it. The online library user in the guild whose name sorts first (IsBatonHolder). Every client works it out from the same facts, so agreeing costs no messages.
      • At roster-ready, StartLive sends hi on GUILD.
      • Each online library user who sorts before the newcomer whispers here. They are the only ones who could outrank it.
      • A ding or zone message on GUILD also proves a guildmate runs the library.
    • Handover. It needs no message and no timer. The holder's logoff is the server's own "has gone offline" message, which every client hears at once. They drop the holder from the peer list, and the next name holds the baton. That client's first act is to forward the old holder's logoff.
    • What the holder sends over GreenWall (ForwardLive):
      • on:<name> / off:<name> for each home logon and logoff.
      • lvl:<level>:<name> for a ding by a guildmate who runs no library. One who runs it sends their own ding. A client holding a level refresh sends these too, holder or not -- only such a client reads those dings, so tying them to the baton lost every one whenever the holder ran no consumer that asked for the refresh (Peer Review, thread aabe287416b7, finding D). A ding sent twice changes nothing: the held level only rises, and livestream_spec pins that a repeat fires no second callback. The cost: one ding is one GreenWall message per online client holding a level refresh (each TOGTools user), not one per guild.
      • snap:<id>:<i>/<n>:<names> chunks of who is online (SendLiveSnapshot, SNAP_CHUNK characters each). These answer the want that every client sends once when it comes up.
      • A name on the sender's own realm goes bare (WireName), and the receiver puts the SENDER's realm back on it, not its own. Peer Review asked for it (same thread): a full name can fill a snapshot chunk alone.
    • The receiving side (OnGreenWallMessage):
      • It places the sender in a listed sister guild, and every member a message names must be in that same roster.
      • It records on/off in lib.live, and a complete snapshot marks everyone it omits offline, except its sender.
      • It fires OnSisterLocationsUpdated.
      • GetOnlineMembersScoped now counts a stream on while that guild's stream has spoken within LIVE_STREAM_TTL. A stream off clears the member's sighting, so a later sighting still wins.
      • The server's "No player named X" reply (OnPeerUnreachable) now also overrides a stream on.
      • The guild tab rows let a newer stream entry beat an older /who sighting.
    • Known gap, stated plainly. When a guild's last library user logs off, nobody sends their off, or anyone's after it. The receiver's copy of that stream stops counting after LIVE_STREAM_TTL and falls back to sightings. It never falls back to a stale "online".
    • Also asked of DeltaSync (contract 69fba6d764ec): guard directed sends to sister members with IsInAnyRoster + GetOnlineMembersScoped. Its guard reads only the home GetMember today.
  • Library users report their own zone (OnZoneChanged). On ZONE_CHANGED_NEW_AREA the client sends one zone:<text> message on GUILD, and every other client sets that member's zone. The server has no message for a guildmate changing zone. The level refresh (below) now also refreshes an ONLINE member's zone from the rows it already reads. An offline row's zone is the login build's to set.

  • OnHomeMemberLevelChanged(charKey, guildKey, oldLevel, newLevel, source), the home guild's half, asked for by TOGTools (contract 9c178c96f673) so Gratz can drop its 60-second C_GuildInfo.GuildRoster poll. The operator: "this is the opportunity to have GR get lvl 'live' like it does for presence ... if the GR could get that info for free like it does presence, we wouldn't have to do expensive lookups and compares". What is free, looked for across the per-flavour trees and the web: no server message announces another player's level on any flavour; PLAYER_LEVEL_UP carries no unit and is the player's own; UNIT_LEVEL names a unit token, so it covers group and target units; the "Level N" guild-achievement broadcast exists only where achievements do (never Era), every tenth level, and was not confirmed to announce -- not used. So there are two sources. "comm": every library user sends their own ding on GUILD (OnPlayerLevelUp, one short message per level) and every other library user's OnLevelComm takes it from a home member -- proof of a live ding, and proof of presence the same as guild chat. "unit": UNIT_LEVEL for a grouped home member (OnUnitLevel), which is a ding only when their held level was read while they were online and they have not come online since (levelStale, set in MarkMemberOnline). The held level is member.level, so GetMember stays current and a ding seen by both sources fires once. A mid-session joiner's first level is a baseline (levelUnknown). The player's own ding updates their record and fires nothing. Nothing polls and nothing re-reads the roster; build-once stands. A guildmate without the library, outside the player's group, is not seen. UNIT_LEVEL for a grouped sister member is an online reading for the sister callback below (source "unit").

  • A player's own ding also goes to the sister guilds, over GreenWall (TOGTools contract 58cbd95c507a). Seen in game on 2026-09-27: a sister member dinged 40 and no callback fired, because no /who or pull had read their level before the ding, so the first reading after it could only be a baseline. OnPlayerLevelUp now also sends lvl:<level> with GreenWallAPI.SendMessage("GuildRoster", ...) while a sister guild is listed, when GreenWall's API is version 2 (which sends with no key press, GreenWall API.lua:37-38) and C_AddOns knows this library's id (GreenWall asserts it, API.lua:59; an embedded copy with no GuildRoster folder skips). OnGreenWallLevel places the sender by the sister rosters we hold (GreenWall's handler says only whether a message is from our own guild), marks them online, and fires OnSisterMemberLevelChanged source "comm" -- proof of a live ding, so it needs no earlier online reading and, for a member no reading has placed a level on, fires with oldLevel nil. A sender we cannot place, or in an unlisted guild, is dropped. Not changed: a /who sighting still does not treat a roster copy's level as the "before" reading -- that copy does not say the member was online, so a higher /who level could be a ding from hours earlier.

  • lib:RequestLevelRefresh(owner) / lib:ReleaseLevelRefresh(owner), the one exception to build-once (TOGTools contract 7e447fb6d5c7). The operator, 2026-09-27: "ok, then we should probably move the 60s recheck into guildroster, shouldn't we". While any consumer holds it, a GUILD_ROSTER_UPDATE after ready re-reads the rows' LEVELS (ReadRosterLevels, source "roster") when it answers our request or when LEVEL_REFRESH_INTERVAL (60 s) has passed since the last read, and asks the server again (OnLevelRefreshEvent) at most once per interval, only when the event's canRequestRosterUpdate says it may, and never on the event whose login verification just asked. One request per client whoever holds it. No timer: the first cut ran the request from a C_Timer.NewTicker and was refused, because the operator's rule is no timer that touches the WoW API; so the cadence follows the guild's own events, and a quiet guild refreshes less often than every 60 s. Levels only -- membership, presence, rank and notes stay with their chat events; the show-offline setting is never written; with no holder the event is still ignored and reads no row (buildonce_spec unchanged). A "roster" reading fires only for a member our presence model has online and who has not come online since the held level was read; a row with no level is skipped, never a baseline; the held level never drops, so a cache behind a "comm" ding does not fire it twice.

  • OnSisterMemberLevelChanged(charKey, guildKey, oldLevel, newLevel, source), asked for by TOGTools (contract 2f198123af10) so Gratz can congratulate a sister-guild ding. The operator: "the user though i should detect level ups in the SISTER guild and grats members in the SISTER guild, not just the guild i'm in". Every /who row about a sister member (recordLocation, source "who") and every member of a SetSisterRoster landing (source "roster") is a reading, filed in the new in-memory lib.sisterLevels[lower(guildKey)][charKey] = { level, online } by noteSisterLevel. It fires only when the level is higher than the one held AND the member was known online at the last reading and this one. A /who row is online by definition; a roster reading is online when presence (MarkOnline) or a /who row saw them within PRESENCE_TTL (knownOnline), and otherwise says nothing about presence rather than "offline" -- a roster's level for somebody offline is last-known and must never read as a live ding. A clean location answer that did not list a member (TakeLocateAnswer) marks them offline. The first reading in a session and a member who just joined are baselines; the held level only rises, so one ding seen by a /who and then a pull fires once; the home guild is never recorded. guildKey is the listed spelling. Readings are forgotten with the guild (RemoveSisterRoster, an unlisting).

  • Tests/sisterlevel_spec.lua, 33 specs across both callbacks, the refresh and the GreenWall forwarding; Tests/livestream_spec.lua, 25 specs for the baton, the stream and zones. Both against a stub GreenWall; the harness has no GreenWall model. Writing them found one defect before it shipped: a complete snapshot that did not name its own sender marked the sender offline, though the message itself proves them online.

  • One rule for "is this sister member online" (sisterOnline), from the session's self-audit. It had been three separate rules: GetOnlineMembersScoped, the guild tab rows' /who override, and knownOnline. Now the newest statement wins among a sighting, the stream and (for rows and level readings only) a /who row. GetOnlineMembersScoped still leaves /who rows out on purpose, because a /who row says the member is online, not that they can answer (the candidates rule). The same audit found two gaps, both fixed:

    • The server's "No player named X" reply did not override an older /who "online" (OnPeerUnreachable now marks the /who record offline).
    • gwSend counted a message GreenWall refused (ok = false) as sent.

Not covered

  • Not run in a client. The addon-channel announcement, UNIT_LEVEL, the level refresh, the baton and zone reports are exercised only against the harness. How often a real guild's events let the refresh run is not measured.
  • SNAP_CHUNK was 120 and every chunk would have been refused. Peer Review (thread aabe287416b7, finding A) pointed out that GreenWall's relay refuses, rather than cuts, a payload over 255 minus its header (Relay.lua:236-243). It is now 64. livestream_spec runs our real sends through GreenWall's real Relay.lua, Constants.lua and Base64BCA.lua from a worst-case sender, and asserts each one is accepted. The worst-case sender has a 12-letter name on a 24-letter realm and a 12-character guild id; that guild-id length is an assumption. At that worst case (members on another realm, sent in full) a chunk holds one name, so 31 online members make 30 GreenWall messages per snapshot. Same-realm names go bare, and 31 ten-letter ones make 6.
  • Sister readings come only as often as /who answers and pulls (five minutes apart per guild), so a sister ding is seen minutes late, or missed when the member logs off in between -- accepted by the operator ("it would be slower") -- for sister members who do not run the library; those who do announce their own ding over GreenWall (above). The GreenWall send from PLAYER_LEVEL_UP is not verified in a client; GreenWall's own API.lua:37-38 says API version 2 needs no key press.

1.0.1 -- the guild tab is called Members, and three retail fixes

The LibStub MINOR moves 25 -> 26. Nothing an addon calls changed shape. Added on lib: the constant GUILD_TAB_NAME, and BuildGuildTabInvite / SyncGuildTabInvite (internal to the tab; listed because they are on lib).

Changed

  • The tab is "Members" on both windows (lib.GUILD_TAB_NAME; the Communities tab's tooltip, the classic bottom tab's text, the "i" help's title and the /gr checkbox label all read it). It was "Sisters" / "Guild and sister guilds". Players without a sister guild -- most of them -- read that as "not for you" and asked for it gone. The user, 2026-09-27: "it needs to not have the sister guild theme, focus on it's just a better guild tab than the game gives you." The "i" help (GUILD_TAB_HELP) now leads with the search filter and Reset button, the two things it adds over the game's own roster (sortable columns are not mentioned: the game's tab has them too), puts sister guilds in one optional paragraph, and ends with how to turn the tab off in /gr. The /guildroster tab status line and the diagnostics are unchanged.

Fixed

  • Retail: no bottom border under the Chat-box patch. After switching from the Chat tab, the strip that covers the Chat page's input box stopped at the window's Bg, which on retail ends 2 above the window's bottom (Mainline SharedUIPanelTemplates.xml:603), and retail has no BottomBorder -- its frame is a NineSlice child (:550). The strip ended short with no border under it. On a window with no BottomBorder and a NineSlice.BottomEdge, the strip now runs to the bottom of that edge piece and rec.footEdge redraws it over our stone: same atlas (or texture and coords), same tiling, SetAllPoints on theirs. Clients with a BottomBorder are unchanged. Two specs in rostersisters_spec.lua (atlas and texture edges). The user confirmed the border in game on 2026-09-27.
  • The Chat page's control button showed through over the "i". The strip ended 10 past the chat box, and the control-frame button beside Invite Member (CommunitiesFrame.xml:583) poked out between it and Invite Member, over our "i". The strip's right edge is now Invite Member's LEFT (the old box-plus-margin edge only on a window without that button), and LiftGuildTabPage lifts rec.info above the strip on every show. The user confirmed it in game on retail on 2026-09-27.
  • Retail: no Invite Member when the tab was opened from Roster. Blizzard's InviteButton belongs to the Chat display mode only (CommunitiesFrame.lua:544-563), so over the Roster page it is hidden and our tab showed no Invite Member at all. We may not Show theirs, so BuildGuildTabInvite makes one of ours on their rectangle that calls what theirs calls (CommunitiesUtil.OpenInviteDialog(clubId, streamId), CommunitiesInvitationFrame.lua:111-118 -- the game's own Add Guild Member popup for a guild), and SyncGuildTabInvite shows it on every ShowGuildTab only while theirs is hidden, enabled by CanGuildInvite() as theirs is. Not built on a client without CommunitiesUtil. The user confirmed it in game on retail on 2026-09-27.

Older versions (1.0.0 and earlier) are in CHANGELOG_ARCHIVE.md.