v8.0.0
What's Changed
This version contains the following breaking changes:
- Upgraded Node version to 18.12.1
- Removed
node-sass
in favor ofsass
- Upgraded webpack and related loaders
Further explanation of each item is detailed below.
1. Upgraded Node version to 18.12.1
Typically, the Node version of an application can be updated without any breaking change. However, Node 18 requires an upgraded version of glibc
. This has impact on Travis.
The default distribution used for builds and test execution (xenial
) does not have the version of glibc
required by Node 18. See this Travis community forum note for a discussion of this issue. See this Node issue for a discussion of the new glibc
version requirement.
To resolve this issue, a specific Linux distribution (focal
) is specified in the .travis.yml
configuration file. This disribution has the correct glibc
version. See this Travis documentation for a description of the focal
build environment.
This version of lp-components
will not support older Node versions. You must use Node version ^18.12.1.
2. Removed node-sass
in favor of sass
node-sass
has been deprecated and the latest version does not support the later glibc
version (an exception is generated when one tries to execute node-sass
with the later Node version). To resolve this, node-sass
was removed and sass
(Dart Sass, the currently active Sass implementation) was added. This change required an additional update to the build:styles
script to use sass
for style builds.
3. Upgraded webpack and related loaders
The Node upgrade mentioned above also fixed an OpenSSL issue. That fix required that the latest version of Webpack be used, along with configuration of a specific hashing function. To accommodate this change, webpack was upgraded to ^5.75.0 and the css-loader
, style-loader
, and sass-loader
were also upgraded to their latest versions.
Change Log
Full Changelog: v7.0.2...v8.0.0