|
1 | 1 | # @googleworkspace/cli |
2 | 2 |
|
| 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 | + |
3 | 36 | ## 0.17.0 |
4 | 37 |
|
5 | 38 | ### Minor Changes |
|
0 commit comments