• v2.0.0-beta.3 4a1433637d

    v2.0.0-beta.3 Pre-release

    LunarTides released this 2023-10-12 18:37:26 +00:00 | 831 commits to main since this release

    2.0.0-beta.3 (2023-10-12)

    Chores
    • add example to show another ability format (f6476427)
    • add issue number to todos (f08e0fe9)
    • update dependancies (75b8f82e)
    • add test todos to more stage 2 cards (cc58d769)
    • update loc count in loc.sh (ae2b8cd1)
    • bump version to 2.0.0-beta.3 (9f30772f)
    New Features
    • make maximum hand length customizable (f941a4d5)
    • add forge keyword (9db981b7)
    • add ability to prevent event suppression (809dc3ce)
    • add ability to replay previous games (abda1963)
    • add stripAnsi to the color functions (44a936f1)
    • dc: add config to show uncollectible cards (5202190c)
    Bug Fixes
    • add forging to history and fixes to trading (16ecf54d)
    • fix game not launching editor on windows (6b86d11c)
    • fix location cards being displayed as minions (51963cbf)
    • game: run killMinions directly in attack (ffcd7cea)
    • cclib: fix finding abilities from text (b4d7401c)
    • dc: parse cmd as card before assuming times (4689a6e9)
    Other Changes
    • make vanilla.getAll return [] | Error (f4272c13)
    • remove player from take damage event (8b2e4935)
    • made a lot of card variables keywords (188ea0dd)
    • move cardupdater to vanilla category (753c0c75)
    • remove keyword and error function files (bd4cbd63)
    • remove activateBattlecry (1475e178)
    • use log files instead of replay files (3bff3262)
    • change game.cards to game.blueprints (9e413084)
    • make handleCmds take in an object for flags (9fbaca3d)
    • split interact into multiple files (8835d6fc)
    • move some card related functions to card class (bbabead4)
    • remove player functions module (3d47f754)
    • refactor functions into multiple files (3e3fe4a6)
    • dc: add comments explaining colored names (8a73a7f6)
    Performance Improvements
    • return early in applyEnchantments if list is empty (f75f6823)
    Refactors
    • allow "./" and fix a bug with restrictPath (eace3d3b)
    • split types into multiple files (455d074c)
    • reformat types file (95e717bc)
    • add game.pause to pause the game (4b898f8d)
    • move input, log from game to gameLoop (e2474fa0)
    • remove replacePlaceholders from tick (357723bf)
    • make replay throw error instead of false (b03a0273)
    • remove historyCardOnlyName from handleCmds (a8e265a0)
    • add getting date into its own function (32ac6374)
    • add history type to the types.ts file (80f2db86)
    • add eventPlayer to passive ability (fa92254d)
    • dc:
      • add less hardcoded defaults (f2502439)
      • reformat warning state logging (9707c4f8)
    • id: warn user about holes / dupes on start (4caf07ac)
    • ai: make _tauntExists always return Card[] (8c42da21)
    • cclib: only add create if text is truthy (b2225f38)
    • ccc: removed exit checks and added defaults (6f5297ee)
    Tests

    Full Changelog: https://github.com/LunarTides/Hearthstone.js/compare/v2.0.0-beta.2...v2.0.0-beta.3

    Downloads