Events
Microsoft 365 Community Conference
May 6, 2 PM - May 9, 12 AM
Skill up for the era of AI at the ultimate community-led Microsoft 365 event, May 6-8 in Las Vegas.
Learn moreThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
This release introduces updates across the features around Microsoft Viva, Microsoft Teams, Outlook, Office, and SharePoint.
Released: April 4, 2023
Important
This page addresses details related to a specific SPFx release version. This page doesn't include additional SPFx prerequisites that must be installed in order to develop SPFx solutions, including Node.js, Yeoman, and other tools.
To learn more about these prerequisites, see Set up your SharePoint Framework development environment.
Install the latest release of the SharePoint Framework (SPFx) by including the @latest
npm install @microsoft/generator-sharepoint@latest --global
In the project's package.json file, identify all SPFx v1.16.1 packages. For each SPFx package:
Uninstall the existing v1.16.1 package:
npm uninstall @microsoft/{spfx-package-name}@1.16.1
Install the new v1.17 package:
npm install @microsoft/{spfx-package-name}@latest --save --save-exact
Tip
The CLI for Microsoft 365 provides an easy step-by-step guidance to upgrade your solutions to latest SharePoint Framework version.
Microsoft Teams JS SDK was bumped to v2.9.1 to support new API, such as LiveShare.
Adaptive Cards Extensions now support Adaptive Cards schema v1.5. For more information about the supported features in v1.5, see Adaptive Cards schema v1.5 for more details.
"Sync to Teams" operation in SharePoint App Catalog now supports Teams Manifest v1.16. Any SPFx solution that is synchronized from app catalog to Microsoft Teams is available automatically across Microsoft 365 (Microsoft Teams, Outlook, Microsoft 365 app).
Developers can use the SPFX_SERVE_TENANT_DOMAIN
OS environment variable to specify the tenant domain (or site URL) for serve configurations across different SPFx solutions. If a URL in the serve configuration (for example, pageUrl
for Field Customizer) contains the {tenantDomain}
placeholder, it will be automatically replaced with the variable's value.
In previous versions, web part Top Actions' configuration was based on proxied property pane types. It led to some issues and confusion as not all the properties worked or were supported.
This version includes specific Top Actions-specific types to avoid confusion and make the configuration more clear.
See more details from documentation
The onBeforeAction
handler is added to BaseAdaptiveCardExtension
class to allow developers to run custom code before the action is executed.
/** @virtual */
onBeforeAction(action: IOnBeforeActionArguments): void;
Note
This method is not intended to be used to cancel the action or to change the flow. We do not recommend changing the state or the action argument.
New focusParameters
virtual property allows to set focus when the view is rendered for accessibility purposes. If not overridden, the focus element defaulted to the first actionable element of the Quick View.
/** @virtual */
get focusParameters(): IFocusParameters | undefined;
See more details from documentation
Developers can specify supportsSelfFramingInTeams
flag in a web part's manifest if the scenario requires the web part to render SharePoint page in an <iframe>
.
AADTokenProvider.getToken
definition was updated to allow specifying claims parameter:
getToken(resourceEndpoint: string, options?: IGetTokenOptions): Promise<string>;
Where IGetTokenOptions
:
interface IGetTokenOptions {
useCachedToken?: boolean;
claims?: string;
}
AadTokenProvider
now supports popup flow. Developers should handle AadTokenProvider.popupEvent: SPEvent<PopupEventArgs>
event to implement the flow.
For more details, see PopupEventArgs
definitions in the API reference documentation.
For more information on implementing the popup flow, see Working with the AADTokenProvider.
PropertyPaneLink
now supports ariaLabel
property.
interface IPropertyPaneLinkProps {
// ...
/**
* Adds an aria label to the link for accessibility.
*/
ariaLabel?: string;
// ...
}
Here's a list of specific issues fixed around SharePoint Framework since the previous public release.
Events
Microsoft 365 Community Conference
May 6, 2 PM - May 9, 12 AM
Skill up for the era of AI at the ultimate community-led Microsoft 365 event, May 6-8 in Las Vegas.
Learn moreTraining
Learning path
Extend Microsoft SharePoint – Associate - Training
Microsoft SharePoint is a customizable platform that developers can extend with custom components. The SharePoint Framework is the recommended development model to extend the modern SharePoint experience. In this learning path, you'll learn how to customize and extend SharePoint using the SharePoint Framework using web parts and extensions.
Certification
Microsoft Certified: Power Platform Developer Associate - Certifications
Demonstrate how to simplify, automate, and transform business tasks and processes using Microsoft Power Platform Developer.
Documentation
SharePoint Framework development tools and libraries compatibility
Find which versions of the SharePoint Framework are compatible with each version of SharePoint, development tools and libraries.
SharePoint Framework v1.18.2 release notes
Release notes for the SharePoint Framework v1.18.2 release
SharePoint Framework v1.19 release notes
Release notes for the SharePoint Framework v1.19 release.