v1.40.0 Changelog
November 28, 2024
Breaking Changes
- Engine: Updated the
setTypeface
block API to allow change of the typeface also for text runs. This enables to use different typefaces in one text block. Setting a typeface witout specifying a range while text is selected by the user or with theSetSelectionRange
command now changes the typeface only for the selection. This is usually the desired behavior. To retain the old behavior of changing the typeface of the whole block, specify the range to cover the whole text, i.e.,from = 0, to = textLength
. See set typeface documentation and text properties documentation for more details. - Engine: Updated the
setTypeface
block API to no longer need a fallback font file URI as parameter. The font fallback will be handled automatically. See set typeface documentation for more details. - Engine: Added the
getTypefaces
block API to allow querying of all typefaces of a text run. It is recommended to switch outgetTypeface
with the new API asgetTypeface
only returns the default typeface, i.e., the property ‘text/typeface’ set on the text block. See get typefaces documentation, get typeface documentation,and text properties documentation for more details. - Engine: Updated the
setTypeface
block API to no longer need a fallback font file URI as parameter. The font fallback will be handled automatically. See block docs for more details.
Non Breaking Changes
- Engine/Swift: Added a feature flag engine setting
"features/exportP3Images"
. When enabled, the editor displays P3 colors correctly and image exports result in 16 bit images in the P3 color space as opposed to the default 8 bit sRGB exports. This setting is currently only supported on iOS and is ignored on other platforms. Targa image exports and exports with a color mask continue to produce 8 bit results. - Editor/Web: Builder components like inputs and buttons within the builder panel now support an
suffix
property. This suffix appears on the right side of the component and can be used to add an extra button, icon with a tooltip to provide additional information. - Camera/React-Native: Added
@imgly/camera-react-native
module. - Engine/Android: Added binding
EditorApi.getActiveLicense
. - Editor/Android: Added a new configuration property
dock
of typeDock
toEditorConfiguration
that allows customizing the dock (a list of buttons that appears at the bottom of the editor). - Editor/Android: Deprecated
EngineConfiguration
constructor in favor ofEngineConfiguration.Companion.remember
composable function. - Editor/Android: Deprecated
EngineConfiguration.getForDesign
method in favor ofEngineConfiguration.Companion.rememberForDesign
composable function. - Editor/Android: Deprecated
EngineConfiguration.getForPhoto
method in favor ofEngineConfiguration.Companion.rememberForPhoto
composable function. - Editor/Android: Deprecated
EngineConfiguration.getForApparel
method in favor ofEngineConfiguration.Companion.rememberForApparel
composable function. - Editor/Android: Deprecated
EngineConfiguration.getForPostcard
method in favor ofEngineConfiguration.Companion.rememberForPostcard
composable function. - Editor/Android: Deprecated
EngineConfiguration.getForVideo
method in favor ofEngineConfiguration.Companion.rememberForVideo
composable function. - Editor/Android: Deprecated
EditorConfiguration
constructor in favor ofEditorConfiguration.Companion.remember
composable function. - Editor/Android: Deprecated
EditorConfiguration.getDefault
method in favor ofEditorConfiguration.Companion.rememberForDesign
,EditorConfiguration.Companion.rememberForPhoto
,EditorConfiguration.Companion.rememberForApparel
,EditorConfiguration.Companion.rememberForPostcard
andEditorConfiguration.Companion.rememberForVideo
solution specific composable functions. - Editor/Android: Deprecated
EditorEventHandler.sendCloseEditorEvent(throwable)
in favor ofEditorEventHandler.send(EditorEvent.CloseEditor(throwable))
. - Editor/Android: Deprecated
EditorEventHandler.sendCancelExportEvent(throwable)
in favor ofEditorEventHandler.send(EditorEvent.CancelExport())
. - Editor/Android: Deprecated
IconPack.Libraryelements
in favor ofIconPack.LibraryElements
. - Editor/Android: Deprecated
IconPack.Arrowback
in favor ofIconPack.ArrowBack
. - Editor/Android: Deprecated
IconPack.Imageoutline
in favor ofIconPack.ImageOutline
. - Editor/Android: Deprecated
IconPack.Libraryelementsoutline
in favor ofIconPack.LibraryElementsOutline
. - Editor/Android: Deprecated
IconPack.Playbox
in favor ofIconPack.PlayBox
. - Editor/Android: Deprecated
IconPack.Playboxoutline
in favor ofIconPack.PlayBoxOutline
. - Editor/Android: Deprecated
IconPack.Reorderhorizontally
in favor ofIconPack.ReorderHorizontally
. - Editor/Android: Deprecated
IconPack.Shapesoutline
in favor ofIconPack.ShapesOutline
. - Editor/Android: Deprecated
IconPack.Stickeremoji
in favor ofIconPack.StickerEmoji
. - Editor/Android: Deprecated
IconPack.Stickeremojioutline
in favor ofIconPack.StickerEmojiOutline
. - Editor/Android: Deprecated
IconPack.Textfields
in favor ofIconPack.TextFields
. - Camera/Android: Added long press/release to toggle recording.
- Camera/Android: Added
CameraConfiguration
for configurability. - Editor/Web: Removed the automatic percentage conversion for slider inputs in builders when the value is between
-1
and1
. - Editor/Web: Fix an issue where the action button in the dialog are rendered without a gap between them when using the dialog API.
- Editor/Web: Fixed an issue where the effect library thumbnails were not derived from the effect assets correctly.
- Editor/Web: Fixed an issue where the blur library thumbnails were not derived from the blur assets correctly.
- Editor/iOS: Playback now pauses when app enters background if currently playing.
- Engine: fix pre-export memory usage estimate when exporting with option
exportWithMaskColor
is set totrue
. - Editor/Web: UI for setting font size now supports text runs.
- Editor/Web: UI for font selection and styling now supports text runs.
- Editor/Web: The entire set of IMG.LY icons is now available for use in custom/builder components. See our updated documentation on how to use them.
- Editor/Web: Remove old icons, use new spritesheets, to reduce bundle size.
- Editor/Web: Fix: ‘Video unsupported’ warning dialogue shows warning icon.
- Editor/Web: Fixed a bug where the custom URI resolver was not called for images and videos shown in the Fill Inspector Panel.
- Editor/Web: Fixed a crash when changing the fill of a page to video, and then attempting to trim or crop it.
- Editor/Web: Removed deprecated query of property ‘fill/image/imageFileURI’ in Fill Inspector Panel.