Skip to main content

Blog

ZPA CLI 3.0.1

· One min read
Maintainer

ZPA CLI 3.0.1 is out!

This is a bug fix release that fixes a NoClassDefFoundError when loading custom plugins.

For detailed release notes, please visit the full changelog.

ZPA 4.0.0

· One min read
Maintainer

ZPA 4.0.0 is out! This version moves the project's code to new package names and raises the minimum SonarQube version.

  • SonarQube compatibility: Compatible with SonarQube Community Build 25.4 and newer (tested with 25.4 to 25.10).
  • New package names: The source code moved from org.sonar.plsqlopen to com.felipebz.zpa.*.
    • Custom rules built against sonar-zpa-plugin keep using the org.sonar.plugins.plsqlopen.api packages, so the rule code does not need to change. As usual, recompile the plugin against the new ZPA version.
    • Rule tests must update the verifier import from org.sonar.plsqlopen.checks.verifier.PlSqlCheckVerifier to com.felipebz.zpa.checks.verifier.PlSqlCheckVerifier.
    • Tools that use the zpa-core library directly must update their imports to com.felipebz.zpa.*.
  • Fixed the parsing of expressions in the GROUP BY clause.

For detailed release notes, please visit the full changelog.

ZPA CLI 2.2.0

· One min read
Maintainer

ZPA CLI 2.2.0 is out!

  • Includes ZPA 3.8.0, with full support for the PIVOT and UNPIVOT clauses. Rebuild your custom plugins with this version.
  • A missing plugins folder no longer stops the CLI.

For detailed release notes, please visit the full changelog.

ZPA 3.8.0

· One min read
Maintainer

ZPA 3.8.0 is out! This is the first release after the end of SonarQube 9.9 support announced in Important Update on SonarQube Support.

  • SonarQube compatibility: Compatible with SonarQube Community Build 25.2 and newer (tested with 25.2 to 25.7). SonarQube commercial editions are not supported; consider using the ZPA CLI instead.
  • Java 17: The plugin and the ZPA Toolkit now target Java 17.
  • Full support for the PIVOT and UNPIVOT clauses, including PIVOT XML.
  • Fixed the datatype of method calls, which now reflects the actual return type of the called method.

For detailed release notes, please visit the full changelog.

ZPA 3.7.0

· One min read
Maintainer

ZPA 3.7.0 is out! This version brings minor bug fixes and dependency updates. This is the last release compatible with SonarQube 9.9, read the post Important Update on SonarQube Support for more details.

  • SonarQube compatibility: Compatible with SonarQube 9.9 LTA Community Edition and newer.
  • Improve support for constraints in table declarations.

For detailed release notes, please visit the full changelog.

Important Update on SonarQube Support

· 2 min read
Maintainer

At the end of 2024, SonarSource introduced significant changes to the release cycle and versioning of SonarQube Community Edition, now known as SonarQube Community Build. One of the most impactful changes is the removal of a long-term active (LTA) equivalent version for the Community Build. Community builds are now released monthly, while commercial editions follow a separate quarterly release cycle with an annual LTA version.

I would like to clarify my stance on support for SonarQube commercial editions. I have never officially supported the commercial editions, as I do not have access to them for testing. Moving forward, I will no longer be making an effort to maintain compatibility with SonarQube commercial editions, and the ZPA plugin may explicitly prevent execution in those environments.

While SonarSource has announced that they will only support the latest SonarQube Community Build, I remain committed to testing my plugin with the four most recent releases, ensuring greater stability and flexibility for users who may need time to update to newer SonarQube versions.

ZPA 3.7.x will be the last release to offer compatibility with SonarQube 9.9 LTA. Future releases will require at least SonarQube 25.x (with the specific release version to be determined at the time of release). I do not intend to keep the plugin compatible with SonarQube 2025.1 LTA.

If you have any questions, feel free to reach out or contribute to the discussion in the project repository.

ZPA CLI 2.1.0

· One min read
Maintainer

ZPA CLI 2.1.0 is out! This version adds a configuration file to choose the rules that run.

  • --config: a JSON file that turns rules on or off and changes their severity. It follows the JSON schema, and the example configuration lists every built-in rule. Without the file, the rules active by default run, as before.
  • Includes ZPA 3.6.0. Rebuild your custom plugins with this version.
  • The bundled Java runtime was updated to Java 21.0.4.

For detailed release notes, please visit the full changelog.

ZPA 3.6.0

· One min read
Maintainer

ZPA 3.6.0 is out! This version brings several new features, improvements, and bug fixes.

  • SonarQube compatibility: Compatible with SonarQube 9.9 LTA Community Edition and newer.
  • Enhanced support for various SQL syntax and functions, including:
    • SELECT without a FROM clause from Oracle 23ai, such as SELECT func()
    • DEFAULT value ON CONVERSION ERROR clause on all conversion functions that support it
    • IS TRUE/FALSE conditions
    • Alternative syntax for JSON_OBJECT (JSON { }) and JSON_ARRAY (JSON [ ])
  • Other bug fixes and performance improvements.

For detailed release notes, please visit the full changelog.

ZPA CLI 2.0.0

· One min read
Maintainer

ZPA CLI 2.0.0 is out! This version brings support for custom rules to the command line.

  • Custom plugins: ZPA CLI now loads the same custom rule plugins as the ZPA Plugin for SonarQube. Copy the plugin .jar to the new plugins folder of the distribution. See Adding new rules.
  • Console output: the console report now shows the severity of each issue.
  • Fixed the execution on Windows.
  • Removed the unfinished integration with SonarQube; to send results to SonarQube or SonarCloud, use the sq-generic-issue-import output format.
  • Includes ZPA 3.5.1. The universal distribution requires Java 17 or newer; the platform distributions bundle their own Java runtime.

For detailed release notes, please visit the full changelog.