-
Bug
-
Resolution: Fixed
-
Major
-
3.5.7, 3.5.12, 3.6.5, 3.7, 3.7.6, 3.8, 3.8.3
-
MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
-
MOODLE_35_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
-
MDL-66109-master -
Since September 2018 (MDL-63346):
- This policy will be applied to ALL supported branches, normal and security-only.
- This policy won't update any tool per se, unless strictly needed by nodejs/npm own dependencies/changes. It won't include npm audit changes either. Those are handled apart.
- TODO (MDLSITE-5536): A job @ CI servers will be, daily, using latest lts/current version to detect if there are npm-shrinkwrap.json changes. It will fail when that happens and inform integrators. Jumps to lts/next will be detected manually,.
- When that happens, a new issue, similar to this, will be created and these steps performed in order to get a renewed npm-shrinkwrap.json file:
- remove node_modules & npm-shrinkwrap.json
- npm cache clear --force
- npm install
- npm shrinkwrap
- The resulting branches will be sent to github (or similar), making a peer-review request here so both travis and cibot will verify that all them pass ok.
- Changes will be normally integrated and the NodeJSVersion template and NodeJSExactVersion templates will be updated with latest information in the Docs.
As far as there is a new LTS nodejs/npm version, lts/dubnium, since some months ago:
https://nodejs.org/en/download/releases/
This is about to consider to bump to it for all our supported branches (35 and up, right now). This requires:
- with lts/dubnium installed, regenerate npm-shrinkwrap.json
- optionally (not part of the policy): look for deprecated and audit results, trying to update as many as possible.
- apply all the changes to core.
- review 3rd part systems: travis, CI servers, docs.moodle.org
- share about it in all channels as possible
Better we do it earlier in the process than later. Right now, they should be:
node --version && npm --version
|
v10.16.0
|
6.9.0
|
Ciao
- has a clone
-
MDL-69815 Bump nodejs from v14.0.0 to current v14.15.0
- Closed
- has a non-specific relationship to
-
MDL-63346 lts/carbon (node v8.12.0/npm 6.4.1) again modifying npm-shrinkwrap.json
- Closed
- has been marked as being related by
-
MDL-64614 Decide Moodle 3.8 requirements and push them to environment.xml (due date: 2019-06-10)
- Closed
-
MDL-65809 Decide Moodle 3.9 requirements and push them to environment.xml (due date: 2019-12-02)
- Closed
-
MDL-67415 Decide Moodle 3.10 requirements and push them to environment.xml (due date: 2020-07-24)
- Closed
-
MDL-66532 Add .nvmrc to ensure it is consistent
- Closed
- Testing discovered
-
MDL-66111 Consider if these (some IE specific) selectors can be safely removed
- Closed