Not
Bu sayfaya erişim yetkilendirme gerektiriyor. Oturum açmayı veya dizinleri değiştirmeyi deneyebilirsiniz.
Bu sayfaya erişim yetkilendirme gerektiriyor. Dizinleri değiştirmeyi deneyebilirsiniz.
This release is a minor bump that has minor updates on the default project settings and package dependencies.
We're looking into release more frequent smaller release to be available also in future to address new findings or to address any other known issues, which have been fixed.
Tip
It's safe to keep on using SharePoint Framework 1.17 version, but we do recommend always using the latest version in the production, which in this case would be the 1.17.4, which has few minor improvements as listed in this document.
Released: June 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 version
Install the latest release of the SharePoint Framework (SPFx) by including the @latest tag:
npm install @microsoft/generator-sharepoint@latest --global
Upgrading projects from v1.17 to v1.17.4
- In the project's package.json file, identify all SPFx v1.17 packages. For each SPFx package:
Uninstall the existing v1.17 package:
npm uninstall @microsoft/{spfx-package-name}@1.17Install the new v1.17.4 package:
npm install @microsoft/{spfx-package-name}@latest --save --save-exact
Warning
Upgrading from a previous minor version requires changes across package versions, build configuration files, and toolchain settings that vary depending on your source version. Manually updating package.json alone will result in build failures.
Tip
To upgrade this project, run:
npx -p @pnp/cli-microsoft365 m365 spfx project upgrade --toVersion 1.17.4 --output md
This analyzes your project and outputs all required changes, including a single script to apply them in one go.
Note
The CLI for Microsoft 365 is an open-source solution with active community providing support for it. There is no SLA for the open-source tool support from Microsoft.
New features and capabilities
Enable Strict Null Check for the generated solutions
Starting from this release, the generated solutions will have the strict null check enabled by default. This will help to avoid the runtime error caused by the null value. If you want to disable it, you can set the strictNullChecks to false in the tsconfig.json file.
Fixed Issues
Here's a list of specific changes around SharePoint Framework since the previous public release.
- Updating
lodashdependency to version4.17.21