glasp v0.3.0 and v0.4.0 add PKCE login, request timeouts, and auto-retries
Glasp, a Go-based CLI tool for deploying Google Apps Script without npm, has released versions 0.3.0 and 0.4.0 with several reliability-focused updates. Version 0.3.0 introduces optional PKCE support (RFC 7636) for the interactive login flow, providing stronger protection against authorization code interception in stricter security environments. Version 0.4.0 addresses previously unbounded API requests by adding a 180-second default timeout, configurable via flags, environment variables, or a config file. The update also introduces automatic retries with exponential backoff and jitter for transient errors like 5xx and 429 responses, applying only to idempotent commands such as push, pull, and clone. Both timeout and retry defaults take effect immediately upon upgrading to v0.4.0, requiring no additional configuration changes.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in