Skip to content

v7.12.0

Compare
Choose a tag to compare
@nvuillam nvuillam released this 02 Jun 14:57
· 657 commits to main since this release

What's Changed

  • Core

    • Add new logs (at debug level) on each linter activation/deactivation
    • Clean MegaLinter own CVE exceptions and order the remaining ones with links to related issues
    • Upgrade to Java 21 except for npm-groovy-lint that requires Java 17
  • Media

  • Linters

    • Add PHP fixer by @llaville in #3598
    • API_SPECTRAL was added as replacement for OPENAPI_SPECTRAL (deprecated), supporting AsyncAPI and OpenAPI by default. Uses Spectral's standard config file name .spectral.yaml instead of .openapirc.yml with a default config with rulesets for AsyncAPI and OpenAPI enabled. Fixes #3387
    • Disable SQL_TSQLLINT until security issues are solved. Related to tsqllint/tsqllint#333
    • PHP linters (PHP_PHPCS, PHP_PHPLINT, PHP_PHPSTAN) add support to SARIF report output format with help of https://github.com/llaville/sarif-php-sdk
    • Php psalm improvement by @llaville in #3541
    • KOTLIN_KTLINT now supports list_of_files mode, and has better error counting
    • Upgrade KOTLIN_DETEKT and make it work with cli_lint_mode = project
  • Fixes

    • Change golangci-lint lint mode to project, by @wandering-tales in #3509
    • Disable sql-lint as it is no longer maintained
    • Add new entries findUnusedCode and findUnusedBaselineEntry in default psalm.xml configuration file for PHP_PSALM linter. Related to #3538
    • fix(pylint): overgeneral-exceptions fully qualified name by @gardar in #3576
    • Update ktlint descriptor to support list_of_files and better error counting by @Yann-J in #3575
    • Sync PowerShell version in arm.megalinter-descriptor.yml by @echoix in #3586
    • Adjust find commands to clean up files in same step by @echoix in #3588
    • Upgrade KOTLIN_DETEKT and make it work with cli_lint_mode = project by @nvuillam in #3590
  • Doc

    • Handle disabled_reason property in descriptors
    • Sort enums in json schema, by @echoix in #3595
  • CI

    • Build: take in account disabled linters for workflow auto-update
    • Remove useless package-lock.json that was in python tests folder
    • Fix SARIF_REPORTER that was wrongly sent to true to format & fix test methods
    • Build: Write ARG lines at the top of Dockerfiles if they are used by FROM variables
    • Remove Github Actions Workflow telemetry to improve performances
    • Update Docker image for Gitpod to run on Ubuntu Noble, by @echoix
    • Update makefile bootstrap config (gitpod or local) to use uv for package installation, by @echoix
    • Use uv to install Python deps for CI by @echoix in #3561
    • Use a single find command to delete pycache files by @echoix in #3562
    • Sort schema enums by @echoix in #3595
  • Linter versions upgrades

New Contributors

MegaLinter is graciously provided by OX Security

Full Changelog: v7.11.0...v7.12.0