Repository navigation
·
62 commits
to master
since this release
Immutable
release. Only release title and notes can be modified.
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 importon SonarQube Server: Import GitHub, GitLab, Bitbucket Cloud, Bitbucket Server, and Azure DevOps repositories onto SonarQube Server.sonar linkproject picker: Runningsonar linkwithout 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 findingsreads 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 insonar auth loginnow 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_PROXYexclusions are now respected over genericHTTP_PROXY/HTTPS_PROXYvariables. Feature-flag retrieval now honors the CLI's proxy, custom CA, and client-certificate settings. - Dependency installation: Managed executables such as
sonar-secretsare 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 updatePATH message: The CLI no longer asks you to open a new terminal or exportPATHwhen the install directory is already onPATH.- Architecture exports: Intended architecture exports from a different project are now rejected with a clear error.
Miscellaneous
- Updated
node-forgeto v1.4.3 andfollow-redirectsto 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.