-
Notifications
You must be signed in to change notification settings - Fork 1k
Release Notes for SPFx Package Version 1.4.1
Support of Node v8 (LTS) and npm v5 is now available in SPFx.
Issue reported here: https://github.com/SharePoint/sp-dev-docs/issues/1002
We have also updated the Set up your SharePoint Framework development environment article.
Fixed issue in the generator that prevented activation of new versions of SPFx packages.
Symptoms - You deploy a new version of SharePoint Framework packages and you no longer see your web parts in web part picker.
Issue reported here: https://github.com/SharePoint/sp-dev-docs/issues/775
Fix - To be able to fully successfully fix this issue, you will need to perform following steps in your SharePoint Online tenants.
- Remove all instances of existing SharePoint Framework solutions from site level
- Remove SharePoint Framework solution from app catalog
- Upload new SharePoint Framework solution built with 1.4.1 version to your app catalog
- Install SharePoint Framework solutions back to sites.
Notice that this issue is not happening for tenant-scoped SharePoint Framework solutions and it's not happening for SharePoint add-ins.
You might potentially take advantage of the SharePoint ALM APIs or SharePoint PnP PowerShell cmdlets for add-ins to automate this needed process.
Following are new APIs available for preview usage within SharePoint Online. These are not meant to be used in production yet. Please let provide your findings and feedback using the Issue list at sp-dev-docs repository.
- Initial beta release of AadHttpClient class
- Initial beta release of AadTokenProvider class
- Initial beta release of MSGraphClient class
You can find a tutorial for these new APIs from the Office SharePoint Development documentation.
AadHttpClient
is used to perform REST calls against an Azure AD Application, for example 3rd party WebAPI hosted in Azure.
For communicating with SharePoint, use the SPHttpClient
class instead.
For communicating with Microsoft Graph, use the MSGraphClient class.
You can find more information on this new API from the Office SharePoint Development documentation.
MSGraphClient
is used to perform REST calls against Microsoft Graph. The Microsoft Graph JavaScript client library is a lightweight wrapper around the Microsoft Graph API. This class allows developers to start making REST calls to MSGraph without needing to initialize the the MSGraph client library.
If a custom configuration is desired, the MSGraphClient
api function needs to be provided with that custom configuration for every request.
You can find more information on this new API from the Office SharePoint Development documentation.
Notice that this API is replacing the previously released
GraphHttpClient
, which is now considered to be deprecated.
This class is an internal class used by AadHttpClient and MSGraphClient to obtain OAuth2 tokens from Azure AD. Although the class is currently marked as public, we are planning to change it as internal. For that reasons solutions should only rely on AadHttpClient
and MSGraphClient
classes.
-
Getting Started