Releases: doo/scanbot-sdk-ios-spm
Releases Β· doo/scanbot-sdk-ios-spm
5.0.3
- π Bug fixes:
- Changed privacy manifest to comply with the latest Apple specs.
4.2.2
- π Bug fixes:
- Changed privacy manifest to comply with the latest Apple specs.
5.0.2
- π Bug fixes:
- Fixes a problem that slowed down still image capturing on some older iOS devices.
- π Improvements:
- Improved speed and image quality of still image capturing.
5.0.2-RC1
- π Bug fixes:
- Fixes a problem that slowed down still image capturing on some older iOS devices.
- π Improvements:
- Improved speed and image quality of still image capturing.
5.0.2-Beta1
WARNING: Release Notes for version 5.0.2 not found!
5.0.1-RC3
- π Bug fixes:
- Fixed a critical bug in the camera session causing too low resolution of captured still images.
- Fixed a bug in the generic document scanner which prevented the extraction of the given names from a residence permit card.
5.0.1
- π Bug fixes:
- Fixed a critical bug in the camera session causing too low resolution of captured still images.
- Fixed a bug in the generic document scanner which prevented the extraction of the given names from a residence permit card.
5.0.1-RC2
- π Bug fixes:
- Fixed a critical bug in the camera session causing too low resolution of captured still images.
- Fixed a bug in the generic document scanner which prevented the extraction of the given names from a residence permit card.
5.0.1-RC1
WARNING: Release Notes for version 5.0.1 not found!
5.0.0-RC16
- π New:
- Added new RTU-UI V2 component, see
SBSDKUI2BarcodeScannerViewController
. - 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 support for residence permit documents to
SBSDKGenericDocumentRecognizer
. SeeSBSDKGenericDocumentRootType
. - Added class
SBSDKCheckDocument
to represent a document specifically used for checking purposes, inheriting properties and methods fromSBSDKGenericDocument
. - Added the
returnCroppedDocumentImage
property toSBSDKMedicalCertificateRecognizerConfigurationOptions
,SBSDKMedicalCertificateScannerViewController
andSBSDKUIMedicalCertificateScannerViewController
. This property allows you to control whether the SDK should include a cropped document image in its output or not. - Added new property
minimumNumberOfSymbols
toSBSDKDocumentQualityAnalyzer
. - 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 a new property
supportedBarcodeTypes
inSBSDKBarcodeDocumentType
that has the supported barcode types of the barcode document format. - Added a new static method
supportedBarcodesTypes(for:)
inSBSDKBarcodeDocumentType
to return the supported barcode types of a given array of barcode document formats. - 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 a new property
boundingBoxWithImageSize
toSBSDKOCRResultBlock
to get the bounding box of the receiver in absolute image coordinate system. - Added new function
resetAccumulation
toSBSDKBarcodeScannerViewController
.
- Added new RTU-UI V2 component, see
- π Improvements:
- Improved the installation of custom OCR languages for the Tesseract OCR engine. See
SBSDKOCRLanguagesManager
. - Streaming rendering and encrypting for
SBSDKPDFRenderer
andSBSDKTIFFImageWriter
. Memory footprint during rendering reduced by up to 5x for TIFF. Unlimited PDF rendering.
- Improved the installation of custom OCR languages for the Tesseract OCR engine. See
- π Bug fixes:
- Fixed a bug where the
recognizeOnImageStorage:completion:
was unable to detect text on imageStorage when the encryption was on.
- Fixed a bug where the
β οΈ 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.
- Renamed barcode type RSS14 to Databar and RSSExpanded to DatabarLimited.
- 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. - Deprecated
SBSDKUIBarcodeScannerViewController
andSBSDKUIBarcodesBatchScannerViewController
along with their related classes. Please consider switching to the newSBSDKUI2BarcodeScannerViewController
. - 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. - Changed all
SBSDKBarcodeType
global constants to static properties ofSBSDKBarcodeType
. - Refactored
SBSDKBarcodeType
, it introduces a style naming change for all barcode types, please see the documentation. - Moved the global constants
SBSDKBarcodeMetadataEANUPCExtensionKey
andSBSDKBarcodeMetadataIsGS1MessageKey
toSBSDKBarcodeScannerResult
as its static properties. - Renamed enum
SBSDKAutosnappingMode
toSBSDKAutoSnappingMode
. - Renamed enum
SBSDKMedicalCertificateRecognizerFormType
toSBSDKMedicalCertificateRecognizerForm
, please see the documentation for the refactored types. - Renamed properties
patientInformationRecognitionEnabled
andbarcodeRecognitionEnabled
toisPatientInformationRecognitionEnabled
andisBarcodeRecognitionEnabled
inSBSDKMedicalCertificateRecognizerConfigurationOptions
. - Renamed and refactored class
SBSDKPDFMetadataProcessor
toSBSDKPDFMetadataEditor
. - Renamed and refactored class
SBSDKResourcesManager
toSBSDKOCRLanguagesManager
. - Renamed functions
mlConfiguration
andlegacyConfigurationWithLanguages:
inSBSDKOpticalCharacterRecognizerConfiguration
toscanbotOCR
andtesseractWithLanguages:
. - Renamed enum values
SBSDKOpticalCharacterRecognitionModeLegacy
toSBSDKOpticalCharacterRecognitionModeTesseract
andSBSDKOpticalCharacterRecognitionModeML
toSBSDKOpticalCharacterRecognitionModeScanbotOCR
. - Renamed the function
recognizeFromStillImage
,recognizeFromVideoFrameImage
,recognizeFromSampleBuffer:orientation:
,recognizeFromSampleBuffer:searchInRect:orientation:
torecognizeOnStillImage
,recognizeOnVideoFrameImage
,recognizeOnSampleBuffer:orientation:
,recognizeOnSampleBuffer:searchInRect:orientation:
inSBSDKHealthInsuranceCardRecognizer
. - Renamed the static factory functions in
SBSDKUIHealthInsuranceCardScannerViewController
to fix their ugly signatures. - Renamed the function
recognizeFromSampleBuffer
torecognizeOnSampleBuffer
inSBSDKGenericTextLineRecognizer
. - Renamed the static factory functions in
SBSDKUITextDataScannerViewController
to fix their ugly signatures. - Changed all
SBSDKBarcodeDocumentType
global constants to static properties ofSBSDKBarcodeDocumentType
. - Changed all
SBSDKGenericDocument
global constants to static properties ofSBSDKGenericDocument
andSBSDKCheckDocument
. - Replaced the default value of
acceptedBarcodeTypes
withSBSDKBarcodeType.commonTypes
, this property will no longer accept nil anywhere, if it's set to an empty array, this will automatically be translated toSBSDKBarcodeType.commonTypes
. - The property
acceptedDocumentTypes
ofSBSDKBarcodeScanner
andSBSDKBarcodeScannerViewController
can no longer be set to nil. - Renamed the property
optional1Field
inSBSDKMachineReadableZoneRecognizerResult
tovisaOptionalField
. - Renamed enum value
SBSDKMachineReadableZoneRecognizerFieldNameOptional1
toSBSDKMachineReadableZoneRecognizerFieldNameVisaOptional
.
- π Under the hood:
- Refactored all public SDK code to Swift.