Skip to content

Commit bf7018f

Browse files
chore: new release with minimal changes
1 parent 82f759b commit bf7018f

File tree

13 files changed

+494
-43
lines changed

13 files changed

+494
-43
lines changed

CHANGELOG.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
1-
## [0.4.2] - 2025-12-21
1+
<!-- markdownlint-disable MD024 -->
2+
3+
# Changelog
4+
5+
## [0.4.2] - 2025-12-21
26

37
### Added
8+
49
- Release 0.4.2
510

611
## [0.4.1] - 2025-12-21
712

813
### Added
14+
915
- Release 0.4.1
1016

1117
## [0.3.56] - 2025-12-21
1218

1319
### Added
14-
- Release 0.3.56
1520

16-
# Changelog
21+
- Release 0.3.56
1722

1823
## [0.3.5] - 2025-12-21
1924

@@ -55,6 +60,3 @@
5560
- **Build**: Resolved duplicate exports in service module.
5661
- **Types**: Fixed TypeScript errors in self-heal and service commands.
5762
- **Linting**: Corrected Markdown formatting issues.
58-
59-
60-

artifacts/SHA256SUMS.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
8cca1b5f46735ef4c09c76d2ca6b51c09454f8c1f8e2dcf42bd3fecd9ddeb0cb cloudsqlctl-setup.exe
2-
84779c1efdebf92c027334bad320e7605c61557f794e97b1b6c7bd9d4aa20460 cloudsqlctl.exe
1+
e7403d1e9b6c86fe517d90c63c036f1d7efd05abf49bda9762f3f5d7bb016e80 cloudsqlctl-setup.exe
2+
25c6af40e04af7dcd2231c0f52c43ddd567769d905051f9cc270975a8d222bc7 cloudsqlctl.exe

docs/commands.md

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
## Overview
77

8-
```
8+
```text
99
Usage: cloudsqlctl [options] [command]
1010
1111
CLI for managing Google Cloud SQL Auth Proxy
@@ -46,7 +46,7 @@ Commands:
4646

4747
### install
4848

49-
```
49+
```text
5050
Usage: cloudsqlctl install [options]
5151
5252
Download and install Cloud SQL Proxy
@@ -58,7 +58,7 @@ Options:
5858

5959
### update
6060

61-
```
61+
```text
6262
Usage: cloudsqlctl update [options]
6363
6464
Update Cloud SQL Proxy to the latest version
@@ -69,7 +69,7 @@ Options:
6969

7070
### select
7171

72-
```
72+
```text
7373
Usage: cloudsqlctl select [options]
7474
7575
Select a Cloud SQL instance
@@ -80,7 +80,7 @@ Options:
8080

8181
### list
8282

83-
```
83+
```text
8484
Usage: cloudsqlctl list [options]
8585
8686
List available Cloud SQL instances
@@ -92,7 +92,7 @@ Options:
9292

9393
### connect
9494

95-
```
95+
```text
9696
Usage: cloudsqlctl connect [options] <instance>
9797
9898
Connect to a specific Cloud SQL instance
@@ -107,7 +107,7 @@ Options:
107107

108108
### start
109109

110-
```
110+
```text
111111
Usage: cloudsqlctl start [options]
112112
113113
Start the Cloud SQL Proxy
@@ -119,7 +119,7 @@ Options:
119119

120120
### stop
121121

122-
```
122+
```text
123123
Usage: cloudsqlctl stop [options]
124124
125125
Stop the Cloud SQL Proxy or Service
@@ -130,7 +130,7 @@ Options:
130130

131131
### status
132132

133-
```
133+
```text
134134
Usage: cloudsqlctl status [options]
135135
136136
Check the status of the Cloud SQL Proxy and Service
@@ -141,7 +141,7 @@ Options:
141141

142142
### logs
143143

144-
```
144+
```text
145145
Usage: cloudsqlctl logs [options]
146146
147147
View the tail of the proxy logs
@@ -153,7 +153,7 @@ Options:
153153

154154
### doctor
155155

156-
```
156+
```text
157157
Usage: cloudsqlctl doctor [options]
158158
159159
Run diagnostics to verify environment setup
@@ -164,7 +164,7 @@ Options:
164164

165165
### reset
166166

167-
```
167+
```text
168168
Usage: cloudsqlctl reset [options]
169169
170170
Reset configuration and remove local files
@@ -176,7 +176,7 @@ Options:
176176

177177
### env
178178

179-
```
179+
```text
180180
Usage: cloudsqlctl env [options] [command]
181181
182182
Manage environment variables
@@ -191,7 +191,7 @@ Commands:
191191

192192
### service
193193

