Skip to content

Release 4.1.0

Compare
Choose a tag to compare
@adamchel adamchel released this 27 Nov 20:56
· 101 commits to master since this release
  • Packages are no longer exposed as UMD modules. Packages are exposed as either a CommonJS module (via the “main” field in “package.json”), or as an ES6 module (via the “module” field in "package.json").
    • This was done because the React Native bundler cannot handle UMD modules produced by TypeScript (facebook/metro#225). Most use cases that were handled using our UMD modules as AMD modules can now be handled using our ES6 modules, or our pre-bundled hosted modules as described in our Browser SDK README. Please open an issue if you have any trouble using the SDK.
    • As a side-effect, the React Native SDK now officially supports the latest version of React Native (0.57.0)
  • minAge and maxAge in StitchUserProfile are now exposed as Strings instead of numbers. This is to more accurately the reflect the response returned from the API, and to protect against invalid API responses that aren’t numbers
  • Fixed a bug in getAppClient in the Stitch class that prevented getting initialized app clients without an error being thrown.