Skip to content

1.12.0.17622

Latest

Choose a tag to compare

@github-actions github-actions released this 11 Nov 09:47
· 62 commits to master since this release
Immutable release. Only release title and notes can be modified.
386e48a

SonarQube CLI v1.12.0

This release redacts secrets instead of blocking them for Copilot and Codex, extends import support to SonarQube Server, previews sonar init (Alpha) for guided project setup, and includes a range of bug fixes and security hardening.

Features

  • Secrets redacted instead of blocked (Copilot and Codex): A secret in your session no longer stops your work. SonarQube masks it, tells the agent it was redacted, and the session continues. It covers prompts in Copilot and file reads in Codex. Anything that can't be masked safely is still blocked.
  • sonar import on SonarQube Server: Import GitHub, GitLab, Bitbucket Cloud, Bitbucket Server, and Azure DevOps repositories onto SonarQube Server.
  • sonar link project picker: Running sonar link without a project key now shows an interactive project picker instead of failing.
  • sonar auth logout --server <url>: Removes the saved connection and its keychain entry for a specific server URL, including inactive connections.
  • Architecture findings and filtering (SonarQube Cloud only): sonar architecture findings reads architecture deviations, flaws, and smells from existing analysis results. Current architecture dependency views can now be filtered by source/destination subtree and paginated.
  • sonar init (Alpha): Go from zero to your first analysis in one guided command. It connects to SonarQube, sets up your project (import a repository, link an existing project, or start unbound), runs a first scan, and offers to set up your IDE or agent integrations.

Bug Fixes

  • Server trust prompt: The "Connect to: <url>?" confirmation in sonar auth login now defaults to No, so a server URL taken from repository files is not accepted by accident.
  • Secrets scanner: Filenames starting with - (e.g. --help) can no longer change scanner options, and timeout errors now give actionable guidance and advise against scanning entire repository trees.
  • Proxy and TLS: SONAR_NO_PROXY exclusions are now respected over generic HTTP_PROXY/HTTPS_PROXY variables. Feature-flag retrieval now honors the CLI's proxy, custom CA, and client-certificate settings.
  • Dependency installation: Managed executables such as sonar-secrets are no longer treated as installed before signature verification completes, and concurrent installers now coordinate correctly.
  • Hook permissions: Reinstalling a managed Git hook now restores missing executable permissions on POSIX systems. Git silently ignored non-executable hooks.
  • Integrations: The YAML adapter no longer overwrites or deletes files that contain malformed YAML.
  • Agentic analysis: The default analysis now works before the first Git commit.
  • sonar update PATH message: The CLI no longer asks you to open a new terminal or export PATH when the install directory is already on PATH.
  • Architecture exports: Intended architecture exports from a different project are now rejected with a clear error.

Miscellaneous

  • Updated node-forge to v1.4.3 and follow-redirects to v1.16.2 (security fixes).
  • The MCP server now receives proxy and TLS JVM settings through a temporary read-only argument file, which is cleaned up on exit.
  • Internal refactors and dependency bumps.