SharePoint Framework v1.5.1 release notes

This is mainly a bug fix release to address few regressions, which were introduced in the v1.5 release.

Released: June 26, 2018

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.5 to v1.5.1

In the project's package.json file, identify all SPFx v1.5 packages. For each SPFx package:

  1. Uninstall the existing v1.5 package:

    npm uninstall @microsoft/{spfx-package-name}@1.5
    
  2. Install the refreshed v1.5.1 package:

    npm install @microsoft/{spfx-package-name}@1.5.1 --save --save-exact
    

Tip

The CLI for Microsoft 365 provides an easy step-by-step guidance to upgrade your solutions to latest SharePoint Framework version.

Changes in this release

  • Fixed the issue in the yeoman generator that blocked you from creating different types of components in your package.
  • Changed the visibility of some SPFx APIs to move them to Beta (and will now appear in the typings when you use the --plusbeta versions of the packages. The APIs added to the --plusbeta packages are:
    • TimeZone information off of the Site and User context objects
    • DigestCache and IDigestCache is available
    • The AadHttpClient constructor is available