(Also included: update 6)
- We updated the typings and replaced instances of
PluginAPI['mixed']for all properties that can return the special
figma.mixedvalue. This new syntax also fixes the problem where TypeScript's control flow analysis was not able to understand
if (node.prop !== figma.mixed)and narrow down the type.
- We added "Use Developer VM" option in the plugin developer menu that gives plugin code access to the browser's debugger during development. Read more.
- We fixed a bug where the
selectionchangedevent could sometimes fire multiple times when the selection changed.
Proposed API (how do they work?):
- We decided not to go forward with the optional
figma.showUI(). Instead, plugins now always remember their last opened position by default.
- Most prototyping properties are now available, read-only, under the proposed flag! Read more about these new properties. As always, let the Figma team know if these properties are working for you.