Skip to content

3.5.0

Latest

Choose a tag to compare

@kieran-osgood-shopify kieran-osgood-shopify released this 24 Feb 09:32
· 3 commits to main since this release
917809c

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:

Sample App Improvements

This release introduces authentication into the sample application and connects the auth state to Checkout

Maintenance

New Contributors

Full Changelog: 3.4.0...3.5.0