SharePoint Framework v1.8.1 release notes
Release notes for SharePoint Framework 1.8.1
Hello, and welcome to SharePoint Framework Release 1.8.1!
This is a minor bump that fixes the issues around the Yeoman generator and projects using the SharePoint 2016 and 2019 configurations, and an issue around using the legacy Fabric CSS setting.
The following GitHub issues are resolved:
#3621 - Not able to setup SP2016/SP2019 onprem using
@microsoft/sharepointYeoman generator (two issues mentioned – incorrect SupportedHosts property and incorrect reference to sp-property-pane)
#3612 - Can't use
loadLegacyFabricCssin SPFX 1.8
Additionally, the issues around unmet peer dependencies with certain versions of rush-stack-compiler have been resolved, and you should be able to use the recent versions.
We are still looking into the issues around out of memory conditions during builds – the current information looks like an issue with the
tslint configurations, and
If you are encountering this memory issue, the current workaround is to add
--max_old_space_size=8192 to your gulp commands. We will release another update when we have a more concrete solution. So as an example you can bundle your solution using the following command:
gulp bundle --ship --max_old_space_size=4000
We are looking into potentially addressing the memory and version conflict/confusion with additional 1.8.2 version, including updated version matrix related on the React, TypeScript, and Office UI Fabric releases.