Skip to content

Release Notes for SPFx Package Version 1.4.1

Luca Bandinelli edited this page Feb 14, 2018 · 7 revisions

What is new in this release?

Node 8 and NPM 6 support

Support of Node 8 and NPM 6 is now available in SPFx. This fixes the issue reported here: https://github.com/SharePoint/sp-dev-docs/issues/1002

Other relevant fixes

Fixed issue in the generator that prevented activation of new versions of SPFx packages
Issue reported here: https://github.com/SharePoint/sp-dev-docs/issues/775

@microsoft/sp-http

  • Initial alpha release of AadTokenProvider class
  • Initial beta release of AadHttpClient class

@microsoft/sp-client-preview

  • Initial beta release of MSGraphClient class

Description of new APIs in this release

MSGraphClient

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.

Find out more about the MSGraphSDK here: https://github.com/microsoftgraph/msgraph-sdk-javascript

AadHttpClient

AadHttpClient is used to perform REST calls against an Azure AD Application. For communicating with SharePoint, use the SPHttpClient class instead. For communicating with Microsoft Graph, use the GraphHttpClient class.

AadTokenProvider

This class allows a developer to obtain OAuth2 tokens from Azure AD. OAuth2 tokens are used to authenticate the user from the SharePoint page to other services such as PowerBI, Sway, Exchange, Yammer, etc. AadTokenProvider is replacing the /_api.SP.OAuth.Token/Acquire endpoint for authentication with ADAL.js. At some point in the near future, when Azure AD v2.0 can support the same scenarios as the original version, we will switch to MSAL.

Clone this wiki locally