v0.9.0-forever
What's new
Gearlink Forever
v0.9.0 (2026-11-23)
Full Changelog Previous Releases
- Bump version to 0.9.0 and add release notes
- Show material users on item tooltips instead of board/crafter lines
The tooltip append now inverts friends' recipe material lists: hovering a
material lists the recipes that need it and who knows them. Drops the trade
board and crafted-by lines, which only helped when you already held the
crafted item. Tests updated. - Add GearLink info to item tooltips and restore comparison-side switch
Appends trade-board offers and friends who can craft the hovered item to the
game's existing item tooltips via TooltipDataProcessor, with an Interface
setting to turn it off. Restores the opt-in switch that swaps the two item
comparison panels. Regression tests cover both. - Fix Feed hint accuracy and rank Activity Summary by player
The Feed hint now names exactly which rarity switches are off instead of
assuming only commons/uncommons can be hidden, and drops the stale
'Rare and better are already on' claim. Activity Summary shows the top three
recipients with counts for Rare/Epic/Legendary instead of the last item, and
Most Active uses the same name-and-count format. Regression tests added. - Fix nightly Discord thread_id placement
Discord expects thread_id in the webhook URL query string; sending it in
payload_json silently fails forum posts (error 220001). Build the query URL
instead, validate the ID is numeric, and leave thread_name in the body only
for the no-secret fallback. - Explain missing recipes and cap nightly posts to one a day
Professions view now tells peers their recipes appear after they open a
profession once, instead of a bare 'Nothing to be made' or an instruction
aimed at the viewer. Nightly workflow still builds on every dev push but a
per-day cache key allows only the first upload of each UTC day; that post
lists the last 24 hours of commits and goes to one standing thread when
DISCORD_TESTING_THREAD_ID is set (otherwise one dated thread per day).
43/43 tests pass and a UI probe covers peer with no R~ lines, NONE and real recipes. - Fall back to manual profession scans
The automatic open/close was too unreliable on build 71037: only Mining
synced, the rest missed the data source even with retries. Remove the auto
scan, its setting, slash command and the speculative by-ID scans, and restore
the simple TRADE_SKILL event path that reads recipes when a profession window
is opened. Keep the one-time cleanup of reagent-less entries left by the
experiment, the empty-ID guard in ScanTradeSkill, and the corrected recipes(me)
counter. 43/43 tests pass. - Start the auto recipe scan later and allow more read retries
Live log showed the login run starting about two seconds after the client was
usable and missing the data source, while the same open a few seconds later
scanned successfully via the normal TRADE_SKILL events. Delay login start to
10s and allow the read three attempts. 46/46 tests pass. - Retry the auto recipe read after the profession data source settles
Live log showed the window opened but GetBaseProfessionInfo still had no name
after 0.8s, so most professions were skipped; a manual run that did read had
18 recipe IDs and cached 7. Wait 1.2s and retry once after another 1.0s, and
make ScanTradeSkill report success so the retry can use it. Log each open
result. 46/46 tests pass. - Log why auto read fails and honour OpenTradeSkill's return value
The auto scan opened professions but ScanTradeSkill logged nothing, so it was
bailing on a guard. Add verbose skip reasons for the automatic path and fix
pcall(OpenTradeSkill) treating a false return as success. - Check the real profession frame, not stale data, before auto scan
The live probe showed GetBaseProfessionInfo keeps a profession name even with
no window open, so the auto scan skipped every time. Check ProfessionsFrame /
TradeSkillFrame IsShown() instead. Prefer modern skill line IDs matched by
profession name for OpenTradeSkill, falling back to classic IDs only when no
modern IDs are found. 46/46 tests pass. - Log why the automatic profession scan is skipped
The live report showed no SCAN lines at all after login, so the routine was
bailing before its start log. Log the login-time decision (setting, sharing,
module presence) and each early-return reason so one reload identifies the
cause without guesswork. - Add reversible automatic profession scan at login
Build 71037 only exposes recipes while a profession window is open. Add an
opt-out auto scan that briefly opens each known profession at login, reads the
data source with the existing ScanTradeSkill, and closes it. Never runs in
combat or when the player already has a profession window open. Reversible via
a Settings checkbox (default on), /glf profscan on|off|now, and skipped when
profession sharing is off. Guard ScanTradeSkill against an empty recipe ID
list so a failed data source cannot wipe a cached profession.
Tests cover the setting default/override and open-scan-close lifecycle. - Remove spellbook recipe route and clean up its bad entries
Live probe: GetProfessionInfo reports numSpells=1 for Blacksmithing and the
only slot is spell 3538 'Blacksmithing' - the profession spell, not a recipe.
That route cached seven profession spells as recipes on build 71037. Drop the
route and remove reagent-less entries at login so the authoritative UI-open
scan can repopulate them. Regression test covers the cleanup. - Enumerate known recipes from the spellbook and fix recipe counter
Build 71037 reports GetAllRecipeIDs: 0 and GetProfessionSpells: 0 for every
argument combination with no profession window open, so those routes cannot
seed the cache. Blizzard's own professions book enumerates known recipes via
GetProfessionInfo's numSpells/spellOffset indexes into the spellbook; use that
as a final route and treat its IDs as known without a learned flag. Extend
/glf recipeprobe with the spellbook numbers and sample slots.
Also fix the debug report's recipes(me) counter, which looked up the bare
player name while recipes are keyed by Name-Realm and so always showed 0. - Find recipe IDs through fallback routes when GetAllRecipeIDs is empty
Live build 71037 reports GetAllRecipeIDs: 0 with no profession window open,
so the first scan was a no-op. Try loading Blizzard_Professions (which can
own the data source) and re-checking, then fall back to the documented
C_TradeSkillUI.GetProfessionSpells known-spell list per skill line. Extend
/glf recipeprobe to test every professionID/skillLineID argument combination
and to re-check after the addon load. Regression test covers the fallback. - Use IsSpellKnown as a fallback learned signal for silent recipe scan
The live probe showed GetRecipeInfo returning learned:false with no profession
window open. IsSpellKnown is documented to cover spells outside the spellbook,
so treat it as a second learned signal. Extend /glf recipeprobe to count both
signals across the IDs GetAllRecipeIDs reports, so the live client can tell us
which one actually works. Added a regression test for the fallback. - Sync recipes in the background without opening professions
CollectProfessions already reads profession names/levels via GetProfessions(),
but the recipe list was only gathered by ScanTradeSkill(), which bails unless
GetBaseProfessionInfo() has a name - i.e. only while a profession window is open.
Add a silent, guarded scan that enumerates recipes by ID (GetAllRecipeIDs),
resolves each owner with GetProfessionInfoByRecipeID and fills missing or
reagent-less entries. It runs on PLAYER_LOGIN and NEW_RECIPE_LEARNED, never
overwrites a fuller entry from the UI-open scan, and is a no-op if the client
does not expose useful data with the window closed. Extend /glf recipeprobe
with a background-sync section so the live API behaviour can be verified.
Added simulator coverage for the silent fill and no-overwrite rules. - Fix feed item links showing placeholders after fresh login
Feed rows are static ScrollingMessageFrame strings, so a link rendered while
the item cache was cold kept its [Item #] label forever. ItemLinkFor now
requests the missing item data and remembers the ID; GET_ITEM_INFO_RECEIVED
marks the feed dirty for that ID so RenderFeed rebuilds the rows with real
names. Added a regression test that forces the cold-cache branch. - CI: use public Vaedrin handle in nightly posts
- CI: post nightly addon zip to the Discord testing forum
This mod has no additional files