Releases: doo/scanbot-document-scanner-sdk-ios-spm
Releases Β· doo/scanbot-document-scanner-sdk-ios-spm
5.0.1-RC2
- π Bug fixes:
- Fixed a critical bug in the camera session causing too low resolution of captured still images.
5.0.0
- π New:
- Added new class-based image filters with customizable parameters:
SBSDKParametricFilter
(abstract base class)SBSDKScanbotBinarizationFilter
SBSDKCustomBinarizationFilter
SBSDKColorDocumentFilter
SBSDKBrightnessFilter
SBSDKContrastFilter
SBSDKGrayscaleFilter
SBSDKWhiteBlackPointFilter
SBSDKLegacyFilter
(encapsulates the deprecatedSBSDKImageFilterType
filters)
- Added streaming encryption support to
SBSDKStorageCrypting
. - Added the
SBSDKFinderView.Style
enum and the propertystyle
that defines the drawing styles of the finder view toSBSDKFinderView
andSBSDKBaseScannerViewFinderConfiguration
. - Added the
viewFinderStyle
property toSBSDKBaseScannerViewController
. - Added new property
minimumNumberOfSymbols
toSBSDKDocumentQualityAnalyzer
. - Added a new modern beep sound in
SBSDKSoundController
. - Added a new enum
SBSDKSoundType
to configure the default beep sound ofSBSDKSoundController
. - Added Privacy manifest file (
PrivacyInfo.xcprivacy
) to the SDK. - Added new static property
maximumRecommendedImageSize
toSBSDKDeviceInformation
.
- Added new class-based image filters with customizable parameters:
- π Improvements:
- Streaming rendering and encrypting in
SBSDKTIFFImageWriter
. Memory footprint during rendering reduced by up to 5x for TIFF.
- Streaming rendering and encrypting in
β οΈ Breaking Changes- Due to the refactoring of Scanbot SDK to the Swift language a lot of properties and method parameters have changed in order to provide a clean and consistent interface for Swift and Objective-C.
- Removed adjustable filters and partially replaced them by the parametric filters.
- Deprecated
SBSDKImageFilterType
. Use the new parametric filtersSBSDKParametricFilter
and its subclasses if possible. - Replaced parameters of type
SBSDKImageFilterType
bySBSDKParametricFilter
in most classes. - Changed type of
binarizationFilter
inSBSDKTIFFImageWriterParameters
fromSBSDKImageFilterType
toSBSDKParametricFilter
. - Renamed
SBSDKUIDocument
toSBSDKDocument
,SBSDKUIPage
toSBSDKDocumentPage
andSBSDKUIPageFileStorage
toSBSDKDocumentPageFileStorage
. - Refactored
SBSDKImageProcessor
moving away from the complex asynchronous functions to a straight object oriented approach. - Changed
isLicenseValid
,licenseStatus
from functions to variables inScanbot
class. - Changed
defaultImageStoreEncrypter
,defaultPDFEncrypter
,shouldShowStatusBarOnScanningScreens
,defaultStatusBarStyle
from separated getters and setters to variables inScanbotUI
class. - Removed
printInfo:
,printError:
andprintWarning:
fromSBSDKLog
. - Changed
setLoggingEnabled:
to propertyisLoggingEnabled
inSBSDKLog
. - Functions
logInfo:
,logError:
andlogWarning:
inSBSDKLog
now acceptString
as a parameter instead ofva_list
. - Changed all properties of type
NSNumber
to optionalDouble
inSBSDKImageMetadata
. - Replaced default initialization
initWithParentViewController:containerView
by the new static methodcreateWithParentViewController:containerView
inSBSDKImageEditingViewController
. - Changed
SBSDKTIFFImageWriter
from static class to instantiated class and simplified the interface. - Renamed enum
SBSDKAutosnappingMode
toSBSDKAutoSnappingMode
.
- π Under the hood:
- Refactored all public SDK code to Swift.
4.2.1
- π New:
- Added Privacy manifest file (
PrivacyInfo.xcprivacy
) to the SDK. - Added new static property
maximumRecommendedImageSize
toSBSDKDeviceInformation
. - Added new property
videoFlipMode
toSBSDKBaseScannerGeneralConfiguration
.
- Added Privacy manifest file (
- π Bug fixes:
- Fixed the issue when the top and bottom toolbars' background color in
SBSDKUICroppingViewController
didn't update on dark mode change, when set toUIColor.systemBackground
.
- Fixed the issue when the top and bottom toolbars' background color in
4.0.0
- π New:
- Added new method
widestAvailableBackFacingCamera
toSBSDKCameraDevice
. - Added new method
setupDefaultLicenseFailureHandlerWithCompletion:
to theScanbot
class.
- Added new method
- π Improvements:
- New improved document detector with better performance and less memory consumption.
β οΈ Breaking Changes:- Renamed
photoQualityPriorization
tophotoQualityPrioritization
everywhere in the SDK. - Changed default value of the finder aspect ratio in
SBSDKUIFinderDocumentScannerUIConfiguration
to DIN A4 portrait.
- Renamed
3.0.2
- π Bug fixes:
- Fixed a focusing issue with the new iPhone 15 Pro and 15 Pro Max.
3.0.1-RC1
- π Bug fixes:
- Fixed a bug with missing default configuration for
SBSDKUICroppingViewController
.
- Fixed a bug with missing default configuration for
3.0.0
- π New:
- Added functions to
SBSDKDeviceInformation
to get the total, used and unused disk space on the device.
- Added functions to
- π Improvements:
- RTU-UI configurations can now be initialized with partial/incomplete JSON data by internally merging the partial data into the configurations default values.
β οΈ Breaking Changes:- Due to a Swift compiler naming collision the class
ScanbotSDK
has been renamed toScanbot
. - Renamed the class
ScanbotSDKUI
toScanbotUI
for consistency.
- Due to a Swift compiler naming collision the class
- π Bug fixes:
- Fixed a crash when denying camera permission.
- Fixed a bug with magnetic lines in
SBSDKImageEditingViewController
andSBSDKUICroppingViewController
.
2.4.0-Beta2
- π Bug fixes:
- Fixed a crash when denying camera permission.
- Fixed a bug with magnetic lines in
SBSDKImageEditingViewController
andSBSDKUICroppingViewController
.
2.4.0-Beta1
- π Bug fixes:
- Fixed a crash when denying camera permission.
- Fixed a bug with magnetic lines in
SBSDKImageEditingViewController
andSBSDKUICroppingViewController
.
2.3.0-SH6
- Initial Release