Releases: microsoftgraph/microsoft-graph-toolkit
Releases · microsoftgraph/microsoft-graph-toolkit
v4.3.0
v4.2.5
4.2.5 (2024-09-04)
Bug Fixes
- dialog content z-index (#3285) (3e8b0f5)
- display contact icons with personDetails (#3276) (e685aee)
- display default selected users and groups while disabling suggestions (#3279) (dfccd65)
- remove picker focus when using selectUsersById (#3282) (440211b)
- update the css query and events used to rename copy button aria-labels (#3271) (439d0fc)
v4.2.4
4.2.4 (2024-08-06)
Bug Fixes
- add headers when people-picker has input (#3269) (ba87c32)
- add padding to the list of direct reports in person-card (#3265) (8036278)
- check the options scopes are not empty when getting access token (#3256) (432d8ce)
- implement caching on the card state for person card (#3266) (06cd925)
- remove space in findUsers query (#3267) (096a50d)
- show login component flyout on after login (#3250) (62b1ed4)
- use a consistent cachekey in file list cache (#3257) (5551351)
v4.2.3
4.2.3 (2024-07-02)
Bug Fixes
- a11y: add stackblitz button styling for high contrast theming (#3213) (cb7621a)
- a11y: correctly narrate tab status in storybook editor (#3220) (7932f55)
- a11y: narrate person list position in mgt-agenda (#3221) (463687d)
- add userPrincipalName as an option in findPeople query (#3206) (97fe1c0)
- correct storybook overview component links (#3223) (5a94bfa)
- display only a person's shared files in mgt-person-card (#3238) (da90c5b)
- display only available person-card contact icons on mgt-person-card (#3237) (1f080d9)
- mgt-planner task deletion on keyboard interaction (#3214) (0ef8dd7)
- update tabbing behavior on person when closing person-card (#3193) (6a93c6e)
v4.2.2
4.2.2 (2024-05-30)
Bug Fixes
- a11y: alert files reloaded on mgt-file-list (#3191) (3ac37de)
- a11y: announce expanded/collapsed state of options menu in mgt-planner (#3186) (6e51044)
- a11y: announce when no matches are found in people-picker (#3180) (bfa4af8)
- a11y: correct file upload button and file line-1 color contrast in mgt-file-list (#3177) (ae31d26)
- a11y: correct luminosity contrast in mgt-agenda custom styles (#3179) (b11f9c7)
- a11y: correct luminosity contrast in mgt-file and mgt-login text colors (#3178) (b42c743)
- a11y: correct mgt-get email story (#3194) (066e58c)
- a11y: correct mgt-person-card line-3 text color contrast in custom styles (#3176) (c5c1e53)
- a11y: correct people-picker placeholder luminosity contrast (#3175) (6acfbe7)
- a11y: focus on uploaded file and narrate status (#3189) (7f9eac3)
- a11y: person-card style contrast (#3174) (8078496)
- a11y: set the title and aria-label for the screen sizing buttons (#3188) (6395096)
- a11y: use descriptive alt text for file icon in mgt-file (#3195) (9f0799e)
- adds color variable for date and summary in mgt-search-results (#3153) (35b86ff)
- mgt-channel-picker icons tab behavior (#3185) (ef846d5)
v4.2.1
v4.2.0
4.2.0 (2024-03-27)
Features
Bug Fixes
- a11y: fix forced colors for file upload button (#3114) (81826d9)
- add a custom font-size token to people-picker (#3069) (bc8423c)
- add a shimmer for the loading state of person component (#3009) (daf0cf9)
- add aria-label text string for teams chevrons (#3129) (bc1fedf)
- disable input in single select mode and default userIds and groupIds (#3119) (948b078)
- prevent undefined account error when logging out (#3082) (da77913)
- theme colors for mgt-search-results (#3116) (ae5e343)
v4.1.0
v4.0.1
v4.0.0
4.0.0 (2024-02-05)
⚠ BREAKING CHANGES
- mgt-loader.js is removed and there is no support for es5 only browsers direct from CDN. Developers loading mgt from a CDN must use module syntax and explicitly initialize their applications.
- mgt-spfx is deprecated, use disambiguation instead
- ViewType is now a string union type and not an enum
- UserType is now a string union type and not an enum
- PersonType is now a string union type and not an enum
- GroupType is now a string union type and not an enum
- groupType property on MgtPeoplePicker is now a GroupType[] not a GroupType that is a bitmask of the desired group types. Developers using the group-type attribute will find the behavior unchanged.
- the avatarType eunm has been renamed to AvatarType for consistency and converted to a string union type
- the ResponseType for mgt-get is now a string union type and not an enum
- PersonCardInteraction is now a string union type and not an enum
- convert attribute enums to string unions (#2962)
- PersonViewType has been removed. 'avatar' is no longer a valid value for the 'view' attribute on the 'mgt-person' component
- permissions: applications using mgt-person with fetch-image and person-detal where the supplied value is a group will now need to consent to either Group.Read.All or Group.ReadWrite.All. This replaces the existing behavior where the group image would silently fail to load and show an http 403 error in the console.
- permissions: minimal permission for planner calls changed from Group.ReadWrite.All to Tasks.ReadWrite for write operation and from Group.Read.All to Tasks.Read for read operations.
- prepScopes now accepts an array of scopes, this is checked against the set of currently consented scopes for the user. If any of the supplied scopes are found, then no additional scopes are requested. If no match is found, then the user will be prompted to consent to the first scope in the supplied array of scopes
- mgt-tasks has been removed and replaced with mgt-planner. mgt-planner does not support data-source switching to fetch data from the outlook tasks apis any longer.
- Developers must explicitly call the register function for all web components used in their application when using components from
@microsoft/mgt-components
. Importing from the root of@microsoft/mgt-components
no longer has an automatic registration side effect. NOTE Components from@microsoft/mgt-react
will automatically register the underlying web component when they are used for the first time. - MgtPersonCard no longer has a static config property.This config has been moved to the MgtPersonCardConfig class to allow developers to import the config and associated getMgtPersonCardScopes function at the top level of their applicaiton without automatically adding the weight of the full mgt-person-card component and dependencies to the entry file for their applications.
- default behavior of mgt-people-picker changes so presence is not shown unless show-presence attribute or showPresence property are set
- applications importing
@microsoft/mgt-react
but not using the wrapper components will not have components automatically registered in the browser. This leads to a breaking change when these applications emit raw web component markup rather than using the wrapper components.
Features
- add edit funtionality to mgt-todo (#2783) (64acd1f)
- add ElectronContextBridgeProvider (#2914) (8900eb4)
- add optional person-card to people picker (#2900) (65ca8e2)
- add show-presence to mgt-people-picker (#2812) (f5bf7cc)
- add support for nested values in mgt-picker key-name (#2917) (e79fbdc)
- automatically convert disambiguation value to lowercase (#2898) (992ab85)
- convert attribute enums to string unions (#2962) (18d0aec)
- deprecate mgt-spfx package (#2940) (3da9560)
- enable live code inclusion for consuming applications (#2642) (c41d719)
- enable user sign-in for storybook (#2851) (335c2f3)
- promoting search components to GA (#2909) (86697f4)
- remove mgt-loader (#2963) (ea0f71b)
- rename mgt-tasks to mgt-planner (#2890) (df8af8c)
- require explicit component registration (#2848) (b7db262)
- scope aware requests (#2797) (81d124b)
- split config and permission methods out of mgt-person-card (#2840) (8177699)
- use
@lit/task
to schedule async data fetching (#2912) (14a96ff)
Bug Fixes
- add connect img and frame csp directives (#2910) (20eb7fc)
- add detail-line part attribute to person component (#2999) (b254e49)
- add focus on input field when you click the button to add a new task (#2994) (573fa45)
- add method to clear selected channel in mgt-teams-channel-picker (#2865) (c3a3d82)
- adding headers and count on all potential advanced aad queries (#2920) (90b2dd1)
- clean-up react-contoso homepage (#3008) (c8c564d)
- color inversion on suggestion list (65ca8e2)
- consolidate person view types (#2943) (6d44a17)
- correct completion of todo items (#3018) (52d8ad9)
- correct filter concatenation in mgt-people-picker (#2822) ([18925a9](https://github...