This page lists the major changes in each release of Google Apps Script. It is intended to help developers identify recent changes in behavior. For older changes, see the release notes for 2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011, or 2010.
April 22, 2020
A new simple trigger,
has been added for Google Sheets. The
onSelectionChange(e) trigger runs
automatically when a user changes the selection in a spreadsheet.
April 2, 2020
The following has been added to the Spreadsheet service
- A new Drawing class has been added to support drawings.
- You can now get your drawings with the
The following has been added to the Drive service
- There's a new
FILE_ORGANIZERvalue in the Permission enum. If you have
FILE_ORGANIZERpermission on a shared drive, you can edit, trash, and move content within that drive.
February 28, 2020
The following methods have been added to the
to support the use of theme colors. Many of these methods duplicate the
effect of existing color methods, but let you use
Color objects instead of strings
as parameters and return types:
Bandingclass now has 16 new methods that manipulate color in the banding columns and rows using
BooleanConditionclass now has two new methods that retrieve the color of the condition's background and font as
ConditionalFormatRuleBuilderclass now has seven new methods that set color-based format rules using
GradientConditionclass now has three new methods that retrieve condition colors as
Rangeclass now has eight new methods that get and set font and background colors using
Sheetclass now has two new methods that get and set tab colors using
Slicerclass now has two new methods that get and set the background color of the slicer using
TextStyleBuilderclass now has a
TextStyleBuilder.setForegroundColorObject(color)method that updates the foreground color of the style builder using a
TextStyleclass now has a
TextStyle.getForegroundColorObject()method that gets the foreground color of the style as a
February 5, 2020
January 21, 2020
To support the launch of G Suite Add-ons, the following manifest changes, service, classes, and methods have been added to Apps Script:
Manifest fields that previously supported Gmail add-ons still exist, but are now deprecated. See Upgrading your published add-ons for instructions on how to upgrade a Gmail add-on into a G Suite add-on.
The Card service has been extended with the following classes and methods that provide new widgets and event responses:
The Conference Data service has been added to Apps Script. The service helps G Suite Add-ons that extend Google Calendar to stay in sync with third-party conferencing applications. This service is only useful to developers who manage a conferencing application and want to make it available in Google Calendar.