Skip to content

Releases: doo/scanbot-barcode-scanner-sdk-ios-spm

6.2.0-RC2

08 Jan 15:50
Compare
Choose a tag to compare
  • 🎉 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 protocol SBSDKStorageCryptingKeyGenerator and the new classes SBSDKRandomKeyGenerator, SBSDKPBKDF2KeyGenerator and SBSDKHKDFKeyGenerator.
    • Added protocol-based support for encryption key management. See the new protocol SBSDKStorageCryptingKeyProvider and the new class SBSDKVolatileKeyProvider.
    • 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 the SBSDKStorageCryptingKeyProvider protocol.
    • Added support for encryption/decryption on a encryption-key-per-context base. See SBSDKStorageCryptingKeyProvider and SBSDKStorageCrypting.
    • Added new delegate method barcodeTrackingOverlay(_ controller:overrideTextFor:proposedString:) to SBSDKBarcodeTrackingOverlayControllerDelegate.

6.1.2-RC2

07 Jan 17:44
Compare
Choose a tag to compare
  • 🎉 New:
    • Added new delegate method barcodeTrackingOverlay(_ controller:overrideTextFor:proposedString:) to SBSDKBarcodeTrackingOverlayControllerDelegate.

6.2.0-RC1

17 Dec 14:23
Compare
Choose a tag to compare
  • 🎉 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 protocol SBSDKStorageCryptingKeyGenerator and the new classes SBSDKRandomKeyGenerator, SBSDKPBKDF2KeyGenerator and SBSDKHKDFKeyGenerator.
    • Added protocol-based support for encryption key management. See the new protocol SBSDKStorageCryptingKeyProvider and the new class SBSDKVolatileKeyProvider.
    • 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 the SBSDKStorageCryptingKeyProvider protocol.
    • Added support for encryption/decryption on a encryption-key-per-context base. See SBSDKStorageCryptingKeyProvider and SBSDKStorageCrypting.
    • 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:) to SBSDKBarcodeTrackingOverlayControllerDelegate.

7.0.0-Beta4

