Skip to content

v1.26.0 Changelog

May 7, 2024

Breaking Changes

  • Engine: APIs that perform edits now throw errors if the corresponding scopes are not available (either globally or on the block). In order to disable these checks in all APIs, call setSettingBool('checkScopesInAPIs', false). Otherwise, you must use the isAllowedByScope API to check whether all required scopes are available before calling APIs.

Non Breaking Changes

  • Editor: Text elements with auto-height or auto-width can now be changed in height and width with the resize handles. The mode will switch to fixed-width.
  • Editor/Web: Add document colors library to color panel
  • Engine: Add buffer API:
    • EditorAPI.createBuffer
    • EditorAPI.destroyBuffer
    • EditorAPI.setBufferData
    • EditorAPI.getBufferData
    • EditorAPI.setBufferLength
    • EditorAPI.getBufferLength
  • Engine: Audio blocks can now play raw audio data from referenced buffers
  • Editor: Fix an issue where the canvas action menu is shown on the canvas when an audio element is selected
  • Engine: Fix an issue where audio from videos that were excluded from the export was still included in the export.
  • Engine: Fix an issue where video thumbnails would not show up after switching graphics contexts.
  • Editor/Swift: Resolved an issue that made scenes appear small before being adapted to the proper device size.
  • Editor/Swift: Fix potentially corrupted history that might have erased scene changes done in onCreate.
  • Editor/Swift: Enhanced the video editor timeline with smooth animations for showing or hiding elements.
  • Editor: Fix an issue where the close button of the trim inspector doesn’t work
  • Editor: Fix an issue where the editor stays in crop-mode after closing the crop inspector
  • Editor: Improved the design and interaction areas of resize, rotation, move, and crop handles.
  • Editor/Swift: Add support for Recolor and Green Screen effects
  • Engine/Swift: Change default assets’ CDN path from https://cdn.img.ly/assets/v2 to https://cdn.img.ly/assets/v3
  • Engine/Swift: Added PrivacyInfo.xcprivacy containing information on the data collected by the SDK.
  • Engine/Web: Add getState and setState to manually set the state of a block to Pending, Error or Ready. Add subscribeToBlockState to be notified of a block’s change of state.
  • Editor/Web: Fixed moving and resizing of elements to be not in sync with the mouse when more than one page is shown and the zoom level is below 100%.
  • Editor: Improve the way the seconds and ticks are calculated and displayed on the video timeline
  • Editor: Increase the zoom range of the video timeline
  • Editor: Update the initial scale of the clips in the video timeline
  • Editor: Clips in the video timeline will now adjust to different scaling configurations
  • Editor: Fix Add Clip button is not adjusting to its label length
  • Editor: Introduce a Fit View zoom control into the video timeline that will automatically adjust the zoom level to fit the view when pressed

Fonts

  • Engine: Added BlockAPI.canToggleBoldFont and BlockAPI.canToggleItalicFont that return whether the specified range of a given text block can be toggled between a bold and normal weight or a normal and italic style, based on whether the corresponding font is part of the typeface that is currently used by the text block.
  • Engine: Added BlockAPI.toggleBoldFont to toggle a text block between the normal and bold fonts of its current typeface.
  • Engine: Added BlockAPI.toggleItalicFont to toggle a text block between the non-italic and italic fonts of its current typeface.
  • Engine: Added BlockAPI.setFont to allow the font of a text block to be changed.
  • Engine: Added BlockAPI.getTypeface for querying the typeface that is currently used by a text block.
  • Engine/Android: Added a new default asset source: DefaultAssetSource.TYPEFACE.
  • Engine/Swift: Added a new default asset source: DefaultAssetSource.typeface.
  • Engine: Changed the FontWeight string Light to light to be consistent with the other enum cases.
  • Engine: Moved the definition of font assets from extension packs to asset sources.
  • Editor: Deprecated the registration of custom fonts via the editor configuration. Create a custom asset source instead and define the meta.typeface object of each typeface asset. A typeface consists of a name (the font family name) and a list of all fonts that belong to this typeface.
  • Engine: Replaced extension packs used by the Java bindings with asset sources. You now have to provide JSON strings containing the asset source definitions when initializing the CESDK Java instance. See the updated Java binding example app README for more details.
  • Engine: The text/fontFileUri property is now read-only. In oder to change the font of a text block, the new setFont API must be used.
  • Editor/Android: Class TextAssetSource now also requires a new parameter typeface: Typeface.
  • Editor/Swift: Class TextAssetSource now also requires a new parameter typeface: Typeface or needs to be initialized async.