Skip to content

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.0 major release. We recommend updating to 1.18.1, which contains the appropriate version without these changes.

Breaking Changes

  • Engine/Web: Introduced new union types:
    • DesignBlockTypesShorthand, DesignBlockTypesLonghand, DesignBlockTypes for top-level design blocks.
    • ShapeTypesShorthand, ShapeTypesLonghand, ShapeTypes for shape blocks.
    • FillTypesShorthand, FillTypesLonghand, FillTypes for fill blocks.
    • EffectTypesShorthand, EffectTypesLonghand, EffectTypes for effect blocks.
    • BlurTypesShorthand, BlurTypesLonghand, BlurTypes for blur blocks.
    • BlockTypesShorthand, BlockTypesLonghand, BlockTypes for all blocks combined.
  • Engine/Web: The create API now expects an ID of type DesignBlockTypes instead DesignBlockType.
  • Engine/Web: The createFill API now expects an ID of type FillTypes instead of string.
  • Engine/Web: The getType API now returns an ID of type BlockTypesLonghand instead of DesignBlockType.
  • Engine/Web: The findByType API now expects an ID of type BlockTypes instead of DesignBlockType.
  • Engine/Web: The createShape API now expects and ID of type ShapeTypes instead of string.
  • Engine/Web: The createEffect API now expects and ID of type EffectTypes instead of string.
  • Engine/Web: The createBlur API now expects and ID of type BlurTypes instead of string.
  • Engine/Web: The DesignBlockType enum 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 of DesignBlockType should still be supported for most use cases until removed.

Non Breaking Changes

  • Engine: Add BlockAPI.fillParent to quickly resize and reposition a block to match its parent.
  • Engine: Added setAlwaysOnBottom and isAlwaysOnBottom APIs.
  • 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.image demo source now also defines a previewUri for 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.getCurrentPage to the current page, i.e., the nearest page to the center of the viewport.
  • Engine: Added SceneAPI.findNearestToViewPortCenterByType and SceneAPI.findNearestToViewPortCenterByKind to find the nearest block to the center of the viewport by type or kind.
  • Engine: Removed trackActivePage setting, which is now automatically determined.
  • Engine: Removed event of active page tag.
  • Engine: Added an asynchronous supportsVideoExport function, 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