Skip to content

Release early-access

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 11 Sep 00:48
5b51cde

SonarQube compatibility

This release is compatible with SonarQube 9.9 LTA Community Edition and newer. However, comprehensive testing and validation have been conducted only on SonarQube 9.9 CE, 10.6 CE, and 10.7 CE. While compatibility is expected for other versions within this range, the full extent of functionality has been assured only for the tested versions.

Additionally, please note that while this version may work with SonarQube’s commercial editions, the compatibility was not tested and simultaneous analysis using ZPA and SonarSource’s embedded PL/SQL plugin is not supported. If you require this scenario, consider using zpa-cli instead.

Install/update instructions

  • Download the sonar-zpa-plugin-3.6.0-SNAPSHOT.jar and copy it to the SONARQUBE_HOME/extensions/plugins.
  • Remove the older plugin from that directory.
  • Restart the SonarQube instance.

For custom plugin developers

Binary compatibility is not guaranteed either in between any version number change. Custom plugins should be recompiled against the same version of sonar-zpa-plugin.

Download the zpa-toolkit-3.6.0-SNAPSHOT.jar (requires Java 11+) to test the parser and view the AST.

Full changelog

🚀 Features

  • 547cf56 grammar: Support TRUNCATE TABLE statement
  • bb996a6 Review all uses of tokenOriginalValue and change to tokenValue when applicable. tokenValue returns the normalized token according to the case-sensitivity of the identifiers.
  • ab4addf Add ActiveRuleConfigurer interface for rule configuration in analysis

🐛 Fixes

  • 6c1dc9f Ignore the case of identifiers when searching the corresponding source file for test and coverage reports
  • 7340759 Add a special channel to handle quoted identifiers and fix false positives related to them on rules UnusedVariable, UnusedCursor, UnusedParameter and VariableHiding, closes #186
  • 78cfa6a grammar: Fix parsing of "in (subquery)"

🧪 Tests

  • 22a7b1a it: Add integration tests for test and coverage reports
  • 265eba8 it: Use assertAll to check multiple values
  • 17dd386 it: Update integration test files to match the Oracle 23.5 docs
  • 78635c7 Order lines from integration tests expectations

🧰 Tasks

  • 5b51cde Update Gradle to 8.10.1
  • 26014af Update SonarQube URL
  • e114a0c Update dependencies
  • 31c8a62 Remove kotlin-bom from the dependencies
  • 43264ac Update Kotlin to 2.0.20
  • fa7b3ba Update shadow plugin
  • 741f1c9 deps: Bump FLR to 1.5.0-SNAPSHOT
  • 630cd0e Update links to the new website
  • 0dc3f66 Update SQLcl to 24.2.0.180.1721
  • 718ade6 Update .gitattributes
  • 5338730 Fix path of vendored files in .gitattributes
  • 5dda4cb Update SonarScanner plugin to 5.1.0.4882
  • 30399be Update test libraries
  • fe44f08 Move dependencies to version catalog
  • 59c5bda Update to JReleaser 1.13.1

🛠 Build

  • 211d7e6 Use Gradle 8.10
  • eb776e0 Restore the default test logging level
  • 415beb5 Remove unnecessary --build-cache argument from the build workflow
  • 8f1a824 Enable parallel execution and build cache in Gradle
  • 06d1488 Use Gradle 8.9
  • 5d6b503 Remove SQ 10.5 from the test matrix and add SQ 10.7-SNAPSHOT
  • 5249ea0 Remove unnecessary dependency from sonar-zpa-plugin
  • 715a8ad Bump project version