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 is a minor release that introduces a support for Yeoman generator v5, which is the latest and default version of the Yeoman.
Released: November 21, 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 tag:
npm install @microsoft/generator-sharepoint@latest --global
In the project's package.json file, identify all SPFx packages. For each SPFx package:
Uninstall the existing packages:
npm uninstall @microsoft/{spfx-package-name}
Install the new v1.18.2 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.
Version 5 of the Yeoman generator was released on 14th of November. SharePoint Framework default packages did not however worked with this latest version and this issue was reported in the SPFx issue list with #9328.
There was a simple workaround to install specifically the version 4.3.1 version, but to make things easier, we wanted to provide an update to avoid any complexity on getting started with the SharePoint Framework development for Microsoft 365.
Version 1.18.2 is a small release with a limited new capability to streamline the developer experience and ensure the support for latest and default version of the Yeoman generator. If you find any issues or have other feedback on the provided capabilities, report them at the SPFx issue list. Thank you for your input advance.
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
Module
Get started with the SharePoint Framework - Training
Learn what the SharePoint Framework is and how to get started creating custom solutions.