XD 28 adds a few small new APIs for plugins:
SceneNode.BLEND_MODE_*constants for use with the
SceneNode.blendModeproperty (which was introduced in XD 27).
Quickly look up a scenenode by its GUID with
scenegraph.getNodeByGUID(guid)– useful for persistently remembering a node across plugin operations and even across document open/closes.
Easily check if a scenenode is currently in scope for editing with
selection.isInEditContext(node)– useful if you want your plugin to traverse a whole subtree and edit as much of it as possible without risk of throwing an error.
Note: the new interaction types introduced in XD 28 (audio-file playback & “scroll to” actions) are not exposed to plugins yet. Several other interaction types already have the same caveat – see interactions API documentation for a complete list.
As always – happy plugin building!