|
| 1 | +--- |
| 2 | +title: SharePoint Framework v1.17 preview release notes |
| 3 | +description: Release notes for the SharePoint Framework v1.17 preview release |
| 4 | +ms.date: 2/16/2023 |
| 5 | +ms.localizationpriority: high |
| 6 | +--- |
| 7 | +# SharePoint Framework v1.17 preview release notes |
| 8 | + |
| 9 | +This release introduces updates across the features around Microsoft Viva, Microsoft Teams, Outlook, Office and SharePoint. |
| 10 | + |
| 11 | +[!INCLUDE [spfx-release-beta](../../includes/snippets/spfx-release-beta.md)] |
| 12 | + |
| 13 | +- beta.0 **Released:** February 23, 2023 |
| 14 | + |
| 15 | +[!INCLUDE [spfx-release-notes-common](../../includes/snippets/spfx-release-notes-common.md)] |
| 16 | + |
| 17 | +## Install the latest preview version |
| 18 | + |
| 19 | +Install the latest preview release of the SharePoint Framework (SPFx) by including the **@next** tag: |
| 20 | + |
| 21 | +```console |
| 22 | +npm install @microsoft/generator-sharepoint@next --global |
| 23 | +``` |
| 24 | + |
| 25 | +## Upgrading projects from v1.15.2 to v1.16 |
| 26 | + |
| 27 | +1. In the project's **package.json** file, identify all SPFx v1.16.1 packages. For each SPFx package: |
| 28 | + 1. Uninstall the existing v1.16.1 package: |
| 29 | + |
| 30 | + ```console |
| 31 | + npm uninstall @microsoft/{spfx-package-name}@1.15.2 |
| 32 | + ``` |
| 33 | + |
| 34 | + 2. Install the new v1.16 package: |
| 35 | + |
| 36 | + ```console |
| 37 | + npm install @microsoft/{spfx-package-name}@next --save --save-exact |
| 38 | + ``` |
| 39 | + |
| 40 | +[!INCLUDE [spfx-release-upgrade-tip](../../includes/snippets/spfx-release-upgrade-tip.md)] |
| 41 | + |
| 42 | +## New features and capabilities |
| 43 | + |
| 44 | +### Support for SharePoint Pages iframing in Teams applications |
| 45 | + |
| 46 | +Developers can specify `supportsSelfFramingInTeams` flag in a web part's manifest if the scenario requires the web part to render SharePoint page in the iframe. |
| 47 | + |
| 48 | +### Ability to specify claims parameter when requesting an AAD Oath2 token |
| 49 | + |
| 50 | +`AADTokenProvider.getToken` definition was updated to allow specifying claims parameter: |
| 51 | + |
| 52 | +```typescript |
| 53 | + getToken(resourceEndpoint: string, options?: IGetTokenOptions): Promise<string>; |
| 54 | +``` |
| 55 | + |
| 56 | +where `IGetTokenOptions`: |
| 57 | + |
| 58 | +```typescript |
| 59 | +interface IGetTokenOptions { |
| 60 | + useCachedToken?: boolean; |
| 61 | + claims?: string; |
| 62 | +} |
| 63 | +``` |
| 64 | + |
| 65 | +### Popup flow support in AadTokenProvider |
| 66 | + |
| 67 | +`AadTokenProvider` now supports popup flow. Developers should handle `AadTokenProvider.popupEvent: SPEvent<PopupEventArgs>` event to implement the flow. |
| 68 | +See `PopupEventArgs` definitions for more details. |
| 69 | + |
| 70 | +### Support for aria-label in Property Pane's link control |
| 71 | + |
| 72 | +`PropertyPaneLink` now supports `ariaLabel` property. |
| 73 | + |
| 74 | +```typescript |
| 75 | +interface IPropertyPaneLinkProps { |
| 76 | + // ... |
| 77 | + |
| 78 | + /** |
| 79 | + * Adds an aria label to the link for accessibility. |
| 80 | + */ |
| 81 | + ariaLabel?: string; |
| 82 | + |
| 83 | + // ... |
| 84 | +} |
| 85 | +``` |
| 86 | + |
| 87 | +## Deprecations |
| 88 | + |
| 89 | +## Fixed Issues |
| 90 | + |
| 91 | +Here's a list of specific issues fixed around SharePoint Framework since the previous public release. |
| 92 | + |
| 93 | +### December-February Timeframe |
| 94 | + |
| 95 | +- [#8623](https://github.com/SharePoint/sp-dev-docs/issues/8623) - 1.16.1 Issue: Cannot find manifest for f9e737b7-f0df-4597-ba8c-3060f82380db_1.16.1. Store had [1.16.0]. Service worker version: (none),DurableN1=true |
| 96 | +- [#6091](https://github.com/SharePoint/sp-dev-docs/issues/6091) - Lazy loading of custom web parts in modern pages |
| 97 | +- [#8559](https://github.com/SharePoint/sp-dev-docs/issues/8559) - ListView Command Set command is not displayed for a list that was placed on a modern page and only 1 item is select there |
| 98 | +- [#8683](https://github.com/SharePoint/sp-dev-docs/issues/8683) - Permission Error with Form Customizer for new form |
| 99 | +- [#8540](https://github.com/SharePoint/sp-dev-docs/issues/8540) - Web part property updates causes child component to remount and lose state |
| 100 | +- [#8552](https://github.com/SharePoint/sp-dev-docs/issues/8552) - SPFx Field Customizer - onInit executes multiple times when navigating between folders in same document library |
| 101 | +- [#8619](https://github.com/SharePoint/sp-dev-docs/issues/8619) - Vulnerability introduced by CVE-2022-37601 in loader-utils package |
0 commit comments