All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- fix broken content-type in the multipart form that caused 403 HTTP status for the /find/v1.1 endpoint if a filter is provided.
- Fix a bug where the barcode scanner was doing a lookup on an empty table if the user didn't provide its own table.
- Fix a race condition that caused the scanning zone of intreset to be empty, denying any scan on the way.
- Add a Barcode sample project to help using nyris camera and scanner.
- Rename codebarScannerDelegate to barcodeScannerDelegate
- Update the readme to include more details on the camera manager usage and features.
- Remove ClassName and change classId type to optional Int.
- Fix a bug on normalizing Rectangle and change the normalized type to CGRect
- Explicitly set the image content mode to
scaleAspectFill
in CameraManager's methodtakeScreenshoot
. - Ensure capturing session start and stop will run on a background queue.
- Add normalization method to
Rectangle
structure .
- Added Filtering API.
- Added Feedback API
- Services that used to returns an array of Offer will now return OfferResult (ImageMatchingService, SearchService).
- OfferResult now contains requestID and sessionID to be used with Feedback API and ImageMatchingService.
- Fix a bug in deserialization of Offer when customIds contains a property with null as a value.
- Add the ability to use different endpoints.
- Add HeaderMapper protocol to allow mapping of headers entries if the SDK is used with a proxy.
- Remove unused code from URLBuilder.
- Expose default endpoints via NyrisDefaultEndpoints.
- Rename Endpoints structure to NyrisDefaultEndpoints.
- Rename LiveEndpoints to NyrisLiveEndpoints.
- Remove EnvironmentMode enum and it's usage.
- Rely on NyrisClient singleton to provide EndpointsProvider to services.
- Remove NyrisLiveEndpoints structure.
- Migrate region API to V2.
- Change deprecated AVVideoCodecJPEG to use AVVideoCodecType.jpeg instead.
- Add swiftlint support for M1 architecture in build phases.
- Set minimum deployment target to be iOS 12.
- Delete internal SDK target.
- Add support for Swift package manager.
- Change class to AnyObject in Protocole conformance.
- Use 1024x1024 as default resizing size on resizeWithRatio.
- Convert the SDK to Swift 5.x
- Use area based resize algorithm to resize images to a server-valid dimension.
- Enforced explicit access Control Level
- Add class and method comments
- Add
useDeviceRotation
as default parameter to Camera manager setup method to subscribe to device orientation.
- Fix typo in CaptureMode enum case : from
continus
tocontinuous
- Fix typo in CameraConfiguration.swift : from
func codebarScanConfiguration
tofunc barcodeScanConfiguration
. - Fix typo in BaseAPIRequest.swift : from
var accepteLanguage
tovar acceptLanguage
- Fix typo in EnvironmentMode.swift : from
case developement
tocase development
- Fix typo in URLBuilder.swift : from
func appendQueryParametre
tofunc appendQueryParameter
- Fix typo in URLBuilder.swift : from
func appendQueriesParametres
tofunc appendQueriesParameters
- Rename
CodebarScannerDelegate.swift
file toBarcodeScannerDelegate.swift
- Rename
ProductExtrationService.swift
file toProductExtractionService.swift
- Rename protocol
protocol CodebarScannerDelegate
toprotocol BarcodeScannerDelegate
inBarcodeScannerDelegate.swift
file - Rename class
class CodebarScanner
toclass BarcodeScanner
inBarcodeScannerDelegate.swift
file - Rename class
class CodebarScanner
toclass BarcodeScanner
inBarcodeScannerDelegate.swift
file - Fix typo in
ProductExtractionService.swift
: fromfunc parseExtractionRespone
tofunc parseExtractionResponse