Releases: mochajs/mocha
Releases · mochajs/mocha
v12.0.0-alpha-issue-5899.4
12.0.0-alpha-issue-5899.4 (2026-05-02)
🧹 Chores
v12.0.0-alpha-issue-5899.3
v12.0.0-alpha-issue-5899.2
12.0.0-alpha-issue-5899.2 (2026-05-02)
🧹 Chores
v12.0.0-alpha-issue-5899.1
v12.0.0-beta-9.3
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)
v12.0.0-beta-9.2
12.0.0-beta-9.2 (2026-04-03)
Note that beta-9.1 is identical to beta-10. See #5763 for details. Future v12 betas (if there are any) will continue the beta-9.x naming.
🩹 Fixes
- deps: update dependency workerpool to v10 (#5751) (96a4768)
- use semver dot separator for beta pre-release versions (beta-X → beta.X) (#5764) (5574738)
📚 Documentation
- add "failing workaround" and new dash to sec-vuln-reports.mdx (#5783) (f9e553e)
- add FAQ explainer for dependency security vulnerability reports (#5691) (2517693)
- add FAQ section to CONTRIBUTING.md for "can I work on this?" (#5689) (682c307)
- add major release strategy, fix typos (#5551) (ec0fe0d)
- cleanup third party UI code examples for issue 5570 (#5784) (8d86811)
- document AI-generated code policies (#5693) (3533316)
- document many "external" services (#5685) (30f8fe6)
- fix typo in configuring.mdx (#5699) (fdf1a11)
- Updates COC Policy To Match OpenJS Guidelines (#5802) (9029f66)
🧹 Chores
- add Knip to docs-next, remove unused deps, and cleanup links (#5726) (a3908e9)
- add link from bug template to security explainer (#5782) (ab8fc25)
- add workflow to handle stale items (#5831) (dd08f6f)
- add workflow_dispatch to all workflows (#5793) (cca0a2c)
- deps: update actions/stale action to v10 (#5842) (e75b14f)
- deps: update dependency astro to v5.18.1 (#5786) (bf99e30)
- deps: update dependency chai to v6 (#5720) (2e07be1)
- deps: update dependency eslint to v10.1.0 (#5827) (2c8eeb0)
- deps: update dependency eslint-plugin-n to v17.24.0 (#5798) (bb66555)
- deps: update dependency globals to v17 (#5722) (acf9357)
- deps: update dependency installed-check to v10 (#5738) (5905ed9)
- deps: update dependency knip to v5.88.0 (#5799) (40ec9b8)
- deps: update dependency knip to v6 (#5828) (661f349)
- deps: update dependency rollup to v4.59.0 (#5813) (1ef2020)
- deps: update dependency rollup to v4.60.0 (#5829) (4ab5813)
- deps: update eslint monorepo to v10 (major) (#5742) (fe9dc01)
- deps: update joelwmale/webhook-action digest to 6cebc9d (#5702) (e61c8d5)
- docs: rename
docs-nexttodocs(#5770) (39c15a8) - fix supporters file extension in knip config (#5796) (53ca72f)
- have
Testsworkflow ignore more relevant paths (#5762) (8e2cebe) - remove
global.setImmediatefallback (#5836) (5e69d16) - remove
repeat()polyfill (#5837) (f988a80) - remove now-unused
utils.inherits(#5766) (d0a636b) - remove unused
libcprops frompackage-lock.json(#5817) (b0a89ce) - remove unused fossaignore (#5769) (8a0eaf7)
- run tests when PR is retargeted (#5761) (3481b1e)
- switch reporters from util.inherits to ES2015 classes (#5180) (c3f32ce)
- switch Runnable, Hook, and Test from util.inherits to ES2015 classes (#5178) (1378fd8)
- use
beta-9.1instead ofbeta.10(#5821) (bc1eff2)
🤖 Automation
v12.0.0-beta-10
12.0.0-beta-10 (2026-02-21)
🌟 Features
🩹 Fixes
- change Pending to properly extend Error (#5679) (158effd)
- deps: update dependency chokidar to v5 (#5734) (ff2f17f)
- deps: update dependency minimatch to v10 (#5743) (3f3e449)
- deps: update dependency starlight-package-managers to ^0.12.0 (#5717) (aa4ba48)
📚 Documentation
🧹 Chores
- Configure Renovate (#5678) (a9c9b90)
- deps: update dependency @rollup/plugin-alias to v6 (#5718) (267d751)
- deps: update dependency @rollup/plugin-commonjs to v29 (#5719) (9ed4ee5)
- deps: update dependency astro to v5.17.1 (#5703) (ec3d1fa)
- deps: update dependency chai to v4.5.0 (#5705) (870f9f8)
- deps: update dependency cross-env to v10 (#5721) (20b7476)
- deps: update dependency knip to v5.83.1 (#5708) (d833413)
- deps: update dependency npm-run-all2 to v8 (#5727) (e38e0ec)
- deps: update dependency prettier to v3.8.1 (#5709) (2f98cfd)
- deps: update dependency rimraf to v6 (#5728) (ba124e9)
- deps: update dependency rollup to v4.57.1 (#5710) (178749d)
- deps: update dependency unexpected-map to v3 (#5736) (c1f3379)
- deps: update dependency unist-util-visit to v5.1.0 (#5711) (7ede894)
- deps: update dependency webdriverio to v9 (#5739) (ff334df)
- deps: update dependency webpack-cli to v6 (#5741) (95c9d75)
- deps: update dependency workerpool to v9.3.4 (#5715) (c030a3b)
- deps: update remark (#5745) (37a25f1)
- fix timeout issue with some XUnit tests (53cc467)
- switch Suite from util.inherits to ES2015 classes (#5179) (1ce690e)
🤖 Automation
v12.0.0-beta-9
v12.0.0-beta-8
v12.0.0-beta-7
12.0.0-beta-7 (2026-02-03)
🩹 Fixes
- bump diff dependency to ^8.0.3 (#5674) (15fb31a)
- print helpful message when internal CLI error happens (#5344) (1e11836)