Skip to content

v2.0.1

Choose a tag to compare

@Abadima Abadima released this 07 Sep 08:05
· 8 commits to latest since this release
90a1342

⚒️ Bug Fixes

  • Fix addXP(), removeXP(), setXP(), addLevel(), removeLevel(), setLevel(), and reset() auto-managing a "modified" flag on user records. Flags are developer-defined data; simply-xp no longer adds, removes, or interprets any flag value during XP/level operations.
  • Fix Database.findOne(), find(), findAll(), and updateOne() declaring variables directly inside switch/case blocks (found by CodeFactor).
  • Fix use-before-define declarations in Database.ts, connect.ts, and xplogs.ts, and a non-Unicode regex in the build script (both found by Codacy). No behavior change.
  • Fix circular imports across internal modules (found by Codacy). Public exports and behavior are unchanged.
  • Fix connect() performing synchronous filesystem reads while detecting installed database adapters; now non-blocking (found by Codacy).
  • Fix non-Unicode regular expressions in cards.ts and utilities.ts (found by Codacy).

Full Changelog: v2.0.0...v2.0.1