All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Added some missing stubbed missing implementations so they can be used before proper Userflow.js is loaded from CDN.
module
build in ESM format.- It will now detect whether the user's browser supports ES2020 features and load either a modern Userflow.js version (small and fast in modern browsers) or a legacy Userflow.js version (larger but supports older browsers).
- Now only using ES5 syntax (enforced via ESLint rules) to possibly support IE11 without transpilation one day.
- BREAKING CHANGE: The scripts are now loaded from
js.userflow.com
instead ofjs.getuserflow.com
, which means your app's Content Security header may need an update. Please consult our CSP guide.
loadUserflow()
was removed. Calling any of theuserflow.*()
methods will automatically load Userflow.js from CDN.- Deprecated
userflow.startFlow()
was removed. Useuserflow.start()
instead. - Deprecated
userflow.endAllFlows()
was removed. Useuserflow.endAll()
instead. - Deprecated
IdentifyParams
type was removed. UseAttributes
instead. - Deprecated
immediate: boolean
option was removed - no longer relevant.