Skip to content
This repository was archived by the owner on May 20, 2022. It is now read-only.

v4.0.0

Choose a tag to compare

@github-actions github-actions released this 28 Oct 17:17
· 19 commits to master since this release

4.0.0 (2021-10-28)

Please see the CHANGELOG for instructions on migrating from v3. Thanks for using react-native-msal!

Bug Fixes

  • default broker_redirect_uri_registered to false (2c87f0b)
  • android: add permissions in library so user doesn't have to (872f223)
  • android: check for nulls (8cb65db)
  • android: fix using wrong matcher (ca7bc12)
  • android: make sure the provided authority makes it in the authority list (50c7d3c)
  • example: fix android example (0820270)
  • expo: add AppDelegate changes to ios config plugin (df66e7e)
  • expo: improve AppDelegate plugin (31b2bab)
  • expo: improve expo plugin (eb2de18)
  • expo: use package name in msauth url scheme directly (b08f78f)
  • export PublicClientAppliation class again, remove createPublicClientApplication function (dc5c4ae)
  • tests import (f29f4da)
  • expo: improve AppDelegate plugin (6e72a1a)
  • ios: check for nils (8fd2538)
  • publish: npmignore files (cd1737b)

Code Refactoring

  • change expo config plugin params shape (62ff152)
  • expo: change accepted plugin parameters (83c7b8f)

Features

  • create PCA with async function instead of class constructor (087a7e7)

  • android: remove need for msal_config.json file (c4f1f21), closes #72

  • expo: add expo config plugin (77ef5df)

  • chore(deps)!: upgrade MSAL Android to 2.1.+ (d267ea9)

  • feat(android)!: configure android options in code (ca145aa)

  • fix!: some methods on PCA can return undefined (a80b7f2)

Performance Improvements

  • remove unncessary files, reducing package size (9d2a78d)

BREAKING CHANGES

  • remove nested config plugin params
  • expo: expo config plugin parameters have changed
  • createPublicClientApplication function no longer exported
  • PublicClientApplication class no longer exported
  • requires users to add maven url dependency to their app
  • msal_config.json is ignored; all options are passed through PCA constructor
  • acquireToken/Silent and getAccount may return Promise<undefined>