PhotoEditor SDK v11.0.0 Release Notes

  • ๐Ÿ‘€ Please see the PE.SDK or VE.SDK version 11 migration guide for details.

    โž• Added

    • [ImglyKit] Added font selection icon text to localization.
    • [PhotoEditorSDK] Added PhotoEditorTask, PhotoEditorResult and PhotoEditorError types.
    • [PhotoEditorSDK] Added optional photoEditViewControllerShouldStart method in PhotoEditViewControllerDelegate and SwiftUI onShouldStart modifier.
    • [VideoEditorSDK] Added VideoEditorTask, VideoEditorResult and VideoEditorError types.
    • [VideoEditorSDK] Added optional videoEditViewControllerShouldStart method in VideoEditViewControllerDelegate and SwiftUI onShouldStart modifier.

    ๐Ÿ—„ Deprecated

    • ๐Ÿ”ง [ImglyKit] Deprecated StickerCategory.all, Frame.all, Effect.all, Overlay.all, FontImporter.all, TextDesign.all, VideoClipCategory.all, and AudioClipCategory.all. Add the assets directly to the assetCatalog of your Configuration object instead.
    • ๐Ÿ—„ [PhotoEditorSDK] Deprecated PhotoEditorResult.hasChanges in favor of .status.
    • ๐Ÿ—„ [VideoEditorSDK] Deprecated VideoEditorResult.hasChanges in favor of .status.

    ๐Ÿ”„ Changed

    • Built with Swift 5.6 / Xcode 13.3.1
    • ๐Ÿš€ Increased the deployment target to iOS 13.0.
    • โšก๏ธ [ImglyKit] Updated the brush tool to use Metal instead of OpenGL.
    • ๐Ÿšš [ImglyKit] Moved .willBecomeActiveTool, .didBecomeActiveTool, .willResignActiveTool, and .didResignActiveTool from a public UIViewController extension to ViewController.
    • ๐Ÿšš [ImglyKit] Moved public extensions of UIKit, Foundation and other iOS SDK classes to .imgly namespace for Swift and changed the prefix to imgly_ for Obj-C to avoid collisions. Deprecated old extensions.
    • [ImglyKit] Renamed IMGLY.Error to IMGLYError.
    • [ImglyKit] Unified SwiftUI and UIKit result types.
    • [ImglyKit] SwiftUI onDidSave and onDidFail modifiers use new result and error types.
    • [PhotoEditorSDK] PhotoEditViewControllerDelegate uses new result and error types:
      • photoEditViewController(_ photoEditViewController: PhotoEditViewController, didSave image: UIImage, and data: Data) is now photoEditViewControllerDidFinish(_ photoEditViewController: PhotoEditViewController, result: PhotoEditorResult)
      • photoEditViewControllerDidFailToGeneratePhoto(_ photoEditViewController: PhotoEditViewController) is now photoEditViewControllerDidFail(_ photoEditViewController: PhotoEditViewController, error: PhotoEditorError)
    • [VideoEditorSDK] VideoEditViewControllerDelegate uses new result and error types:
      • videoEditViewController(_ videoEditViewController: VideoEditViewController, didFinishWithVideoAt url: URL?) is now videoEditViewControllerDidFinish(_ videoEditViewController: VideoEditViewController, result: VideoEditorResult)
      • videoEditViewControllerDidFailToGenerateVideo(_ videoEditViewController: VideoEditViewController) is now videoEditViewControllerDidFail(_ videoEditViewController: VideoEditViewController, error: VideoEditorError)

    ๐Ÿ›  Fixed

    • ๐Ÿ›  [ImglyKit] Fixed a crash when opening the brush tool with the iOS Simulator on M1 Macs.

    โœ‚ Removed

    • โœ‚ Removed all previously deprecated methods.
    • โœ‚ Removed any usage of OpenGL.
    • ๐Ÿšš [ImglyKit] Removed CameraViewController.dataCompletionBlock and moved related logic to CameraViewController.completionBlock.
    • ๐Ÿšš [ImglyKit] Removed UIImage parameter from CameraViewController.completionBlock.
    • ๐Ÿšš [PhotoEditorSDK] Removed the use of UIImage in PhotoEditViewControllerDelegate, please use data and UIImage(data:) instead.
    • ๐Ÿšš [PhotoEditorSDK] Removed the possibility to save an unedited image without rendering if the source data is unavailable.
    • ๐Ÿšš [VideoEditorSDK] Removed legacy trim controls. Now, the overlay trim controls will be always used which was the default before. Deprecated TrimToolOptions.useOverlayControls, and .controlsContainerView, .currentTimeLabel, .durationLabel, .playPauseButton of the TrimToolController.