v1.21.0 Changelog
February 22, 2024
Breaking Changes
- Engine: Fixed depiction of SVG images with content exceeding the SVG viewport/viewbox. The outside content is now properly clipped.
- Engine: Scenes in video mode are now structured differently. Instead of the scene forming a single timeline which plays each page in order, now every page has its own independent timeline. The APIs for querying and adjusting the playback time and for exporting videos have to be called on the page blocks. Audio blocks have to be parented to the page in which they should play, as opposed to being parented to the scene like they were before.
- Engine:
BlockAPI.exportVideo
now requires a page block instead of a scene. - Engine: Remove
scene/defaultPageDuration
property. - Editor: Introduce a new and more advanced video timeline.
Non Breaking Changes
- Editor: Asset Library Cards configured with
cardLabelPosition = 'below'
are rendered correctly. - Editor: Additional UI configuration option
cardLabelTruncateLines
on typeAssetLibraryEntryView
. - Editor: Add shadow controls to inspector bar
- Editor: Uploading an asset during replacement auto-applies it and auto-closes panel per default
- Editor: Library sections are now scrollable
- Editor: Added setting
camera/clamping/overshootMode
: ‘Center’ | ‘Reverse’ to control the camera clamping behavior for the `ClampCameraPosition“ API. - Engine: Cutout blocks no longer have a blend mode.
- Engine: Added an editor API for querying the export size limit on the current device:
getMaxExportSize()
. - Engine: Added export options to generate an underlayer when exporting to a PDF file.
- Engine: Fixed a bug that could lead to infinitely delayed exports when trying to export a block hierarchy containing a non-exportable block.
- Editor: Fixed sporadic scene loading error introduced in version v1.19.0.
- Engine: Ensure block destroyed events are sent to subscribers after
loadScene
to prevent invalid access to deleted elements from the previous scene. - Editor: Fix range inputs (aka slider) not working properly if inline text editing is active
- Engine: (Web/video) Fix a leak where we wouldn’t free unused video textures.
- Engine:
generateVideoThumbnailSequence
now also accepts arbitrary design blocks that are children of pages. - Engine: Deprecated the
getTotalSceneDuration
API. Instead, thegetDuration
API should be called and passed a page block. - Engine: Update the supported Unicode version from 14.0 to 15.1
- Editor: Fixed on-canvas text input composition for Korean text in the Web editor
- Editor: Adds an API to add, update and dismiss notifications
- Editor: Canvas menu items “Delete” and “Duplicate” have icons only now
- Engine/Swift: Fixed
BlockAPI.scale(_:,to:,anchorX:,anchorY:)
would ignoreanchorX
andanchorY
. - Engine/Android: Added
onPreExport
callback to allBlockApi.export*
functions. - Engine/Swift: Added
onPreExport
closure to allBlockAPI.export*
functions. - Engine/Swift: Fixed memory leak for video exports.
- Engine/Swift: Fixed URL resolver for video exports.
- Engine: Added a
//ly.img.ubq/track
design block whose purpose it is to automatically adjust the time offsets of its children based on their duration so that they play one after another without gaps in the timeline. - Engine: Add
BlockAPI.isVisibleAtCurrentPlaybackTime
. - Editor: A new
ui.elements.libraries.backgroundTrackLibraryEntries
configuration option which allows to configure which library entries should be shown when opening and insert library panel for background clips in video mode. - Engine: Improve audio support for QuickTime video files.