Skip to content

Releases: oxsecurity/megalinter

MegaLinter v6.11.0

02 Oct 10:07
Compare
Choose a tag to compare

MegaLinter is graciously provided by OX Security

MegaLinter v6.10.0

19 Sep 20:09
Compare
Choose a tag to compare
  • Add git-lfs in Docker image to handle large files in git repositories

  • MegaLinter Docker images size improvements

    • Remove NPM cache
    • Remove Cargo cache
    • Remove rustup when clippy is not embedded in the image
    • Remove npm packages useless files
  • Linter versions upgrades

MegaLinter v6.9.1

11 Sep 15:31
Compare
Choose a tag to compare
  • Linters

  • Core

    • Improve build performances and docker images sizes (reduce from 117 to 36 layers)
      • Use BUILDKIT
      • Join RUN instructions
      • Optimize core Dockerfile items
      • Clean npm, python and cargo caches
    • Create a venv for each python-based linter to avoid issues with dependencies
    • Fix broken link to documentation when using v6
  • Linter versions upgrades

Note: MegaLinter 6.9.0 release has been cancelled: it was fine but the docker image sizes were not optimized enough.

MegaLinter is graciously provided by OX Security

MegaLinter v6.8.0

04 Sep 21:08
Compare
Choose a tag to compare
  • Run MegaLinter pre-commit hooks serially (#1826).

  • Replace deprecated StandardJS VS Code extension with the newer official version

  • When SARIF_REPORTER is active, use sarif-fmt to convert SARIF into text for console and text reporters (#1822).

  • Count checkstyle errors (#1820)

  • Linter versions upgrades

MegaLinter is graciously provided by OX Security

MegaLinter v6.7.1

28 Aug 20:11
Compare
Choose a tag to compare
  • Fix Azure Comments reporter: Use BuildId to build artifacts url
  • Fix actionlint install command

MegaLinter is graciously provided by OX Security

MegaLinter v6.7.0

28 Aug 09:55
Compare
Choose a tag to compare
  • Linters

    • Add PMD java linter
  • Azure Pipelines integration enhancements

    • Update installation instructions
    • Console reporter: manage collapsible groups for easier display & navigation in job logs (requires CI=true and TF_BUILD=true sent as env variables)
    • Azure comments reporter (see documentation)
  • Performances improvements

    • When running linters in parallel, run in the same process only the linters from same descriptor and that can update the same sources (to avoid concurrency). Other linters can be run independently.
    • Define linter_speed of linter descriptors (default 3). Can be from 1 (super slow) to 5 (super fast). This is used to optimize the processing order of linters.
  • Fixes

    • Fix: Properly match files_sub_directory as a prefix instead of partial string matching (#1765)
    • Match regex without workspace and sub_directory
    • Remove config variables that are not applicable to linters analyzing all files or all other linters files
  • Linter versions upgrades

MegaLinter is graciously provided by OX Security

MegaLinter v6.6.0

21 Aug 21:10
Compare
Choose a tag to compare

MegaLinter v6.5.0

15 Aug 19:20
Compare
Choose a tag to compare
  • npm-groovy-lint: Use Cli lint mode list_of_files for much better performances

  • Disable proselint by default if .proselintrc file is not found

  • Linter versions upgrades

MegaLinter v6.4.0

12 Aug 16:07
Compare
Choose a tag to compare
  • Add REPOSITORY_CHECKOV in all flavors

  • New config variables

    • MEGALINTER_FILES_TO_LINT: Comma-separated list of files to analyze. Using this variable will bypass other file listing methods (#808)
    • SKIP_CLI_LINT_MODES: Comma-separated list of cli_lint_modes. To use if you want to skip linters with some CLI lint modes (ex: file,project). Available values: file,cli_lint_mode,project.
  • mega-linter-runner:

    • Allow MEGALINTER_FILES_TO_LINT to be sent as positional arguments
    • New argument --filesonly that sends SKIP_CLI_LINT_MODES=project
    • Example: mega-linter-runner --flavor python --release beta --filesonly megalinter/config.py megalinter/flavor_factory.py megalinter/MegaLinter.py
  • Fixes

    • Fix SARIF when a run is missing a results list (#1725)
    • Fix missing quotes for Powershell script analyzer (#1728)
  • Linter versions upgrades

MegaLinter v6.3.0

07 Aug 10:54
Compare
Choose a tag to compare
  • Linters

    • Add REPOSITORY_CHECKOV to benefit from all checks and not only terraform ones. TERRAFORM_CHECKOV will be deprecated in a next major version
    • Add djlint (HTML_DJLINT) to lint HTML files (html, django, jinja, nunjucks, handlebars, golang, angular)
    • Upgrade jsonlint to use maintained package @prantlf/jsonlint]([https://www.npmjs.com/package/@prantlf/jsonlint) + use cli_lint_mode list_of_files to improve performances
  • Core

    • Support for automatic removal of Docker container when linting is finished
    • Fix SARIF when endColumn is 0 (#1702)
    • Use dynamic REPORT_FOLDER value for output files for SALESFORCE and COPYPASTE descriptors
    • Fix collapsible sections in Gitlab console logs
    • Manage ignore files (like .secretlintignore or .eslintignore)
      • Define ignore argument for client in descriptors
      • Define ignore file name in descriptors (overridable with _IGNORE_FILE_NAME at runtime)
      • Update documentation generation to take in account this new configuration
  • Linter versions upgrades