Skip to content

Release 3.4.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 21 Apr 23:39
· 62 commits to main since this release

SonarQube compatibility

This version is compatible with SonarQube 9.9 LTS and SonarQube 10.5 Community Edition.

It may work with the commercial editions of SonarQube, but you won't be able to use ZPA and the embedded PL/SQL plugin from SonarSource to analyze the code simultaneously. If you need this scenario, please use zpa-cli instead.

Highlights

Install/update instructions

  • Download the sonar-zpa-plugin-3.4.0.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.4.0.jar (requires Java 11+) to test the parser and view the AST.

Full changelog

🚀 Features

  • 7cae5e0 grammar: Improve parsing of ALTER TRIGGER/PROCEDURE/FUNCTION/PACKAGE
  • ffa0f67 grammar: Support CREATE/DROP DIRECTORY
  • 3f206ed toolkit: Highlight comment nodes when clicking on the corresponding trivia in the AST tree
  • d206e03 toolkit: Highlight comment nodes when clicking on the corresponding trivia in the AST tree
  • 2d22d47 toolkit: Change the color of the highlighter from gray to a light blueish color
  • 5df2de6 grammar: Support TABLE expressions with queries
  • 111d864 grammar: Support CURSOR expressions

🐛 Fixes

  • 7c1ee44 grammar: Don't consider SELECT_EXPRESSION as a valid expression for all cases, this is necessary to avoid parsing errors like '1 + select 1 from dual' that was being considered valid
  • 8344096 Refactor operator handling in PlSqlGrammar (#181), closes #181

🛠 Build

  • fc4bc41 Release 3.4.0
  • 0485465 Update to Gradle 8.7
  • 8c58095 Enable SonarScanner logs
  • a8c4658 Change the directory where integration test failures are saved
  • 7c573fc Bump project version

📝 Documentation

  • 7547f7b Update release template and README