Skip to content

Releases: oxsecurity/megalinter

Mega-Linter v4.20.0

28 Dec 23:39
Compare
Choose a tag to compare
  • Flavors

    • Add ci_light flavor for only CI config files (Dockerfile,Jenkinsfile,JSON,YAML,XML)
    • Add salesforce flavor for Salesforce projects (DX or Metadata)
    • If all required linters are not in the current flavor, just skip them with a warning message
  • Core

    • Add Json Schema for descriptors (allows validation and auto-completion from IDEs)
    • Add Json Schema for .mega-linter.yml configuration files

Mega-Linter v4.19.0

27 Dec 02:37
Compare
Choose a tag to compare
  • Installation

    • Add a yeoman generator in mega-linter-runner to initialize configuration in a repository: npx mega-linter-runner --install
  • Linters

    • New linter v8r to validate json and yaml files with schemastore.org

Mega-Linter v4.18.0

22 Dec 23:38
Compare
Choose a tag to compare
  • Core

    • Do not suggest flavors when Mega-Linter validates only the diff files (VALIDATE_ALL_CODE_BASE: false)
    • Fix ConsoleReporter active linters table content
    • Check if linter is able to fix before flagging it as a fixing linter during runtime
  • Flavors

    • New flavor: documentation
  • Reporters

    • Support GitHub Enterprise for GitHub Comment Reporter
    • Support GitHub Enterprise for GitHub Status Reporter
  • Doc

    • Add docker pulls badge in flavors documentation
    • Generate list of references to Mega-Linter

Mega-Linter v4.17.0

18 Dec 22:31
Compare
Choose a tag to compare
  • Core
    • Allow to use remote linters configuration files with LINTER_RULES_PATH
    • Add .jekyll-cache in the list of ignored folders by default
    • Arrange display of Flavor suggestions (text and order) in reporter logs
  • Build
    • Dynamically generate (build.py) the list of flavors in github actions workflows
  • Doc
    • Reorganize online documentation menus
  • Linters
    • Add new linter git_diff to check for git conflicts markers
    • Fix rakudo installation
    • Fix phpstan installation

Mega-Linter v4.16.0

14 Dec 21:30
Compare
Choose a tag to compare
  • Flavored Mega-Linters

    • Generate lightweight docker images to improve Mega-Linter performances on some language based projects
    • During Mega-Linter run, suggest user to use a flavor and write it in reporters
    • Update descriptor YML files to define flavours
    • Update build.py to create one Dockerfile by Mega-Linter flavour & flavors documentation
    • New GHA workflows to build all flavoured Mega-Linters when pushing in master
  • Fixes

    • Output reporter problems as warnings
    • Do not make Mega-Linter fail in case GitHubStatusReporter fails
  • Doc

    • Rename "index" pages into more meaningful labels

Mega-Linter v4.15.0

13 Dec 12:22
Compare
Choose a tag to compare
  • Add Vue.js linting (eslint-plugin-vue added in dependencies)

  • Configuration parameters changes:

    • Change config setting logic: EXCLUDED_DIRECTORIES is now replacing original directory list instead of extending it
    • Add config setting: ADDITIONAL_EXCLUDED_DIRECTORIES extends EXCLUDED_DIRECTORIES directory list
    • Add config setting: <LINTER_KEY>_FILE_EXTENSIONS to override corresponding value from linter descriptor file
    • Add config setting: <LINTER_KEY>_FILE_NAMES_REGEX to override corresponding value from linter descriptor file
  • Descriptor yaml schema changes:

    • Rename files_names_not_ends_with to file_names_not_ends_with
    • Rename files_names to files_names_regex and change behavior to expect regular expressions in the list.
      They are applied using full match (i.e. the whole text should match the regular expression)
  • Fix error message from Email Reporter when SMTP password is not set

  • Fix automerge action yml (skip if secrets.PAT is not set)

  • Improve caching of compiled regular expressions

  • Override mkdocs theme to make analytics work

  • CI

    • Auto update linters and documentation: Create update PR only if linter versions has been updated
    • Build and deploy docker images only when it is relevant (not in case of just documentation update for example)

Mega-Linter v4.14.2

07 Dec 16:09
Compare
Choose a tag to compare
  • Quick fix Github Comment Reporter
  • Reorder linters for reports

Mega-Linter v4.14.1

07 Dec 11:44
Compare
Choose a tag to compare
  • Fixes
    • Fix python error when File.io does not respond, + harmonize reporter logs

Mega-Linter v4.14.0

07 Dec 01:08
Compare
Choose a tag to compare
  • Linters

    • Add Salesforce linter: sfdx-scanner
  • Core architecture

    • Allow to call extra commands to build help content

Mega-Linter v4.13.0

05 Dec 03:35
Compare
Choose a tag to compare
  • Major updates in online documentation generation

    • Reorganize TOC
    • Generate individual pages from README sections and update their internal links targets
    • Open external links in a new browser tab
  • New configuration parameters

    • Allow disabling printing alpaca image to console using PRINT_ALPACA config parameter
    • Support list of additional excluded directory basenames via EXCLUDED_DIRECTORIES configuration parameter
  • New reporters:

    • Email reporter, to send mega-linter reports by mail if smtp server is configured
    • File.io reporter, to access reports with a file.io hyperlink
  • Fixes

    • Fix markdown comments generator when build on Windows
    • Fix terrascan unit test case
    • Run some actions/steps only when PR is from same repository
    • Add comments in markdown generated by build.py
    • Fix boolean variables not taken in account in .mega-linter.yml config file
  • Performance

    • Change way to install linters in Dockerfile (replace FROM ... COPY) by package or sh installation, to reduce the docker build steps from 93 to 87
      • shellcheck
      • editorconfig-checker
      • dotenv-linter
      • golangci-lint
      • kubeval