0.6.0.579
·
744 commits
to master
since this release
SonarQube CLI v0.6.0
This release introduces the sonar verify command for running SonarQube Agentic Analysis, a high-performance service designed to integrate SonarQube's static analysis directly into AI coding workflows. Other features: a self-update mechanism, and several usability improvements, alongside a comprehensive round of bug fixes for hooks, issue listing, and organization resolution.
Features
- New
sonar verifycommand — A dedicated command for running analysis with SonarQube Agentic Analysis, also exposed as asonar analyze sqaacommand. - New
sonar self-updatecommand — The CLI can now update itself, and automatically update installed binaries and integrations. - Improved
sonar analyze secretsparameters — The command now accepts a list of files (the unnecessary --file option was removed) - Add new
sonar list -o / --orgoption — Org can now be passed directly without relying on current configuration. - Simplified organization selection — The organization is now resolved automatically where possible, reducing the need to specify it manually.
- Improved error reporting — All error types are now consistently logged, making failures easier to diagnose.
Bug Fixes
sonar integrate claude— correctly derives the org from the project configuration rather than the auth connection.sonar list issues— Fixed the project filter being ignored when listing issues on SonarQube Server.sonar list— The list command now works correctly when authentication is supplied via environment variables.sonar integrate claude— The generated hook template now uses the correct analyze subcommand.sonar integrate claude— Hooks now correctly parse JSON output formatted by Claude Code.sonar integrate claude -g— Fixed global integration incorrectly replacing project-level agentExtensions with a wrong projectRoot.