[Swift] 4.0.0-alpha.6
Pre-releaseBreaking changes
None.
Additive changes
Telemetry opt-out configuration
Checkout Kit now reports limited, anonymous diagnostic metrics — checkout errors, protocol decoding failures, navigation retries, and checkout navigation timing. A new telemetry configuration controls it:
ShopifyCheckoutKit.configure {
$0.telemetry.enabled = false
}Telemetry is enabled by default. Disabling it at runtime stops new collection and discards measurements that have not already been handed to the operating system for delivery. Diagnostics never include checkout URLs, message payloads, buyer data, or checkout, order, customer, or shop identifiers.
Behaviour changes
Anonymous diagnostic metrics are reported by default
Unless telemetry is disabled via the configuration above, the SDK exports bounded, anonymous diagnostic metrics to Shopify on a periodic interval. See the telemetry section of the README for exactly what is and is not collected.
Repeated preloads refresh the cached entry
Calling preload(checkout:) again for the same checkout now refreshes the cached web view instead of being ignored, without disrupting a checkout that is currently presented. A checkout being presented from the cache is preserved during the refresh.