·
3 commits
to main
since this release
Features
Deprecations
The full Customer configuration property is deprecated, it will become an error in v4:
const config: Configuration = {
customer: {
email: '',
phoneNumber: '',
accessToken: '',
}
}Instead you should prefer the following union of constructors:
// User is signed in with Shopify Customer Accounts
const config: Configuration = {
customer: {
accessToken: '',
}
}
// User is authenticated via your own system
const config: Configuration = {
customer: {
email: '',
phoneNumber: '',
}
}🪲 Bug Fixes
This release migrates the native Swift dependency to v3.5.0 which includes the following fixes:
- Missing Shipping Contact Phone Number by @kieran-osgood-shopify in Shopify/checkout-sheet-kit-swift#522
- Closes: #381
- AcceleratedCheckouts.Customer doesn't apply to
<AcceleratedCheckouts {...{variantID, quantity}}by @kieran-osgood-shopify in Shopify/checkout-sheet-kit-swift#522 - Conflicting Customer accounts by @kieran-osgood-shopify in Shopify/checkout-sheet-kit-swift#522
- Crash Cross actor hop crash when double pressing Apple Pay by @kieran-osgood-shopify in Shopify/checkout-sheet-kit-swift#527
Sample App Improvements
This release introduces authentication into the sample application and connects the auth state to Checkout
- [Sample] Add vaulted state settings to checkout as guest / static / customer accounts by @kieran-osgood-shopify in #428
Maintenance
- reduce mocking, remove wildcard imports, and use fluent assertions by @kiftio in #357
- Bump actions/stale from 10.0.0 to 10.1.0 by @dependabot[bot] in #352
- Bump org.assertj:assertj-core from 3.27.5 to 3.27.6 in /sample/android by @dependabot[bot] in #344
- Update CONTRIBUTING.md with additional step by @kiftio in #370
- Fix link for custom Web Pixel events by @masonmcelvain in #425
- Revert "Fix link for custom Web Pixel events" by @kieran-osgood-shopify in #429
New Contributors
- @masonmcelvain made their first contribution in #425
Full Changelog: 3.4.0...3.5.0