From 4cb1748d7e8f863a30ef90b3e6fabd27ee6edd0f Mon Sep 17 00:00:00 2001 From: Joao Machado Date: Thu, 24 Nov 2022 18:15:59 +0000 Subject: [PATCH 01/19] feat: Release notes for Codacy Self-hosted 10.0.0 --- .../self-hosted/self-hosted-v10.0.0.md | 138 ++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 docs/release-notes/self-hosted/self-hosted-v10.0.0.md diff --git a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md new file mode 100644 index 0000000000..cca1d54a02 --- /dev/null +++ b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md @@ -0,0 +1,138 @@ +--- +rss_title: Codacy release notes RSS feed +rss_href: /feed_rss_created.xml +description: Release notes for Codacy Self-hosted v10.0.0. +codacy_tools_version_old: https://github.com/codacy/codacy-tools-legacy/releases/tag/6.3.0 +codacy_tools_version_new: https://github.com/codacy/codacy-tools-legacy/releases/tag/sh-1.1.0 +--- + +# Self-hosted v10.0.0 + +These release notes are for [Codacy Self-hosted v10.0.0](https://github.com/codacy/chart/releases/tag/10.0.0){: target="_blank"}, released on November 24, 2022. + +📢 [Visit the Codacy roadmap](https://roadmap.codacy.com) 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 v10.0.0: + +1. Check the [release notes for all Codacy Self-hosted versions](../index.md#self-hosted) **between your current version and the most recent version** for breaking changes and follow the instructions provided carefully. + +1. Follow the instructions to [upgrade your Codacy Self-hosted instance](https://docs.codacy.com/v10.0/chart/maintenance/upgrade/). + +1. Update your Codacy command-line tools to the versions with the Git tag `self-hosted-10.0.0`: + + - [Codacy Analysis CLI](https://github.com/codacy/codacy-analysis-cli/releases/tag/self-hosted-10.0.0) + - [Codacy Coverage Reporter](https://github.com/codacy/codacy-coverage-reporter/releases/tag/self-hosted-10.0.0) + +## Product enhancements + +- You can now configure your Codacy GitHub App to use [expiring user access tokens](https://docs.github.com/en/developers/apps/building-github-apps/refreshing-user-to-server-access-tokens). (PLUTO-133) +- The Status column of the [coverage reports list](https://docs.codacy.com/v10.0/coverage-reporter/#validating-coverage) now includes direct links to troubleshooting instructions when there are coverage errors. (IO-155) +- Improved the performance and error handling of retrieving many open pull requests from the Git providers while populating the [**Pull requests** page](https://docs.codacy.com/v10.0/repositories/pull-requests/). (IO-133) +- Codacy now displays the coverage variation metric with a precision of two decimal places on the [Repository Dashboard](../../repositories/repository-dashboard.md) and [Organization Overview](../../organizations/organization-overview.md), and you can [define quality gates](../../repositories-configure/adjusting-quality-settings.md#gates) with a coverage variation threshold using the same precision. + + The increased precision of the metric reflects the code coverage changes better by reducing issues with rounding errors. + + ![Coverage threshold with two decimal places on the Quality settings page](../images/io-56.png) (IO-56) +- While [configuring a coding standard](../../organizations/using-a-coding-standard.md), you can now toggle all code patterns that are currently visible on the list using the new checkbox on the header. This allows you to conveniently toggle code patterns in bulk, for example, to enable all security code patterns. ![Selecting all code patterns while configuring a coding standard](../images/cy-6336.png) (CY-6336) +- While [configuring a coding standard](../../organizations/using-a-coding-standard.md), you can now click the link **Enable/Disable all <N> patterns** to toggle all patterns matching the current filters, including the code patterns that weren't loaded on the list yet. (CY-6255) +- Codacy now displays the coverage variation metric with a precision of two decimal places on the [Pull request](https://docs.codacy.com/v10.0/repositories/pull-requests/), [Commit](https://docs.codacy.com/v10.0/repositories/commits/), and [Files](https://docs.codacy.com/v10.0/repositories/files/) page, and you can [define quality gates](https://docs.codacy.com/v10.0/repositories-configure/adjusting-quality-settings/#gates) with a coverage variation threshold using the same precision. + + The increased precision of the metric reflects the code coverage changes better by reducing issues with rounding errors. ![Coverage variation on the Pull request quality overview](../images/io-92.png) (IO-92) +- Codacy now supports the new [client-side tool Unity Roslyn Analyzers](https://docs.codacy.com/v10.0/related-tools/local-analysis/client-side-tools/) for reporting error-prone and performance issues on C# projects that use the Unity framework. (IO-96) + +## Bug fixes + +- Fix an issue where changing a parameter on a repository following a standard would not display a confirmation warning. (PLUTO-149) +- Added support for the ESLint plugin [prettier-plugin-tailwindcss](https://www.npmjs.com/package/prettier-plugin-tailwindcss). (CY-6570) +- Added support for the ESLint plugin [eslint-plugin-typescript-sort-keys](https://www.npmjs.com/package/eslint-plugin-typescript-sort-keys). (CY-6561) +- Codacy-remark-lint uses now the plugin remark-gfm (CY-6513) + +## 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 0.13.1 +- Bandit 1.7.0 +- Brakeman 4.3.1 +- bundler-audit 0.6.1 +- Checkov 2.1.188 +- Checkstyle 10.3.1 +- 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.17.0 +- detekt 1.19.0 +- ESLint 8.23.1 +- ESLint (deprecated) 7.32.0 +- Faux-Pas 1.7.2 +- Flawfinder 2.0.19 +- Gosec 2.8.1 +- Hadolint 1.18.2 +- Jackson Linter 2.10.2 +- **[JSHint 2.13.5](https://github.com/jshint/jshint/releases/tag/2.13.5) (updated from 2.12.0)** +- markdownlint 0.23.1 +- PHP Mess Detector 2.10.1 +- PHP_CodeSniffer 3.6.2 +- PMD 6.48.0 +- Prospector 1.7.7 +- PSScriptAnalyzer 1.18.3 +- Pylint 1.9.5 +- Pylint (Python 3) 2.14.5 +- remark-lint 7.0.1 +- Revive 1.2.3 +- **[RuboCop 1.39.0](https://github.com/rubocop/rubocop/releases/tag/v1.39.0) (updated from 1.32.0)** +- Scalastyle 1.5.0 +- ShellCheck 0.8.0 +- Sonar C# 8.39 +- Sonar Visual Basic 8.15 +- spectral-rulesets 1.2.7 +- SpotBugs 4.5.3 +- SQLint 0.2.1 +- Staticcheck 2022.1.3 +- Stylelint 14.2.0 +- SwiftLint 0.43.1 +- Tailor 0.12.0 +- TSLint 6.1.3 +- TSQLLint 1.11.1 +- **Unity Roslyn Analyzers 1.14.0 (new)** From ffd06e263f73a2c1ad19554eb0cde57dce9436cd Mon Sep 17 00:00:00 2001 From: Paulo Ribeiro Date: Fri, 25 Nov 2022 15:16:45 +0000 Subject: [PATCH 02/19] feat: Add new release notes page to mkdocs.yml and index.md --- docs/release-notes/index.md | 4 ++++ mkdocs.yml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/docs/release-notes/index.md b/docs/release-notes/index.md index 39ace18445..becf57b3e5 100644 --- a/docs/release-notes/index.md +++ b/docs/release-notes/index.md @@ -70,6 +70,10 @@ For product updates that are in progress or planned [visit the Codacy public roa ## Codacy Self-hosted release notes {: id="self-hosted"} +v10 + +- [v10.0.0](self-hosted/self-hosted-v10.0.0.md) (November 24, 2022) + v9 - [v9.0.0](self-hosted/self-hosted-v9.0.0.md) (September 23, 2022) diff --git a/mkdocs.yml b/mkdocs.yml index a7af3a1dbd..e347893b8d 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -688,6 +688,8 @@ nav: - release-notes/cloud/cloud-2018-10-19.md - release-notes/cloud/cloud-2018-07-23.md - Self-hosted: + - v10: + - release-notes/self-hosted/self-hosted-v10.0.0.md - v9: - release-notes/self-hosted/self-hosted-v9.0.0.md - v8: From abcdac6004f1351079b67a695df2a5efbb01da68 Mon Sep 17 00:00:00 2001 From: Paulo Ribeiro Date: Fri, 25 Nov 2022 15:17:19 +0000 Subject: [PATCH 03/19] feat: Update extra.version to new version number --- mkdocs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkdocs.yml b/mkdocs.yml index e347893b8d..d23a7b077f 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -30,7 +30,7 @@ extra_javascript: # Extra variables # https://github.com/rosscdh/mkdocs-markdownextradata-plugin extra: - version: "9.0.0" + version: "10.0.0" segment_key: "4sT1ml0BeKdR1RtrK5dSQmwxmvcUpYtL" user_feedback: "true" community_url: "https://community.codacy.com/" From 952eb9f9892b997faad0051959c4ef06ce6ef4be Mon Sep 17 00:00:00 2001 From: Paulo Ribeiro Date: Fri, 25 Nov 2022 15:24:16 +0000 Subject: [PATCH 04/19] feat: Link to Unity Roslyn Analyzers changelog --- docs/release-notes/self-hosted/self-hosted-v10.0.0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md index cca1d54a02..58e72db062 100644 --- a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md +++ b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md @@ -135,4 +135,4 @@ This version of Codacy Self-hosted includes the tool versions below. The tools t - Tailor 0.12.0 - TSLint 6.1.3 - TSQLLint 1.11.1 -- **Unity Roslyn Analyzers 1.14.0 (new)** +- **[Unity Roslyn Analyzers 1.14.0](https://github.com/microsoft/Microsoft.Unity.Analyzers/releases/tag/1.14.0) (new)** From bfe2180f0aa9668012716d767a84e996a9d6eaf2 Mon Sep 17 00:00:00 2001 From: Paulo Ribeiro Date: Fri, 25 Nov 2022 15:32:46 +0000 Subject: [PATCH 05/19] clean: Edit release note for IO-96 --- docs/release-notes/self-hosted/self-hosted-v10.0.0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md index 58e72db062..bf6a65e364 100644 --- a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md +++ b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md @@ -76,7 +76,7 @@ Follow the steps below to upgrade to Codacy Self-hosted v10.0.0: - Codacy now displays the coverage variation metric with a precision of two decimal places on the [Pull request](https://docs.codacy.com/v10.0/repositories/pull-requests/), [Commit](https://docs.codacy.com/v10.0/repositories/commits/), and [Files](https://docs.codacy.com/v10.0/repositories/files/) page, and you can [define quality gates](https://docs.codacy.com/v10.0/repositories-configure/adjusting-quality-settings/#gates) with a coverage variation threshold using the same precision. The increased precision of the metric reflects the code coverage changes better by reducing issues with rounding errors. ![Coverage variation on the Pull request quality overview](../images/io-92.png) (IO-92) -- Codacy now supports the new [client-side tool Unity Roslyn Analyzers](https://docs.codacy.com/v10.0/related-tools/local-analysis/client-side-tools/) for reporting error-prone and performance issues on C# projects that use the Unity framework. (IO-96) +- Codacy now supports the [client-side tool Unity Roslyn Analyzers](https://docs.codacy.com/v10.0/related-tools/local-analysis/client-side-tools/) for reporting error-prone and performance issues on C# projects that use the Unity framework. (IO-96) ## Bug fixes From 89f16ac5b248b6fd4e7299a1caa861a4d07b78f4 Mon Sep 17 00:00:00 2001 From: Paulo Ribeiro Date: Fri, 25 Nov 2022 15:33:06 +0000 Subject: [PATCH 06/19] wip: Clean up list of issues without release notes --- .../self-hosted/self-hosted-v10.0.0.md | 31 ++----------------- 1 file changed, 2 insertions(+), 29 deletions(-) diff --git a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md index bf6a65e364..6c246e6a67 100644 --- a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md +++ b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md @@ -17,35 +17,7 @@ These release notes are for [Codacy Self-hosted v10.0.0](https://github.com/coda Jira issues without release notes Epics: -- https://codacy.atlassian.net/browse/IO-151 -- https://codacy.atlassian.net/browse/PLUTO-83 -Bugs and Community Issues: -- https://codacy.atlassian.net/browse/DOCS-461 -Others: -- https://codacy.atlassian.net/browse/PLUTO-128 -- https://codacy.atlassian.net/browse/IO-164 -- https://codacy.atlassian.net/browse/IO-163 -- https://codacy.atlassian.net/browse/IO-154 -- https://codacy.atlassian.net/browse/IO-148 -- https://codacy.atlassian.net/browse/PLUTO-105 -- https://codacy.atlassian.net/browse/CY-6533 -- https://codacy.atlassian.net/browse/IO-115 -- https://codacy.atlassian.net/browse/IO-107 -- https://codacy.atlassian.net/browse/IO-4 - -Jira issues with disabled release notes - -Epics: -- https://codacy.atlassian.net/browse/PLUTO-106 -- https://codacy.atlassian.net/browse/CY-5953 -- https://codacy.atlassian.net/browse/CY-4844 -Bugs and Community Issues: -- https://codacy.atlassian.net/browse/CY-6584 -- https://codacy.atlassian.net/browse/CY-6574 -- https://codacy.atlassian.net/browse/CY-6547 -- https://codacy.atlassian.net/browse/IO-129 -- https://codacy.atlassian.net/browse/CY-6496 -- https://codacy.atlassian.net/browse/CY-6429 +- https://codacy.atlassian.net/browse/PLUTO-83 (Coding standards improvements) --> ## Upgrading Codacy Self-hosted @@ -81,6 +53,7 @@ Follow the steps below to upgrade to Codacy Self-hosted v10.0.0: ## Bug fixes - Fix an issue where changing a parameter on a repository following a standard would not display a confirmation warning. (PLUTO-149) +- Fixed an issue that could cause the commit pages to display an empty **Diff** tab. (IO-129) - Added support for the ESLint plugin [prettier-plugin-tailwindcss](https://www.npmjs.com/package/prettier-plugin-tailwindcss). (CY-6570) - Added support for the ESLint plugin [eslint-plugin-typescript-sort-keys](https://www.npmjs.com/package/eslint-plugin-typescript-sort-keys). (CY-6561) - Codacy-remark-lint uses now the plugin remark-gfm (CY-6513) From 9096823e0734f87060c88dc7ad6ef8e0c4cbec37 Mon Sep 17 00:00:00 2001 From: Paulo Ribeiro Date: Sat, 26 Nov 2022 18:13:00 +0000 Subject: [PATCH 07/19] clean: Review product improvements --- .../self-hosted/self-hosted-v10.0.0.md | 26 +++++++------------ 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md index 6c246e6a67..3e72308933 100644 --- a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md +++ b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md @@ -12,14 +12,6 @@ These release notes are for [Codacy Self-hosted v10.0.0](https://github.com/coda 📢 [Visit the Codacy roadmap](https://roadmap.codacy.com) 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 v10.0.0: @@ -36,19 +28,19 @@ Follow the steps below to upgrade to Codacy Self-hosted v10.0.0: ## Product enhancements - You can now configure your Codacy GitHub App to use [expiring user access tokens](https://docs.github.com/en/developers/apps/building-github-apps/refreshing-user-to-server-access-tokens). (PLUTO-133) -- The Status column of the [coverage reports list](https://docs.codacy.com/v10.0/coverage-reporter/#validating-coverage) now includes direct links to troubleshooting instructions when there are coverage errors. (IO-155) +- Improved the performance of applying coding standards to repositories to avoid timeouts when updating hundreds of repositories. (PLUTO-83) +- The **Status** column of the [coverage reports list](https://docs.codacy.com/v10.0/coverage-reporter/#validating-coverage) now includes direct links to troubleshooting instructions when there are coverage errors. (IO-155) - Improved the performance and error handling of retrieving many open pull requests from the Git providers while populating the [**Pull requests** page](https://docs.codacy.com/v10.0/repositories/pull-requests/). (IO-133) -- Codacy now displays the coverage variation metric with a precision of two decimal places on the [Repository Dashboard](../../repositories/repository-dashboard.md) and [Organization Overview](../../organizations/organization-overview.md), and you can [define quality gates](../../repositories-configure/adjusting-quality-settings.md#gates) with a coverage variation threshold using the same precision. +- Codacy now supports the [client-side tool Unity Roslyn Analyzers](https://docs.codacy.com/v10.0/related-tools/local-analysis/client-side-tools/) for reporting error-prone and performance issues on C# projects that use the Unity framework. (IO-96) +- Codacy now displays the coverage variation metric with a precision of two decimal places on the [Repository Dashboard](https://docs.codacy.com/v10.0/repositories/repository-dashboard.md) and [Organization Overview](https://docs.codacy.com/v10.0/organizations/organization-overview.md), and you can [define quality gates](https://docs.codacy.com/v10.0/repositories-configure/adjusting-quality-settings.md#gates) with a coverage variation threshold using the same precision. - The increased precision of the metric reflects the code coverage changes better by reducing issues with rounding errors. + The increased precision of the metric reflects the code coverage changes better by reducing issues with rounding errors. (IO-56) - ![Coverage threshold with two decimal places on the Quality settings page](../images/io-56.png) (IO-56) -- While [configuring a coding standard](../../organizations/using-a-coding-standard.md), you can now toggle all code patterns that are currently visible on the list using the new checkbox on the header. This allows you to conveniently toggle code patterns in bulk, for example, to enable all security code patterns. ![Selecting all code patterns while configuring a coding standard](../images/cy-6336.png) (CY-6336) -- While [configuring a coding standard](../../organizations/using-a-coding-standard.md), you can now click the link **Enable/Disable all <N> patterns** to toggle all patterns matching the current filters, including the code patterns that weren't loaded on the list yet. (CY-6255) -- Codacy now displays the coverage variation metric with a precision of two decimal places on the [Pull request](https://docs.codacy.com/v10.0/repositories/pull-requests/), [Commit](https://docs.codacy.com/v10.0/repositories/commits/), and [Files](https://docs.codacy.com/v10.0/repositories/files/) page, and you can [define quality gates](https://docs.codacy.com/v10.0/repositories-configure/adjusting-quality-settings/#gates) with a coverage variation threshold using the same precision. + ![Coverage threshold with two decimal places on the Quality settings page](../images/io-56.png) - The increased precision of the metric reflects the code coverage changes better by reducing issues with rounding errors. ![Coverage variation on the Pull request quality overview](../images/io-92.png) (IO-92) -- Codacy now supports the [client-side tool Unity Roslyn Analyzers](https://docs.codacy.com/v10.0/related-tools/local-analysis/client-side-tools/) for reporting error-prone and performance issues on C# projects that use the Unity framework. (IO-96) +- While [configuring a coding standard](https://docs.codacy.com/v10.0/organizations/using-a-coding-standard.md), you can now toggle all code patterns using the new checkbox on the header. This allows you to conveniently toggle code patterns in bulk, for example, to enable all security code patterns. (CY-6255, CY-6336) + + ![Selecting all code patterns while configuring a coding standard](../images/cy-6336.png) ## Bug fixes From 504215933275b77f3dde9a2b84f984bf0ebb274d Mon Sep 17 00:00:00 2001 From: Paulo Ribeiro Date: Sat, 26 Nov 2022 18:49:11 +0000 Subject: [PATCH 08/19] clean: Review bug fixes --- docs/release-notes/self-hosted/self-hosted-v10.0.0.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md index 3e72308933..40daf048fc 100644 --- a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md +++ b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md @@ -44,11 +44,12 @@ Follow the steps below to upgrade to Codacy Self-hosted v10.0.0: ## Bug fixes -- Fix an issue where changing a parameter on a repository following a standard would not display a confirmation warning. (PLUTO-149) -- Fixed an issue that could cause the commit pages to display an empty **Diff** tab. (IO-129) -- Added support for the ESLint plugin [prettier-plugin-tailwindcss](https://www.npmjs.com/package/prettier-plugin-tailwindcss). (CY-6570) -- Added support for the ESLint plugin [eslint-plugin-typescript-sort-keys](https://www.npmjs.com/package/eslint-plugin-typescript-sort-keys). (CY-6561) -- Codacy-remark-lint uses now the plugin remark-gfm (CY-6513) +- Now, Codacy asks for confirmation when you change a code pattern parameter on a repository that follows a coding standard. (PLUTO-149) +- Fixed an issue that could cause the commit details page to display an empty **Diff** tab. (IO-129) +- Added support for the following ESLint plugins: + - [prettier-plugin-tailwindcss](https://www.npmjs.com/package/prettier-plugin-tailwindcss) (CY-6570) + - [eslint-plugin-typescript-sort-keys](https://www.npmjs.com/package/eslint-plugin-typescript-sort-keys) (CY-6561) +- Added support for the remark-lint plugin [remarkjs/remark-gfm](https://github.com/remarkjs/remark-gfm) (CY-6513) ## Tool versions From deec8804f3ce77ece64db55e6652ef1843c16f87 Mon Sep 17 00:00:00 2001 From: Paulo Ribeiro Date: Sun, 27 Nov 2022 11:33:54 +0000 Subject: [PATCH 09/19] feat: Add breaking changes section --- .../release-notes/self-hosted/self-hosted-v10.0.0.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md index 40daf048fc..2241f588ff 100644 --- a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md +++ b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md @@ -25,6 +25,18 @@ Follow the steps below to upgrade to Codacy Self-hosted v10.0.0: - [Codacy Analysis CLI](https://github.com/codacy/codacy-analysis-cli/releases/tag/self-hosted-10.0.0) - [Codacy Coverage Reporter](https://github.com/codacy/codacy-coverage-reporter/releases/tag/self-hosted-10.0.0) +## Breaking changes + +This Codacy Self-hosted version requires [PostgreSQL version 11.18](https://docs.codacy.com/v10.0/chart/requirements/#postgresql-server-setup) since the previous major version [recently reached end-of-life (EOL)](https://www.postgresql.org/support/versioning/). + +To upgrade PostgreSQL: + +1. Follow the instructions on [how to upgrade a PostgreSQL cluster](https://www.postgresql.org/docs/11/upgrading.html). + +1. After the upgrade, clean the Codacy databases with [vacuumdb](https://www.postgresql.org/docs/11/app-vacuumdb.html) to prevent the autovacuum feature from momentarily affecting the performance of the databases at a later time. + +**If you're using GitHub Enterprise Server** this Codacy Self-hosted version requires [GitHub Enterprise Server version 3.6.2 or later](https://docs.codacy.com/v10.0/faq/general/which-version-control-systems-does-codacy-support/). + ## Product enhancements - You can now configure your Codacy GitHub App to use [expiring user access tokens](https://docs.github.com/en/developers/apps/building-github-apps/refreshing-user-to-server-access-tokens). (PLUTO-133) From 7baebe45e15755d56138925d46411bf883ac168c Mon Sep 17 00:00:00 2001 From: Paulo Ribeiro Date: Sun, 27 Nov 2022 11:38:25 +0000 Subject: [PATCH 10/19] feat: Add release note for REL-992 --- docs/release-notes/self-hosted/self-hosted-v10.0.0.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md index 2241f588ff..d5ed8e2284 100644 --- a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md +++ b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md @@ -39,6 +39,7 @@ To upgrade PostgreSQL: ## Product enhancements +- Added support for [Kubernetes 1.22.\* and MicroK8s 1.22.\*](https://docs.codacy.com/v10.0/chart/requirements/#kubernetes-or-microk8s-cluster-setup) (REL-992) - You can now configure your Codacy GitHub App to use [expiring user access tokens](https://docs.github.com/en/developers/apps/building-github-apps/refreshing-user-to-server-access-tokens). (PLUTO-133) - Improved the performance of applying coding standards to repositories to avoid timeouts when updating hundreds of repositories. (PLUTO-83) - The **Status** column of the [coverage reports list](https://docs.codacy.com/v10.0/coverage-reporter/#validating-coverage) now includes direct links to troubleshooting instructions when there are coverage errors. (IO-155) From 0be24936a9ef126b8383920a93001e14419e5723 Mon Sep 17 00:00:00 2001 From: Paulo Ribeiro Date: Mon, 28 Nov 2022 12:15:07 +0000 Subject: [PATCH 11/19] fix: Move new ESlint and remark-lint plugins to Product enhancements --- docs/release-notes/self-hosted/self-hosted-v10.0.0.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md index d5ed8e2284..617473019a 100644 --- a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md +++ b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md @@ -51,6 +51,11 @@ To upgrade PostgreSQL: ![Coverage threshold with two decimal places on the Quality settings page](../images/io-56.png) +- Added support for the following ESLint plugins: + - [prettier-plugin-tailwindcss](https://www.npmjs.com/package/prettier-plugin-tailwindcss) (CY-6570) + - [eslint-plugin-typescript-sort-keys](https://www.npmjs.com/package/eslint-plugin-typescript-sort-keys) (CY-6561) +- Added support for the remark-lint plugin [remarkjs/remark-gfm](https://github.com/remarkjs/remark-gfm). (CY-6513) + - While [configuring a coding standard](https://docs.codacy.com/v10.0/organizations/using-a-coding-standard.md), you can now toggle all code patterns using the new checkbox on the header. This allows you to conveniently toggle code patterns in bulk, for example, to enable all security code patterns. (CY-6255, CY-6336) ![Selecting all code patterns while configuring a coding standard](../images/cy-6336.png) @@ -59,10 +64,6 @@ To upgrade PostgreSQL: - Now, Codacy asks for confirmation when you change a code pattern parameter on a repository that follows a coding standard. (PLUTO-149) - Fixed an issue that could cause the commit details page to display an empty **Diff** tab. (IO-129) -- Added support for the following ESLint plugins: - - [prettier-plugin-tailwindcss](https://www.npmjs.com/package/prettier-plugin-tailwindcss) (CY-6570) - - [eslint-plugin-typescript-sort-keys](https://www.npmjs.com/package/eslint-plugin-typescript-sort-keys) (CY-6561) -- Added support for the remark-lint plugin [remarkjs/remark-gfm](https://github.com/remarkjs/remark-gfm) (CY-6513) ## Tool versions From 2c25a0c7849726c70338f780e87f74f0d9f5051f Mon Sep 17 00:00:00 2001 From: Paulo Ribeiro Date: Mon, 23 Jan 2023 19:16:04 +0000 Subject: [PATCH 12/19] feat: Add release note for COV-25 --- docs/release-notes/self-hosted/self-hosted-v10.0.0.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md index 617473019a..81e4a0c26f 100644 --- a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md +++ b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md @@ -62,6 +62,7 @@ To upgrade PostgreSQL: ## Bug fixes +- Fixed an issue that caused Codacy to display the coverage value on the wrong file in specific edge cases. (COV-25) - Now, Codacy asks for confirmation when you change a code pattern parameter on a repository that follows a coding standard. (PLUTO-149) - Fixed an issue that could cause the commit details page to display an empty **Diff** tab. (IO-129) From 0da0ea6619379990514a212fa3006e20096ed3ee Mon Sep 17 00:00:00 2001 From: Paulo Ribeiro Date: Mon, 23 Jan 2023 19:27:06 +0000 Subject: [PATCH 13/19] fix: Add vacuumdb and autovacuum to Vale accept list --- .github/styles/Vocab/Codacy/accept.txt | 2 ++ docs/release-notes/self-hosted/self-hosted-v10.0.0.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/styles/Vocab/Codacy/accept.txt b/.github/styles/Vocab/Codacy/accept.txt index 160031db95..079c03ed47 100644 --- a/.github/styles/Vocab/Codacy/accept.txt +++ b/.github/styles/Vocab/Codacy/accept.txt @@ -1,5 +1,6 @@ aligncheck allowlist +autovacuum Ameba Bandit Bitbucket @@ -77,5 +78,6 @@ Tailor tooltip TSLint TSQLLint +vacuumdb Visualforce Xcode diff --git a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md index 81e4a0c26f..a8a1081617 100644 --- a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md +++ b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md @@ -33,7 +33,7 @@ To upgrade PostgreSQL: 1. Follow the instructions on [how to upgrade a PostgreSQL cluster](https://www.postgresql.org/docs/11/upgrading.html). -1. After the upgrade, clean the Codacy databases with [vacuumdb](https://www.postgresql.org/docs/11/app-vacuumdb.html) to prevent the autovacuum feature from momentarily affecting the performance of the databases at a later time. +1. After the upgrade, clean the Codacy databases with [vacuumdb](https://www.postgresql.org/docs/11/app-vacuumdb.html) to prevent the autovacuum feature from momentarily affecting the performance of the databases at a later time. **If you're using GitHub Enterprise Server** this Codacy Self-hosted version requires [GitHub Enterprise Server version 3.6.2 or later](https://docs.codacy.com/v10.0/faq/general/which-version-control-systems-does-codacy-support/). From 3353ebc672d5a3f46b9df7940d1988b712e39c8f Mon Sep 17 00:00:00 2001 From: Paulo Ribeiro Date: Fri, 27 Jan 2023 19:05:09 +0000 Subject: [PATCH 14/19] feat: Update CLI tool versions for compatibility --- docs/release-notes/self-hosted/self-hosted-v10.0.0.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md index a8a1081617..b9e4449207 100644 --- a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md +++ b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md @@ -20,10 +20,10 @@ Follow the steps below to upgrade to Codacy Self-hosted v10.0.0: 1. Follow the instructions to [upgrade your Codacy Self-hosted instance](https://docs.codacy.com/v10.0/chart/maintenance/upgrade/). -1. Update your Codacy command-line tools to the versions with the Git tag `self-hosted-10.0.0`: +1. Update your Codacy command-line tools to the following versions: - - [Codacy Analysis CLI](https://github.com/codacy/codacy-analysis-cli/releases/tag/self-hosted-10.0.0) - - [Codacy Coverage Reporter](https://github.com/codacy/codacy-coverage-reporter/releases/tag/self-hosted-10.0.0) + - [Codacy Analysis CLI 7.6.6](https://github.com/codacy/codacy-analysis-cli/releases/tag/7.6.6) + - [Codacy Coverage Reporter 13.10.15](https://github.com/codacy/codacy-coverage-reporter/releases/tag/13.10.15) ## Breaking changes From 7f824743abe40aa87a684081e8e5db448fe63308 Mon Sep 17 00:00:00 2001 From: nicklem Date: Fri, 3 Feb 2023 12:29:47 +0100 Subject: [PATCH 15/19] feat: Update release date --- docs/release-notes/index.md | 2 +- docs/release-notes/self-hosted/self-hosted-v10.0.0.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/release-notes/index.md b/docs/release-notes/index.md index 0a72a6103b..d6edc6735e 100644 --- a/docs/release-notes/index.md +++ b/docs/release-notes/index.md @@ -74,7 +74,7 @@ For product updates that are in progress or planned [visit the Codacy public roa v10 -- [v10.0.0](self-hosted/self-hosted-v10.0.0.md) (November 24, 2022) +- [v10.0.0](self-hosted/self-hosted-v10.0.0.md) (February 3, 2023) v9 diff --git a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md index b9e4449207..a5065002c8 100644 --- a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md +++ b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md @@ -8,7 +8,7 @@ codacy_tools_version_new: https://github.com/codacy/codacy-tools-legacy/releases # Self-hosted v10.0.0 -These release notes are for [Codacy Self-hosted v10.0.0](https://github.com/codacy/chart/releases/tag/10.0.0){: target="_blank"}, released on November 24, 2022. +These release notes are for [Codacy Self-hosted v10.0.0](https://github.com/codacy/chart/releases/tag/10.0.0){: target="_blank"}, released on February 3, 2023. 📢 [Visit the Codacy roadmap](https://roadmap.codacy.com) and let us know your feedback on both new and planned product updates! From f3cd7511d7de57f4393eb3d014aa29c5cb905c0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Ventura?= <92308003+lventura-codacy@users.noreply.github.com> Date: Fri, 3 Feb 2023 12:23:35 +0000 Subject: [PATCH 16/19] Update docs/release-notes/self-hosted/self-hosted-v10.0.0.md Co-authored-by: Nicola Klemenc --- docs/release-notes/self-hosted/self-hosted-v10.0.0.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md index a5065002c8..93cae2190f 100644 --- a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md +++ b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md @@ -20,10 +20,10 @@ Follow the steps below to upgrade to Codacy Self-hosted v10.0.0: 1. Follow the instructions to [upgrade your Codacy Self-hosted instance](https://docs.codacy.com/v10.0/chart/maintenance/upgrade/). -1. Update your Codacy command-line tools to the following versions: +1. Update your Codacy command-line tools to the versions with the Git tag `self-hosted-10.0.0`: - - [Codacy Analysis CLI 7.6.6](https://github.com/codacy/codacy-analysis-cli/releases/tag/7.6.6) - - [Codacy Coverage Reporter 13.10.15](https://github.com/codacy/codacy-coverage-reporter/releases/tag/13.10.15) + - [Codacy Analysis CLI](https://github.com/codacy/codacy-analysis-cli/releases/tag/self-hosted-10.0.0) + - [Codacy Coverage Reporter](https://github.com/codacy/codacy-coverage-reporter/releases/tag/self-hosted-10.0.0) ## Breaking changes From 5866053c4d3c57c49781221998f0fc0c04453e57 Mon Sep 17 00:00:00 2001 From: nicklem Date: Fri, 3 Feb 2023 15:40:18 +0100 Subject: [PATCH 17/19] feat: Update the versions of self-hosted CLI tools --- docs/release-notes/self-hosted/self-hosted-v10.0.0.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md index 93cae2190f..144099712c 100644 --- a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md +++ b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md @@ -20,10 +20,10 @@ Follow the steps below to upgrade to Codacy Self-hosted v10.0.0: 1. Follow the instructions to [upgrade your Codacy Self-hosted instance](https://docs.codacy.com/v10.0/chart/maintenance/upgrade/). -1. Update your Codacy command-line tools to the versions with the Git tag `self-hosted-10.0.0`: +1. Update your Codacy command-line tools to the following versions: - - [Codacy Analysis CLI](https://github.com/codacy/codacy-analysis-cli/releases/tag/self-hosted-10.0.0) - - [Codacy Coverage Reporter](https://github.com/codacy/codacy-coverage-reporter/releases/tag/self-hosted-10.0.0) + - [Codacy Analysis CLI 7.7.4](https://github.com/codacy/codacy-analysis-cli/releases/tag/7.7.4) + - [Codacy Coverage Reporter 13.10.15](https://github.com/codacy/codacy-coverage-reporter/releases/tag/13.10.15) ## Breaking changes From a30b322985fdf19546acb16deafc95cc19c156e7 Mon Sep 17 00:00:00 2001 From: nicklem Date: Fri, 3 Feb 2023 15:47:38 +0100 Subject: [PATCH 18/19] feat: Update the versions of self-hosted CLI tools --- docs/release-notes/self-hosted/self-hosted-v10.0.0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md index 144099712c..a5065002c8 100644 --- a/docs/release-notes/self-hosted/self-hosted-v10.0.0.md +++ b/docs/release-notes/self-hosted/self-hosted-v10.0.0.md @@ -22,7 +22,7 @@ Follow the steps below to upgrade to Codacy Self-hosted v10.0.0: 1. Update your Codacy command-line tools to the following versions: - - [Codacy Analysis CLI 7.7.4](https://github.com/codacy/codacy-analysis-cli/releases/tag/7.7.4) + - [Codacy Analysis CLI 7.6.6](https://github.com/codacy/codacy-analysis-cli/releases/tag/7.6.6) - [Codacy Coverage Reporter 13.10.15](https://github.com/codacy/codacy-coverage-reporter/releases/tag/13.10.15) ## Breaking changes From e84257256863b88daf4498634bc1e42e3bf2a73b Mon Sep 17 00:00:00 2001 From: nicklem Date: Fri, 3 Feb 2023 16:13:56 +0100 Subject: [PATCH 19/19] Trigger Build