v1.31.0 Changelog
July 18, 2024
Breaking Changes
- Editor/Web: The minimum required web browser versions have been updated to Firefox 115, Safari 15.6, Chrome 114, Edge 114.
- Engine/Web: The minimum required web browser versions have been updated to Firefox 115, Safari 15.6, Chrome 114, Edge 114.
- Engine/Swift: Packages for Apple platforms are now built with Xcode 15.4 and Swift 5.10, which is the new minimum requirement for using them.
- Editor/Swift: Packages for Apple platforms are now built with Xcode 15.4 and Swift 5.10, which is the new minimum requirement for using them.
Non Breaking Changes
- Engine: Local asset sources and scene asset sources support allow sorting of the result, see docs).
- Engine: When duplicating a block, the duplicate’s name will be unique. (i.e. “block-name (2)”, “block-name (3)”, etc.)
- Engine: Deprecated the
hasFill
,hasContentFillMode
,hasShape
,hasCrop
,hasOpacity
,hasBlendMode
,hasEffects
,hasBlur
,hasBackgroundColor
,hasStroke
,hasDropShadow
,hasPlaceholderBehavior
,hasPlaceholderControls
,hasDuration
,hasTimeOffset
,hasTrim
,hasPlaybackTime
,hasPlaybackControl
APIs and replaced them with equivalent APIs with asupports
prefix instead ofhas
for better readability and clarity of functionality. These APIs return whether a specific functionality is generally supported by a given block. - Engine: Deprecated the
hasEffectEnabled
API. All effects can be enabled and disabled. - Engine: Clipping is temporarily disabled when editing crop to give more context to the user.
- Editor/Web: Add auto size and layout updates to advance text updates
- Editor/iOS: Added advanced text options.
- Editor/Android: Advanced text format options are now directly accessible at the first level.
- Editor/Android: Added text frame behaviour “Auto Size” to text format options, allowing text frames to automatically adjust their size based on the content.
- Editor/Android: Added text format options for font family weight/style, text casing, and paragraph spacing
- Editor/Android: Added audio preview in asset library.
- Engine: Added
createAnimation
API for creating new animation objects. - Engine: Added
supportsAnimation
API for checking whether a block supports animations. - Engine: Added
setInAnimation
,setLoopAnimation
, andsetOutAnimation
APIs for assigning animation objects to a design block. - Engine: Added
getInAnimation
,getLoopAnimation
, andgetOutAnimation
APIs for querying the currently assigned animation objects of a design block. - Engine: Added Slide, Pan, Fade, Blur, Grow, Zoom, Pop, Wipe, Baseline, Crop Zoom and Spin In / Out animations.
- Engine: Added Spin, Fade, Blur, Pulsating, Breathing, Jump, Squeeze, Sway Loop animations.
- Editor/Web: Introduced a new User Interface API to register and control custom dialogs.
- Editor/iOS: Fixed the initial the text cursor position after entering text editing mode.
- Editor: Content fill mode ‘Contain’ is now maintained when changing the frame with the edge handles. Before it was changed to ‘Crop’.
- Engine: Setting a crop rotation with
setCropRotation
on elements with content fill modes ‘Contain’ and ‘Cover’ is now possible. Before, the fill mode was automatically changed to ‘Crop’. For fill mode ‘Contain’, the output changes accordingly, for ‘Cover’ and ‘Crop’ it stays the same. - Engine: Setting a crop flip with
flipCropHorizontal
orflipCropVertical
on elements with content fill mode ‘Cover’ is now possible. Before, the fill mode was automatically changed to ‘Crop’. The output stays the same. - Engine: The property
image/fill/sourceSet
now keeps its sources sorted by width. - Engine: A new function
addImageFileURIToSourceSet
allows adding a new source to a source set property. - Engine: The property
image/fill/imageFileURI
is deprecated. UsegetSourceSet(block, "fill/image/sourceSet", sourceSet)
instead. - Editor/Web: fix an issue where an error is thrown when switching between different video scenes.
- Editor/Web: Asset library animates only its opacity and removes the subtle shift animation.