Version v1.10.0 Changelog March 14, 2023
See the announcement post for details on features.
Breaking Changes
⚠️ Starting with
v1.10.0we no longer ship our default assets within theassets/extensionsfolder. Instead, both engine and UIs now offer convenienceaddDefaultAssetSourcesendpoints, that selectively register asset sources, that serve our default assets. If you’re actively using the example assets we shipped beforev1.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. withAssetAPI#addAssetToSource. - UBQ: The
applyAssetcallbacks anddefaultApplyAssetAPI now return an optional design block id in their callback if they created a new block - UBQ: Removed the required
thumbUriandsizeproperties fromAssetDefinitionandAssetResult. They are now stored under thethumbUri,widthandheightkeys in themetaproperty dictionary - UBQ: Values of the
blockTypeasset meta property must now be design block type ids (e.g.//ly.img.ubq/image) - CESDK: Removed the
AssetElement,ImageElement,VideoElementandAudioElementtypes and replaced them withAssetDefinition - CESDK: The
onUploadcallback must now return an instance ofAssetDefinition - UBQ: Renamed default upload source for images (
ly.img.upload) toly.img.image.uploadto 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
centerandbottomnot 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 andcenterorbottomtext 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/clearColorproperty and replaced it with a globalclearColorsetting. - UBQ: Deprecated fill color related APIs in favor of a ‘Fill’ based approach
- Deprecated
hasFillColor, usehasFilland queryblock.getEnum(id, 'fill/type')forSolidtype instead. - Deprecated
get/setFillColorRGBA, usesetFillSolidColorinstead.. - Deprecated
isFillColorEnabled, useisFillEnabledinstead. - Deprecated
setFillTypeandsetFillGradientType, usecreateFill, e.g., with type ‘color’ and then apply the fill block withsetFillto the block instead. If the block has a fill, it should be removed withgetFillanddestroy. - Deprecated
getFillTypeandgetFillGradientType, queryblock.getEnum(id, 'fill/type')andblock.getEnum(id, 'fill/gradient/type')instead instead - Deprecated
add/removeFillGradientColorStopandget/setFillGradientColorStops. - Deprecated
get/setFillGradientControlPointX/Y, useblock.getFloat(fill, keypath)andblock.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, useblock.getFloat(fill, 'fill/gradient/radial/radius')andblock.setFloat(fill, 'fill/gradient/radial/radius', value)instead.”
- Deprecated
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
PlaceholderControlswhich allow controlling the placeholder appearance on each block. Replacesimage/showsPlaceholderButtonandimage/showsPlaceholderOverlayproperties, which are now deprecated. - CESDK: Fix blend mode UI not being reflecting state properly for shapes, text and stickers
- CESDK: Add
--ubq-border_radius-xstoken - CESDK: Allow bitmaps to be uploaded
- CESDK: Remove official
image/x-tgasupport from documentation - UBQ: Add
subscribeToAssetSourceAddedandsubscribeToAssetSourceRemovedmethods to subscribe to additions to and removals from the list of asset sources - CESDK: Deprecate
canManageAssetsin favor ofcanAddandcanRemovein the asset library entries - CESDK:
--ubq-stroke-contrast-3token 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 Contentplaceholder option for blocks that have a video Fill