Skip to content

Releases: microsoftgraph/microsoft-graph-toolkit

v1.3.6

07 Nov 01:34
Compare
Choose a tag to compare

Bug fixes:

  • Fixed mgt-person to only require 'Presence.Read' for current signed in user - #697
  • Fixed issue where person would not update when personQuery and userId properties change - #706
  • Fixed setting storeAuthStateInCookie in MsalProvider - #699
  • Fixed type attribute to events property on agenda component -#687 (thanks @jasonjoh)
  • Fixed blur event fire ordering on selection of person in People Picker - #696
  • Fixed font in mgt-tasks arrow options - #722

v2.0.0-preview.3

09 Oct 04:26
03841ed
Compare
Choose a tag to compare
v2.0.0-preview.3 Pre-release
Pre-release

This prerelase update includes the following fixes:

  • Filtered out non-person entities in person card organization - #673
  • Added Files section and updated Profile section in Person Card - #669
  • Fixed cache to cache image state when no image is available - #670
  • Updated mgt-react types in package.json from types.d.ts to index.d.ts (thanks @elav000) - #663
  • Exporting mgt-element from mgt - #661

v1.3.5

01 Oct 00:14
1e82d23
Compare
Choose a tag to compare

Bug fixes:

  • Fixes search in people-picker with type="any" - #644
  • Fixes mgt-Login not firing a loginCompleted event - #609

v2.0.0-preview.1

21 Sep 19:52
24dbe3c
Compare
Choose a tag to compare
v2.0.0-preview.1 Pre-release
Pre-release

Microsoft Graph Toolkit - Version 2.0.0-preview.1

The first look at version 2.0 is here! We've got tons of exciting improvements and fixes across the toolkit. So much good stuff!

Find any bugs or have a feature request? Submit an issue and tell us what you think!

What's New?

  • MgtReact Package
  • MgtTodo Component
  • Person Card redesign preview
  • Caching of Graph calls
  • Dark theming preview for MgtPeoplePicker
  • @microsoft/mgt-element
  • Updated React sample
  • Updated Angular sample

v1.4.0-preview.1

21 Aug 06:38
Compare
Choose a tag to compare
v1.4.0-preview.1 Pre-release
Pre-release

Introducing MgtTodo!

Preview version 1.4.0-preview.1 introduces a new component: MgtTodo.

This new task based component is built on a common base, with API specific features applied on top. This component is a more tailored implementation than the original MgtTasks, and provides more opportunity for differentiation as the underlying Graph APIs mature.

v1.3.4

14 Aug 21:08
1820ff7
Compare
Choose a tag to compare

Bug fixes:

  • Fixes hidden remove button on a selected person when mgt-people-picker is too narrow - #504
  • Fixes banner and footer for privacy and terms of use links - #542
  • Fixes mgt-people-picker default-selected-user-ids deletion issue - #541
  • Fixes incorrectly retrieved contact photo - #545 (Thanks @adrien-chaussabel)
  • Fixes missing readme in mgt package - #555
  • Fixes missing styles in ASP.NET Core ProxyProvider sample - #455

v1.3.3

15 Jul 02:10
Compare
Choose a tag to compare

Bug fixes:

  • Allow undefined photo response in mgt-person - #539 (thanks @MaJaHa95)

v1.3.2

01 Jul 19:35
Compare
Choose a tag to compare

This minor release includes:

  • Fixes broken contact icons bug in person-card #518
  • Fixes background color css bug in person

v1.3.1

30 Jun 16:50
8fc0474
Compare
Choose a tag to compare

This minor release includes:

  • Fixes mgt.dev code editor indentation #307
  • Fixes stroke around person presence status #429
  • Fixes people-picker initial height and name alignment #431
  • Fixed duplicate image issue with person/people-picker #432
  • Fixes people-picker overflow for selected people in IE11 #437
  • Fixes team mouse selection in teams-channel-picker on IE11 #444
  • Fixes teams-channel-picker results dropdown overflow #473
  • Fixes bug where people-picker flyout won't hide in Safari #476
  • Fixes MsalProvider login redirect loop in EI11 #479
  • Fixes repo license not being detected in readme #490
  • Fixes people-picker handling of custom colors in overflow #492
  • Fixes teams-channel-picker overflow handling #493

v1.3.0

10 Jun 18:04
518a36a
Compare
Choose a tag to compare

Microsoft Graph Toolkit - Version 1.3.0

Version 1.3 is here! We've got tons of exciting improvements and fixes across the toolkit. So much good stuff!

Find any bugs or have a feature request? Submit an issue and tell us what you think!

What's New?

Update to msal.js v1.3

The underlying msal.js library has been update to version 1.3. This fixes a redirect loop issue when running in Teams.

New attributes on MgtPerson

  • show-presence: Render the user's presence indicator (Beta)
  • view: Set to control how the person is rendered. Default is avatar.
    • avatar - show only avatar
    • oneline - show avatar and first line (displayName by default)
    • twolines - show avatar and two lines of text (displayName and mail by default)
  • line1-property: Sets the property of the personDetails to use for the first line of text. Default is displayName.
  • line2-property: Sets the property of the personDetails to use for the second line of text. Default is mail.

Deprecated attributes
show-name and show-email are deprecated and replaced by the above properties. However, the component still works if these properties are used. Deprecated attributes will be removed in the next major release.

New attribute on MgtMsalProvider

  • redirect-uri: Specify the redirect uri value to use in Graph requests.

New templating support in MgtLogin

MgtLogin now supports custom templates for overriding parts of the component UX.

  • signed-in-button-content
  • signed-out-button-content
  • flyout-person-details
  • flyout-commands

New attributes on MgtPeoplePicker

  • type: Specify what type to search for. Default value is Person - available options are Any, Person, or, Group
  • group-type: Specify what type of group to search for. This attribute has an effect only when the type attribute is set to Any or Group. Default value is Any - available options are Any, Unified, Security, MailEnabledSecurity, Distribution
  • default-selected-user-ids: Specify users to display by default. Use this to set the initial state and preload the component with known users.
  • placeholder: Update the placeholder text in the input element.
  • selection-mode: Supports single and multiple selection mode.

Templating improvements

  • TemplateHelper.setBindingSyntax(): Change the default binding syntax from double curly brackets to anything else
  • TemplateHelper.globalContext: global context object available for converters and helpers in all templates

[New] React wrappers (preview)

Added a preview of autogenerated React wrappers for mgt components - npm

PR breakdown

MgtLogin

  • Adds support for 'email' property when setting userDetails attribute - #412
  • Adds template support to Login Component - #416

MgtPeoplePicker

  • Adds support for users and groups - #405
  • Adds UI refresh with Dark Mode - #411
  • Updates loading states to match with the MgtTeamsChannelPicker - #421
  • Adds support for defaultSelectedUserIds attribute - #394
  • Adds support for placeholder and selection-mode properties - #427

MgtPerson

  • Adds presence badge to person avatar - #399
  • Adds fetchImage property - #418
  • Fixes issue where presence was not getting cleared - #422
  • Deprecates show-name and show-email attributes in favor of new view attribute - #425

MgtPersonCard

  • Login person card css fix - #415

MgtTeamsChannelPicker

  • Adds default input background color - #420

Other

  • New Sample ASP.NET Core sample - #379
  • Adding setBindingSyntax and globalContext for templates - #460
  • Updates msal.js to 1.3 and fixes TeamsProvider redirect loop - #381
  • Adds redirect-uri attribute to MsalProvider - #403
  • Ensures types are correct and exported - #414
  • Assorted bug fixes