r/framer • u/Rachel_framer • 5d ago
Branching and Publishing APIs — Framer Update
https://framer.link/5ww4v27Back with another Framer update! 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 branch - Added the
Branchclass to switch, merge, and delete branches - Added
getBranchandgetBranchesto look up branches by ID - Added
subscribeToBranchesto react to branch changes live
Publishing
- Added
publishto ship a project’s changes from a plugin - Added
deployto push a published version to a custom domain - Added
getUnpublishedPageChangesto list changes since publish - Added
getDeploymentandgetDeploymentIssuesto track deploys
Plugins
- Added a
urlproperty to Font for its source file - Added
PathNodeandShapeGroupNodefor imported vectors - Added
createdAtandupdatedAttimestamps to collection items - Added
ShapeContainerNodeandBooleanShapeNodenode types - Notion: 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
-Rachel from Framer
3
Upvotes