Skip to content

Commit 0ba49d1

Browse files
chore: release versions (#199)
1 parent d408051 commit 0ba49d1

5 files changed

Lines changed: 23 additions & 22 deletions

File tree

.changeset/adc-support.md

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

CHANGELOG.md

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

3+
## 0.6.0
4+
5+
### Minor Changes
6+
7+
- b38b760: Add Application Default Credentials (ADC) support.
8+
9+
`gws` now discovers ADC as a fourth credential source, after the encrypted
10+
and plaintext credential files. The lookup order is:
11+
12+
1. `GOOGLE_WORKSPACE_CLI_TOKEN` env var (raw access token, highest priority)
13+
2. `GOOGLE_WORKSPACE_CLI_CREDENTIALS_FILE` env var
14+
3. Encrypted credentials (`~/.config/gws/credentials.enc`)
15+
4. Plaintext credentials (`~/.config/gws/credentials.json`)
16+
5. **ADC**`GOOGLE_APPLICATION_CREDENTIALS` env var (hard error if file missing), then
17+
`~/.config/gcloud/application_default_credentials.json` (silent if absent)
18+
19+
This means `gcloud auth application-default login --client-id-file=client_secret.json`
20+
is now a fully supported auth flow — no need to run `gws auth login` separately.
21+
Both `authorized_user` and `service_account` ADC formats are supported.
22+
323
## 0.5.0
424

525
### Minor Changes

Cargo.lock

Lines changed: 1 addition & 1 deletion
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.5.0"
17+
version = "0.6.0"
1818
edition = "2021"
1919
description = "Google Workspace CLI — dynamic command surface from Discovery Service"
2020
license = "Apache-2.0"

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.5.0",
3+
"version": "0.6.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)