New in Sketch 72
Released 5 May, 2021 – read release notes
Changes
The internal class MSApplicationMetadata
has been refactored into a new class, BCSketchInfo
.
If a plugin was relying on any of the internal methods in MSApplicationMetadata
, its code will not work (and may even crash Sketch if it’s passing the returned value unchecked to other parts of its code). The methods that previously lived in MSApplicationMetadata
have been replaced with methods in BCSketchInfo.shared()
, and most of the metadata you may need is available directly as a dictionary in BCSketchInfo.shared().metadata()
.
However, as mentioned in our Internal API page, these are internal classes that should never be used.
We recommend using the JavaScript API where possible.