WordPress Branches and Node.js/npm Versions

This chart details the versions of Node.js and npm used for each branchbranch A directory in Subversion. WordPress uses branches to store the latest development code for each major release (3.9, 4.0, etc.). Branches are then updated with code for any minor releases of that branch. Sometimes, a major version of WordPress and its minor versions are collectively referred to as a “branch”, such as “the 4.0 branch”. of WordPress.

WordPress VersionCurrent Node.js Versionengines.node Valuenpm Versionengines.npm ValueOriginal Node.js Version
trunk20>=20.10.010.2>=10.2.3NA
6.920>=20.10.010.2>=10.2.320
6.820>=20.10.010.2>=10.2.320
6.720>=20.10.010.2>=10.2.320
6.620>=20.10.010.2>=10.2.320
6.520>=20.10.010.2>=10.2.316
6.420>=20.10.010.2>=10.2.316
6.0-6.314>=14.15.06>=6.14.8 <714
5.6-5.914>=14.15.06>=6.14.814
5.514>=14.15.06>=6.14.812
5.1-5.414>=14.15.06>=6.14.810
5.014>=14.15.06>=6.14.88
4.7-4.914>=14.15.06>=6.14.86
3.7-4.6 – EOL branches (no security updates)14>=14.15.06>=6.14.8?

Past changes to the Node.js/npm versions used are as follows:

  • WordPress 6.5: the minimum required versions were raised to 20.10.0 and 10.2.3. This update was also backported to the 6.4 branch.
  • WordPress 6.4: minimum required versions raised to 16.19.1 and 8.19.3.
  • WordPress 5.6: minimum required versions raised to 14.15.0 and 6.14.8 (see [49636]).
  • WordPress 5.5: minimum required versions raised to 12.16.0 and 6.14.0 (see [47872]).
  • WordPress 5.1: minimum required versions raised to 10.13.0 and 6.1.0 (see [44219]).
  • WordPress 5.0: minimum required version of Node.js raised to 8.9.3 (see [42461]). The first minimum version of npm was specified in engines.npm (see [43320]).
  • WordPress 4.8: The first minimum version of Node.js, 6.9.1, was specified in engines.node (see [39478]).
  • WordPress 3.7: The new build scripts were implemented in #24976.
  • August 6, 2013: A New Frontier for Core Development is published outlining the plan to reorganize the project’s development assets and create a build process for WordPress CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress..

s
search
c
compose new post
r
reply
e
edit
t
go to top
j
go to the next post or comment
k
go to the previous post or comment
o
toggle comment visibility
esc
cancel edit post or comment