09 Dec 09:49
Compare
Choose a tag to compare
  • 🎉 New:
    • Added a new property configuration in SBSDKBarcodeScanner, SBSDKBarcodeScannerViewController, and SBSDKBarcodeScanAndCountViewController.
    • Added a new class SBSDKBarcodeItem to replace SBSDKBarcodeScannerResult.
    • Added a new property item in SBSDKBarcodeScannerAccumulatingResult to replace code.
    • Added new barcode types pharmaCode, pharmaCodeTwoTrack, pzn.
    • Added a new property acceptedFormats to SBSDKBarcodeDocumentParser.
    • Added a new initializer init(acceptedFormats:) to SBSDKBarcodeDocumentParser.
    • Added a new method detectBarcodesOnFrame: in SBSDKBarcodeScanner.
    • Added a new initializer initWithFormats:live:acceptedDocumentFormats: in SBSDKBarcodeScanner.
    • 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 to SBSDKBarcodeScannerAccumulatingResult.
  • 🐞 Bug fixes:
    • Fixed a bug in SBSDKBarcodeScannerViewController that could lead to a crash when embedded within a UIViewControllerRepresentable.
    • 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.
  • ⚠️ Breaking Changes:
    • Removed property code in SBSDKBarcodeScannerAccumulatingResult, use property item instead.
    • Removed class SBSDKBarcodeScannerResult, please use the new class SBSDKBarcodeItem.
    • Removed properties acceptedBarcodeTypes, additionalDetectionParameters, acceptedDocumentTypes, regularExpressionPattern, engineMode in SBSDKBarcodeScannerViewController, please use the new property configuration, see SBSDKBarcodeScannerConfiguration.
    • Removed properties acceptedBarcodeTypes, extensionFilter, engineMode in SBSDKBarcodeScanAndCountViewController, please use the new property configuration, see SBSDKBarcodeScannerConfiguration.
    • Removed properties acceptedBarcodeTypes, acceptedDocumentTypes, extensionFilter, regularExpressionPattern, additionalParameters, engineMode, useLiveMode in SBSDKBarcodeScanner, please use the new configuration property, see SBSDKBarcodeScannerConfiguration.
    • Removed initializers initWithTypes:, initWithTypes:liveMode: and methods detectBarCodesOnImage:inRect:, detectBarCodesOnImage:orientation:inRect:, detectBarCodesOnSampleBuffer:orientation:inRect:, detectBarCodesOnSampleBuffer:orientation: in SBSDKBarcodeScanner.
    • Removed class SBSDKUI2BarcodeFormat, please use the new SBSDKBarcodeFormat.
    • Removed class SBSDKUI2AspectRatio, please use SBSDKAspectRatio.
    • Removed enum SBSDKBarcodeImageGenerationType and property barcodeImageGenerationType from SBSDKBarcodeScannerViewController and SBSDKUIBarcodeScannerBehaviorConfiguration.
    • Replaced class SBSDKPolygonEdge with SBSDKLineSegment.
    • Replaced enum SBSDKPolygonEdgeOrientation with SBSDKLineSegmentOrientation.
    • Renamed class SBSDKBarcodeType to SBSDKBarcodeFormat.
    • Renamed class SBSDKBarcodeDocumentRootType to SBSDKBarcodeDocumentFormat.
    • Renamed initializer init(barcodeResult:) to init(barcodeItem:) in SBSDKBarcodeScannerAccumulatingResult.
    • Renamed method barcodeScannerController:filterResults: to barcodeScannerController:filterBarcodes: in SBSDKBarcodeScannerViewControllerDelegate.
    • Renamed class SBSDKUI2BarcodeScannerResult to SBSDKUI2BarcodeScannerUIResult.
    • Changed the methods initWithParentViewController:parentView:, initWithParentViewController:parentView:delegate: to initWithParentViewController:parentView:configuration: and initWithParentViewController:parentView:configuration:delegate: in SBSDKBarcodeScannerViewController.
    • Changed all methods of SBSDKBarcodeTrackingOverlayControllerDelegate to use the new SBSDKBarcodeItem object type.
    • Changed the method makeWithBarcode: to use the new SBSDKBarcodeItem.
    • Changed all methods of SBSDKBarcodeScanAndCountViewController to use the new SBSDKBarcodeItem.
    • Changed the methods initWithParentViewController:parentView:, initWithParentViewController:parentView:delegate: to initWithParentViewController:parentView:configuration: and initWithParentViewController:parentView:configuration:delegate: in SBSDKBarcodeScanAndCountViewController.

6.1.2-RC1

02 Dec 13:55
Compare
Choose a tag to compare
  • 🐞 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

28 Nov 11:06
Compare
Choose a tag to compare
  • 🐞 Bug fixes:
    • Fixes a crash in scanners when setting the same minZoom and maxZoom in SBSDKZoomRange.

6.1.1-RC3

26 Nov 17:25
Compare
Choose a tag to compare
  • 🐞 Bug fixes:
    • Fixes a crash in scanners when setting the same minZoom and maxZoom in SBSDKZoomRange.

6.1.1-RC2

19 Nov 18:11
Compare
Choose a tag to compare

WARNING: Release Notes for version 6.1.1 not found!

7.0.0-RC1

