Skip to content

Commit 23ffc33

Browse files
chore: release versions (#547)
1 parent 908cf73 commit 23ffc33

File tree

10 files changed

+39
-48
lines changed

10 files changed

+39
-48
lines changed

.changeset/fix-send-attachment-arg.md

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

.changeset/gmail-default-sender.md

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

.changeset/gmail-helpers-rollup.md

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

.changeset/gmail-self-reply-fix.md

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

.changeset/output-hygiene.md

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

CHANGELOG.md

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

3+
## 0.18.0
4+
5+
### Minor Changes
6+
7+
- 908cf73: feat(gmail): auto-populate From header with display name from send-as settings
8+
9+
Fetch the user's send-as identities to set the From header with a display name in all mail helpers (+send, +reply, +reply-all, +forward), matching Gmail web client behavior. Also enriches bare `--from` emails with their configured display name.
10+
11+
- 6e4daaf: Gmail helpers rollup: mail-builder migration, --attach flag (upload endpoint), +read helper
12+
13+
- Migrate `+send`, `+reply`, `+reply-all`, and `+forward` to the `mail-builder` crate for RFC-compliant MIME construction
14+
- Add `--from` flag to `+send` for send-as alias support
15+
- Add `-a`/`--attach` flag to all mail helpers (`+send`, `+reply`, `+reply-all`, `+forward`) with `mime_guess2` auto-detection, 25MB size validation, and upload endpoint support (35MB API limit vs 5MB metadata-only)
16+
- Add `+read` helper to extract message body and headers (text, HTML, or JSON output)
17+
- Make `OriginalMessage.thread_id` optional (`Option<String>`) for draft compatibility
18+
- RFC 2822 display name quoting is handled natively by `mail-builder`
19+
- Introduce `UploadSource` enum in executor for type-safe upload strategies
20+
21+
### Patch Changes
22+
23+
- 1e90380: fix(gmail): remove dead `--attachment` arg from `+send`
24+
25+
The `+send` subcommand defined a duplicate `"attachment"` arg alongside the
26+
`"attach"` arg already provided by `common_mail_args`. Since `parse_attachments`
27+
reads `"attach"`, the `--attachment` flag was silently ignored. Removed the
28+
dead duplicate.
29+
30+
- 908cf73: fix(gmail): handle reply-all to own message correctly
31+
32+
Reply-all to a message you sent no longer errors with "No To recipient remains." The original To recipients are now used as reply targets, matching Gmail web client behavior.
33+
34+
- 2e909ae: Consolidate terminal sanitization, coloring, and output helpers into a new `output.rs` module. Fixes raw ANSI escape codes in `watch.rs` that bypassed `NO_COLOR` and TTY detection, upgrades `sanitize_for_terminal` to also strip dangerous Unicode characters (bidi overrides, zero-width spaces, directional isolates), and sanitizes previously raw API error body and user query outputs.
35+
336
## 0.17.0
437

538
### 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.17.0"
17+
version = "0.18.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.17.0",
3+
"version": "0.18.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)