194-
```
194+
```text
195195
Usage: cloudsqlctl service [options] [command]
196196
197197
Manage the Cloud SQL Proxy Windows Service (Requires Admin)
@@ -211,7 +211,7 @@ Commands:
211211

212212
### ps1
213213

214-
```
214+
```text
215215
Usage: cloudsqlctl ps1 [options] [command]
216216
217217
Manage PowerShell scripts
@@ -226,7 +226,7 @@ Commands:
226226

227227
### repair
228228

229-
```
229+
```text
230230
Usage: cloudsqlctl repair [options]
231231
232232
Self-heal missing or corrupted files and configurations
@@ -237,7 +237,7 @@ Options:
237237

238238
### check
239239

240-
```
240+
```text
241241
Usage: cloudsqlctl check [options]
242242
243243
Verify full system configuration
@@ -249,7 +249,7 @@ Options:
249249

250250
### gcloud
251251

252-
```
252+
```text
253253
Usage: cloudsqlctl gcloud [options] [command]
254254
255255
Manage Google Cloud CLI
@@ -265,7 +265,7 @@ Commands:
265265

266266
### auth
267267

268-
```
268+
```text
269269
Usage: cloudsqlctl auth [options] [command]
270270
271271
Manage authentication and credentials
@@ -284,7 +284,7 @@ Commands:
284284

285285
### setup
286286

287-
```
287+
```text
288288
Usage: cloudsqlctl setup [options]
289289
290290
Interactive setup wizard
@@ -295,12 +295,11 @@ Options:
295295

296296
### paths
297297

298-
```
298+
```text
299299
Usage: cloudsqlctl paths [options]
300300
301301
Show resolved system paths and configuration locations
302302
303303
Options:
304304
-h, --help display help for command
305305
```
306-

package-lock.json

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,17 @@
1212
},
1313
"scripts": {
1414
"build": "tsup",
15-
"package": "npm run build && powershell -ExecutionPolicy Bypass -File tools/build-sea.ps1",
15+
"setup:package": "npm run build && powershell -ExecutionPolicy Bypass -File tools/build-sea.ps1",
1616
"smoke:exe": "powershell -NoProfile -Command \"./bin/cloudsqlctl.exe --version; ./bin/cloudsqlctl.exe paths\"",
17-
"installer": "powershell -ExecutionPolicy Bypass -File tools/build-installer.ps1",
18-
"stage": "powershell -ExecutionPolicy Bypass -File tools/stage-artifacts.ps1",
17+
"setup:installer": "powershell -ExecutionPolicy Bypass -File tools/build-installer.ps1",
18+
"setup:stage": "powershell -ExecutionPolicy Bypass -File tools/stage-artifacts.ps1",
19+
"setup:clean": "npm install && npm ci && npm run setup:package && npm run setup:installer && npm run setup:stage",
1920
"docs:generate": "node tools/generate-docs.mjs",
2021
"docs:check": "npm run docs:generate && git diff --exit-code docs/commands.md",
2122
"lint": "eslint src",
2223
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --passWithNoTests",
23-
"prepare": "husky install"
24+
"prepare": "husky install",
25+
"git:release": "git add . && git commit -m \"chore: new release with minimal changes\" && powershell -ExecutionPolicy Bypass -File tools/release.ps1 -Version minimal"
2426
},
2527
"keywords": [
2628
"windows",
@@ -42,6 +44,7 @@
4244
"extract-zip": "2.0.1",
4345
"fs-extra": "^11.2.0",
4446
"inquirer": "^9.2.15",
47+
"semver": "7.7.3",
4548
"winston": "^3.11.0"
4649
},
4750
"devDependencies": {
@@ -50,6 +53,7 @@
5053
"@types/inquirer": "^9.0.7",
5154
"@types/jest": "30.0.0",
5255
"@types/node": "^25.0.3",
56+
"@types/semver": "7.7.1",
5357
"eslint": "^9.0.0",
5458
"globals": "^16.5.0",
5559
"husky": "^9.0.11",

src/cli.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import { gcloudCommand } from './commands/gcloud.js';
2020
import { authCommand } from './commands/auth.js';
2121
import { setupCommand } from './commands/setup.js';
2222
import { pathsCommand } from './commands/paths.js';
23+
import { upgradeCommand } from './commands/upgrade.js';
2324
import { logger } from './core/logger.js';
2425

2526
const program = new Command();
@@ -49,6 +50,7 @@ program.addCommand(gcloudCommand);
4950
program.addCommand(authCommand);
5051
program.addCommand(setupCommand);
5152
program.addCommand(pathsCommand);
53+
program.addCommand(upgradeCommand);
5254

5355
program.parseAsync(process.argv).catch(err => {
5456
logger.error('Unhandled error', err);

0 commit comments

Comments
 (0)