Releases: verygoodsecurity/vgs-collect-ios
Releases · verygoodsecurity/vgs-collect-ios
Public release 1.7.2
What’s new
- Swift Package Manager update for handling resources.
- PATCH and DELETE HTTP methods support.
- Functionality to disable/enable tracking analytics:
VGSAnalyticsClient.shared.shouldCollectAnalytics = false
Public release 1.7.1
What's new
- Custom Hostnames support added.
- Replaced PDF Card Brand icons with PNG analogs, which allows to significantly decrease SDK size.
- New VGSCollect init constructor.
- Functionality for manually unsubscribing VGSTextFields from VGSCollect:
vgsCollect.unsubscribeTextField(textField)
. - Maestro cards regex extended to support card numbers starting with
56
,57
,58
.
Public release 1.7.0
What’s new
- New card scanning solution - CardScan(Bouncer) SDK
- Added
SwiftPM
support for Core Module(beta) - Updated
CardIO
version to be available withXcode12
- Extended
CardIO
public attributes CardIO
&CardScan
modules now are optional for Carthage Users
Changes & Updates
If you use CardIO and integrate with Carthage, from now it's required to import VGSCardIOCollector.framework
build in your application Target Build Phases
and Linkend Frameworks
settings. Check more details in our Migrating guides.
Public release 1.6.3
What's new
• Skip manual card data entry after scanning in CardIO with suppressScanConfirmation
attribute.
• Update CardIO version to 5.5.3.
• Internal features analytics.
Public release 1.6.2
What's new
- Functionality to set default value into
VGSTextField
- Functionality to clear
VGSTextField
input - More use-cases added to Demo App
Public release 1.6.1
What's new
- New
VGSExpDateTextField
- textfield with date picker instead as input source. - New
keyboardAccessoryView
- top view in textfield's keyboard. - New
autocorrectionType
- attribute to switch on/off auto correction in textfield.
Public release 1.6.0
What's new
- Functionality for adding Custom Payment Card Models and editing default card models in SDK. Now it's possible to customize and validate any Card Brand. Check
VGSPaymentCards
for more details. CardBrand
enum got new type:custom(brandName: String)
that should be used when creating Custom Payment Card Models.- Dynamic format patterns for Payment Cards. Now you can set card numbers format for each specific Card Brand.
- Multiple regions support added.
Changes & Updates
- From now
.formatPattern
that was defined throughVGSConfiguration
will be ignored for fields with type.cardNumber
. To be more flexible we released dynamic format patterns for each Payment Card Brand. Check our default format patterns inVGSPaymentCards.swift
file, and update it if needed for each specific Card Model:
VGSPaymentCards.amex.formatPattern = "#### ###### #####"
- Changes in namings:
SwiftLuhn -> VGSPaymentCards
CardType -> CardBrand
Public release 1.5.5
What's new
- Validation Rules - we add pre-build validation rules which you can apply to any
VGSTextField
. Now if you need to collect text data with type that is not yet supported by SDK and want to be sure it's valid, create your own validation rules set. Moreover, now you can customize existing validations. - Validate Payment Card Brands that not supported by SDK - in case if you need to collect payment cards which not supported by SDK (
CardType.unknown
) and want to validate them by length and Luhn algorithm, you can turn on unknown brands validation throughVGSValidationRulePaymentCard
rule attributes. - Validation Errors - now if
VGSTextField
is not valid, you can checktextfield.state.validationErrors
array that containsVGSValidationError
from each failed validation rule check.
Changes
If you collect card expiration date with long year format mm/yyyy
, you should update validation rule for your VGSTextField
and specify that long date format should be valid:
expDateConfiguration.validationRules = VGSValidationRuleSet(rules: [
VGSValidationRuleCardExpirationDate(dateFormat: .longYear, error: VGSValidationErrorType.expDate.rawValue)
])
Public release 1.5.4
What's new
- Add support of new card brand: UnionPay, Elo, Dankort and Forbrugsforeningen. Also card brand detection regexes improved.
- New
State
attribute isDirty will show ifVGSTextField
was edited. - Add support for long year format(YYYY) setting from card.io.
Fixes & Updates
- Fixed issue with card brand conflicting constraints when card image higher than
VGSCardTextField
. - Now card.io logo is hidden by default on card scan screen.
Public release 1.5.3
Fixes & Updates
This release include fixes & updates of cards detection and validation regex. Fixed Visa card numbers valid range.