Version v1.18.0 Changelog November 6, 2023
:warning: Important Disclaimer: The features listed under “Breaking Changes” were inadvertently included in this release. These changes were originally scheduled for the upcoming
1.19.0major release. We recommend updating to1.18.1, which contains the appropriate version without these changes.
Breaking Changes
- Engine/Web: Introduced new union types:
DesignBlockTypesShorthand,DesignBlockTypesLonghand,DesignBlockTypesfor top-level design blocks.ShapeTypesShorthand,ShapeTypesLonghand,ShapeTypesfor shape blocks.FillTypesShorthand,FillTypesLonghand,FillTypesfor fill blocks.EffectTypesShorthand,EffectTypesLonghand,EffectTypesfor effect blocks.BlurTypesShorthand,BlurTypesLonghand,BlurTypesfor blur blocks.BlockTypesShorthand,BlockTypesLonghand,BlockTypesfor all blocks combined.
- Engine/Web: The
createAPI now expects an ID of typeDesignBlockTypesinsteadDesignBlockType. - Engine/Web: The
createFillAPI now expects an ID of typeFillTypesinstead ofstring. - Engine/Web: The
getTypeAPI now returns an ID of typeBlockTypesLonghandinstead ofDesignBlockType. - Engine/Web: The
findByTypeAPI now expects an ID of typeBlockTypesinstead ofDesignBlockType. - Engine/Web: The
createShapeAPI now expects and ID of typeShapeTypesinstead ofstring. - Engine/Web: The
createEffectAPI now expects and ID of typeEffectTypesinstead ofstring. - Engine/Web: The
createBlurAPI now expects and ID of typeBlurTypesinstead ofstring. - Engine/Web: The
DesignBlockTypeenum is now deprecated and will be removed soon in favor of introducing a new alternative string-literal types that are more representative of our API signature. The usage ofDesignBlockTypeshould still be supported for most use cases until removed.
Non Breaking Changes
- Engine: Add
BlockAPI.fillParentto quickly resize and reposition a block to match its parent. - Engine: Added
setAlwaysOnBottomandisAlwaysOnBottomAPIs. - Editor: Add contrast shadow to regular button variants
- Editor: Fix dock audio icon scaling based on icon scale configuration
- Editor: Fixed selection of inside strokes on shapes without a fill.
- Editor: Fixed text selection to jump to first character when the mouse is placed on space between lines.
- Engine: Fixed WOFF font support
- Assets: The
ly.img.imagedemo source now also defines apreviewUrifor each entry. Due to this, demo images will have a preview image when being added to the canvas. The entries use the existing thumbnail URIs. - Engine: Added
SceneAPI.getCurrentPageto the current page, i.e., the nearest page to the center of the viewport. - Engine: Added
SceneAPI.findNearestToViewPortCenterByTypeandSceneAPI.findNearestToViewPortCenterByKindto find the nearest block to the center of the viewport by type or kind. - Engine: Removed
trackActivePagesetting, which is now automatically determined. - Engine: Removed event of active page tag.
- Engine: Added an asynchronous
supportsVideoExportfunction, which does not only check for the presence of the required audio/video APIs, but also ensures that the export actually works. - Engine: All Cutouts have the always on top attribute by default.
- Editor: Clickable area of a cutout is a stroke 6 pixels wide centered on its offset path.
- Editor: Fixed performance issue when playing back videos