Discovery API:script.v1
Caught 22 days ahead of release
Released (22d lead)Breaking Change
Docs

Apps Script API enforces required IDs and expands scopes

This update introduces breaking changes by enforcing the presence of key identifiers. Specifically, 'scriptId', 'deploymentId', and 'versionNumber' have been changed from optional to strictly required in their respective method parameters. Developers must update their implementation to ensure these fields are always provided. Additionally, the API discovery document has been updated with a massive list of explicit OAuth2 scopes covering Gmail, Calendar, Drive, Sheets, and Google Workspace Admin Directory, providing better visibility into the permissions required for script execution and management.