Version v1.40.0 Changelog November 28, 2024
Breaking Changes
- Engine: Updated the
setTypefaceblock 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 theSetSelectionRangecommand 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
setTypefaceblock 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
getTypefacesblock API to allow querying of all typefaces of a text run. It is recommended to switch outgetTypefacewith the new API asgetTypefaceonly 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
setTypefaceblock 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
suffixproperty. 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-nativemodule. - Engine/Android: Added binding
EditorApi.getActiveLicense. - Editor/Android: Added a new configuration property
dockof typeDocktoEditorConfigurationthat allows customizing the dock (a list of buttons that appears at the bottom of the editor). - Editor/Android: Deprecated
EngineConfigurationconstructor in favor ofEngineConfiguration.Companion.remembercomposable function. - Editor/Android: Deprecated
EngineConfiguration.getForDesignmethod in favor ofEngineConfiguration.Companion.rememberForDesigncomposable function. - Editor/Android: Deprecated
EngineConfiguration.getForPhotomethod in favor ofEngineConfiguration.Companion.rememberForPhotocomposable function. - Editor/Android: Deprecated
EngineConfiguration.getForApparelmethod in favor ofEngineConfiguration.Companion.rememberForApparelcomposable function. - Editor/Android: Deprecated
EngineConfiguration.getForPostcardmethod in favor ofEngineConfiguration.Companion.rememberForPostcardcomposable function. - Editor/Android: Deprecated
EngineConfiguration.getForVideomethod in favor ofEngineConfiguration.Companion.rememberForVideocomposable function. - Editor/Android: Deprecated
EditorConfigurationconstructor in favor ofEditorConfiguration.Companion.remembercomposable function. - Editor/Android: Deprecated
EditorConfiguration.getDefaultmethod in favor ofEditorConfiguration.Companion.rememberForDesign,EditorConfiguration.Companion.rememberForPhoto,EditorConfiguration.Companion.rememberForApparel,EditorConfiguration.Companion.rememberForPostcardandEditorConfiguration.Companion.rememberForVideosolution 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.Libraryelementsin favor ofIconPack.LibraryElements. - Editor/Android: Deprecated
IconPack.Arrowbackin favor ofIconPack.ArrowBack. - Editor/Android: Deprecated
IconPack.Imageoutlinein favor ofIconPack.ImageOutline. - Editor/Android: Deprecated
IconPack.Libraryelementsoutlinein favor ofIconPack.LibraryElementsOutline. - Editor/Android: Deprecated
IconPack.Playboxin favor ofIconPack.PlayBox. - Editor/Android: Deprecated
IconPack.Playboxoutlinein favor ofIconPack.PlayBoxOutline. - Editor/Android: Deprecated
IconPack.Reorderhorizontallyin favor ofIconPack.ReorderHorizontally. - Editor/Android: Deprecated
IconPack.Shapesoutlinein favor ofIconPack.ShapesOutline. - Editor/Android: Deprecated
IconPack.Stickeremojiin favor ofIconPack.StickerEmoji. - Editor/Android: Deprecated
IconPack.Stickeremojioutlinein favor ofIconPack.StickerEmojiOutline. - Editor/Android: Deprecated
IconPack.Textfieldsin favor ofIconPack.TextFields. - Camera/Android: Added long press/release to toggle recording.
- Camera/Android: Added
CameraConfigurationfor configurability. - Editor/Web: Removed the automatic percentage conversion for slider inputs in builders when the value is between
-1and1. - 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
exportWithMaskColoris 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.