GuildRoster-v1.14.0
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:levelStalewas set on EVERY login (MarkMemberOnline), so a guildmate who logged in and dinged before the next paced read (or groupUNIT_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.isOnlinewas always a baseline, so a guildmate who dinged and logged off before the next read was lost.
- New
lib.levelProofsays 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 setlevelStale, 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 checkIsOnline.
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.
IsLayerDetectEnablednow reads a new saved key,layerDetectOn(true only when the player opts in); the oldlayerDetectis 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/grbox and Options > AddOns. Ultimate Guild Roster holds detection only while this setting is on (itsLayers:HoldreadsIsLayerDetectEnabled), so it stops too. Specs inlayers_spec("is off by default on Forever, even where an older release saved it on") andzz_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, afterGetMember(charKey).levelreturns it, fromnoteHomeLevel(any source), fromResolvePendingDetailwhen 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 ofReadRosterLevels, 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.rowsis 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
UpdateLayerPlatesets the plate's unit frame to alpha 0 onNAME_PLATE_UNIT_ADDED(back to 1 onNAME_PLATE_UNIT_REMOVED, because the frame is pooled). Only a kind the player had OFF when detection took the settings is hidden -- enemy plates vianameplateShowEnemies, NPC plates vianameplateShowFriendlyNpcs-- 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 settinglayerHidePlates, on by default:lib:IsLayerHidePlates()/lib:SetLayerHidePlates(bool), callbackOnLayerHidePlatesChanged(enabled), a row in Options > AddOns, a/grcheckbox, and/guildroster layer plates on|off.RefreshLayerPlatesredraws what is on screen when the setting or the hold changes. Specs inlayers_spec("hiding the plates it turns on") andzz_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.
AnnounceLayerNameplatesnow 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/grturns detection off. Nothing is said when both were already on. Spec inlayers_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 threeOnMemberLevelKnownpaths, andOnLevelRefreshReadordering 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 layerreadouts from the operator, minutes apart on 2026-11-21: four guildmates on unchanged maps reported completely different ids (Leli Grimwald, map 1433:49749-11342280, then47871-6444974), where every NPC read in 1.11.0 testing gave7074-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.LayerFromGUIDstill 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 holdsRequestLevelRefresh, at most once perLEVEL_REFRESH_INTERVAL, fromGUILD_ROSTER_UPDATE, never a timer) now also takes each row's public note, and the officer note whileIsOfficer()says the client can see it, through the newlib: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
publicNotechanges with it, so the home roster's note hash (GetRosterNoteHash) now moves mid-session; the relay and a served delta already carry and verifynh, 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()atPLAYER_LOGINbuilds a canvas-layout category (Settings.RegisterCanvasLayoutCategory+RegisterAddOnCategory, both inBlizzard_Settings_Sharedon Era and retail) withUICheckButtonTemplateboxes of its own, rather thanSettings.RegisterAddOnSetting, whose signature differs between clients. The rows arelib:SettingsPanelRows(); the boxes repaint on show and onOnMailAutocompleteChanged/OnGuildTabChanged/OnLayerDetectChanged. Nothing is built without the Settings API. Specs inzz_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 onnameplateShowEnemiesandnameplateShowFriendlyNpcswhile held, on by default since 1.11.1 -- and/guildroster layer offwas the only off switch. The box iswin.layerBox, added only whenHasLayers(); it writesSetLayerDetectand repaints from the window's callbacks.OnLayerDetectChanged(enabled), fired bySetLayerDetecton a change and not on a repeat, so a consumer's own toggle (Ultimate Guild Roster's, as asked) can follow/grand 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 underguildTabDefault.hookPageClose's OnHide now recordsrec.reopen(was ours the page announced up) before announcing it hidden; the open hooks show ours whenguildTabDefaultorrec.reopensays so.rec.activePanewas already kept across the close, so a consumer's pane comes back with the page and gets itsshowncall.- 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
/reloadopens as the game does. No Blizzard method is called -- the sameShowGuildTabthe 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) andtabhooks_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
RequestLayersor a tester typed/guildroster layer on. Now an account setting,layerDetectat the root ofLibGuildRosterDB(absent = on, likemailAutocomplete), makes the library hold detection itself fromPLAYER_LOGINunderlib.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|offnow changes this setting, so "off" survives a relog; it used to hold or release a session-only"slash"owner.- A consumer's own
RequestLayersis a separate hold: turning the setting off does not release it, and/guildroster layersays so when another addon still has detection on. - Off Forever the setting holds nothing.
layers_specpins 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 holdsRequestLevelRefresh). 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_ID18) only.lib:RequestLayers(owner)/lib:ReleaseLayers(owner), held per owner likeRequestLevelRefresh. While held,nameplateShowEnemiesandnameplateShowFriendlyNpcsare 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 everyNAME_PLATE_UNIT_ADDED,PLAYER_TARGET_CHANGEDandUPDATE_MOUSEOVER_UNITcreature is read. The player's own values go back on the last release and atPLAYER_LOGOUT; a setting the player changed while it was held is left as they set it. A change in combat waits forPLAYER_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 forLAYER_GROUP_SETTLE(180 s) afterGROUP_JOINED, which also drops the held layer, or forLAYER_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()returnid, number, map.numberis the id's place among those this client knows, sorted by serverID then zoneUID. CallbackOnMemberLayerChanged(name, id, map).- Shared as
layer:<id>:<map>/layer:0on 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 sayshi. 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. NoClubMemberInfocarries reputation, so this slot is the only per-member source; Blizzard's ClassicFriendsFrame.lua:3403names it_guildRepStandingand never reads it. Passed through as the client returns it,nilincluded.ReadRosterRowreturns it last, so callers that read only the leading values are unchanged.roster_specpins a supplied value and an absent one. The CurseForge page'sGetMemberfield list also gainsguid, 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?").
BuildGuildTabRowsadds the row'sofficerNotetoW:SearchMatchonly whileC_GuildInfo.CanViewOfficerNote()answers true, read once per build; a client without that function searches no officer note. The C_Club rows already carryofficerNote(ClubMemberInfo,ClubDocumentation.lua:1723in the Era tree); the fallback rows built fromlib.rosternow 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_specpins 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, whereC_GuildInfo.SetNoteaddsSecretArguments = "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 whetherCAN_WRITE_NOTESoffers 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 fromSetNoteis caught and printed; a blocked action is not visible to it and shows in BugSack. It does not changeCAN_WRITE_NOTES; retail is widened into it by hand only once a note is seen to land.zz_window_specdrives it on retail under the protected-call model. Answered 2026-11-21: run on the retail client, it raisedADDON_ACTION_FORBIDDEN("tried to call the protected function") from the Enter key.SetNoteis protected there, not merely gated on player input, so retail stays out ofCAN_WRITE_NOTESand 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 givenil.
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 optionalonClick = 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". WithonClick, the pane's switcher button calls it, protected, and does not select the pane;SelectGuildTabPanefrom code still does. It is validated likeshown/hiddenand replaced or dropped by a re-register. The buttons now click through the new publiclib: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, namedGUILD_TAB_PAGE_BOTTOM(28, the page's own anchor) andGUILD_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 sameagokept the server's index order, lowest first, but the highest index is the newest: Blizzard's reader walksnumEventsdown to 1 and appends each line, sonumEventsis 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'slastOnlinefields, which their row already writes into Zone). A sister row has no such fields, so Blizzard's row wroteOffline; each of our rows now follows theirRefreshExpandedColumnswithPaintGuildTabLastSeen. The time comes fromsisterLastSeen, the newest of every source the online rule weighs, read without its time-to-live cut-offs: a sighting, a/whorow 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 readsOffline. 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 inTests/env_guild.luawrites Zone as Blizzard'sRefreshExpandedColumnsdoes.
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_Showwritesdialog.whichfrom the caller andStaticPopup_OnClickreads it beforeOnAccept(StaticPopup.lua:405,:699, Forever tree), and Forever forbids addonsC_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 inSyncGuildTabInvite. New:lib:CanAddonGuildInvite()(false onWOW_PROJECT_ID18), public so FastGuildInvite can ask the same question. Every other client is unchanged. Tests/guildtabinvite_spec.lua(new, five examples). The Invite example inTests/rostersisters_spec.luanow 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-1436in the Forever tree). WhereRegionalNames()is true, Name now takes 50 px more -- 20 from Zone, 30 from Note -- in both halves: the page'sRefreshLayoutre-lays the headers from a widened COPY of their set (WidenGuildTabColumns; their file-local table is never written), and each row'sUpdateNameFrameis followed byWidenGuildTabRowName, 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) andTests/env_guild.lua: the column model carries Blizzard's widths, the header recordsLayoutColumns, and a row has a name frame, zone and rank icon sized as theirUpdateNameFramesizes 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 onUpdateCommunitiesButtons(present on every flavour's Communities frame);CanGuildInvite()is the fallback only for a button that cannot reportIsEnabled.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 (contract2bcc0109), 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), ornilwhen 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.EditMemberNotenow takes its starting text from it instead of its own copy of the row walk. One difference: an officer note the row returns asnilnow 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
SetNotebefore 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).falsefor a non-string or empty name.lib:GetRealmGroupKey()-> the lower-cased names joined by|, the same on every client of the group;nilwhileGetNormalizedRealmNamehas not answered, because a key without the own realm would differ.lib:IsSameRealmGroup(charKey)-> boolean for aName-Realmkey; a bare key is the own realm (NormalizeName's contract) and answerstrue, 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_AutoCompleteadded to.luacheckrcand.luarc.json.Tests/realmgroup_spec.lua, 16 examples, on the harness'swow.autoCompleteRealmsmodel.
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 (contract332fcbb6), which wants to accept synced lists only from members whose rank can invite. With no name, or the player's own name, it isCanGuildInvite(). For anyone else it is flag 7 ofC_GuildInfo.GuildControlGetRankFlags(rankIndex + 1)(rankOrderis a luaIndex,GuildInfoDocumentation.lua:122in every tree). Flag 7 is namedRANK_FLAG_INVITEin the library. The table is indexed byGUILDCONTROL_OPTIONn(the Classic rank popup checks boxnfromflags[n],FriendsFrame.lua:2447; the Promote and Demote buttons useGUILDCONTROL_OPTION5and6,FriendsFrame.xml:3710, 3742), and warcraft.wiki.gg'sConst_GUILDCONTROL_OPTIONgives 7 as Invite Member; the strings themselves are not in the UI source.falsewhen guildless, for a name that does not normalize, or for a name absent from a COMPLETE roster.nilwhen the roster is not complete and the name is absent, when the member'srankIndexis unknown, when the flags table comes back empty, or when either API is missing. Nothing is cached; the answer can change onOnGuildRanksChangedandOnMemberRankChanged.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, soIsOfficer(other)staysnil.- CurseForge page: the
SetSisterRosterwarning 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 Reviewb79a4d7a). 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 clearsmember.rankIndextonilinstead of keeping the old rank's index.CanInvitewas answering from that old index with confidence. Every reader ofrankIndexalready handlesnil(a joiner starts there);roster_spec's "rank name nobody holds" example now assertsnilwhere it asserted the old 3. The CurseForge page'sIsOfficerbullet lost the same "no API for another member's permissions" sentence. TheCanInviteandIsOfficerdocstrings now say why a name that does not normalize isfalsefor one andnilfor 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 neitherCanGuildInvitenorGuildControlGetRankFlags, so the spec stages both.
Not covered
CanInviteitself 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,truefor nine andfalsefor one ("Innitiate", rank order 8), so the flags differ per rank and none was missing. The operator then judged that the onefalserank 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 contract0634dc22, which suggested key-first). The roster leads because a genericforends when its first value isnil(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. WhileGetHomeGuildKeyis stillnilat login, the home roster is yielded with anilkey as soon as it holds members.GetKnownRostersadds home only once its key resolves andGetRoster(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 bareBobto a sister guild's Bob, or to nothing, and refused to save a guildmate its picker offered. Home is NOT yielded while guildless or whileGuildChangedsays the live guild is not the one the roster was built for -- the members are the old guild's then, the reasonGetHomeGuildKeyisnilthere (Peer Review reply70af5535, R1). A sister roster filed under the home key is skipped, asGetKnownRostersdoes. 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,nilexactly whenIterateRosterswould not yield home. It andGetRosterHashshare 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,GetRosterandGetRosterHashare unchanged.- Five
sister_specexamples underIterateRosters.
1.4.1 -- the home guild key follows a guild change
The LibStub MINOR moves 35 -> 36.
Fixed
GetHomeGuildKeykept the OLD guild's key after a guild switch (Peer Review0596e8d1, from Dibs' self-auditdf49d3e9). It returned the cachedhomeGuildKeywhenever one was set, and only the not-in-guild branch ofOnGuildRosterUpdatecleared it. Leave guild B and join guild A with no guildlessGUILD_ROSTER_UPDATEhandled 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 andGetGuildInfodisagree, so it archived nobody until a relog.- The key is built in one place,
LiveHomeGuildKey.homeGuildKeynow means "the guild the roster was built for". OnlyOnGuildRosterUpdatesets it, and onlyResetGuildStateclears it (from eitherOnGuildRosterUpdateorOnPlayerGuildUpdate), 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 reply70af5535, R2). - While the cached and live keys disagree,
GetHomeGuildKeyanswersnil-- "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 reply70af5535, R1; red in run 20261018-185733, green in 20261018-190226). It also answersnilwhen guildless with a key cached, and the cache while the name is loading. OnGuildRosterUpdatecompares 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, answersnilmid-switch and the live key after the event, plus the loading-name fallback;roster_specpins 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 guildlessnil.PLAYER_GUILD_UPDATEis now handled too (lib:OnPlayerGuildUpdate, Peer Review self-auditb58cab1b, F2), so the switch no longer waits on aGUILD_ROSTER_UPDATEnothing guarantees. Guildless ->ResetGuildStateat once; a live key that differs from the cache ->ResetGuildStateandRequestGuildRoster, 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.IsInGuildthen 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 reply6354435c, A3).roster_specpins 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 inroster_spec(leave, switch, matching key, ready state).- A faction that has not loaded is "still loading", never
Neutral(F3).LiveHomeGuildKeyfell back to"Neutral"whenUnitFactionGroupreturned 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 returnsniluntil the faction is known, as it already did for a missing guild name.UnitDocumentation.luadeclaresUnitFactionGroup's returnsNilable = 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: noNeutral-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'sStartSisterSyncreturned at once and the home hash was never published, and build-once never reached either again. Every member record built then also carriedguild = nil, soGetRoster(homeKey)would have mixed nil and keyed members once later joiners got the key (Peer Review reply2a8f8005, N1).OnGuildRosterUpdatenow has akeyArrivedblock: on the event that first caches a key after ready, it fills inguildon every record that has none, then runsStartSisterSyncand 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, andguildon 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 reply4d81d9a5, C2; red in run 20261019-100834). Between the faction answering and that roster event,GetHomeGuildKeyalready returns the key while the records still carrynil(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, inOnPlayerGuildUpdate,OnGuildRosterUpdateandGetHomeGuildKey-- one test,GuildChanged, which compares names whenever either key is missing. SoGetHomeGuildKeynow also answersnilwhen a key is missing on either side and the live guild NAME differs fromhomeGuildName; before, it answered the cache ornilwithout comparing names (self-audit5786abce, S3; Peer Review reply4d81d9a5, G2). The two event handlers reset on that mismatch; the getter only answersniland 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 reply2a8f8005, 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 inquery_spec(switch answersnil, the roster event resets before caching,PLAYER_GUILD_UPDATEresets 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 replyce1cc3d2, A2). One helper,KeyFaction, now serves all seven, taking the cached key's faction first. Pinned inquery_spec. A key's faction is read in one place,FactionOfKey, which only acceptsAlliance,HordeorNeutral;KeyFaction,GetHomeGuildInfoand the guild-tag name strip all use it, so the three can no longer drift apart (self-audit5786abce, S2). GetHomeGuildInfo().factionis read from the key, not fromUnitFactionGroup, 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 inquery_spec.
- The key is built in one place,
- The two-client harness read and answered under the wrong client.
env_e2e.countcalledGetRosterwithout entering the client, andanswerWhofiredWHO_LIST_UPDATEafter a flooradvanceTimewhose timers had entered OTHER clients -- so one provider built a refusal naming a third client's guild. The old cache hid both.countenters its client,answerWhore-enters after the advance, and nine directGetRosterreads ine2e_specgo throughe2e.as; the refusal'skis now asserted. .pkgmetacarried comments, against the rule that it carries none (a trailing# commenton a quoted ignore entry makes the packager upload an empty zip). All removed; the entries are unchanged.toc_specnow fails on any#in.pkgmeta, and first checks its detector against a commented sample so the check cannot pass by never firing (Peer Review reply9a65646b). The trailing-comment check is now part of that one test, still naming each offending entry (Peer Reviewde0f66f1).toc_specruns the harness's.pkgmetachecker (Tests/wowapi/pkgmeta.lua) against the tracked files: no FAIL finding,ace3,libaceguiwidgetsandversioncheckuploaded as required dependencies, nothing underTests/shipped. Its WARN findings are pinned exactly, so a new one goes red instead of passing unseen (Peer Review89ae4a06). Three are known:"*.code-workspace"and"*.bat"match no tracked file, and there is nocurseforge-project-id:(the id is in the TOCs). Both ignore entries stay, becausewow-version-replication.ps1reads the ignore list over the untracked local tree. Green in run 20261020-102630.wow-version-replication.ps1now matches ignore globs the way the packager does.*spans folders (the packager globs with a shellcase), so"*.ps1"skips.ps1files 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 (contract49703e36), 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;nilfor the home guild and any unlisted one.lib:GetCharGuildTag(charKey)-> the tag of the allied roster a character is in (IsInAnyRoster);nilfor a home member or an unknown character.lib.DeriveGuildTags(names)->{ [name] = tag }, the pure derivation, a port of TOGPM'sDeriveGuildAbbrevs: 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 Review1804345f, 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)andlib:GetGuildTagOverrides()(a copy, keyed by lower-case guild name): a per-guild override that beats the automatic tag. Stored per home guild inLibGuildRosterDBbeside 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 Review1804345f, F2).- An override that matches another listed guild's tag (automatic or
override, case-insensitively) is STORED -- it is the player's choice --
and
SetGuildTagnames that guild as its second return, so a settings box can warn:local ok, clash = GR:SetGuildTag(name, tag)(Peer Review1804345f, 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 Review1804345f, N1; whether any sender in the wild sends a dirty list is not known.Tests/sistersync_spec.luagossips one.CanonNamedropped a stray colon AFTER trimming, so the space the colon had hidden survived one pass.CanonName("E :")was"E "andCanonName("E ")was"E": the function was not idempotent, though the comment inSetAltGroup's re-parent block relies on it being so. The failure:SetAltGroup("E :", ...)filed the group under"E ", after whichGetAltOwner("E :")wasnilwhileGetAltGroup("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 reviewf1827f75). Whether any real client produces such a name is not known; the colon strip exists only to repair malformed input.Tests/normalize_spec.luagains 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.NormalizeNamehad the same defect one layer up, and it is the one that keysGetMember,SetSisterRosterand 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. TheNormalizeNameexamples gain a colon row and an idempotency example over eleven inputs (Peer Revieweafe6816, 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 throughSetSisterRoster.
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 hookingOnGuildTabRowClick/GuildTabRowMenuItems.lib:RegisterGuildTabClickHandler(owner, fn)--fn(name, row, mouse)runs inOnGuildTabRowClickbefore the default whisper / menu;truetakes the click. Firsttruestops the walk.lib:RegisterGuildTabMenuItems(owner, fn)--fn(name, row)returns menu items appended after the library's inGuildTabRowMenuItems; non-table entries are skipped. A consumer item's tablechildrencomes back fromGuildTabRowMenuItemsas a FUNCTION that builds the protected submenu when it is opened, so a direct caller indexingchildren[1]must call it first.lib:RegisterGuildTabTooltip(owner, fn)--fn(tooltip, name, row)adds lines;ShowGuildTabRowTooltipshows GameTooltip. On the Communities rows it is aHookScript("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, andHideGuildTabRowTooltipthe OnLeave (both werenil, because theirs readGetGuildRosterInfo). With no consumer registered,ShowGuildTabRowTooltipreturns at once and the rows behave exactly as in 1.2.1.lib:GetGuildTabPage()-> the visible page and"communities"/"classic", and the callbacksOnGuildTabPageShown(kind, page)/OnGuildTabPageHidden(kind, page), which ALTERNATE:announcePagekeeps what consumers were last told inrec.announced, so a second click on our tab fires no second Shown, and anOnHidepost-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) orHideGuildTabfired a late Hidden for the earlier close (Peer Review on the self-audit, threadc3db3155). The hook goes in throughhookPageClose, once per rec underrec.hideHooked, and is called BEFORE each install'srec.pageearly return as well as at the build, so a newer copy adds it to a tab an older copy built (Peer Review, thread9ede451f, F3). Registries live inlib.guildTabHooks(survives a LibStub upgrade), are ordered lists keyed by owner (re-registering replaces in place,nilremoves), and every consumer call goes throughcallConsumer, which hands an error togeterrorhandler()and carries on.
- What a consumer is handed is a copy.
rowis a shallow copy of the row per call (rowMember), so a consumer writingrow.charKeycannot change what the row whispers or draws. A consumer's menu items are copied too (protectMenuList) and theironClick,checkedandchildrenfunctions run throughcallConsumer, nested children included, with submenus past depth 8 dropped so a list containing itself cannot overflow the stack inside the right-click. A table-valuedchildrenis 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, thread9ede451f). LibAceGUIWidgets calls a function-valuedcheckedwhile the menu draws andchildrenon hover, unprotected, so a raisingcheckedthrew out ofOpenMenuinside our row click; itsonClickprotection 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_specnow 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 realOpenMenu) earlier, and the classic close-pairing, classic hook-on-an-older-tab and lazy-children specs in run20261015-113400.411, the Communities hook-on-an-older-tab spec in20261015-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?)andlib:GetGuildTabPane(kind); registrylib.guildTabPanes(ordered, survives a LibStub upgrade). A pane's parent is a frame of ours, child ofrec.pageso it hides with it, laid over the list body at page level +GUILD_TAB_PANE_LEVEL(30: above the template's InsetFrame border, whichLiftGuildTabPageputs at + 20, and re-levelled with it on every lift bysetLevelWithChildren, 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 emptyOnMouseWheel, so a wheel cannot reach the hidden list), built andbuildrun the first time it is selected on that window (rec.paneFrames[owner]). The list is covered, never hidden. A switcher (rec.paneBar,UIPanelButtonTemplatebuttons, "Members" from the globalMEMBERSthen one per pane, the current view disabled) is built only once a pane is registered, so with none the page is unchanged;syncPaneBarruns at registration and at the end of both installs.shown/hiddenrideannouncePage, so a selected pane is told when the page comes and goes on the same once-per-change rule as the page callbacks, andselectPanetells them only whilerec.announced(a pane selected on a hidden page is built, and toldshownwhen 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, thread70bed601). Unregistering the view tells ithiddenand puts the list back. Placement: Communities, the pane covers the page plus the template's column headers (page top + 1 to + 25:ColumnDisplayTemplateis 60 tall with its bottom on the page's top, and its headers are 24-tallColumnDisplayButtonTemplatebuttons at its BOTTOMLEFT 2, 1 -- the same in the classic_era, live and forever trees; Peer Review, thread299eb7fb, found the 20 first used here was 5 short) and its scroll bar (to + 22 right), becauseRefreshLayoutre-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 calllib:SelectGuildTabPaneat click time, so a later copy's code runs from buttons an older one built, andRegisterGuildTabPanerefusesfalseas an owner as well asnil.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 withselectPane'srec.announcedguard forced true (run20261015-141932.461), and the Communities Show Offline example went RED on my first cut, whoseipairsstopped at the classic-onlyofflineBox(nil there) and never reached the check (run20261015-143753.988). The child-level assertion went RED withsetLevelWithChildren's subtree loop switched off (expected 301, got 51; run20261015-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" wherelib:CanEditMemberNote(name, isPublic)allows: your own public note, orCanEditPublicNote(); the officer note only withC_GuildInfo.CanViewOfficerNote()ANDCanEditOfficerNote()-- 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 atlib.NOTE_MAX_LETTERS(31, the client's ownSET_GUILDPLAYERNOTEcap) for that show only, andlib:SetMemberNote(name, text, isPublic)callsC_GuildInfo.SetNote(member.guid, ...)from the dialog's OK click or Enter key and nowhere else:SetNoteisHasRestrictionsin 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 addSecretArguments = "AllowedWhenUntainted"with an effect on addons nobody has established, and Wrath and Cata have no source tree on this box (Peer Review153b3518, F2; until then the gate was "notIS_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 readsGetGuildRosterInfoatOnMouseUp(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 ownSetNotebefore the server's next roster push is not verified. The section comment that saidSetNote"cannot be driven from our frame at all" inferred that from theHasRestrictionsflag alone, which does not name the restriction, and is corrected. Not seen in game: whether the write lands -- a 2019 retail report readsSetNote()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;SetNoteconfirms nothing, so it is not rewritten to claim the write landed. Specs: ten examples inzz_window_spec.lua(the real dialog needs the widget layer): the write asserted insideprotected.asHardwareEventwithprotected.enforceon andwow.blockedempty, 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 theonHidereset removed (run20261016-192833.355). - Roster-manager data, asked for by Ultimate Guild Roster (contract
2f8b405d).member.guid-- slot 17 ofGetGuildRosterInfo, read byReadRosterRowin 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, localizedRacefromGetPlayerInfoByGUID(member.guid)at call time,nilwhile 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 argumentkickedByandOnMemberRankChanged's fourthchangedBy: the officer the kick / promote / demote message names, through the samePickArgpositional mapping as the member, thenNormalizeName. Trailing, so existing handlers are unaffected. A join's inviter is NOT inERR_GUILD_JOIN_S(one argument) -- it comes from the event log'sinviterow.lib:GetGuildRanks()-> every rank,{ rankIndex (0-based), name }, fromGuildControlGetNumRanks/GuildControlGetRankNameon each call, andOnGuildRanksChanged(ranks)onGUILD_RANKS_UPDATE. It also teachesrankIndexByName, and the promote/demote branch calls it when the new rank name is unknown -- so a promotion into a rank nobody held now movesrankIndexand fires, where it used to update the name and stay silent.lib:RequestGuildEventLog()(QueryGuildEventLog, only when a consumer asks),lib:GetGuildEventLog()andOnGuildEventLogUpdated(log)onGUILD_EVENT_LOG_UPDATE, whoever asked. Each row is{ type, player, actor, rank, ago, time }:player1is the actor for invite / promote / demote / remove (FriendsFrame.lua:2846-2857),timeisGetServerTime()minusagowith 30-day months and 365-day years -- approximate, the server sends nothing finer, and recomputed per parse. Rows are sorted NEWEST FIRST by theagotuple (years, months, days, hours; ties keep index order), because which end ofGetGuildEventInfo's index is newest is not confirmed (Blizzard's reader walksnumEventsdown to 1,FriendsFrame.lua:2838). The callback fires only when type/player/actor/rank/ago changed or when the answer is to aRequestGuildEventLog()call -- Blizzard's log windows re-query on show (FriendsFrame.xml:3938,GuildInfo.xml:436) and on everyGUILD_ROSTER_UPDATEwhile 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 byGetGuildRanks()-- 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;rankIndexsays 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 firedOnMemberRankChangedwith the wrong index. A renamed rank's old name likewise kept its slot.GetHomeGuildInfo()returns nil, not a nameless table, whenGetGuildInfohas no name yet. lib:GetHomeGuildInfo()->{ name, realm, faction, key, clubId }.realmisGetGuildInfo'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.clubIdisC_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 inchat_spec,roster_specand both ofbuildonce_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 (run20261015-114931.490). The rank list and the event log come from the harness'sguild.setRanks/guild.setEventLog(delivered inbe92d12, inbox3e695769); 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'sGetGuildEventInfo.
- The
Tests/wowapiharness pin movescc816a0->1d75340. Sinced640d37the harness silences every frame on a library it evicts, which left each earlierenv_e2eclient deaf (8e2e_specfailures, bisected to that commit).env_e2e.clientnow takes a still-live client's instance out of LibStub itself, andenv_e2e.resetsilences 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, thread44c3e4ce). - 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
GetGuildRosterInforeturns 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 onRegionalNames()as well as the realm. It wiped only whenGetRealmName()changed, so a name normalized whileRegionalUniqueNamesEnabled()was true kept its bare spelling after the switch went false, whileGetNormalizedPlayer(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 review740ceb25): its Forever specs flip the switch, and a later spec file saw a roster row keyedMeagainst a player key ofMe-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", andsister_spec"re-keys a fed roster both ways when the regional-names switch flips" -- with the switch on,CanonNamedrops the realm half, so a storedAna-Testrealmre-keys toAnaand 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.mdandTests/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 (docsandTestsare in.pkgmetaignore:).
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 asGetNumGuildMemberscounted. Backed bylib.rosterShort, set from the scan's ownshortwhen 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 afterOnRosterReady(and afterOnRosterUpdatedon 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)--kickedistruewhen the home message matched the kick patterns,falsefor "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)--trueonline,falseknown offline,nilnobody said, for one sister member. Asked for by DeltaSync (contract90f5fd1913f4):GetOnlineMembersScopedcannot 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:isOnlinefor a member,nilfor anyone else.
Changed
The server's "No player named X" now records X as known OFFLINE.
OnPeerUnreachableused to clear the sighting stamp, leaving "nobody said", so a consumer's guard let X straight through again. It now also stampslib.offline[lower(guildKey)][X]in every sister roster holding X, andsisterOnlinereads 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 byRemoveSisterRoster. 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 andIsRosterCompletestayed false for the session.lib.repairInProgressnow spans a repair's retries andloginRepairscounts repairs started.lib.repairEventsis 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_specpinskickedfor both messages.livestream_spec: six specs forGetSisterPresence-- nil when nobody said; false after a not-found with no earlier sighting (and absent fromGetOnlineMembersScoped); a newer sighting or stream "on" beats it and an older relayed one does not; no/whoinput; 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.
OnChatMsgSystemandOnChatMsgGuildskipped a payload only whenIS_RETAIL(WOW_PROJECT_ID == WOW_PROJECT_MAINLINE) andC_ChatInfo.InChatMessagingLockdown()were both true. WoW: Forever runs the retail client -- itsChatInfoDocumentation.luaflagsCHAT_MSG_SYSTEM,CHAT_MSG_GUILDandCHAT_MSG_OFFICERSecretInChatMessagingLockdownand leavesplayerNamewithoutNeverSecret, and itsFrameScriptDocumentationhasissecretvalue-- but it is notWOW_PROJECT_MAINLINE, so the secret message reachedmessage == "". Both handlers now return whenisSecret(arg)(1.1.3's helper) says the argument is secret, on every flavour. Classic clients haveInChatMessagingLockdownbut never a secret payload, so they keep parsing through a lockdown as before. chat_specmodels a secret payload withissecretvalueon 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
/whofloor instead of retail's 8 s.IS_RETAILnow also matchesWOW_PROJECT_ID18, which Forever reports: observed in a client on 2026-10-01 and recorded in FastGuildInvite'sFGI_Compatibility.lua(Blizzard's forever tree defines no constant for it). FGI'sfn.getMinScanIntervalalready gives Forever 8 s, so the two libraries now hold their sends apart by the same floor there.WHO_SEND_FLOORis the only thing that readsIS_RETAIL;sistersync_specpins 5 / 8 / 8 for Classic, Forever and Mainline. - 934 passed; coverage 100% on the library,
env_guild.luaandenv_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,UnitIsUnitandUnitIsConnectedmay return secrets, and comparing or testing one from addon code is a Lua error. A file-localisSecret(the client'sissecretvalue, absent = nothing is secret) now guards all four:UnitKeyNamereturns nil for a secret name or surname/realm, andOnUnitLeveldrops 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 noissecretvalueand take the old path unchanged. sisterlevel_specmodels a secret as a valueissecretvaluenames and asserts none of the four is read;.luacheckrcand.luarc.jsondeclare the global.
Changed
- Comments only, no behaviour: the GreenWall send helper and
livestream_specnow record that GreenWall 1.14.0'sSendMessagetried a channel send before its relay and raisedADDON_ACTION_BLOCKED52 times on Classic Era on 2026-09-30, and that GreenWall's next release sends API data relay-only with the same signature (peer reviewd49c5edb3f3f), so nothing here changes. - The
Tests/wowapiharness pin moves1ccef14->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/UnitIsConnectedguards 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 throughlib:WhisperTarget(name): the baton'shereanswer to a guildmate'shi, 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'sRequestFrom. On a client whereRegionalUniqueNamesEnabled()is true it isCanonName(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 bareFirst Lastis what Blizzard's own whisper UI implies; not verified on a Forever client.
Tests
normalize_spec:WhisperTargetdrops the realm on Forever and leaves a name untouched on every other client.livestream_spec: thehereanswer is addressed exactly as the sender arrived on a normal client (a same-realm sender is bare,Zed), and toZed Stonefistfor a Forever senderZed 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:WhisperTargetto 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 anddocs/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").
NormalizeNameappended the viewer's internal realm to every bare name, so one character could key differently on two clients with different internal realms -- the same divergenceCanonNameexists to prevent on connected realms. Now, when the client's ownRegionalUniqueNamesEnabled()says so,NormalizeNamenever appends a realm andCanonNamedrops a-Realmsuffix 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.
GetNormalizedPlayerread onlyUnitName("player")'s first return; on Forever the second return is the SURNAME (Blizzard'sCamelot/NameUtil.luajoins exactly those two), so the player was keyed asFirst-Realm. It is nowFirst Last. - A party member's level reading treated the surname as a realm.
OnUnitLevelbuiltname .. "-" .. secondfromUnitName(unit), which on Forever madeFirst-Last. It goes throughlib: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, andUnitKeyNameon both kinds of client.env_guild.useRegionalNames(first, surname, sep)models a Forever client, andresetStateclears 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:UnitKeyNamerather than bareUnitName, 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/whorows 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,
StartLivesendshion 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.
- At roster-ready,
- 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, andlivestream_specpins 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_CHUNKcharacters each). These answer thewantthat 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/offinlib.live, and a complete snapshot marks everyone it omits offline, except its sender. - It fires
OnSisterLocationsUpdated. GetOnlineMembersScopednow counts a streamonwhile that guild's stream has spoken withinLIVE_STREAM_TTL. A streamoffclears the member's sighting, so a later sighting still wins.- The server's "No player named X" reply (
OnPeerUnreachable) now also overrides a streamon. - The guild tab rows let a newer stream entry beat an older
/whosighting.
- 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 afterLIVE_STREAM_TTLand 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 homeGetMembertoday.
- Who holds it. The online library user in the guild whose name sorts
first (
Library users report their own zone (
OnZoneChanged). OnZONE_CHANGED_NEW_AREAthe client sends onezone:<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-secondC_GuildInfo.GuildRosterpoll. 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_UPcarries no unit and is the player's own;UNIT_LEVELnames 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'sOnLevelCommtakes it from a home member -- proof of a live ding, and proof of presence the same as guild chat."unit":UNIT_LEVELfor 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 inMarkMemberOnline). The held level ismember.level, soGetMemberstays 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_LEVELfor 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
/whoor pull had read their level before the ding, so the first reading after it could only be a baseline.OnPlayerLevelUpnow also sendslvl:<level>withGreenWallAPI.SendMessage("GuildRoster", ...)while a sister guild is listed, when GreenWall's API is version 2 (which sends with no key press, GreenWallAPI.lua:37-38) andC_AddOnsknows this library's id (GreenWall asserts it,API.lua:59; an embedded copy with no GuildRoster folder skips).OnGreenWallLevelplaces 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 firesOnSisterMemberLevelChangedsource"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 witholdLevelnil. A sender we cannot place, or in an unlisted guild, is dropped. Not changed: a/whosighting 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/wholevel 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, aGUILD_ROSTER_UPDATEafter ready re-reads the rows' LEVELS (ReadRosterLevels, source"roster") when it answers our request or whenLEVEL_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'scanRequestRosterUpdatesays 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 aC_Timer.NewTickerand 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_specunchanged). 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/whorow about a sister member (recordLocation, source"who") and every member of aSetSisterRosterlanding (source"roster") is a reading, filed in the new in-memorylib.sisterLevels[lower(guildKey)][charKey] = { level, online }bynoteSisterLevel. 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/whorow is online by definition; a roster reading is online when presence (MarkOnline) or a/whorow saw them withinPRESENCE_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/whoand then a pull fires once; the home guild is never recorded.guildKeyis 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'/whooverride, andknownOnline. Now the newest statement wins among a sighting, the stream and (for rows and level readings only) a/whorow.GetOnlineMembersScopedstill leaves/whorows out on purpose, because a/whorow 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" (OnPeerUnreachablenow marks the/whorecord offline). gwSendcounted a message GreenWall refused (ok = false) as sent.
- The server's "No player named X" reply did not override an older
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_CHUNKwas 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_specruns our real sends through GreenWall's realRelay.lua,Constants.luaandBase64BCA.luafrom 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
/whoanswers 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 fromPLAYER_LEVEL_UPis 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/grcheckbox 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 tabstatus 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 (MainlineSharedUIPanelTemplates.xml:603), and retail has noBottomBorder-- its frame is a NineSlice child (:550). The strip ended short with no border under it. On a window with noBottomBorderand aNineSlice.BottomEdge, the strip now runs to the bottom of that edge piece andrec.footEdgeredraws it over our stone: same atlas (or texture and coords), same tiling,SetAllPointson theirs. Clients with aBottomBorderare unchanged. Two specs inrostersisters_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), andLiftGuildTabPageliftsrec.infoabove 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
InviteButtonbelongs 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, soBuildGuildTabInvitemakes 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), andSyncGuildTabInviteshows it on everyShowGuildTabonly while theirs is hidden, enabled byCanGuildInvite()as theirs is. Not built on a client withoutCommunitiesUtil. The user confirmed it in game on retail on 2026-09-27.
Older versions (1.0.0 and earlier) are in CHANGELOG_ARCHIVE.md.
This mod has no additional files

