Skip to content

📌 Mocha 12 Release Plan #5357

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
JoshuaKGoldberg opened this issue May 6, 2025 · 0 comments
Open

📌 Mocha 12 Release Plan #5357

JoshuaKGoldberg opened this issue May 6, 2025 · 0 comments
Labels
type: discussion debates, philosophy, navel-gazing, etc.
Milestone

Comments

@JoshuaKGoldberg
Copy link
Member

JoshuaKGoldberg commented May 6, 2025

We're working on another new major version of Mocha! 📦

Mocha 11 was the first new major version of Mocha in 3 years. It contained no new bug fixes or features; it only updated the glob dependency (#5148 -> #5250) and raised the minimum supported Node.js version from 14.0.0 to 18.18.0 (#5206 -> #5206). The small changes were because, as mentioned in #5027, we're a new volunteer maintenance team and want to tread carefully with breaking changes.

Mocha 12 will also be a careful step forward. It will also contain no new features or intentional breaking changes in Mocha's code. Instead, Mocha 12 will be used to:

  • Bump the minimum Node.js version to ^20.19.0 || >=22.12.0: which will allow Mocha to rely on require(ESM)
  • Bump all production dependencies to their latest versions - many of which are ESM-only
  • Remove long-deprecated options and any other known dead code
  • Remove usage of util.inherits and convert all manual prototype management to ECMAScript classes

You can see the full list of issues in scope under milestone/66 v12.0.0.

This version upgrade is intentionally meant to be "boring" for end-users. However, it's very exciting for us as maintainers -- in that it will enable us to produce new features that will be very exciting for end-users later on. That includes:

We're looking forward to continuing Mocha's modernization through 2025 and beyond. If there's anything you feel we should work on that isn't already on Mocha's issue tracker, please do file it there or ask in Mocha's Discord. We'd love to hear from you. 🤎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: discussion debates, philosophy, navel-gazing, etc.
Projects
None yet
Development

No branches or pull requests

1 participant