Skip to content

Releases: Shopify/mobile-buy-sdk-ios

3.0.5

21 Jul 19:08
Compare
Choose a tag to compare

Release notes

  • Fixes PayPostalAddress to support contact information without a postal address
  • Allow PaySession to support checkouts that don't require shipping

3.0.4

17 Jul 13:03
Compare
Choose a tag to compare

Release notes

  • Fixes deprecation annotations.

3.0.3

12 Jul 19:47
Compare
Choose a tag to compare
  • Removes Crypto and CryptoTests 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 for products field in Storefront.Collection
  • Adds a new Storefront.CurrencyCode
  • Adds customerLocale field on Storefront.Order
  • Adds a Storefront.PaymentSettings type to encapsulate payment information such as cardVaultUrl, countryCode and more.
  • Adds productTypes field on Storefront.Shop

3.0.2

23 Jun 17:28
Compare
Choose a tag to compare
  • 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 to CustomerCreateInput
  • Adds phone parameter to CustomerUpdateInput
  • Adds formattedArea to MailingAddress
  • Reduces sort keys exposed for customer orders
  • Adds availableForSale instead of available in ProductVariant
  • Adds ability to fetch a collection or product by handle

3.0.1

08 Jun 14:21
Compare
Choose a tag to compare
  • 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

02 Jun 20:22
Compare
Choose a tag to compare
3.0

Version 3 introduces a new paradigm for the Buy SDK, which is now built entirely on top of GraphQL. This release is not backwards compatible with previous versions of the Buy SDK.

2.1.0

21 Nov 21:29
Compare
Choose a tag to compare

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
  • 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

29 Sep 17:00
Compare
Choose a tag to compare

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

04 Aug 17:59
Compare
Choose a tag to compare
  • 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

1.2.6

22 Mar 19:58
Compare
Choose a tag to compare
  • ApplePay helper method callback on main thread
  • fix potential race condition for Apple Pay
  • support for Collections API with pagination
  • Inject ProductId in LineItem object when instantiated with variant