07 Nov 19:01
Compare
Choose a tag to compare
  • 🎉 New:
    • Added a new property configuration in SBSDKBarcodeScanner, SBSDKBarcodeScannerViewController, and SBSDKBarcodeScanAndCountViewController.
    • Added a new class SBSDKBarcodeItem to replace SBSDKBarcodeScannerResult.
    • Added a new property item in SBSDKBarcodeScannerAccumulatingResult to replace code.
    • Added new barcode types pharmaCode, pharmaCodeTwoTrack, pzn.
    • Added a new property acceptedFormats to SBSDKBarcodeDocumentParser.
    • Added a new initializer init(acceptedFormats:) to SBSDKBarcodeDocumentParser.
    • Added a new method detectBarcodesOnFrame: in SBSDKBarcodeScanner.
    • Added a new initializer initWithFormats:live:acceptedDocumentFormats: in SBSDKBarcodeScanner.
    • 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 to SBSDKBarcodeScannerAccumulatingResult.
  • 🐞 Bug fixes:
    • Fixed a bug in SBSDKBarcodeScannerViewController that could lead to a crash when embedded within a UIViewControllerRepresentable.
  • ⚠️ Breaking Changes:
    • Removed property code in SBSDKBarcodeScannerAccumulatingResult, use property item instead.
    • Removed class SBSDKBarcodeScannerResult, please use the new class SBSDKBarcodeItem.
    • Removed properties acceptedBarcodeTypes, additionalDetectionParameters, acceptedDocumentTypes, regularExpressionPattern, engineMode in SBSDKBarcodeScannerViewController, please use the new property configuration, see SBSDKBarcodeScannerConfiguration.
    • Removed properties acceptedBarcodeTypes, extensionFilter, engineMode in SBSDKBarcodeScanAndCountViewController, please use the new property configuration, see SBSDKBarcodeScannerConfiguration.
    • Removed properties acceptedBarcodeTypes, acceptedDocumentTypes, extensionFilter, regularExpressionPattern, additionalParameters, engineMode, useLiveMode in SBSDKBarcodeScanner, please use the new configuration property, see SBSDKBarcodeScannerConfiguration.
    • Removed initializers initWithTypes:, initWithTypes:liveMode: and methods detectBarCodesOnImage:inRect:, detectBarCodesOnImage:orientation:inRect:, detectBarCodesOnSampleBuffer:orientation:inRect:, detectBarCodesOnSampleBuffer:orientation: in SBSDKBarcodeScanner.
    • Removed class SBSDKUI2BarcodeFormat, please use the new SBSDKBarcodeFormat.
    • Removed class SBSDKUI2AspectRatio, please use SBSDKAspectRatio.
    • Removed enum SBSDKBarcodeImageGenerationType and property barcodeImageGenerationType from SBSDKBarcodeScannerViewController and SBSDKUIBarcodeScannerBehaviorConfiguration.
    • Replaced class SBSDKPolygonEdge with SBSDKLineSegment.
    • Replaced enum SBSDKPolygonEdgeOrientation with SBSDKLineSegmentOrientation.
    • Renamed class SBSDKBarcodeType to SBSDKBarcodeFormat.
    • Renamed class SBSDKBarcodeDocumentRootType to SBSDKBarcodeDocumentFormat.
    • Renamed initializer init(barcodeResult:) to init(barcodeItem:) in SBSDKBarcodeScannerAccumulatingResult.
    • Renamed method barcodeScannerController:filterResults: to barcodeScannerController:filterBarcodes: in SBSDKBarcodeScannerViewControllerDelegate.
    • Renamed class SBSDKUI2BarcodeScannerResult to SBSDKUI2BarcodeScannerUIResult.
    • Changed the methods initWithParentViewController:parentView:, initWithParentViewController:parentView:delegate: to initWithParentViewController:parentView:configuration: and initWithParentViewController:parentView:configuration:delegate: in SBSDKBarcodeScannerViewController.
    • Changed all methods of SBSDKBarcodeTrackingOverlayControllerDelegate to use the new SBSDKBarcodeItem object type.
    • Changed the method makeWithBarcode: to use the new SBSDKBarcodeItem.
    • Changed all methods of SBSDKBarcodeScanAndCountViewController to use the new SBSDKBarcodeItem.
    • Changed the methods initWithParentViewController:parentView:, initWithParentViewController:parentView:delegate: to initWithParentViewController:parentView:configuration: and initWithParentViewController:parentView:configuration:delegate: in SBSDKBarcodeScanAndCountViewController.

6.1.0-RC8

07 Nov 13:50
Compare
Choose a tag to compare
  • 🎉 New:
    • Added a new property hardwareButtonsEnabled that enables snapping from the hardware volume buttons and the new hardware camera control button to SBSDKBarcodeScanAndCountViewController, 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 to SBSDKUI2MultipleScanningMode.
  • 🐞 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) in SBSDKUI2BarcodeScannerConfiguration by the static function SBSDKUI2BarcodeScannerConfiguration.fromJson(json: String)?.