Releases: Shopify/mobile-buy-sdk-ios
3.0.5
3.0.4
3.0.3
- Removes
Crypto
andCryptoTests
targets and framework dependency. - Fixes an issue with the card vaulting services that returned invalid vault IDs.
- Minor fixes in the sample application
Schema changes
- Adds
sortKey
parameter forproducts
field inStorefront.Collection
- Adds a new
Storefront.CurrencyCode
- Adds
customerLocale
field onStorefront.Order
- Adds a
Storefront.PaymentSettings
type to encapsulate payment information such ascardVaultUrl
,countryCode
and more. - Adds
productTypes
field onStorefront.Shop
3.0.2
- Updates Crypto implementation to rely on
libCommonCrypto
instead of custom implementation - Adds tests for Crypto target
- Adds support for CocoaPods
- Xcode project and filesystem clean-up
- Adds test to verify sample application compiles on CI
- Adds issues and pull request templates
- Adds documentation and examples for customer operations (account creation, login, list orders, etc)
Schema changes
- Reduces number of supported query parameters for
Customer.orders
- Adds
phone
parameter toCustomerCreateInput
- Adds
phone
parameter toCustomerUpdateInput
- Adds
formattedArea
toMailingAddress
- Reduces sort keys exposed for customer orders
- Adds
availableForSale
instead ofavailable
inProductVariant
- Adds ability to fetch a collection or product by handle
3.0.1
- Updates CI configurations to be more robust
- Exposes a test shop with credentials for the sample app, which can now be run with zero configuration out-of-the-box!
- Updates Dynamic Framework installation instructions to be more comprehensive and clear.
- Minor bug fixes in the sample app.
3.0
2.1.0
Motivation
This version of the SDK brings new features, functionality and long awaited bug fixes to allow merchants to have a stronger Shopify integration within their mobile applications.
Updates
The most significant changes to the SDK are as follows:
BUYClient+Storefront
-
Allow collections to be retrieved by IDs
- (NSOperation *)getCollectionsByIds:(NSArray<NSString *> *)collectionIds page:(NSUInteger)page completion:(BUYDataCollectionsBlock)block
-
Support for getting product tags by collection
- (NSOperation *)getProductTagsInCollection:(NSString *)collectionId page:(NSUInteger)page completion:(BUYDataTagsListBlock)block
-
Allow products to be retrieved by a list of tags
- (NSOperation *)getProductsByTags:(NSArray<NSString *> *)tags page:(NSUInteger)page completion:(BUYDataProductsBlock)block
-
Allow a custom page size to be set based off the type of data being fetched
-
BUYProduct
- A
minimumPrice
property has been added to obtain the minimum price of a product when considering all the variants
- A
BUYCheckout
-
Allow for a discount code to be set onto the checkout (passing in
nil
will remove the discount from the checkout)- (void)setDiscountCode:(nullable NSString *)code
-
For more info about the changes made in this version please read CHANGELOG.md
2.0.1
This is a bugfix and maintenance release.
- removes ShippingRate.identifier -- this property does not exist and using it causes bugs
- fix arg ordering in -[BUYClient(Storefront) getProductTagsPage:completion]
- fix issues in tests
- fix issues in sample apps
- fix issue when running on iOS 9 simulator in Xcode 8 via CocoaPods
2.0.0
- Added customer login support
- Simplified checkout handling
- Improved support for error parsing
- Standardized API client interfaces (see
BUYClient
) - Removed dependencies on deprecated APIs
- Updated sample app, including addition of Customer account sample code
- Support for caching using Core Data