Opscompass CLI Release Notes

Version 1.0.40 - Release Date: 2025/02/04

Beginning with this release, we have introduced some advanced configuration options that utilize sqlite3 data files. We tested different libraries for compatibility and deprecation and settled on one that provides a reasonably modern experience and does not generate warnings about old libraries and vulnerabilities.

We also updated the CLI to work with Node.js v22 and dropped support for v18. If you are using an older version you will need to udpate it (see Ubuntu 20 below). We recommend the latest LTS version (currently v22).

Some supported platforms, may require additional configuration.

RHEL/OEL 8

You may see the following error message when attempting to install the CLI via npm using the default gcc v8:
npm error g++: error: unrecognized command line option '-std=c++20'; did you mean '-std=c++2a'?

These platforms require a specific version of the gcc compiler (minimum v10) that is not the default.
Here are the steps to upgrade to the current version of gcc as of Oracle Linux 8.10:

As root:
  dnf install gcc-toolset-13-gcc-c++.x86_64

To make the new version of gcc the default, edit the opscompass user's ~/.bashrc and add the following at the end of the file:
  . /opt/rh/gcc-toolset-13/enable

Then try again to install the opscompass CLI as the opscompass user:
  npm install -g @opscompass/opscompass-cli

Ubuntu 20

This platform may have an old version of Node.js installed, and you may see the following error message when attempting to install the CLI via npm:

npm error Unsupported engine {
npm warn EBADENGINE Unsupported engine {
...
npm warn EBADENGINE required: { node: '20 || >=22' },
npm warn EBADENGINE current: { node: 'v18.20.7', npm: '10.8.2' }
npm warn EBADENGINE }


Update Node.js for the opscompass user:
  nvm install lts/jod

Then set the new version to the default:
  nvm alias default lts/jod

Then try again to install the opscompass CLI as the opscompass user:
  npm install -g @opscompass/opscompass-cli

Version 1.0.39 - Release Date: 2024/12/30

No notes available for this release.

Version 1.0.38 - Release Date: 2024/11/14

No notes available for this release.