Releases: doo/scanbot-barcode-scanner-sdk-ios-spm
Releases · doo/scanbot-barcode-scanner-sdk-ios-spm
6.2.0-RC2
- 🎉 New:
- Added support for encryption/decryption of images and PDF using the AES-GCM algorithm with random 96-bit initialization vectors and variable length authentication tags, as required for ePA-FdV-certification by gematik and BSI. See
SBSDKAESGCMEncrypter
class. - Added support for encryption key derivation using PBKDF2, HKDF and Random key derivation on both the standard AES encrypter (
SBSDKAESEncrypter
) and the new AES-GCM encrypter (SBSDKAESGCMEncrypter
) with variable key lengths (128 and 256 bits). See the new protocolSBSDKStorageCryptingKeyGenerator
and the new classesSBSDKRandomKeyGenerator
,SBSDKPBKDF2KeyGenerator
andSBSDKHKDFKeyGenerator
. - Added protocol-based support for encryption key management. See the new protocol
SBSDKStorageCryptingKeyProvider
and the new classSBSDKVolatileKeyProvider
. - Added new class
SBSDKVolatileKeyProvider
that stores, restores and deletes keys in memory per context. For a persistent storage, e.g. in the keychain or in a file, you can implement your own key provider by conforming to theSBSDKStorageCryptingKeyProvider
protocol. - Added support for encryption/decryption on a encryption-key-per-context base. See
SBSDKStorageCryptingKeyProvider
andSBSDKStorageCrypting
. - Added new delegate method
barcodeTrackingOverlay(_ controller:overrideTextFor:proposedString:)
toSBSDKBarcodeTrackingOverlayControllerDelegate
.
- Added support for encryption/decryption of images and PDF using the AES-GCM algorithm with random 96-bit initialization vectors and variable length authentication tags, as required for ePA-FdV-certification by gematik and BSI. See
6.1.2-RC2
- 🎉 New:
- Added new delegate method
barcodeTrackingOverlay(_ controller:overrideTextFor:proposedString:)
toSBSDKBarcodeTrackingOverlayControllerDelegate
.
- Added new delegate method
6.2.0-RC1
- 🎉 New:
- Added support for encryption/decryption of images and PDF using the AES-GCM algorithm with random 96-bit initialization vectors and variable length authentication tags, as required for ePA-FdV-certification by gematik and BSI. See
SBSDKAESGCMEncrypter
class. - Added support for encryption key derivation using PBKDF2, HKDF and Random key derivation on both the standard AES encrypter (
SBSDKAESEncrypter
) and the new AES-GCM encrypter (SBSDKAESGCMEncrypter
) with variable key lengths (128 and 256 bits). See the new protocolSBSDKStorageCryptingKeyGenerator
and the new classesSBSDKRandomKeyGenerator
,SBSDKPBKDF2KeyGenerator
andSBSDKHKDFKeyGenerator
. - Added protocol-based support for encryption key management. See the new protocol
SBSDKStorageCryptingKeyProvider
and the new classSBSDKVolatileKeyProvider
. - Added new class
SBSDKVolatileKeyProvider
that stores, restores and deletes keys in memory per context. For a persistent storage, e.g. in the keychain or in a file, you can implement your own key provider by conforming to theSBSDKStorageCryptingKeyProvider
protocol. - Added support for encryption/decryption on a encryption-key-per-context base. See
SBSDKStorageCryptingKeyProvider
andSBSDKStorageCrypting
. - When storing files in image storages, with the PDF renderer, or the TIFF writer, a context in the form of the file URL is being passed to the encrypter APIs to allow for context-based key derivation.
- Added new delegate method
barcodeTrackingOverlay(_ controller:overrideTextFor:proposedString:)
toSBSDKBarcodeTrackingOverlayControllerDelegate
.
- Added support for encryption/decryption of images and PDF using the AES-GCM algorithm with random 96-bit initialization vectors and variable length authentication tags, as required for ePA-FdV-certification by gematik and BSI. See
7.0.0-Beta4
- 🎉 New:
- Added a new property
configuration
inSBSDKBarcodeScanner
,SBSDKBarcodeScannerViewController
, andSBSDKBarcodeScanAndCountViewController
. - Added a new class
SBSDKBarcodeItem
to replaceSBSDKBarcodeScannerResult
. - Added a new property
item
inSBSDKBarcodeScannerAccumulatingResult
to replacecode
. - Added new barcode types
pharmaCode
,pharmaCodeTwoTrack
,pzn
. - Added a new property
acceptedFormats
toSBSDKBarcodeDocumentParser
. - Added a new initializer
init(acceptedFormats:)
toSBSDKBarcodeDocumentParser
. - Added a new method
detectBarcodesOnFrame:
inSBSDKBarcodeScanner
. - Added a new initializer
initWithFormats:live:acceptedDocumentFormats:
inSBSDKBarcodeScanner
. - Added a new class
SBSDKUIBarcodeAdditionalParameters
. - Added a new class
SBSDKImageRef
. - Added a new class
SBSDKBarcodeFormats
. - Added a new class
SBSDKBarcodeFormatCommonConfiguration
. - Added a new property
dateOfLastDetection
toSBSDKBarcodeScannerAccumulatingResult
.
- Added a new property
- 🐞 Bug fixes:
- Fixed a bug in
SBSDKBarcodeScannerViewController
that could lead to a crash when embedded within aUIViewControllerRepresentable
. - Fixed a bug in
SBSDKBarcodeScanAndCountViewController
where the scanner will be stuck if there is no barcode detected. - Fixed a UI bug in
SBSDKUI2BarcodeScannerViewController
where the sheet button overlapped with the action bar. - Fixed a bug in
SBSDKUI2BarcodeScannerViewController
where the flip camera button was not resetting the widest camera available if chosen.
- Fixed a bug in
⚠️ Breaking Changes:- Removed property
code
inSBSDKBarcodeScannerAccumulatingResult
, use propertyitem
instead. - Removed class
SBSDKBarcodeScannerResult
, please use the new classSBSDKBarcodeItem
. - Removed properties
acceptedBarcodeTypes
,additionalDetectionParameters
,acceptedDocumentTypes
,regularExpressionPattern
,engineMode
inSBSDKBarcodeScannerViewController
, please use the new propertyconfiguration
, seeSBSDKBarcodeScannerConfiguration
. - Removed properties
acceptedBarcodeTypes
,extensionFilter
,engineMode
inSBSDKBarcodeScanAndCountViewController
, please use the new propertyconfiguration
, seeSBSDKBarcodeScannerConfiguration
. - Removed properties
acceptedBarcodeTypes
,acceptedDocumentTypes
,extensionFilter
,regularExpressionPattern
,additionalParameters
,engineMode
,useLiveMode
inSBSDKBarcodeScanner
, please use the newconfiguration
property, seeSBSDKBarcodeScannerConfiguration
. - Removed initializers
initWithTypes:
,initWithTypes:liveMode:
and methodsdetectBarCodesOnImage:inRect:
,detectBarCodesOnImage:orientation:inRect:
,detectBarCodesOnSampleBuffer:orientation:inRect:
,detectBarCodesOnSampleBuffer:orientation:
inSBSDKBarcodeScanner
. - Removed class
SBSDKUI2BarcodeFormat
, please use the newSBSDKBarcodeFormat
. - Removed class
SBSDKUI2AspectRatio
, please useSBSDKAspectRatio
. - Removed enum
SBSDKBarcodeImageGenerationType
and propertybarcodeImageGenerationType
fromSBSDKBarcodeScannerViewController
andSBSDKUIBarcodeScannerBehaviorConfiguration
. - Replaced class
SBSDKPolygonEdge
withSBSDKLineSegment
. - Replaced enum
SBSDKPolygonEdgeOrientation
withSBSDKLineSegmentOrientation
. - Renamed class
SBSDKBarcodeType
toSBSDKBarcodeFormat
. - Renamed class
SBSDKBarcodeDocumentRootType
toSBSDKBarcodeDocumentFormat
. - Renamed initializer
init(barcodeResult:)
toinit(barcodeItem:)
inSBSDKBarcodeScannerAccumulatingResult
. - Renamed method
barcodeScannerController:filterResults:
tobarcodeScannerController:filterBarcodes:
inSBSDKBarcodeScannerViewControllerDelegate
. - Renamed class
SBSDKUI2BarcodeScannerResult
toSBSDKUI2BarcodeScannerUIResult
. - Changed the methods
initWithParentViewController:parentView:
,initWithParentViewController:parentView:delegate:
toinitWithParentViewController:parentView:configuration:
andinitWithParentViewController:parentView:configuration:delegate:
inSBSDKBarcodeScannerViewController
. - Changed all methods of
SBSDKBarcodeTrackingOverlayControllerDelegate
to use the newSBSDKBarcodeItem
object type. - Changed the method
makeWithBarcode:
to use the newSBSDKBarcodeItem
. - Changed all methods of
SBSDKBarcodeScanAndCountViewController
to use the newSBSDKBarcodeItem
. - Changed the methods
initWithParentViewController:parentView:
,initWithParentViewController:parentView:delegate:
toinitWithParentViewController:parentView:configuration:
andinitWithParentViewController:parentView:configuration:delegate:
inSBSDKBarcodeScanAndCountViewController
.
- Removed property
6.1.2-RC1
- 🐞 Bug fixes:
- Workaround for a bug on iPhone 16 Pro (Max) triple camera that refuses to automatically switch to the ultra-wide lens when focusing on close objects.
6.1.1
- 🐞 Bug fixes:
- Fixes a crash in scanners when setting the same
minZoom
andmaxZoom
inSBSDKZoomRange
.
- Fixes a crash in scanners when setting the same
6.1.1-RC3
- 🐞 Bug fixes:
- Fixes a crash in scanners when setting the same
minZoom
andmaxZoom
inSBSDKZoomRange
.
- Fixes a crash in scanners when setting the same
6.1.1-RC2
WARNING: Release Notes for version 6.1.1 not found!
7.0.0-RC1
- 🎉 New:
- Added a new property
configuration
inSBSDKBarcodeScanner
,SBSDKBarcodeScannerViewController
, andSBSDKBarcodeScanAndCountViewController
. - Added a new class
SBSDKBarcodeItem
to replaceSBSDKBarcodeScannerResult
. - Added a new property
item
inSBSDKBarcodeScannerAccumulatingResult
to replacecode
. - Added new barcode types
pharmaCode
,pharmaCodeTwoTrack
,pzn
. - Added a new property
acceptedFormats
toSBSDKBarcodeDocumentParser
. - Added a new initializer
init(acceptedFormats:)
toSBSDKBarcodeDocumentParser
. - Added a new method
detectBarcodesOnFrame:
inSBSDKBarcodeScanner
. - Added a new initializer
initWithFormats:live:acceptedDocumentFormats:
inSBSDKBarcodeScanner
. - Added a new class
SBSDKUIBarcodeAdditionalParameters
. - Added a new class
SBSDKImageRef
. - Added a new class
SBSDKBarcodeFormats
. - Added a new class
SBSDKBarcodeFormatCommonConfiguration
. - Added a new property
dateOfLastDetection
toSBSDKBarcodeScannerAccumulatingResult
.
- Added a new property
- 🐞 Bug fixes:
- Fixed a bug in
SBSDKBarcodeScannerViewController
that could lead to a crash when embedded within aUIViewControllerRepresentable
.
- Fixed a bug in
⚠️ Breaking Changes:- Removed property
code
inSBSDKBarcodeScannerAccumulatingResult
, use propertyitem
instead. - Removed class
SBSDKBarcodeScannerResult
, please use the new classSBSDKBarcodeItem
. - Removed properties
acceptedBarcodeTypes
,additionalDetectionParameters
,acceptedDocumentTypes
,regularExpressionPattern
,engineMode
inSBSDKBarcodeScannerViewController
, please use the new propertyconfiguration
, seeSBSDKBarcodeScannerConfiguration
. - Removed properties
acceptedBarcodeTypes
,extensionFilter
,engineMode
inSBSDKBarcodeScanAndCountViewController
, please use the new propertyconfiguration
, seeSBSDKBarcodeScannerConfiguration
. - Removed properties
acceptedBarcodeTypes
,acceptedDocumentTypes
,extensionFilter
,regularExpressionPattern
,additionalParameters
,engineMode
,useLiveMode
inSBSDKBarcodeScanner
, please use the newconfiguration
property, seeSBSDKBarcodeScannerConfiguration
. - Removed initializers
initWithTypes:
,initWithTypes:liveMode:
and methodsdetectBarCodesOnImage:inRect:
,detectBarCodesOnImage:orientation:inRect:
,detectBarCodesOnSampleBuffer:orientation:inRect:
,detectBarCodesOnSampleBuffer:orientation:
inSBSDKBarcodeScanner
. - Removed class
SBSDKUI2BarcodeFormat
, please use the newSBSDKBarcodeFormat
. - Removed class
SBSDKUI2AspectRatio
, please useSBSDKAspectRatio
. - Removed enum
SBSDKBarcodeImageGenerationType
and propertybarcodeImageGenerationType
fromSBSDKBarcodeScannerViewController
andSBSDKUIBarcodeScannerBehaviorConfiguration
. - Replaced class
SBSDKPolygonEdge
withSBSDKLineSegment
. - Replaced enum
SBSDKPolygonEdgeOrientation
withSBSDKLineSegmentOrientation
. - Renamed class
SBSDKBarcodeType
toSBSDKBarcodeFormat
. - Renamed class
SBSDKBarcodeDocumentRootType
toSBSDKBarcodeDocumentFormat
. - Renamed initializer
init(barcodeResult:)
toinit(barcodeItem:)
inSBSDKBarcodeScannerAccumulatingResult
. - Renamed method
barcodeScannerController:filterResults:
tobarcodeScannerController:filterBarcodes:
inSBSDKBarcodeScannerViewControllerDelegate
. - Renamed class
SBSDKUI2BarcodeScannerResult
toSBSDKUI2BarcodeScannerUIResult
. - Changed the methods
initWithParentViewController:parentView:
,initWithParentViewController:parentView:delegate:
toinitWithParentViewController:parentView:configuration:
andinitWithParentViewController:parentView:configuration:delegate:
inSBSDKBarcodeScannerViewController
. - Changed all methods of
SBSDKBarcodeTrackingOverlayControllerDelegate
to use the newSBSDKBarcodeItem
object type. - Changed the method
makeWithBarcode:
to use the newSBSDKBarcodeItem
. - Changed all methods of
SBSDKBarcodeScanAndCountViewController
to use the newSBSDKBarcodeItem
. - Changed the methods
initWithParentViewController:parentView:
,initWithParentViewController:parentView:delegate:
toinitWithParentViewController:parentView:configuration:
andinitWithParentViewController:parentView:configuration:delegate:
inSBSDKBarcodeScanAndCountViewController
.
- Removed property
6.1.0-RC8
- 🎉 New:
- Added a new property
hardwareButtonsEnabled
that enables snapping from the hardware volume buttons and the new hardware camera control button toSBSDKBarcodeScanAndCountViewController
, available on iOS 17.2 and later. - Added new zoom control slider controlled by the new camera control button on all view controllers, available on all the new iPhone 16 models.
- Added a new property
allowEmptySubmission
toSBSDKUI2MultipleScanningMode
.
- Added a new property
- 🐞 Bug fixes:
- Fixed KANJI mode for QR codes.
- Fixed a bug with wrong raw bytes returned for some 2D barcode types.
⚠️ Breaking Changes:- Replaced the buggy initializer
init?(json: Data)
inSBSDKUI2BarcodeScannerConfiguration
by the static functionSBSDKUI2BarcodeScannerConfiguration.fromJson(json: String)?
.
- Replaced the buggy initializer