Skip to content

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 the SetSelectionRange 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 out getTypeface with the new API as getTypeface 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 type Dock to EditorConfiguration that allows customizing the dock (a list of buttons that appears at the bottom of the editor).
  • Editor/Android: Deprecated EngineConfiguration constructor in favor of EngineConfiguration.Companion.remember composable function.
  • Editor/Android: Deprecated EngineConfiguration.getForDesign method in favor of EngineConfiguration.Companion.rememberForDesign composable function.
  • Editor/Android: Deprecated EngineConfiguration.getForPhoto method in favor of EngineConfiguration.Companion.rememberForPhoto composable function.
  • Editor/Android: Deprecated EngineConfiguration.getForApparel method in favor of EngineConfiguration.Companion.rememberForApparel composable function.
  • Editor/Android: Deprecated EngineConfiguration.getForPostcard method in favor of EngineConfiguration.Companion.rememberForPostcard composable function.
  • Editor/Android: Deprecated EngineConfiguration.getForVideo method in favor of EngineConfiguration.Companion.rememberForVideo composable function.
  • Editor/Android: Deprecated EditorConfiguration constructor in favor of EditorConfiguration.Companion.remember composable function.
  • Editor/Android: Deprecated EditorConfiguration.getDefault method in favor of EditorConfiguration.Companion.rememberForDesign, EditorConfiguration.Companion.rememberForPhoto, EditorConfiguration.Companion.rememberForApparel, EditorConfiguration.Companion.rememberForPostcard and EditorConfiguration.Companion.rememberForVideo solution specific composable functions.
  • Editor/Android: Deprecated EditorEventHandler.sendCloseEditorEvent(throwable) in favor of EditorEventHandler.send(EditorEvent.CloseEditor(throwable)).
  • Editor/Android: Deprecated EditorEventHandler.sendCancelExportEvent(throwable) in favor of EditorEventHandler.send(EditorEvent.CancelExport()).
  • Editor/Android: Deprecated IconPack.Libraryelements in favor of IconPack.LibraryElements.
  • Editor/Android: Deprecated IconPack.Arrowback in favor of IconPack.ArrowBack.
  • Editor/Android: Deprecated IconPack.Imageoutline in favor of IconPack.ImageOutline.
  • Editor/Android: Deprecated IconPack.Libraryelementsoutline in favor of IconPack.LibraryElementsOutline.
  • Editor/Android: Deprecated IconPack.Playbox in favor of IconPack.PlayBox.
  • Editor/Android: Deprecated IconPack.Playboxoutline in favor of IconPack.PlayBoxOutline.
  • Editor/Android: Deprecated IconPack.Reorderhorizontally in favor of IconPack.ReorderHorizontally.
  • Editor/Android: Deprecated IconPack.Shapesoutline in favor of IconPack.ShapesOutline.
  • Editor/Android: Deprecated IconPack.Stickeremoji in favor of IconPack.StickerEmoji.
  • Editor/Android: Deprecated IconPack.Stickeremojioutline in favor of IconPack.StickerEmojiOutline.
  • Editor/Android: Deprecated IconPack.Textfields in favor of IconPack.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 and 1.
  • 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 to true.
  • 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.