|
| 1 | +--- |
| 2 | +title: SharePoint Framework v1.18.2 release notes |
| 3 | +description: Release notes for the SharePoint Framework v1.18.2 release |
| 4 | +ms.date: 11/21/2023 |
| 5 | +ms.localizationpriority: high |
| 6 | +--- |
| 7 | +# SharePoint Framework v1.18.2 release notes |
| 8 | + |
| 9 | +This is a _minor release_ that introduces a support for Yeoman generator v5, which is the latest and default version of the [Yeoman](https://yeoman.io/). |
| 10 | + |
| 11 | +**Released:** November 21, 2023 |
| 12 | + |
| 13 | +[!INCLUDE [spfx-release-notes-common](../../includes/snippets/spfx-release-notes-common.md)] |
| 14 | + |
| 15 | +## Install the latest version |
| 16 | + |
| 17 | +Install the latest release of the SharePoint Framework (SPFx) by including the **@latest** tag: |
| 18 | + |
| 19 | +```console |
| 20 | +npm install @microsoft/generator-sharepoint@latest --global |
| 21 | +``` |
| 22 | + |
| 23 | +## Upgrading projects from v1.18 to v1.18.2 |
| 24 | + |
| 25 | +In the project's **package.json** file, identify all SPFx packages. For each SPFx package: |
| 26 | + |
| 27 | +1. Uninstall the existing packages: |
| 28 | + |
| 29 | + ```console |
| 30 | + npm uninstall @microsoft/{spfx-package-name} |
| 31 | + ``` |
| 32 | + |
| 33 | +1. Install the new v1.18.2 package: |
| 34 | + |
| 35 | + ```console |
| 36 | + npm install @microsoft/{spfx-package-name}@latest --save --save-exact |
| 37 | + ``` |
| 38 | + |
| 39 | +[!INCLUDE [spfx-release-upgrade-tip](../../includes/snippets/spfx-release-upgrade-tip.md)] |
| 40 | + |
| 41 | +## New features and capabilities |
| 42 | + |
| 43 | +### Adding support of Yeoman generator v5.x |
| 44 | + |
| 45 | +Version 5 of the [Yeoman generator](https://www.npmjs.com/package/yo) 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](https://github.com/SharePoint/sp-dev-docs/issues/9328). |
| 46 | + |
| 47 | +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. |
| 48 | + |
| 49 | +## Summary |
| 50 | + |
| 51 | +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](https://aka.ms/spfx/issues). Thank you for your input advance. |
0 commit comments