Releases: moodlehq/moodle-plugin-ci
4.5.5
Added
- Improvements to plugin validation implementation:
getRequiredFunctionCalls
in plugin type specificRequirements
class can be used to validate that file contains function call.
FileTokens::notFoundHint
can be used to give some context for validation error to improve developer experience.
Fixed
- Fixed stylelinting error in non-theme plugins containing scss.
- Updated filter plugin validation requirements to comply with Moodle 4.5
Removed
- Stylelint less component task (
grunt stylelint:less
) has been deprecated in
Moodle 3.7.
Take a look at the CHANGELOG for details about other releases.
Please follow the 4.0 Upgrade guide when upgrading from 3.x.
3.4.14
Changed
- Fixed nvm loading issue caused by upstream regression.
Take a look at the CHANGELOG for details about other releases.
Please follow 3.0 Upgrade guide when upgrading from 2.x.
4.5.4
Changed
- Fixed nvm loading issue caused by upstream regression.
Take a look at the CHANGELOG for details about other releases.
Please follow the 4.0 Upgrade guide when upgrading from 3.x.
4.5.3
Added
- Support for version 4.4 of the app, that uses new defaults and Chrome (Selenium 4) version.
Changed
- Updated project dependencies to current moodle-cs v3.4.10 and moodle-local_ci v1.0.31 releases.
Take a look at the CHANGELOG for details about other releases.
Please follow the 4.0 Upgrade guide when upgrading from 3.x.
4.5.2
Changed
- Updated project dependencies to current moodle-cs v3.4.9 release.
Take a look at the CHANGELOG for details about other releases.
Please follow the 4.0 Upgrade guide when upgrading from 3.x.
4.5.1
Changed
- Updated project dependencies to current moodle-cs v3.4.8 release.
Fixed
- Fixed a problem with the
grunt
command running thestylelint
tasks against the whole Moodle directory (including both core and other optional plugins installed). Now only the plugin being checked is effectively analysed.
Take a look at the CHANGELOG for details about other releases.
Please follow the 4.0 Upgrade guide when upgrading from 3.x.
4.5.0
Changed
- Updated project dependencies to current moodle-cs v3.4.7 and moodle-local_ci v1.0.30 releases.
- Internal, various improvements to self testing.
Deprecated
- The use of
phpdbg
to calculate PHPUnit's code-coverage has been deprecated in thismoodle-plugin-ci
release (4.5.0) and will be removed in 5.0.0. This includes both the implicit (default) option when no alternative (pcov
orxdebug
) is available and the explicit--coverage-phpdbg
option. - ACTION SUGGESTED: In order to avoid deprecation warnings or annotations, proceed to ensure that either
pcov
(Moodle 3.10 and up) orxdebug
are available and they will be used automatically. Note that any use ofphpdbg
will throw an error in the next major release (5.0.0).
Fixed
- Solved a problem with the validation of
dataformat
plugin lang strings. - Fixed a problem with the
phpcs
command returning with success when some (configuration, installation, ...) problem was causing it not to be executed at all.
Take a look at the CHANGELOG for details about other releases.
Please follow the 4.0 Upgrade guide when upgrading from 3.x.
4.4.5
Changed
- Additional release for error in release process
Take a look at the CHANGELOG for details about other releases.
Please follow the 4.0 Upgrade guide when upgrading from 3.x.
4.4.3
Changed
- Updated project dependencies to current moodle-cs v3.4.5 release.
Take a look at the CHANGELOG for details about other releases.
Please follow the 4.0 Upgrade guide when upgrading from 3.x.
4.4.2
Added
- Added GHA step to store Behat fail-dumps as workflow artefacts, so it can be
inspected. Documentation has been updated as well to reflect the purpose of the step. - Added support for the
--license-regex
option to thephpcs
command. When specified, all the PHPDoc license tags (@license
) are inspected to ensure that they contain some text matching the regular expression (a license type:/GNU GPL v3 or later/
, ... or any other valid alternative).
Changed
- Updated project dependencies to current moodle-cs v3.4.4, moodle-local_moodlecheck v1.3.2 and moodle-local_ci v1.0.29 releases.
- Updated self CI dependencies to current PHP and Moodle versions.
- For pull requests, set the Assignee automatically (to the author of the PR).
Removed
- The documentation about the
phpcpd
command (deprecated and to be removed in 5.0.0) has been deleted from all the templates and docs.
Take a look at the CHANGELOG for details about other releases.
Please follow the 4.0 Upgrade guide when upgrading from 3.x.