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 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
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.
Upgrading projects from v1.8.2 to v1.9.1
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.2Install the refreshed v1.9.1 package:
npm install @microsoft/{spfx-package-name}@1.9.1.0 --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.9.1 --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
- Library Components (GA)
Changes in this release
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.
Deprecations and removed items in this release
- 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.