- Setup Wizard: New
setupcommand for interactive initialization. - Authentication: New
authcommand suite (login,adc,status,set-service-account). - Service Account Support: Securely manage service account keys with ACL hardening.
- Windows Service: Enhanced
servicecommand withinstallandconfigureoptions for instance/port. - Installer: Improved Inno Setup script with smart binary reuse and permission management.
- Diagnostics: Expanded
doctorcommand to check ADC, network connectivity, and service credentials.
- Proxy:
startProxynow respectsGOOGLE_APPLICATION_CREDENTIALSfrom environment or config. - Logging: Credential paths are now masked in logs.
- CLI: Version is now injected at build time for SEA compatibility.
- Release: Added SHA256 checksum generation to release workflow.
- Windows Installer: Added Inno Setup script (
installer/cloudsqlctl.iss) and build tool (tools/build-installer.ps1) to generatecloudsqlctl-setup.exe. - Path Resolution: Implemented dynamic path resolution in
src/system/paths.tsto respect environment variables (CLOUDSQLCTL_HOME,CLOUDSQLCTL_LOGS, etc.). - Installer Script: Added
npm run installerscript to package.json.
- Node Version: Updated project requirement to Node.js >=22.0.0 in
package.jsonand CI/CD workflows. - CI/CD:
- Updated GitHub Actions (
ci.yml,release.yml) to use Node 22.x. - Fixed YAML indentation in
codeql.yml. - Updated Release workflow to build and upload the Windows installer.
- Updated GitHub Actions (
- System Paths: Fixed
SYSTEM_PATHS.PROXY_EXEto correctly point tobin/cloud-sql-proxy.exein ProgramData. - Updater: Refactored
downloadProxyto accept a target path, enabling flexible installation for User/Machine scopes. - Check Command: Updated
cloudsqlctl checkto use resolved paths instead of hardcoded system paths.
- Path Consistency: Ensured consistent path usage across CLI commands, system scripts (
ps1.ts), and updater logic.