Releases: verygoodsecurity/vgs-collect-ios
Releases · verygoodsecurity/vgs-collect-ios
Public release 1.5.0
What's new
- In this release we finally removed
Alamofire
as networking manager dependency. Now the SDK is more lightweight. - Added
inputLength
&cardBrand.cardLength
attributes to theState
object.
Changes
Since now Alamofire
is removed, that means that vgsCollect.submit(_:)
& vgsCollect.submitFile(_:)
methods are deprecated and removed too. Follow the MIGRATING.md for more details.
Public release 1.4.2
What's new
Two new api calls added: sendData(_:) and sendFile(_:). Request from this api calls are made with native URLSession. This will help us to remove Alamofire dependency in next versions.
Changes
We will remove Alamofire dependency in v1.5.0. This will cause that submit(_:) and submitFile(_:) api calls will be removed too. Please update your api calls to sendData(_:) and sendFile(_:) before upgrading to v1.5.0.
Public release 1.4.1
Fixes & Updates
- In last release we have renamed some files and our unit test were broken, so we miss a bug when submit(:) request can return nil. In this release we fixed unit test and bug. Don't forget to update SDK version in your app.
Public release 1.4.0
What's new
- Distribution via Carthage - now it's possible to integrate VGSCollectSDK via Carthage. Check integration guides how to do it.
Changes
We did project structure refactoring and rename some files. By the way that should not have impact on your project if you already use our SDK.
Public release 1.3.5
What's new
- Divider - new VGSConfiguration attribute. If set, this will add divider string to the input text in submit request.
- Now we support two expiration date formats: MM/YY & MM/YYYY. Change formatPattern to "##/##" or "##/####" accordingly.
Changes
- Now input from VGSTextField with type .expDate will be send to backed with divider / in format "MM/YY". You can change default format by setting .formatPattern and .divider in field configuration.
Public release 1.3.4
Fixes & Updates
- Fix validation state for fields with type .cardHolderName when input is not empty.
- Update validation for fields with type .expDate. Now date is valid if it starts from current month.
Public release 1.3.3
What's new
- We add and improve tons of comments to our public API. As a result we released SDK Reference Docs which you can find at https://verygoodsecurity.github.io/vgs-collect-ios/
- While documenting our code we did internal SDK improvements
Public release 1.3.2
What's new
- We update card brand detection and validation algorithms. Now in CardState you can detect different brands for Visa Electron vs. Visa.
- We also add support for more card numbers with different card lengths.
Changes
- In CardState last4 digits and bin number now available for only valid card numbers.
- Fix card icon appearance, when textfield not active yet.
Public release 1.3.1
What's new
- Dynamic CVC validation. Now we track input card number and edit enabled CVC digits to 3 or 4, that depends on card brand.
- More customisation fields for VGSTextField. Now you can setup attributed placeholder and keyboard appearance.
Changes
- Now on VGSCollect.submit(_:) we will return only one VGSSDKErrorInputDataIsNotValid error key for fields that set as "isRequired" or "isRequiredValidOnly". Details about fields with error provided in error userInfo dictionary.
Public release 1.3.0
What’s new:
- We present a new cool feature: VGS File Picker! Now you can collect files and images using our SDK. It's more simpler then native iOS file pickers. As usually validation and uploading functionality is done under the hood. Try it out!