github mochajs/mocha v12.0.0-beta-9.3

pre-release6 hours ago

12.0.0-beta-9.3 (2026-04-28)

๐Ÿฉน Fixes

  • begin running tests immediately instead of waiting for watcher, reload required files in watch mode (#5409) (7d9ade6)
  • deps: update dependency diff to v9 (#5917) (fbd831e)
  • support file: URLs in loadFilesAsync (#5833) (f9f9436), closes #4993
  • support modern RegExp flags in Mocha#grep (#5825) (35413b6)

๐Ÿ“š Documentation

  • agent instructions to help review agents (#5839) (badac5b)
  • clarify --delay option behavior (#5862) (0b88137)
  • clarify that parallel mode does not provide test isolation (#5864) (274c3d2)
  • document parent directory lookup for config files (#5861) (e7a98ef)
  • fix various typos in source and documentation (#5834) (e15bbda)
  • modernize code examples (#5687) (9c4966a)

๐Ÿงน Chores

  • add transient error note to Release Please workflow (#5847) (7288278)
  • convert commands, init, and lookup-files to ESM (#5891) (46d09d1)
  • convert context, hook, and stats-collector to ESM (#5853) (5ac4070)
  • convert highlight-tags and parse-query to ESM (#5855) (aad7997)
  • convert node-flags and options to ESM, fix ESLint issue (#5900) (cd2e461)
  • deps: update dependency @eslint/markdown to v8 (#5845) (bd05089)
  • deps: update dependency eslint to v10.2.0 (#5884) (2829fe3)
  • deps: update dependency globals to v17.5.0 (#5914) (96eaa7c)
  • deps: update dependency knip to v6.3.1 (#5892) (a2675f1)
  • deps: update dependency knip to v6.4.0 (#5901) (17ce208)
  • deps: update dependency knip to v6.5.0 (#5916) (34465f6)
  • deps: update dependency unexpected-sinon to v11 (#5737) (e652121)
  • deps: update dependency webpack to v5.106.1 (#5893) (db85960)
  • fix format workflow permissions for npm-script.yml (#5903) (88a9806)
  • fix formatting in lib/cli/lookup-files.mjs (#5912) (a3c3a1c)
  • fix line numbers in stack traces (#5664) (f49aca5)
  • format AGENTS.md (#5852) (16497f2)
  • inline escape-string-regexp (single-regex utility) (#5883) (25e6538)
  • migrate 5 unit test files from unexpected to chai (#5896) (fa06dde)
  • migrate lib/pending and lib/error-constants to ESM (#5767) (5aacbce)
  • upgrade site to Astro 6 (#5913) (1afd6c7)

Don't miss a new mocha release

NewReleases is sending notifications on new releases.