Skip to content

v1.10.0 Changelog

March 14, 2023

See the announcement post for details on features.

Breaking Changes

⚠️ Starting with v1.10.0 we no longer ship our default assets within the assets/extensions folder. Instead, both engine and UIs now offer convenience addDefaultAssetSources endpoints, that selectively register asset sources, that serve our default assets. If you’re actively using the example assets we shipped before v1.10.0, check the Serving Assets Guide for your target platform.

⚠️ Image uploads are no longer stored in the scene and will not reappear upon scene load. To offer specific assets in your editor, configure and add an asset source containing the desired assets.

Asset Management

  • CESDK: Removed presets configuration for images (presets.images). Please use the local asset sources to add single images, e.g. with AssetAPI#addAssetToSource.
  • UBQ: The applyAsset callbacks and defaultApplyAsset API now return an optional design block id in their callback if they created a new block
  • UBQ: Removed the required thumbUri and size properties from AssetDefinition and AssetResult. They are now stored under the thumbUri, width and height keys in the meta property dictionary
  • UBQ: Values of the blockType asset meta property must now be design block type ids (e.g. //ly.img.ubq/image)
  • CESDK: Removed the AssetElement, ImageElement, VideoElement and AudioElement types and replaced them with AssetDefinition
  • CESDK: The onUpload callback must now return an instance of AssetDefinition
  • UBQ: Renamed default upload source for images (ly.img.upload) to ly.img.image.upload to match naming of video and audio upload sources.
  • UBQ: Upload asset sources and library entries for video and audio were added to the default configuration from addDefaultAssetSources. If you have added these sources manually (like mentioned in our docs) you can remove it now.

General

  • CESDK: Fix text-alignment center and bottom not working properly since v1.5.0 for the case when a fixed frame size was used and the text exceeded the frame. This can cause text elements with a fixed frame and center or bottom text alignment, where the text exceeds the frame, to render differently than before.

APIs & Properties

  • UBQ: Renamed Audio’s and VideoFill’s specific looping, volume, and muted properties to share a common playback prefix:
    • 'fill/video/looping' and 'audio/looping' are now 'playback/looping'
    • 'fill/video/volume' and 'audio/volume' are now 'playback/volume'
    • 'fill/video/muted' and 'audio/muted' are now 'playback/muted'
  • UBQ: Deprecated the camera/clearColor property and replaced it with a global clearColor setting.
  • UBQ: Deprecated fill color related APIs in favor of a ‘Fill’ based approach
    • Deprecated hasFillColor, use hasFill and query block.getEnum(id, 'fill/type') for Solid type instead.
    • Deprecated get/setFillColorRGBA, use setFillSolidColorinstead..
    • Deprecated isFillColorEnabled, use isFillEnabled instead.
    • Deprecated setFillType and setFillGradientType, use createFill, e.g., with type ‘color’ and then apply the fill block with setFill to the block instead. If the block has a fill, it should be removed with getFill and destroy.
    • Deprecated getFillType and getFillGradientType, query block.getEnum(id, 'fill/type') and block.getEnum(id, 'fill/gradient/type') instead instead
    • Deprecated add/removeFillGradientColorStop and get/setFillGradientColorStops.
    • Deprecated get/setFillGradientControlPointX/Y, use block.getFloat(fill, keypath) and block.setFloat(fill, keypath, value) with key paths ‘fill/gradient/linear/startPointX/Y’, ‘fill/gradient/radial/centerPointX/Y’, and ‘fill/gradient/conical/centerPointX/Y’ instead.
    • Deprecated get/setFillGradientRadius, use block.getFloat(fill, 'fill/gradient/radial/radius') and block.setFloat(fill, 'fill/gradient/radial/radius', value) instead.”

Non Breaking Changes

  • CESDK: Fix issue with asset replacement panel hiding when selecting new audio.
  • CESDK: Add callback and utility method for checking against unsupported browsers
  • CESDK: Audio clip is deleted automatically if being out of bounds after page deletion
  • UBQ: Fix potential out of memory issue when loading lots of scenes with a single engine instance
  • UBQ: Fix event subscription for common props, i.e., name, exportable, and always-on-top properties.
  • CESDK: Removed the emoji default font from the bundle and exposed the URI setting (setting ubq://defaultEmojiFontFileUri)
  • CESDK: Fix for text variables not showing when editing text resulting in wrong cursor positions since v1.7.0.
  • CESDK: Fix audio element clamping and stale timeline scale label value
  • CESDK: Remove re-uploading of Unsplash images and hotlink them directly into the scene
  • CESDK: Fix empty page inspector in default UI on certain constraints settings
  • UBQ: Introduce PlaceholderControls which allow controlling the placeholder appearance on each block. Replaces image/showsPlaceholderButton and image/showsPlaceholderOverlay properties, which are now deprecated.
  • CESDK: Fix blend mode UI not being reflecting state properly for shapes, text and stickers
  • CESDK: Add --ubq-border_radius-xs token
  • CESDK: Allow bitmaps to be uploaded
  • CESDK: Remove official image/x-tga support from documentation
  • UBQ: Add subscribeToAssetSourceAdded and subscribeToAssetSourceRemoved methods to subscribe to additions to and removals from the list of asset sources
  • CESDK: Deprecate canManageAssets in favor of canAdd and canRemove in the asset library entries
  • CESDK: --ubq-stroke-contrast-3 token has been added
  • CESDK: Copy/Paste now respects scopes and configuration for page management
  • UBQ: Introduce block.getUUID
  • CESDK: Fix an issue where the search query was kept across dock entries
  • CESDK: Add support for Allow to Replace Content placeholder option for blocks that have a video Fill