Skip to content

Releases

v0.48.1

Choose a tag to compare

@github-actions github-actions released this 16 Nov 06:34
v0.48.1
44364d3

0.48.1 - 2026-11-15

Highlights: Safer Gmail replies exclude every send-as alias, Calendar queries and recurring updates handle edge cases correctly, and Go security updates address GO-2026-6859.

  • Security: build with Go 1.27.4 and test the minimum series on Go 1.26.11 to address GO-2026-6859, preserving the Go 1.26.0 source minimum.

  • Dependencies: refresh Google clients, networking libraries, and tracking-worker tools while retaining the 24-hour worker cooldown and security overrides.

  • Calendar: reject empty or inverted RFC3339 free/busy windows, resolve calendar names containing @ consistently, and reject malformed nonblank attendee clears. (#1328, #1329, #1330) — thanks @privatenumber and @pkyIntelligence.

  • Calendar: read search and team event pages up to --max, truncate the parent series for future-instance updates, and warn about unavailable free/busy calendars with stable row ordering. (#1311, #1317, #1322) — thanks @saariuslystoned.

  • Gmail: exclude all send-as aliases from reply-all and default auto-replies; stop default auto-replies when alias discovery fails, and preserve Cc-only reply-all recipients. (#1318, #1325) — thanks @saariuslystoned.

  • Gmail: forward HTML-only originals in the plain-text part and read every watch history page before advancing the cursor. (#1312, #1321) — thanks @saariuslystoned.

  • Sheets: preserve numeric JSON tokens in append requests and keep multiline cells on one line in text output. (#1316, #1331) — thanks @saariuslystoned and @pkyIntelligence.

  • Output: return empty arrays for Drive labels, Drive/Docs comments, and Sheets notes and links, including --results-only. (#1314, #1326) — thanks @saariuslystoned.

  • Drive: accept commas in label field flags and download or export a shortcut's target. (#1315, #1319) — thanks @saariuslystoned.

  • Tasks: send explicit empty titles and notes when clearing them, and reject an empty status. (#1313) — thanks @saariuslystoned.

  • Contacts: document and apply Google's 30-result search ceiling, warning when a larger limit is requested. (#1323) — thanks @saariuslystoned.

  • AdSense: show report warnings and truncation hints on stderr in table output. (#1324) — thanks @saariuslystoned.

  • Sites: preserve requested false booleans in site metadata JSON. (#1308) — thanks @SebTardif.

  • Agent skills: describe when to use each service and distinguish overlapping workflows; explain browser consent without requiring an unshipped skill. (#1335) — thanks @henkisdabro.

  • Docs: use placeholder accounts in Gmail auto-reply, Drive audit, and live-testing examples. (#1332) — thanks @vyctorbrzezowski.

v0.48.0

Choose a tag to compare

@github-actions github-actions released this 05 Nov 21:09
v0.48.0
f939ed3

0.48.0 - 2026-11-05

Highlights: New backups stay local until you configure a remote; existing configurations keep working. Store service-account keys in the keyring, search Gmail IDs efficiently, and use environment-backed watch tokens, with Calendar fixes and security dependency updates.

The backup changes in #1303 and #1304 preserve existing saved remotes and Git origins. Gmail attachment behavior after delivery (#1300) is contributor-reported; local MIME regression tests pass. Automatic reauthorization (#1278) has synthetic regression coverage but was not tested with a live consent flow.

  • Backup: keep new backups local until a remote is configured; preserve saved remotes and existing Git origins, and explain local-only operation. (#1287) — thanks @NasAndNora.

  • Backup: allow a locally initialized backup to acquire its first configured remote without replacing an existing origin. (#1287) — thanks @NasAndNora.

  • Auth: add optional auth service-account set --keyring storage with migration back to files, isolated configuration references, and cleanup on rotation or unset; existing key files remain supported. (#1294) — thanks @tommyjoseph.

  • Gmail: give every outgoing attachment a unique, stable X-Attachment-Id, including duplicate files, while preserving inline Content-ID references. (#1299, #1300) — thanks @zupolgec.

  • Auth: retain the command runtime and OAuth client dependencies during automatic reauthorization, preserving cancellation and the stored service/scope grant. (#1277, #1278) — thanks @TheAngryPit.

  • Calendar: reject empty or inverted time windows before querying, keep successful historical search ranges unchanged, and extend far-future searches from their explicit start. (#1280, #1298) — thanks @remote-controlled-man and @privatenumber.

  • Gmail: treat a whitespace-only text/plain part as missing when choosing a message body, so gmail get, gmail thread get and --sanitize-content output fall back to the HTML part instead of returning an empty body (seen in Meetup notifications). (#1279) — thanks @Flamefork.

  • Release: require SSH-signed annotated tags authorized by the committed signer policy before builds and publication; preserve tagless dry runs.

  • CI: run CodeQL weekly and on pull requests or manual dispatch, retaining Actions, Go, and JavaScript analysis without duplicate scans on every main push.

  • Dependencies: refresh MCP, Google API/gRPC and networking libraries plus tracking-worker tooling; retain the documented Go minimum, patched build toolchain, release cooldown, and security overrides. (#1274)

  • Dependencies: refresh Google clients, MCP, Kong, Markdown/YAML libraries, and tracking-worker tools; update the workerd security pin while retaining Go 1.26, the patched build toolchain, and the 24-hour worker cooldown. (#1302)

  • Gmail: add --ids-only to gmail messages search and gmail search to return IDs from the list call without one detail request per result, for bulk jobs that pipe into gmail batch modify. (#1257) — thanks @jatinbansal1998.

  • Gmail: add watch serve --token-env and --hook-token-env to read tokens from named environment variables, preserving literal flags and stored-hook defaults. (#1292) — thanks @mmaps.

  • Google APIs: raise the rate-limit retry budget from three to six backoffs (63s to just under 94.5s in total) so per-minute quotas such as Gmail's "Units per minute per user" can refill before a command fails. (#1257) — thanks @jatinbansal1998.

  • Calendar: honor explicitly empty event summaries, locations, and attendee lists in update requests, while preserving omitted fields. (#1268) — thanks @pkyIntelligence.

  • Calendar: accept primary and unlisted email-like IDs in --cal and --calendars while retaining named-calendar resolution. (#1283, #1297) — thanks @goutamadwant.

  • Calendar: reject a single page token across multiple calendars before fetching events; retain single-calendar continuation and --all-pages. (#1281, #1285) — thanks @goutamadwant.

  • Calendar: sort all-day events in their calendar timezone, including partial responses and display-timezone overrides. (#1284, #1286) — thanks @goutamadwant.

  • Calendar: include camelCase calendarId on multi-calendar JSON events while retaining the existing CalendarID key for scripts. (#1282, #1290) — thanks @i098.

  • MCP: add optional page continuation tokens to gmail_search and calendar_events, preserving bounded reads and existing CLI pagination. (#1269, #1270) — thanks @pkyIntelligence.

  • Docs: preserve API 404 causes so missing documents exit with the documented not_found code 5 while keeping the existing error message. (#1288, #1289) — thanks @HardMax71.

v0.47.1

Choose a tag to compare

@github-actions github-actions released this 27 Oct 03:23
v0.47.1
cbb7f01

0.47.1 - 2026-10-26

Highlights: Preserve Gmail text direction and narrowed Calendar grants, fix headless Linux authentication, and reject compromised certificates in the tracking worker.

  • Gmail: give the author's own text its direction in HTML (dir="auto" on each line of converted plain text, once around given HTML, and on the signature) so right-to-left text reads correctly and English keeps its direction when a right-to-left reply quotes it; whole HTML documents go in as given. (#1255) — thanks @malob.

  • Auth: use the encrypted file backend on headless Linux when D-Bus is explicitly disabled, instead of falling through to an uninitialized password store. (#1258) — thanks @pkyIntelligence.

  • Auth: preserve Calendar read-only scope selections during automatic reauthorization instead of requesting previously granted broader access. (#1259) — thanks @pkyIntelligence.

  • Security: update the tracking worker's workerd runtime to reject compromised eMudhra certificate chains. (#1264) — thanks @joshavant.

  • Dependencies: update Google IAM, GAX, enterprise certificate support, Workers types, Wrangler, and oxlint-tsgolint while retaining Go 1.26 and the tracking worker’s 24-hour release cooldown.

v0.47.0

Choose a tag to compare

@github-actions github-actions released this 23 Oct 21:35
f7dab31

0.47.0 - 2026-10-23

Highlights: Opt-in HTML Gmail bodies, selected search headers, and calendar settings updates, with OAuth error redaction and certificate trust fixes.

  • Gmail: add opt-in --html-from-text (or GOG_GMAIL_HTML_FROM_TEXT) to generate an escaped HTML alternative for plain send, reply, and draft bodies; preserve plain-text defaults and explicit HTML. (#1251) — thanks @mathieu-ships.
  • Gmail: expose up to 50 selected headers in message-search JSON and MCP with --headers, reusing existing reads and preserving sanitization and untrusted-content wrapping. (#1190, #1249) — thanks @obokaman-com.
  • Calendar: add update-calendar to inspect or patch calendar-level names, descriptions, locations, and timezones, with field validation, offline previews, and explicit optional-field clearing. (#1245) — thanks @sorenisanerd.
  • Auth: omit OAuth provider descriptions, URLs, and response bodies from command errors, per-item results, backup diagnostics, health checks, and watch/verbose logs; retain fixed recovery guidance, authentication exit codes, and both Calendar/Zoom rollback causes. (#1243) — thanks @pkyIntelligence.
  • Security: upgrade Alpine's default CA packages in Docker image build and runtime stages to reject the compromised eMudhra certificate chains. (#1244) — thanks @joshavant.
  • Auth: make Google Ads (ads) an explicit opt-in instead of part of the default user/all-user set; Google can gate the Ads scope behind mandatory passkey enrollment, which blocked ordinary reauth. Request it with --services user,ads.
  • Dependencies: update Pub/Sub, Google API and x/tools plus Cloudflare Workers types and Wrangler; retain Go 1.26 and the tracking worker’s 24-hour release cooldown.
  • Gmail: retry 403 rate limits with the existing bounded backoff and stop remaining detail fetches when a search fails; preserve error bodies and open the watch circuit on 403 rate limits. (#1241, #1242) — thanks @xyrolle.
  • Gmail: leave quoted search operators to Gmail instead of silently narrowing results with label filters. (#1247) — thanks @SebTardif.
  • Gmail: include nonempty Cc and Bcc headers in thread text output. (#1248) — thanks @alexpriest.
  • Gmail: preserve the direction of reply and forward headers beside right-to-left text, and add Gmail's quote classes without altering plain text or quoted content. (#1250) — thanks @malob.
  • Drive: preserve requested false booleans in list/search JSON, including grouped fields, slash paths, and wildcards; keep conditionally absent fields omitted. (#1246) — thanks @SebTardif.

v0.46.0

Choose a tag to compare

@github-actions github-actions released this 21 Oct 06:21
e0e3cb9

0.46.0 - 2026-10-20

Highlights: Safely re-encrypt auth stores, route Google API calls through credential-free relays, and compose richer Gmail forwards, with Go security fixes.

  • Auth: add gog auth rekey <outdir> to write and verify a separate re-encrypted directory while leaving the live keyring untouched; hold the store lock throughout, publish only complete fsynced output, and retain the old directory during installation. (#1224) — thanks @sorenisanerd.
  • Google APIs: add GOG_GOOGLE_API_BASE_URL to send *.googleapis.com requests to a test server, emulator, proxy, or relay that adds credentials outside gog; requests keep path and query, pass the original host as X-Forwarded-Host, carry no gog credentials, and refuse cross-origin redirects. (#1225, #1226) — thanks @km-tr.
  • Gmail: add --note-html and --note-html-file to forwards and preserve plain-note line breaks in HTML output. (#1215) — thanks @malob.
  • Auth: accept gog auth <email> as shorthand for gog auth add <email>; bare gog auth and mistyped subcommands keep their existing errors. (#1221)
  • Gmail: lay out the forwarded-message header block the way Gmail Web does: plain text with the sender's name in bold, Name <email> (or <email>) for the sender and each recipient with addresses linked in HTML, and two blank lines before the original body. (#1236) — thanks @malob.
  • Drive: preserve requested top-level false booleans in drive get --json, including the default starred and hasThumbnail fields; keep conditionally absent fields omitted. (#1223) — thanks @postoso.
  • Security: build release binaries and Docker images with Go 1.27.3 and test the minimum series with Go 1.26.10 to address the crypto/x509 vulnerability GO-2026-6809, while preserving the Go 1.26 minimum.
  • CI: use macOS 27 runners for Darwin checks and release preflight while enforcing the macOS 15.0 deployment target.
  • Dependencies: refresh the Google API client and generated API definitions while retaining the Go 1.26 minimum and the tracking worker's 24-hour release cooldown.
  • Dependencies: refresh the Google API client, golangci-lint, Cloudflare Workers types, Wrangler, PostCSS, and Undici while retaining Go 1.26, pnpm 11, and the worker’s 24-hour release cooldown.
  • Dependencies: update Vitest and Cloudflare Workers types within the worker’s 24-hour release cooldown.
  • Dependencies: refresh Wrangler, Cloudflare Workers types, Oxlint, and Oxfmt within the tracking worker's 24-hour release cooldown.

v0.45.0

Choose a tag to compare

@github-actions github-actions released this 16 Oct 03:43
722cc1d

0.45.0 - 2026-10-16

Highlights: Preserve Gmail search results for negated and OR queries, warn about unmatched JSON selections, and improve reply formatting.

  • Gmail: derive labelIds only from system-label terms that hold for every result; a term under NOT or -, inside a negated group, or in a query with OR, | or {…} is left to Gmail, so search, --count, archive, trash, mark-read, unread and autoreply no longer silently narrow such queries. (#1212) — thanks @wstock.
  • Output: warn on stderr when a --select path matches no objects in a nonempty result, preserving JSON output and exit status. (#1210) — thanks @postoso.
  • Gmail: render the reply attribution line the way Gmail Web does in both text and HTML: no comma after the date, Name <email> (or <email>) with the address linked in HTML, and a narrow no-break space before AM/PM (also in forwarded Date: lines). (#1213) — thanks @malob.
  • Auth: clarify that auth login opens the browser account manager, and document manual authorization and unattended health checks. (#1214) — thanks @jingtying.
  • Dependencies: refresh Google API and MCP clients plus tracking-worker tooling within the Go 1.26 floor and 24-hour worker release cooldown; add a non-publishing release-pipeline dry run.

v0.44.0

Choose a tag to compare

@github-actions github-actions released this 11 Oct 18:32
cf42bb7

0.44.0 - 2026-10-11

Highlights: Upload Photos media, configure Meet settings, and add Gmail signatures, with Go security fixes and dependency updates.

  • Photos: upload media and list/create app-created albums with an explicit append-scope opt-in; preserve read-only defaults and narrowed grants during reauthorization. (#1185) — thanks @beyondzero.
  • Meet: configure recording, transcription, smart notes, attendance reports, and moderation through explicit create/update flags; preserve omitted settings with per-field update masks. (#1182) — thanks @regaw-leinad.
  • Gmail: add --signature, --signature-from, and --signature-file to gmail drafts create, gmail drafts update, gmail forward, and gmail drafts forward; the signature follows the sending alias and sits above the quote or between the note and the forwarded message. (#1193) — thanks @adameq.
  • Security and dependencies: build with patched Go 1.27.2, test the Go 1.26 minimum series on 1.26.9, and refresh goimports, deadcode, and Cloudflare Workers types while preserving the Go 1.26.0 floor and worker release cooldown.
  • Gmail: include recipient headers and optionally sanitize message-search content through CLI and MCP; preserve untrusted sender/recipient wrapping across JSON projection. (#1188) — thanks @kendrickkester.
  • Gmail: preserve omitted Cc/Bcc recipients when updating drafts and allow explicit empty values to clear them. (#1186) — thanks @karyandrew.
  • Gmail: allow explicitly empty bodies with attachments while still rejecting omitted message content. (#1189) — thanks @jaysonsantos.
  • Gmail: preserve standard payload header identifiers under --wrap-untrusted, keep custom names and values wrapped, and wrap flattened sender/recipient display text. (#1183) — thanks @postoso.
  • Docker: pre-create /persist/gogcli owned by the non-root gog user so the documented named-volume GOG_HOME is writable on first run, and document the one-time ownership step for bind mounts and pre-existing volumes. (#1197) — thanks @wstock.
  • Dependencies: refresh Google API and telemetry modules, tracking-worker packages, pnpm 11, and x/tools while retaining the Go 1.26 floor and worker release cooldown.
  • Dependencies: update Google API/auth, MCP, networking and cryptography modules, Wrangler, Workers types, Vite, and patched Sharp 0.35.5 (GHSA-wq5f-xc86-pv6w) while retaining Go 1.26, pnpm 11, and the worker's 24-hour release cooldown.
  • Gmail: document the option delimiter for search queries beginning with -, with thread and message examples and flags-before-delimiter guidance. (#1184) — thanks @postoso.
  • Auth: make the documented doctor preflight inspect diagnostic status before continuing, and clarify diagnostic exit semantics. (#1195, #1198) — thanks @coygeek and @goutamadwant.
  • Auth: direct doctor recovery hints to preserve recorded services, scope modes, extra scopes, and the OAuth client instead of requesting the default grant. (#1196) — thanks @coygeek.
  • Docs: select gog skills explicitly during installation and identify the separate maintainer-only Crabbox skill. (#1194) — thanks @coygeek.

v0.43.0

Choose a tag to compare

@github-actions github-actions released this 01 Oct 03:52
3b5122f

0.43.0 - 2026-09-30

Highlights: JSON error envelopes and page metadata, a default auth/config status view, and clearer Gmail MIME guidance.

  • Output: add stable JSON error envelopes without appending a second document after command results, and include returned-row count and has_more in common paged lists and Drive file listings. (#1172) — thanks @amiruluniten.
  • CLI: show executable, description, and auth/config status when invoked without arguments; use gog --help for the command overview. Preserve JSON-only status output and command policies. (#1172) — thanks @amiruluniten.
  • Gmail: clarify full-payload versus raw MIME reads, quote source selection, and the limits of offline reply previews. (#1173) — thanks @hashtag1974.
  • Dependencies: update Wrangler and Cloudflare Workers types to their latest releases eligible under the tracking worker’s 24-hour cooldown; retain the pnpm 11 and Go 1.26 floors. (#1178)
  • Dependencies: refresh Google API/authentication, MCP and gRPC clients, golangci-lint, pnpm 11, and tracking-worker tooling while retaining Go 1.26 compatibility and the worker's 24-hour release-age policy. (#1175)

v0.42.0

Choose a tag to compare

@github-actions github-actions released this 25 Sep 22:25
792107a

0.42.0 - 2026-09-25

Highlights: Batch editing across Sheets, Docs, Slides, and Forms; native Contacts batch commands; typed Gmail MCP tools; auth_required exit code, allowlist rejection, and correct batch end --continue-on-error exit status.

  • Sheets: queue structural edits across commands with --batch, reuse one captured metadata snapshot, and submit an atomic update with explicit endpoint permission and guarded non-atomic recovery. (#1099) — thanks @sebsnyk.
  • Sheets: submit atomic structural request arrays with sheets batch-request, preserving explicit JSON values, previewing exact requests, and requiring explicit grants in restricted command policies. (#1108) — thanks @gurgeous.
  • Slides: queue native slides, elements, text, and table edits across commands with --batch, then submit one revision-locked atomic update while preserving generated IDs and explicit service permissions. (#1097) — thanks @sebsnyk.
  • Forms: queue questions, moves, deletions, and settings with --batch, project append positions under the queue lock, and submit one revision-locked atomic update with explicit service permissions. (#1100) — thanks @sebsnyk.
  • Contacts: add native batch get/create/update/delete commands with etag-checked field-specific updates, offline previews, and explicit partial progress; batch dedupe deletion while retaining changed-contact guards. (#1101) — thanks @sebsnyk.
  • MCP: add typed Gmail draft and mailbox tools with literal label entries, reject empty runtime tool allowlists, and require separate send and permanent-delete opt-ins that preserve account policies, no-send restrictions, and destructive confirmations. (#1137) — thanks @alex-strattab.
  • Gmail: optionally replace genuinely missing quoted inline images with visible placeholders in reply drafts, preserving strict defaults and valid resources and reporting degradation for review. (#1113) — thanks @hashtag1974.
  • Auth: return the documented auth_required exit code (4) for expired or revoked OAuth grants, preserving reauthorization advice in unattended and read-only commands. (#1152)
  • CLI: reject comma-only runtime command lists instead of silently treating malformed allowlists as unrestricted access; preserve empty overrides and valid CSV lists. (#1157)
  • Docs: reject explicitly empty or whitespace-only --batch values before input or authentication, preventing accidental immediate edits when a batch variable is empty. (#1156)
  • Docs: return a nonzero exit status when batch end --continue-on-error retains failed requests, while preserving its result summary and successfully applied edits. (#1154)
  • Groups: use the documented single-label membership query in listings and backups, preserving native pagination and escaping member identities correctly. (#1059) — thanks @hengshan.
  • Sheets: preserve caller cancellation when immediately submitting links set updates. (#1099)
  • Sheets: preserve zero IDs, false flags, empty and null values, and unknown fields in lossless sheets raw output, including pretty and wrapped output. (#1155)
  • Raw JSON: preserve explicit values and unknown fields across Docs, Slides, Drive, Gmail, Calendar, Forms, Tasks, and People/Contacts; retain Drive redaction and lossless Docs tab projection. (#1158)
  • Comments: clarify that quoted Drive API comments are unanchored in Google editors and warn on stderr, including dry runs, while preserving payloads and machine-readable output. (#1160) — thanks @ignacioreyna.

v0.41.0

Choose a tag to compare

@github-actions github-actions released this 22 Sep 09:09
6f9850c

0.41.0 - 2026-09-22

Highlights: Raw RFC822 drafts, Search Console URL inspection, automatic Slides image sizing, and fixes for lost Gmail results, cancellation, and Sheets crashes.

  • Dependencies: retain patched gRPC 1.83.2 with Google API 0.298 to avoid GHSA-2v4p-qf9q-27wj; gog does not use the affected xDS server. (#1150)
  • Gmail: stage and replace raw RFC822 drafts, retrieve their MIME, and preview safely offline; bound raw draft/send input to 35 MiB while preserving no-send policies. (#1126) — thanks @darkamenosa.
  • Search Console: add searchconsole inspect for per-URL index status via the URL Inspection API (coverage state, indexing/page-fetch/robots.txt state, canonical, sitemaps, last crawl time), using the existing webmasters OAuth scope. (#1094) — thanks @laihenyi.
  • Slides: derive either missing image dimension from local files or anonymously readable public HTTPS images, preserving explicit size pairs and documenting the public-fetch requirement. (#1112) — thanks @sebsnyk.
  • Sheets: return an error instead of crashing when append responses omit update metadata, without retrying the potentially completed write. (#1142) — thanks @SebTardif.
  • Calendar: show failed Zoom meeting cleanup alongside a failed Calendar write, preserving both causes through CLI error formatting. (#1144) — thanks @SebTardif.
  • Gmail: fail thread searches when a detail fetch fails instead of silently returning partial results after a discarded retry. (#1138) — thanks @SebTardif.
  • Gmail: accumulate repeated --add and --remove label flags across thread, message, batch, and label modifications while preserving literal comma/backslash splitting and normalization. (#1139) — thanks @ShacharBialick.
  • Gmail: inspect Pub/Sub notifications matching the saved watch cursor so pending history changes can reach the hook. (#1140) — thanks @kazuyuki-eguchi.
  • API: honor in-flight command cancellation in YouTube, Chat unread lookups and sends, and People profile and relation requests. (#1145) — thanks @SebTardif.
  • API: honor api list --plain with stable, sanitized TSV columns while preserving default and JSON catalog responses. (#1141, #1146) — thanks @postoso and @goutamadwant.
  • API: close upload bodies when the circuit breaker rejects a request or retry buffering fails, preventing leaked files and streams. (#1136)
  • Apps Script: keep file names within one TSV field in appscript content, escaping line breaks instead of splitting output rows. (#1091) — thanks @haosdent.
  • Docs: identify the queued batch UUID in revision-mismatch errors so it can be inspected or aborted. (#1143) — thanks @SebTardif.
  • Search Console: preserve permission-denied exit codes when adding API setup or scope guidance. (#1094)
  • Dependencies: refresh Google/MCP clients and protocol modules, gofumpt, Node 26/Corepack, pnpm 11, Docker build pins, and tracking-worker Vite, PostCSS, Undici, Nano ID, and tooling pins while retaining Go 1.26 compatibility and release-age limits. (#1134, #1148)
  • CI: verify the Go 1.26 minimum, worker types, and generated skills; avoid duplicate pull-request test runs and repair remote validation setup. (#1131, #1147)