| title | SharePoint Framework v1.9.1 release notes |
|---|---|
| description | Release notes for the SharePoint Framework v1.9.1 release |
| ms.date | 09/08/2021 |
| ms.localizationpriority | high |
This is a minor release that includes Library component moving to general availability and the tooling move from WebPack 3 to WebPack 4. There are some minor changes in support for the Teams SDK as well.
Released: August 14, 2019
[!INCLUDE spfx-release-notes-common]
In the project's package.json file, identify all SPFx v1.8.2 packages. For each SPFx package:
-
Uninstall the existing v1.8.2 package:
npm uninstall @microsoft/{spfx-package-name}@1.8.2 -
Install the refreshed v1.9.1 package:
npm install @microsoft/{spfx-package-name}@1.9.1.0 --save --save-exact
[!INCLUDE spfx-release-upgrade-tip]
- Library Components (GA)
-
Upgraded SPFx tooling from Webpack to Webpack 4. You won't notice an impact with this change in how you use the tooling, and many webpack plugins should work. However, if you modified the webpack step, you may need to update your changes to webpack 4.
-
Microsoft Teams SDK updated to v1.4.2. This version has support for Vanity URLs.
-
We've added an
sdksproperty on the web partcontextAPI where we'll start to host specific application SDKs. Microsoft Teams is the first one to use this new API.We've marked the previous
context.microsoftTeamsAPI as deprecated (but it will continue to work). -
We continue to improve the admin experience around approving API requests in the service.
- Removed the previously deprecated
GraphHttpClientAPI from the SPFx API. Code using it will still work for the short term, but you should migrate your code to theMSGraphClientAPI. - The
microsoftTeamsAPI on a component'scontextobject has been deprecated in favor of the newcontext.sdk.microsoftTeamsAPI as mentioned above.
Note
What happened to the SPFx v1.9.0 release?
There was an issue with the local workbench in the v1.9.0 release, so it was pulled and now replaced with 1.9.1 release. Issue was not critical, but as it caused confusion, we wanted to ensure that usage is smooth without any additional hacks or other adjustments.