Releases: microsoftgraph/microsoft-graph-toolkit
v1.1.0
This release introduces the mgt-get component, the Proxy provider, and many improvements and bug fixes to existing components:
New Component: mgt-get
A new component that allows you to make any GET query from Microsoft Graph directly in your HTML. The component does not provide a default UI and requires the developer to write a template. Read the docs for more details
Example
<mgt-get resource="/me/messages" version="beta" scopes="mail.read" max-pages="2">
<template>
emails: {{value.length}}
</template>
<template data-type="loading">
loading
</template>
</mgt-get>New Provider: ProxyProvider
A new provider that proxies all Microsoft Graph requests to your own backend. This enables developers to still use server side authentication while enabling all the components to access the Microsoft Graph. Read the docs for more details
Updates and Fixes
Person Card
- Added
inherit-detailsattribute to make it easier to re-template the person card component inmgt-person- #155 - Added new way to render flyouts and ensure they are always within window bounds when possible - #222
- Fixed in issue where mailto link was blocked in an iframe - #201
- Fixed issue opening person-card with touch - #228
People Picker
- Added
selectedPeopleproperty to get and set the selected people - #157 - Added new loading view when the graph call takes longer than 400ms - #163
- Added the
loadinganderrortemplates - #163 - Added hover states when hovering over people that can be selected - #163
- Updated cursor to react appropriately when hovering over people and buttons - #163
- Fixed issue where the wrong image would be displayed for a person - #188
Person
- Added image to data context for default template - #177 (thanks Michael Huynh)
- Fixed an issue where the color of the person could not be updated - #166 (thanks Harrison)
- Fixed initials not resizing with the component - #200
- Fixed issue where person with and without image were not rendered the same - #207
- Fixed an issue where the person-card was closing too soon - #209
Tasks
- Added ability to assign or change assignment of people - #188
- Added person card on hover of assigned people - #188
- Added new templates for tasks (
taskandtask-details) - #188 - Added new property (
isNewTaskVisible) to programmatically show the new task view - #188 - Added the
taskClickevent that fires when a task is clicked or tapped - #188 - Added new attribute (
group-id) to only load tasks for a specific group - #190 (thanks Iryna Mykoliuk) - Added new function property (
taskFilter) to allow filtering of tasks - #211 - Fixed an issue where the the timezone was not handled appropriately and would break adding tasks - #171
Login
- Fixed issue where sign out was not doing a real sign out - #225
Agenda
- Added
eventClickevent when event is clicked or taped - #181
People
- Added
person-cardattribute to enable person card on hover or click - #188 - Added
user-idsattribute to populate component with only user ids - #188 - Fixed an issue where images with and without initials were missaligned - #175 (thanks Loagan Arnett)
- Fixed alignment of overflow count - #208
Templates
- Optimized slot re-rendering - #186 (thanks Michael Huynh)
- Added
$indexand$parentproperties - #196 - Fixed exception when empty template was used in a component - #156
- Fixed an issue where template children were rendered out of order - #195
v1.0.0
First general availability release!!!
All components and providers are now generally available and supported. This includes:
Components:
Providers:
This release introduces a new component, the person card (mgt-person-card #145), and many different improvements and bug fixes, including:
- Added
group-idproperty tomgt-people- #150 - Fixed end date calculation for
mgt-agenda- #147 (thanks Jason Johnston) - Fixed
show-maxonmgt-people-picker- #143 - Fixed event handler handling in
mgt-people-picker- #141 - Fixed mouse tracking in
mgt-people-picker- #139 - Fixed visibility of
mgt-personafter logout - #145 - Fixed sign out issue in MsalProvider - #145
- Fixed broken loading state in MsalProvider - 962d62a
v0.2.2
-
Updated all components to latest accessibility guidelines #126
-
PeoplePicker - #136
- fixed highlighting first person
- fixed loading delay
- fixed person overflow on narrow views
- vertically centered name and cross button
- removed random console.log
-
TeamsProvider improvements and bug fixes #132
- Added scope attribute to mgt-teams-provider
- Added loginHint to attempt SSO in Teams
- Fixed bug with teams-provider not respecting scopes when authenticating
- Fixed bug where authentication succeeds but teams reports user canceled the authentication
- Fixed TeamsProvider.isAvailable - it now works on all platforms
- Added ability to specify teams library via code #128
-
Added depends-on attribute to all provider components to enable usage of multiple providers on a single page #132
-
Random:
v0.2.0
Components:
- NEW PeoplePicker - Nicolas Vogt [PR]
- Agenda
- Added group-id and show-max attributes - [PR]
- Tasks
- Added hide-header attribute - [PR]
Providers:
- MsalProvider
- Fixed MsalProvider.getAccessToken() not rejecting a promise and returning null - [PR]
Developer Experience:
v0.1.1
This update includes
-
Tasks component updates:
- Fixed issue where target-id and initial-id were not working in certain scenarios
- Added loading UI when tasks are loading
- Fixed issue with due DateTime being set to 1970 for new todo tasks
-
Experimental property to disable shadow dom for components
-
Teams provider update to remove dependency on the Teams js sdk