Branching and Publishing APIs
Published

Plugins 4.1 brings two of our most requested capabilities to plugins: Branching and Publishing. Together, they unlock new plugin workflows, from experimenting on a branch to shipping your site. We’ve also rebuilt our API docs with search, improved content, and better linking. For the complete technical rundown, read the changelog. Find an overview of what’s new below.
Branching
Added
createBranchto create and switch to a new branchAdded the
Branchclass to switch, merge, and delete branchesAdded
getBranchandgetBranchesto look up branches by IDAdded
subscribeToBranchesto react to branch changes live
Publishing
Added
publishto ship a project’s changes from a pluginAdded
deployto push a published version to a custom domainAdded
getUnpublishedPageChangesto list changes since publishAdded
getDeploymentandgetDeploymentIssuesto track deploys
Plugins
Added a
urlproperty to Font for its source fileAdded
PathNodeandShapeGroupNodefor imported vectorsAdded
createdAtandupdatedAttimestamps to collection itemsAdded
ShapeContainerNodeandBooleanShapeNodenode typesNotion: Relation fields now support up to 100 references
Notion: Added faster, clearer sync error reports
Notion: Improved the sync progress interface
Tidy Up: Added vertical layout and name sorting
ASCII: Can now be launched from the image picker
Google Sheets: Added support for the alt-text field
Google Sheets: Added support for the option field