Releases: oxsecurity/megalinter
Releases · oxsecurity/megalinter
Mega-Linter v4.20.0
-
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
-
Installation
- Add a yeoman generator in mega-linter-runner to initialize configuration in a repository:
npx mega-linter-runner --install
- Add a yeoman generator in mega-linter-runner to initialize configuration in a repository:
-
Linters
- New linter v8r to validate json and yaml files with schemastore.org
Mega-Linter v4.18.0
-
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
- Do not suggest flavors when Mega-Linter validates only the diff files (
-
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
- 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
-
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
-
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
extendsEXCLUDED_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
- Change config setting logic:
-
Descriptor yaml schema changes:
- Rename
files_names_not_ends_with
tofile_names_not_ends_with
- Rename
files_names
tofiles_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)
- Rename
-
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
- Quick fix Github Comment Reporter
- Reorder linters for reports
Mega-Linter v4.14.1
- Fixes
- Fix python error when File.io does not respond, + harmonize reporter logs
Mega-Linter v4.14.0
-
Linters
- Add Salesforce linter: sfdx-scanner
-
Core architecture
- Allow to call extra commands to build help content
Mega-Linter v4.13.0
-
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
- 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