These release notes are for Codacy Self-hosted v6.0.0, released on March 2, 2022.
📢 Visit the Codacy roadmap and let us know your feedback on both new and planned product updates!
Upgrading Codacy Self-hosted#
Follow the steps below to upgrade to Codacy Self-hosted v6.0.0:
Check the release notes for all Codacy Self-hosted versions between your current version and the most recent version for breaking changes and follow the instructions provided carefully.
Follow the instructions to upgrade your Codacy Self-hosted instance.
Update your Codacy command-line tools to the versions with the Git tag
This version of Codacy Self-hosted introduces the following breaking changes:
Dropped support for Kubernetes 1.14 and MicroK8s 1.14
Kubernetes 1.14 is an old version first released in 2019 that's no longer being maintained.
If you're using Kubernetes 1.14 or MicroK8s 1.14, make sure that you upgrade your cluster before upgrading Codacy. For the current supported versions, see the chart requirements page.
Removed the tool PMD (Legacy)
For more details, see the announcement for Codacy Cloud.
If you're currently using this tool to analyze your repositories and want to start using PMD instead, we recommend that you follow the next steps before upgrading to this Codacy Self-hosted version:
Take note of the code patterns that you have enabled on PMD (Legacy) and enable the corresponding code patterns on the new tool PMD.
The new version of the tool includes different code patterns, so it's possible that not all code patterns will have a direct match on the new tool.
Disable PMD (Legacy) and enable PMD.
Now, Codacy calculates the new metric diff coverage for pull requests. (CY-5533)
It's also possible to set up a quality gate rule for diff coverage. (CY-5534)
Updated the codacy-rubocop plugins listed below. (CY-5550)
Now, the Issues breakdown area on the Repository Dashboard displays all issue categories, including Code complexity. (CY-5463)
You can now use the Codacy configuration file to adjust how PMD CPD detects duplicated code, giving you more flexibility to eliminate false positives. (CY-5184)
Now, Codacy supports static code analysis for Dart/Flutter projects using dartanalyzer. The new tool checks your code for errors and warnings that are specified in the Dart language specification. (CY-4314)
Added documentation on how to configure the log level and log retention period of the Codacy components running on your Kubernetes or MicroK8s cluster. (CY-2768)
- Now, the Coverage column always appears on the Files page even when there's no coverage data, avoiding a jump in the view. (CY-5518)
- Updated the Git URL used to clone public repositories to comply with the recent GitHub protocol changes. (CY-5436)
- Fixed an issue that could prevent users from using the Codacy app website temporarily if they were exposed to a phishing attack. CVSS v3.1 score: 3.1 (Low) (CY-5420)
- Fixed a security issue that, under rare circumstances, could allow an attacker to run arbitrary code on the Ignored files settings page. CVSS v3.1 score: 3.8 (Low) (CY-5419)
- Added the plugin eslint-plugin-storybook to codacy-eslint. (CY-5406)
This version of Codacy Self-hosted includes the tool versions below. The tools that were updated on this version are highlighted in bold:
- Ameba 0.13.1
- Bandit 1.7.0
- Brakeman 4.3.1
- bundler-audit 0.6.1
- Checkov 2.0.399
- Checkstyle 8.44
- Clang-Tidy 10.0.1
- CodeNarc 2.2.0
- CoffeeLint 2.1.0
- Cppcheck 2.2
- Credo 1.4.0
- CSSLint 1.0.5
- dartanalyzer 2.15.1 (new)
- detekt 1.19.0
- ESLint 7.32.0
- Faux-Pas 1.7.2
- Flawfinder 2.0.11
- Gosec 2.8.1
- Hadolint 1.18.2
- Jackson Linter 2.10.2
- JSHint 2.12.0
- markdownlint 0.23.1
- PHP Mess Detector 2.10.1
- PHP_CodeSniffer 3.6.2
- PMD 6.36.0
- Prospector 1.3.1
- PSScriptAnalyzer 1.18.3
- Pylint 1.9.5
- Pylint (Python 3) 2.7.4
- remark-lint 7.0.1
- Revive 1.0.2
- RuboCop 1.25.1 (updated from 1.23.0)
- Scalastyle 1.5.0
- ShellCheck v0.7.2
- Sonar C# 8.30
- Sonar Visual Basic 8.15
- spectral-rulesets 1.2.7
- SpotBugs 4.5.3 (updated from 4.1.2)
- SQLint 0.2.1 (updated from 0.1.9)
- Staticcheck 2020.1.6
- Stylelint 14.2.0 (updated from 14.1.0)
- SwiftLint 0.43.1
- Tailor 0.12.0
- TSLint 6.1.3
- TSQLLint 1.11.1
Share your feedback 📢
Did this page help you?
Thanks for the feedback! Is there anything else you'd like to tell us about this page?
255 characters left
We're sorry to hear that. Please let us know what we can improve:
255 characters left
Alternatively, you can create a more detailed issue on our GitHub repository.
Thanks for helping improve the Codacy documentation.
Edit this page on GitHub if you notice something wrong or missing.
If you have a question or need help please contact firstname.lastname@example.org.