From f916742558f994eb53ec956e79594b698462ad15 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 7 Mar 2026 16:44:17 +0000 Subject: [PATCH] fix(googleapi): scope timeout landing cleanup (#425) (thanks @laihenyi) --- CHANGELOG.md | 1 + internal/cmd/drive.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dcc6b04..83b77b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ - Calendar: respond patches only attendees to avoid custom reminders validation errors. (#265) — thanks @sebasrodriguez. - Contacts: fix grouped parameter types in CRUD helpers to restore builds on newer Go toolchains. (#355) — thanks @laihenyi. - Timezone: embed the IANA timezone database so Windows builds can resolve calendar timezones correctly. (#388) — thanks @visionik. +- Google API: use transport-level response-header timeouts for API clients while keeping token exchanges bounded, so large downloads are not cut short by `http.Client.Timeout`. (#425) — thanks @laihenyi. - Gmail: add a fetch delay in `watch serve` so History API reads don't race message indexing. (#397) — thanks @salmonumbrella. - Gmail: allow Workspace-managed send-as aliases with empty verification status in `send` and `drafts create`. (#407) — thanks @salmonumbrella. - Gmail: preserve the selected `--client` during `watch serve` push handling instead of falling back to the default client. (#411) — thanks @chrysb. diff --git a/internal/cmd/drive.go b/internal/cmd/drive.go index 3ba4812..ee062ab 100644 --- a/internal/cmd/drive.go +++ b/internal/cmd/drive.go @@ -251,7 +251,7 @@ func (c *DriveGetCmd) Run(ctx context.Context, flags *RootFlags) error { f, err := svc.Files.Get(fileID). SupportsAllDrives(true). - Fields("id, name, mimeType, size, modifiedTime, createdTime, parents, webViewLink, description, starred, shortcutDetails"). + Fields("id, name, mimeType, size, modifiedTime, createdTime, parents, webViewLink, description, starred"). Context(ctx). Do() if err != nil {