CHANGELOGS = {
    ['1.2.1'] = {
        title = "Rarity Frame & Skills Window Fixes",
        changes = {
            "Skills window no longer wipes rarity bonuses when consuming runes from a hand slot or after conjuring runes onto an equipment slot",
            "Skills window now refreshes immediately after applying enhancement/rebirth scrolls to equipped items - new bonus values appear without needing to relog",
            "Rarity frames in containers now follow items correctly when a consumable in the same container is used (no more stuck or missing frames after rune use)",
            "Fixed last-slot rarity frame disappearing during shifts caused by transient widget refresh during the remove flow",
        }
    },
    ['1.2.0'] = {
        title = "New Item Sprite - Scroll of Rebirth (Reinstall Required)",
        changes = {
            "New item sprite for the Scroll of Rebirth - a prestige reroll consumable that drops from caster monsters and mage bosses, and is also granted as a capstone reward when reaching the Elite Hunter task rank",
            "This release ships updated Tibia.dat and Tibia.spr - auto-update can't safely swap binary data files at runtime, so a full reinstall was required from any v1.1.x version",
        }
    },
    ['1.1.19'] = {
        title = "Trade Window Fixes",
        changes = {
            "NPC trade window now includes items in equipment slots in the sale count by default (the 'Ignore equipped' checkbox now starts unchecked)",
            "Fixed the Sell All tooltip lingering on screen after the button is disabled",
        }
    },
    ['1.1.18'] = {
        title = "Minimap Fix + Dedicated User Folder + Stable Character Data",
        changes = {
            "Minimap now reveals the area around your spawn on first login (was blank until you moved a step)",
            "Client now uses its own dedicated user folder so settings no longer conflict with other OTClient-based servers",
            "Your existing minimap, hotkeys, character list, and config are automatically imported the first time you launch this version",
            "Per-character preferences (XP graph visibility, drop-tracker pinned items, item-price cache, analyser panels) now persist across sessions - previously the client created a new per-character data folder every login so none of those settings stuck",
            "The per-character folder is keyed by the character's stable server-side ID, so it survives character renames too",
        }
    },
    ['1.1.17'] = {
        title = "Frags Window Live Countdown + Canvas Skull Farewell",
        changes = {
            "Skull-time row now ticks every second with an adaptive format: 'Xd Ym', 'Xh Ym', 'Xm Ys', or just 'Xs' for the final minute",
            "White skull from attacking an unmarked player now shows a live countdown tied to PZ lock (60s), refreshing on each swing",
            "Row hides entirely when you have no active skull (no more stuck '0 days' label)",
            "Your own character's skull now blinks on the canvas for 5 seconds as a farewell when any skull clears (white / red / party-green) - authentic 7.72 feel",
            "Silenced the noisy 'got a thing with invalid stackpos' log that could fire during map drag-and-drop in busy combat",
            "Fixed a pre-existing tooltip error that could spam on shutdown",
        }
    },
    ['1.1.16'] = {
        title = "Skull Icon in Equipment + Frags Window Polish",
        changes = {
            "Current skull (white / red / black / etc.) now shows as an icon in the status row next to your equipment slots, alongside mana-shield / haste / PZ-lock",
            "Frags panel: the left column now shows the white-skull sprite when you're white-skulled (was blank before, only red and black were rendered)",
        }
    },
    ['1.1.15'] = {
        title = "Frags Panel Polish - Precise Skull Time + White-Skull Countdown",
        changes = {
            "Skull-time row now shows precise countdown: 'Xd Ym' for multi-day, 'Xh Ym' when under a day",
            "Countdown ticks down live every minute (no more frozen at '1 day' until you relog)",
            "White skull from an unjustified kill now shows its 15-min countdown too - but only after the actual kill, not while just attacking someone",
            "Each new unjustified kill resets the 15-min white-skull timer",
            "Tooltips switch from 'X kills before red skull' to 'X kills before banned' once you're already red-skulled",
            "Skull sprite + time are now centered in the panel; removed the unused 'Open: 0' label",
        }
    },
    ['1.1.14'] = {
        title = "Frags Panel + Anti-PK Windows",
        changes = {
            "New Frags panel (button under Tasks) shows your unjustified-kill counts in three rolling windows: 24 hours, 7 days, 30 days",
            "Red skull now triggers from 3 (daily) / 5 (weekly) / 10 (monthly) unjustified kills - whichever you cross first. Lasts 30 days from the last over-threshold frag",
            "Auto-ban triggers at the doubled thresholds (6 / 10 / 20). Always 30 days; after the ban your character returns clean",
            "Killing a guild mate now counts as unjustified - only party members are exempt",
            "Tasks button now shows a pressed style when the Tasks window is open (matches Skills/Battle/VIP)",
            "Options button gets the same pressed-state behaviour",
            "Fragments window position + open/closed state persists across logouts (re-attaches to the same panel you left it in)",
        }
    },
    ['1.1.13'] = {
        title = "Cleaner Disconnect Experience",
        changes = {
            "Voluntary logout no longer shows the misleading 'Connection lost' popup",
            "Server save / GM kick / ban / duplicate-login disconnects now show a clear reason instead of a generic network error",
            "Real network drops still surface the connection-error popup as before",
            "Fixed: /ghost (GM) effect uses authentic 7.72 blue magic sparkles instead of an out-of-range 8.x effect",
        }
    },
    ['1.1.12'] = {
        title = "Magic Level Bonus Highlight",
        changes = {
            "Magic Level row now shows green when rarity gear adds a magic-level bonus, even for characters with base magic level 0",
            "Same fix applies to any base-0 skill (e.g. freshly trained fist/club/sword) receiving a rarity bonus",
        }
    },
    ['1.1.11'] = {
        title = "Skills Window Polish",
        changes = {
            "Renamed 'Attack Value', 'Defence Value', 'Armor Value' to plain 'Attack', 'Defence', 'Armor'",
            "Moved Armor, Defence and Haste rows next to Attack so all combat stats are grouped together",
            "Added a 'Resistances' section title above the element resist rows",
            "Element resist icons now appear before the label (left side) instead of after the percentage",
            "Attack value now aligns flush to the right border like the other stat rows",
        }
    },
    ['1.1.10'] = {
        title = "Rarity Bonuses on Skills Window",
        changes = {
            "Skills window now shows rarity equipment bonuses: attack, defence, armor, 7 element resists (physical/fire/earth/energy/ice/holy/death), life leech, mana leech",
            "New 'Haste' row shows your current total speed and highlights green when boots/armor add speed from rarity",
            "Armor/Attack/Defence rows show the combined total from all equipped items; green + tooltip indicates how much is from rarity",
            "Fixed: HP / mana / speed values lighting up green for rarity bonuses stayed coloured across ticks (previously reset every time the value updated)",
        }
    },
    ['1.1.9'] = {
        title = "Sidebar & Minimap Polish",
        changes = {
            "Sidebar expand/collapse arrows now follow the column outward as it expands",
            "Minimap fills the entire sidebar slot; floor up/down, zoom in/out moved to corner overlays",
            "Removed the floor slider strip and the fullscreen-minimap button",
            "Hidden the day/night rose for a cleaner look",
            "Re-enabled the left/right arrow buttons that add or remove extra sidebar columns (from 1.1.8)",
            "Map and chat shrink to fit when extra sidebars are expanded (from 1.1.8)",
            "Drag-preview visible across all panels; drops outside snap back (from 1.1.8)",
            "Sidebar windows (containers, skills, battle, VIP) restore to their original panels on login, including 3+ level nested backpacks (from 1.1.8)",
            "Discord member count on the login screen (from 1.1.8)",
            "What's New window scrolls when the changelog overflows (from 1.1.8)",
        }
    },
    ['1.1.8'] = {
        title = "Extra Sidebar Panels + Discord on Login",
        changes = {
            "Re-enabled the left/right arrow buttons that add or remove extra sidebar columns",
            "Map and chat now shrink to fit when extra sidebars are expanded",
            "Drag-preview is visible no matter which panel you drag from or to",
            "Windows dropped outside any sidebar snap back to their original panel",
            "Open sidebar windows (containers, skills, battle, VIP) restore to their original panels and order on login",
            "Multi-level nested backpacks (3+ levels) now restore correctly",
            "Login screen shows the live Discord member count; click the icon to open the invite",
            "What's New window now scrolls when the changelog overflows",
        }
    },
    ['1.1.7'] = {
        title = "Extra Sidebar Panels + Discord on Login",
        changes = {
            "Re-enabled the left/right arrow buttons that add or remove extra sidebar columns",
            "Map and chat now shrink to fit when extra sidebars are expanded",
            "Drag-preview is visible no matter which panel you drag from or to",
            "Windows dropped outside any sidebar snap back to their original panel",
            "Open sidebar windows (containers, skills, battle, VIP) restore to their original panels and order on login",
            "Multi-level nested backpacks (3+ levels) now restore correctly",
            "Login screen shows the live Discord member count; click the icon to open the invite",
        }
    },
    ['1.1.6'] = {
        title = "Smoother Walking at High Latency",
        changes = {
            "Fixed visual shake / push-back when walking at high speed on connections with higher ping",
            "This update requires a full client reinstall (auto-updater will prompt to download)",
        }
    },
    ['1.1.5'] = {
        title = "Walk Behavior Reset",
        changes = {
            "Reverted walk anticipation change; restored original Tibia walk behavior",
        }
    },
    ['1.1.4'] = {
        title = "Smoother Walking",
        changes = {
            "Fixed walk rubber-banding for fast-moving characters on higher latency connections",
        }
    },
    ['1.1.3'] = {
        title = "Outfit Window Fix",
        changes = {
            "Fixed outfit window showing wrong widget layout (task system conflict)",
        }
    },
    ['1.1.2'] = {
        title = "Rarity Frame Fix",
        changes = {
            "Fixed rarity frames persisting on container slots after trading or moving items",
        }
    },
    ['1.1.1'] = {
        title = "Rarity Frames & Free Premium",
        changes = {
            "Rarity items now show colored frame images instead of thin borders",
            "Rarity frames appear in trade window when trading rarity items",
            "Free Premium Account enabled for all players",
        }
    },
    ['1.1.0'] = {
        title = "Auction House Fix",
        changes = {
            "Fixed Auction House sell tab not working",
            "Containers with items inside can no longer be listed on the Auction House",
        }
    },
    ['1.0.8'] = {
        title = "Auction House",
        changes = {
            "New Auction House accessible from depot locker",
            "Browse, sell, and manage item offers with other players",
            "Full item descriptions and rarity frames on listings",
            "New Inbox container in depot for item deliveries",
        }
    },
    ['1.0.7'] = {
        title = "Training Tokens",
        changes = {
            "Training tokens now have their own look",
        }
    },
    ['1.0.4'] = {
        title = "Item Rarity System",
        changes = {
            "New rarity system: equipment drops can be Rare, Epic, or Legendary",
            "Rarity items have random stat bonuses (attack, defense, skills, etc.)",
            "Colored border frames on rarity items in inventory and containers",
            "Skills window shows green bonus values from rarity equipment",
            "Item descriptions show rarity tier, enhancement slots, and bonus details",
        }
    },
    ['1.0.3'] = {
        title = "Task System Fix",
        changes = {
            "Fixed task list selection not triggering on first load",
        }
    },
    ['1.0.1'] = {
        title = "Task System",
        changes = {
            "Task Points Shop UI fixes - item sprites now display correctly",
            "Fixed Buy button not activating when first reward is selected",
            "Info messages no longer overlap with shop buttons",
        }
    },
    ['1.0.0'] = {
        title = "Official Release",
        changes = {
            "New login screen background artwork",
            "Display Latency option in HUD settings - shows real-time ping to server",
        }
    },
    ['0.3.5b'] = {
        title = "New World Content",
        changes = {
            "Updated game data with new items and creatures from 8.0 content",
        }
    },
    ['0.3.4b'] = {
        title = "Settings & Preferences",
        changes = {
            "Auto login preference is now saved when closing the client",
        }
    },
    ['0.3.3b'] = {
        title = "Session Recording & Replay",
        changes = {
            "Record game sessions with the 'Record Session' checkbox on the character list",
            "Browse and replay saved recordings from the 'Replays' button",
            "Red 'REC' indicator shows during active recording",
        }
    },
    ['0.3.2b'] = {
        title = "Power Bolt Sprite Update",
        changes = {
            "Updated Power Bolt sprite to new design",
        }
    },
    ['0.3.1b'] = {
        title = "Outfit Window Improvements",
        changes = {
            "Fixed outfit addon checkboxes not working properly",
            "Disabled addon checkboxes now appear greyed out",
        }
    },
    ['0.3.0b'] = {
        title = "7.92 Content Update",
        changes = {
            "Updated game sprites with new creatures, items and equipment",
        }
    },
    ['0.2.9b'] = {
        title = "Trade Window Fixes",
        changes = {
            "Fixed trade window showing 0 gold - now displays correct total money",
            "Fixed fluid items (life fluid, mana fluid) showing wrong colors in trade window",
        }
    },
    ['0.2.8b'] = {
        title = "NPC Trade Window",
        changes = {
            "Added NPC trade window support - say 'trade' to shop NPCs to browse their wares",
        }
    },
    ['0.2.7b'] = {
        title = "Auto-Walk Improvement",
        changes = {
            "Auto-walk to unreachable minimap locations now stops when no longer making progress",
        }
    },
    ['0.2.6b'] = {
        title = "Minimap Navigation",
        changes = {
            "Fixed minimap auto-walk stopping in unexplored areas",
            "Player now walks continuously to minimap destination with a single click",
        }
    },
    ['0.2.5b'] = {
        title = "Bug Fixes",
        changes = {
            "Fixed quest and level doors not pulling player through when opened",
            "Fixed players walking into magic fields when following another player",
            "Fixed battle list right-click showing 'Edit Name' instead of creature menu",
            "Fixed 'Edit Name' dialog not accepting keyboard input",
            "Fixed Demon Helmet Quest and Postman Quest scripts",
        }
    },
    ['0.2.2b'] = {
        title = "Battle List Fix",
        changes = {
            "Fixed dead monsters staying visible in the battle list",
            "Improved battle list reliability when removing creatures",
        }
    },
    ['0.2.1b'] = {
        title = "Auto-Updater Test",
        changes = {
            "Testing auto-update from v0.2.0b",
        }
    },
    ['0.2.0b'] = {
        title = "Updater Improvements",
        changes = {
            "Updater now detects when a full download is required",
            "Improved update reliability and file syncing",
        }
    },
    ['0.1.1b'] = {
        title = "Auto-Updater & What's New",
        changes = {
            "New package-based auto-updater for faster downloads",
            "Added this What's New window after updates",
        }
    },
    ['0.1.0b'] = {
        title = "Initial Release",
        changes = {
            "First public beta of Vexia Online",
            "Classic 7.72 gameplay experience",
        }
    },
}
