For the latest updates and improvements in production, open docs.codacy.com instead.
Self-hosted v12.0.0#
These release notes are for Codacy Self-hosted v12.0.0, released on July 20, 2023.
📢 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 v12.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 following versions:
Breaking changes#
-
If you have set
scheduler.enable: "true"
invalues-production.yaml
(orvalues-microk8s.yaml
if using MicroK8s), do the following before updating Kubernetes.Assuming you're using the default
codacy
namespace:-
Remove all
scheduler.*
settings fromvalues-production.yaml
(orvalues-microk8s.yaml
if using MicroK8s) -
Update the ConfigMap of
codacy-worker-manager
:kubectl patch configmap/codacy-worker-manager --namespace codacy --type merge --patch '{"data":{"CONFIG_FORCE_codacy_kubernetes_scheduler_enable": "false","CONFIG_FORCE_codacy_kubernetes_scheduler_name":"default-scheduler"}}'
-
Restart the
codacy-worker-manager
Deployment:kubectl rollout restart deployment/codacy-worker-manager -n codacy
-
List any pending
worker
Pods:kubectl get pods -l app=worker --field-selector=status.phase=Pending -n codacy
-
If there are any pending
worker
Pods, remove them:Warning
This is a destructive action. Make sure you understand the consequences.
kubectl delete pods -l app=worker --field-selector=status.phase=Pending -n codacy
-
-
If you're upgrading your Kubernetes installation to v1.25, make sure to do the following in the recommended order to avoid service outages:
-
Upgrade to Codacy Self-hosted v12.0.0
-
If using the monitoring functionality Grafana + Prometheus + Loki, update Loki and Promtail by following the latest respective installation instructions (Loki, Promtail).
-
Upgrade Kubernetes to v1.25
-
Product enhancements#
- Added support for Kubernetes 1.24.* and 1.25.* (REL-1304, REL-1306)
- Added support for the Stylelint plugin stylelint-no-px. (TS-455)
- Improved the performance of the tool Stylelint by reviewing and refactoring the tool configurations and supported packages. (TS-438)
- Updated and refactored the tool Ameba. Thanks to Sija for the contribution! (TS-417)
Tool versions#
This version of Codacy Self-hosted includes the tool versions below. The tools that were updated on this version are highlighted in bold:
- Ameba 1.4.3 (updated from 0.13.1)
- Bandit 1.7.0
- Brakeman 4.3.1
- bundler-audit 0.6.1
- Checkov 2.3.187 (updated from 2.1.188)
- Checkstyle 10.3.1
- Clang-Tidy 10.0.1
- CodeNarc 3.2.0
- CoffeeLint 2.1.0
- Cppcheck 2.10.3 (updated from 2.10)
- Credo 1.4.0
- CSSLint 1.0.5
- dartanalyzer 2.17.0
- detekt 1.22.0 (updated from 1.19.0)
- ESLint 8.34.0
- ESLint (deprecated) 7.32.0
- Faux-Pas 1.7.2
- Flawfinder 2.0.19
- Gosec 2.15.0 (updated from 2.8.1)
- Hadolint 1.18.2
- Jackson Linter 2.14.2
- JSHint 2.13.5
- markdownlint 0.26.2
- PHP Mess Detector 2.13.0
- PHP_CodeSniffer 3.7.2
- PMD 6.55.0
- Prospector 1.10.2 (updated from 1.7.7)
- PSScriptAnalyzer 1.18.3
- Pylint 2.17.3 (updated from 2.17.0)
- Pylint (deprecated) 1.9.5
- remark-lint 7.0.1
- Revive 1.3.2 (updated from 1.2.3)
- RuboCop 1.52.1 (updated from 1.39.0)
- Scalastyle 1.5.0
- ShellCheck v0.9.0
- SonarC# 8.40
- SonarVB 8.15
- Spectral 1.16.0 (updated from 1.2.7)
- SpotBugs 4.7.3
- SQLint 0.2.1
- Staticcheck 2022.1.3
- Stylelint 15.9.0 (updated from 14.16.1)
- SwiftLint 0.50.3
- Tailor 0.12.0
- TSLint 6.1.3
- TSQLLint 1.11.1
- Unity Roslyn Analyzers 1.14.0
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 support@codacy.com.