Skip to content

Releases: verygoodsecurity/vgs-collect-ios

Public release 1.5.0

21 May 11:55
b1ebae4
Compare
Choose a tag to compare

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 the State 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

21 May 10:46
d79ff94
Compare
Choose a tag to compare

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

07 May 13:27
11c6d11
Compare
Choose a tag to compare

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

05 May 14:53
545f71b
Compare
Choose a tag to compare

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

28 Apr 13:10
c8c42bc
Compare
Choose a tag to compare

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

14 Apr 16:29
7099adf
Compare
Choose a tag to compare

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

13 Apr 12:55
Compare
Choose a tag to compare

What's new

Public release 1.3.2

10 Apr 11:45
0490f23
Compare
Choose a tag to compare

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

01 Apr 08:23
c6f460e
Compare
Choose a tag to compare

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

17 Mar 14:29
3f85d54
Compare
Choose a tag to compare

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!