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 theassets/extensions
folder. Instead, both engine and UIs now offer convenienceaddDefaultAssetSources
endpoints, 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
applyAsset
callbacks anddefaultApplyAsset
API now return an optional design block id in their callback if they created a new block - UBQ: Removed the required
thumbUri
andsize
properties fromAssetDefinition
andAssetResult
. They are now stored under thethumbUri
,width
andheight
keys in themeta
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
andAudioElement
types and replaced them withAssetDefinition
- CESDK: The
onUpload
callback must now return an instance ofAssetDefinition
- UBQ: Renamed default upload source for images (
ly.img.upload
) toly.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
andbottom
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 andcenter
orbottom
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 globalclearColor
setting. - UBQ: Deprecated fill color related APIs in favor of a ‘Fill’ based approach
- Deprecated
hasFillColor
, usehasFill
and queryblock.getEnum(id, 'fill/type')
forSolid
type instead. - Deprecated
get/setFillColorRGBA
, usesetFillSolidColor
instead.. - Deprecated
isFillColorEnabled
, useisFillEnabled
instead. - Deprecated
setFillType
andsetFillGradientType
, usecreateFill
, e.g., with type ‘color’ and then apply the fill block withsetFill
to the block instead. If the block has a fill, it should be removed withgetFill
anddestroy
. - Deprecated
getFillType
andgetFillGradientType
, queryblock.getEnum(id, 'fill/type')
andblock.getEnum(id, 'fill/gradient/type')
instead instead - Deprecated
add/removeFillGradientColorStop
andget/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
PlaceholderControls
which allow controlling the placeholder appearance on each block. Replacesimage/showsPlaceholderButton
andimage/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
andsubscribeToAssetSourceRemoved
methods to subscribe to additions to and removals from the list of asset sources - CESDK: Deprecate
canManageAssets
in favor ofcanAdd
andcanRemove
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