|
| 1 | +--- |
| 2 | +title: SharePoint Framework v1.17.4 release notes |
| 3 | +description: Release notes for the SharePoint Framework v1.17.4 release |
| 4 | +ms.date: 06/21/2023 |
| 5 | +ms.localizationpriority: high |
| 6 | +--- |
| 7 | +# SharePoint Framework v1.17.4 release notes |
| 8 | + |
| 9 | +This release is a _minor bump_ that has minor updates on the default project settings and package dependencies. |
| 10 | + |
| 11 | +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. |
| 12 | + |
| 13 | +> [!TIP] |
| 14 | +> 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. |
| 15 | +
|
| 16 | +**Released:** May 31, 2023 |
| 17 | + |
| 18 | +[!INCLUDE [spfx-release-notes-common](../../includes/snippets/spfx-release-notes-common.md)] |
| 19 | + |
| 20 | +## Install the latest version |
| 21 | + |
| 22 | +Install the latest release of the SharePoint Framework (SPFx) by including the **@latest** tag: |
| 23 | + |
| 24 | +```console |
| 25 | +npm install @microsoft/generator-sharepoint@latest --global |
| 26 | +``` |
| 27 | + |
| 28 | +## Upgrading projects from v1.17 to v1.17.4 |
| 29 | + |
| 30 | +1. In the project's **package.json** file, identify all SPFx v1.17 packages. For each SPFx package: |
| 31 | + 1. Uninstall the existing v1.17 package: |
| 32 | + |
| 33 | + ```console |
| 34 | + npm uninstall @microsoft/{spfx-package-name}@1.17 |
| 35 | + ``` |
| 36 | + |
| 37 | + 1. Install the new v1.17.4 package: |
| 38 | + |
| 39 | + ```console |
| 40 | + npm install @microsoft/{spfx-package-name}@latest --save --save-exact |
| 41 | + ``` |
| 42 | + |
| 43 | +[!INCLUDE [spfx-release-upgrade-tip](../../includes/snippets/spfx-release-upgrade-tip.md)] |
| 44 | + |
| 45 | +## New features and capabilities |
| 46 | + |
| 47 | +### Enable Strict Null Check for the generated solutions |
| 48 | + |
| 49 | +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. |
| 50 | + |
| 51 | +## Fixed Issues |
| 52 | + |
| 53 | +Here's a list of specific changes around SharePoint Framework since the previous public release. |
| 54 | + |
| 55 | +- Updating `lodash` dependency to version `4.17.21` |
0 commit comments