v2.1.0
Microsoft Graph Toolkit v2.1
Announcing the general availability of Microsoft Graph Toolkit 2.1! This release introduces a new auth provider for Electron and many improvements to components and providers.
Updating your application
To update your application to use the newest version of Microsoft Graph Toolkit, navigate to your project directory and run:
npm i @microsoft/mgt@latest
If you’re using the Toolkit via mgt-loader
, your application will be automatically updated to the newest version.
New Electron Provider - #868
The Electron provider uses msal-node to sign in users and acquire tokens to use with Microsoft Graph in an Electron application with only few lines of code. This is a brand new package you can install in your electron applications:
npm install @microsoft/mgt-element @microsoft/mgt-electron-provider
Take look at the documentation to learn more, or try the sample to see it in action.
Other improvements
- [mgt-react] Added support for HTML attributes and events, such as className, id, onClick - #855 and #857 (thanks @chingucoding and @tavikukko)
- [mgt-people-picker] Added
disabled
attribute and property - #858 (thanks @Ramakrishnan24689) and #916 (thanks @Abderahman88) - [mgt-person] Added support for searching across the users endpoint - #860 (thanks @aakashbhardwaj619)
- [mgt-person] Added line click events - #882 (thanks @aakashbhardwaj619)
- [mgt-person] Added
avatar-type
property to disable fetching image and use initials - #896 - [mgt-person] Added
fallback-details
attribute when no person/user is found in graph - #900 (thanks @Abderahman88) - [mgt-person] Added templates for metadata lines in person - #906
- [proxy provider] Added consistencylevel header - #886 (thanks @bakerzdozen13)