Moodle still ships YUI in 2026. On 3 November, 32 issues were filed to finish it

Moodle 5.3 has React and TypeScript, but also YUI code, an end-of-life ESLint and a 2022 Babel. What started on 3 November, how far behind the toolchain is, and what it means for your plugins.

Drawing of a row of hand tools in black outline, with one blue spanner in the middle.

Moodle’s JavaScript lives in three eras at once. There is YUI, a Yahoo library Moodle has used since the late 2000s. There are AMD modules, built with Grunt and Babel, which most plugins use today. And since 5.2 there are ES modules with React and TypeScript, which we covered in React in Moodle core.

On 3 November 2026, 32 tracker issues were filed in one day, all by the same person, each one to move a remaining piece of YUI or old module.js code to ES modules.1 It is the clearest sign yet that the oldest era is finally being cleared out. It also shows how much of it was still there.

What is still on YUI?

The list reads like a tour of Moodle’s busiest screens:1

  • the quiz: autosave, the settings form, the question chooser and mod/quiz/module.js
  • the file picker and drag-and-drop upload in forms
  • the PDF annotation editor in assignment feedback
  • SCORM, wiki, database, lesson timer and LTI
  • rubrics and marking guides, groups, role management, ratings
  • the M.util helpers in lib/javascript-static.js, which plenty of plugins still call

They sit under two epics: “Migrate all use of YUI3”, opened in January 2023, and “Migrate use of all YUI2”, opened in November 2012.2 Yahoo stopped new development on YUI in August 2014.3 So Moodle has been migrating off a library for longer than that library was actively developed after Moodle adopted it.

That is not a scandal. Rewriting the quiz autosave or the file picker is risky work on code that millions of people use daily, and nobody notices when it goes well. But it explains why some Moodle screens still feel the way they do.

How old is the toolchain?

We read package.json on the MOODLE_503_STABLE branch, the long-term support release that came out on 5 October 2026 and gets security fixes until October 2029.45

ToolMoodle 5.3 usesCurrentStatus of Moodle’s version
Node.js22 (>=22.11.0 <23)26 LTSEnds 30 April 20276
ESLint^8.56.010.14End of life since 5 October 20247
@babel/core7.17.58.1.0Released February 2022
TypeScript^5.7.37.0.26.x and 7.x since
Grunt^1.6.11.6.3Current
esbuild^0.25.0newerUsed for the new ES module build

main (the future 6.0) still asks for Node 22 too.4

The most awkward line is Node. Moodle 5.3 is an LTS release supported until 2029, and the only Node version its package.json accepts stops getting security fixes in April 2027. After that, anyone building Moodle’s JavaScript from source does it on an unsupported runtime, or overrides the version check.

To be fair about the risk: these are build tools. They run on a developer’s laptop or in CI, not on your production server, and a site that installs Moodle from a release package never runs them. An old ESLint will not get your site hacked. What it does is slow down the people working on Moodle: outdated rules, warnings that newer editors don’t understand, and plugin developers held to the same versions as core.

Why not just upgrade?

Some of it is genuinely hard. TypeScript 7.0, the native compiler rewritten in Go, went GA on 8 July 2026, and Microsoft reports full builds 8 to 12 times faster.8 But 7.0 has no programmatic API until 7.1, which is still in beta, so linting tools like typescript-eslint stay on the older compiler for now.8 Holding TypeScript back is reasonable.

ESLint 9 changed the config format completely, so every ESLint plugin and config in the repository has to move at once. Babel 8 drops old options. Each upgrade touches every file the tools check, in a codebase with thousands of them. TypeScript linting for React (MDL-87988) is in testing, targeted at 6.0.9

Some of it is just priority. Developer tooling never wins against features the market asks for, and Moodle is a company selling to universities, not to developers.

Why this matters more in the AI era

AI coding agents write modern JavaScript well: ES modules, React, TypeScript. They have seen millions of examples. They write YUI badly, because almost nobody has written YUI in ten years, and they get confused by AMD modules built with a 2022 Babel setup. We see this every day when we build plugins with agents.

So every screen that moves from YUI to ES modules is one that agents, and newer developers, can work on safely. The 3 November batch is good news for the speed of Moodle development in general, not only for HQ.

What it means for your plugins

  • Search your plugins for YUI. Look for M.util, Y.use, YUI.add, module.js and yui/src folders. Every one of those depends on code that core is now replacing.
  • Watch the quiz and file picker issues if your plugin extends either. Plugins that hook into their old JavaScript are the most likely to break.
  • Build new screens as ES modules on Moodle 5.2 or later, as core now does. Keep AMD for plugins that must also run on 4.5.
  • Pin your own Node version in CI to whatever the Moodle branch asks for, and plan for the day it moves.

If you have a plugin full of YUI that needs to survive the next two Moodle releases, that is a fixed-price job we do.

The short version

Someone is finally clearing out JavaScript from 2012, and that deserves credit. The build toolchain is still years behind, and the LTS release depends on a Node version that runs out in April 2027. Plugin owners should get off YUI before core does.

Sources

  1. Moodle tracker, issues MDL-90369 to MDL-90409 created 3 November 2026, for example MDL-90379 (quiz autosave), MDL-90408 (file picker) and MDL-90401 (M.util helpers). Checked 4 November 2026. ↑ ↑

  2. Moodle tracker, MDL-76864 Migrate all use of YUI3 and MDL-36373 Migrate use of all YUI2. ↑

  3. Linux.com, Yahoo to stop development on YUI library, August 2014. ↑

  4. Moodle source, package.json on MOODLE_503_STABLE and .nvmrc on main, checked 4 November 2026. Current versions from the npm registry on the same day. ↑ ↑

  5. endoflife.date, Moodle. ↑

  6. Node.js, release schedule. ↑

  7. endoflife.date, ESLint. ↑

  8. Microsoft, Announcing TypeScript 7.0, July 2026. ↑ ↑

  9. Moodle tracker, MDL-87988 Add TypeScript linting for React into core. ↑

Need a Moodle plugin built or rescued?

Tell the scoping assistant what you need. You get a fixed price and a timeline in a few minutes, and an engineer reviews it within one business day.

Get a fixed quote