📢 MegaLinter v9 is out :)
🚀 MegaLinter v9 has been released
Just run npx mega-linter-runner --upgrade to upgrade your current configuration to v9 🥳
Main features
-
Create your own Megalinter Custom Flavors to dramatically improve your performances
- See documentation for usage
- Use
npx mega-linter-runner@beta --custom-flavor-setupto initialize repo - Suggest new flavors in reporters with a mega-linter-runner including the list of linters
-
New LLM Advisor: call external LLMs to get hints to solve linter errors, available in:
- Console Reporter
- Text Reporter
- Git platforms PR/MR comments Reporter
-
Use ghcr.io docker images by default because of rate limits on docker.io
-
Update base image to python:3.13-alpine3.21 (also embeds go 1.24)
-
New default display for Pull Request comments, with expandable sections containing the first 1000 lines of the output log. Former display
-
68 linters upgraded
Please post your feedback 🎤
Just trying it (v9.0.1) PHP standard flavor and found some little issues. I'll open separate reports to details each one !
I like uv to create virtual environment. It's now more easy to contribute and test it locally before pushing code to repo and wait for CI to give an answer (PASSED or FAILED)
Hello, could you also package this new version as a Docker image? It seems that the latest one available on Docker Hub is v8.8.0, which is 4 months old.
@nvuillam Documentation need to be update (see https://megalinter.io/latest/install-docker/)
@Bigouden Retrieve image from GitHub Registry now : docker pull ghcr.io/oxsecurity/megalinter-php:v9.0.1
@nvuillam seems like v9 got pushed to docker hub as v8
v8.8.0 was pushed 4 months ago, v8 10 days ago.
And the image contains
86 ARG BUILD_DATE=2025-09-20T09:46:22Z
87 ARG BUILD_REVISION=ff177bfabd9088ff3ccaa7bc68f8ca3fd075ba5c
88 ARG BUILD_VERSION=v9.0.0
see https://hub.docker.com/layers/oxsecurity/megalinter-security/v8/images/sha256-c33028d35bfc6874c8df5937cd3476beaf3e02f6b3148a80cc4e7467f983d6d6
@pjungermann it's a mistake from me when I released :/
It will be fixed soon, I suggest meanwhile you use v9 which is on ghcr.io -> ( ghcr.io/oxsecurity/megalinter:v9 ) https://github.com/oxsecurity/megalinter/pkgs/container/megalinter/521734347?tag=v9
@Bigouden @llaville @pjungermann @echoix @bdovaz > 9.1.0 has been released, we are all good with v9 Docker Hub images :)
https://hub.docker.com/r/oxsecurity/megalinter/tags
Those who already created custom flavors, I advise you to run npx mega-linter-runner@latest--custom-flavor-setup in the same repo again, we have added another job that checks every night if there is a new release, and automatically builds a new release for the custom flavor :)
What is the option that display MegaLinter report into GH Actions workflows summary ?
For example : https://github.com/llaville/php-compatinfo-db/actions/runs/18367915944#summary-52324301133
@llaville it's markdown summary reporter :)
https://megalinter.io/latest/reporters/MarkdownSummaryReporter/
@nvuillam Thanks, I like is presence in GH Actions, even if I think it's news (I don't see it in same context before). Can you confirm it's a new ML v9 behaviour ?
@nvuillam I've my answer : it's YES, implemented by commit https://github.com/oxsecurity/megalinter/commit/f9d62a26ed5fd849fe9a56460c37aa6405e494a3 since v9.0.0
@llaville indeed 😊 Markdown summary reportee was here before, but its default post to Github is more recent :)
@nvuillam Bug found in v9 ): Salesforce Admin here hoping to get this working for our org. I submitted the Issue my friend. Here is the link for your convenience https://github.com/oxsecurity/megalinter/issues/6556 great product, if we can get it to work it would be amazing! :)
@JonathanR-SFDC thanks for reporting :) we are currently upgrading to latest code-analyzer plugin, code-scanner will be deprecated soon :) I'll keep you updated in the issue :)
@nvuillam Thank you very much, my friend :) I wish you a lot of success in your business and in everything that you do, and may Christ himself be with you.