4.4.0
Added
- New
--seleniumoption orMOODLE_BEHAT_SELENIUM_IMAGEenv variable to thebehatcommand, to be able to specify the Selenium Docker image to use (defaults apply if not specified). - New
MOODLE_BEHAT_CHROME_CAPABILITIESandMOODLE_BEHAT_FIREFOX_CAPABILITIESenv variables to configure additional browser capabilities (they will be needed - internally - soon, to allow the command to perform some special behat runs). - Extend own CI tests to cover:
- PHP 8.3 (all tests).
selfupdatePHAR command (unit and integration tests).
Changed
- Updated all uses of
actions/checkoutfromv3(using node 16) tov4(using node 20), because actions using node 16 are deprecated and will stop working in the future. - ACTION SUGGESTED: In order to avoid the node 16 deprecation warnings, update your workflows to use
actions/checkout@v4. Note: the same may apply to other actions being used in your workflows (check your latest runs). - Updated project dependencies to current moodle-cs.
Deprecated
- The
phpcpdcommand (that uses the PHP Copy/Paste Detector, now abandoned) has been deprecated in thismoodle-plugin-cirelease (4.4.0) and will be removed in 5.0.0. No replacement is planned. - ACTION SUGGESTED: In order to avoid deprecation warnings or annotations, proceed to remove this command from your workflows. Note that any use will throw an error in the next major release (5.0.0).
- The
masterbranch of Moodle upstream repositories has been moved tomainand will stop working soon (see MDLSITE-7418 for details). GitHub workflows will start emitting warnings/annotations when uses of themasterbranch are detected. - ACTION SUGGESTED: In order to avoid deprecation warnings or annotations, proceed to replace
masterbymainin your workflows. Note that any use of the former (to be removed) will throw an error in the future.
Take a look at the CHANGELOG for details about other releases.
Please follow the 4.0 Upgrade guide when upgrading from 3.x.