Skip to content

Commit aacda4e

Browse files
chore: release versions (#433)
1 parent 89f24b8 commit aacda4e

7 files changed

Lines changed: 33 additions & 33 deletions

File tree

.changeset/fix-auth-keyring-backend.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/structured-exit-codes.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
# @googleworkspace/cli
22

3+
## 0.12.0
4+
5+
### Minor Changes
6+
7+
- 247e27a: Add structured exit codes for scriptable error handling
8+
9+
`gws` now exits with a type-specific code instead of always using `1`:
10+
11+
| Code | Meaning |
12+
| ---- | --------------------------------------------------------------- |
13+
| `0` | Success |
14+
| `1` | API error — Google returned a 4xx/5xx response |
15+
| `2` | Auth error — credentials missing, expired, or invalid |
16+
| `3` | Validation error — bad arguments, unknown service, invalid flag |
17+
| `4` | Discovery error — could not fetch the API schema document |
18+
| `5` | Internal error — unexpected failure |
19+
20+
Exit codes are documented in `gws --help` and in the README.
21+
22+
### Patch Changes
23+
24+
- 087066f: Fix `gws auth login` encrypted credential persistence by enabling native keyring backends for the `keyring` crate on supported desktop platforms instead of silently falling back to the in-memory mock store.
25+
326
## 0.11.1
427

528
### Patch Changes

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
[package]
1616
name = "gws"
17-
version = "0.11.1"
17+
version = "0.12.0"
1818
edition = "2021"
1919
description = "Google Workspace CLI — dynamic command surface from Discovery Service"
2020
license = "Apache-2.0"

flake.lock

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@googleworkspace/cli",
3-
"version": "0.11.1",
3+
"version": "0.12.0",
44
"private": true,
55
"description": "Google Workspace CLI — dynamic command surface from Discovery Service",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)