This page provides release notes for the Flex Plugins CLI and information about how to upgrade to version 6.x.
If this page isn't what you're looking for, one of these links might help:
Release date June 10, 2024
The Flex Plugins CLI can now help validate your plugins against the latest Flex UI version to ensure compatibility. For details about the latest features being built on the CLI, see our Flex Plugins CLI documentation.
twilio:flex:plugins:validate
. For details, see
Validate
in the
Plugins CLI reference
.
twilio:flex:plugins:deploy
command to implicitly validate the plugin. For details, see
Deploy
in the
Plugins CLI reference
.
@twilio/flex-plugin-scripts
package.
twilio:flex:plugins:deploy
command now validates plugins as part of the deployment process, version 7.0.0 and later can disrupt automated deployments, such CI/CD pipelines. When the Deploy command runs, if the validation process finds any errors, the deployment process stops to ask for input. To prevent this issue, use the
--bypass-validation
option on your Deploy command to skip plugin validation for automated deployments. For details, see
Deploy
in the
Plugins CLI reference
.
Install the Twilio CLI and the Flex Plugins extension as described in the Flex Plugins CLI overview. Then, go to the plugin directory and run the following command:
$ twilio flex:plugins:upgrade-plugin --install
This script automatically upgrades your plugin to the latest version.
To manually upgrade to version 7.x, modify your package.json:
_13{_13 "scripts": {_13 "postinstall": "flex-plugin pre-script-check"_13 },_13 "dependencies": {_13 "flex-plugin-scripts": "^7.0.0",_13 "react": "17.0.2",_13 "react-dom": "17.0.2"_13 },_13 "devDependencies": {_13 "@twilio/flex-ui": "^2"_13 }_13}
Release date May 15, 2024
flex-plugins-api-client
to fix the CORS issue observed for some of the Flex Plugins APIs in the browser due to an unrecognized cache header.
Release date May 10, 2024
Release date April 4, 2024
Release date February 8, 2024
ECONREFUSED
error that was observed in Node versions 17 and higher is fixed.
Release date February 6, 2024
terser-webpack-plugin
issue observed when plugin is built is fixed.
source-map
file is addressed.
source-map
may not be loaded, depending on the operating system and Node version of the user.
twilio:flex:plugins:start
script errors appear (for example,
message.split is not a function
) depending on the operating system and Node version of the user.
Release date October 23, 2023
Release date Oct 17, 2023
global is not defined
error in the browser environment by providing a polyfill in webpack configuration.
Release date October 10, 2023
Release date September 28, 2023
webpack 5
package.
latest-version@7.0.0
cheerio@^1.0.0-rc.12
Release date May 17, 2023
--flexui1
.
Release date April 28, 2023
@twilio/cli-core@7.6.1
qs@6.10.3
resolve-url-loader@4.0.0
Release date April 19, 2023
ERR_OSSL_EVP_UNSUPPORTED
, which happens due to incompatibility between the newer version of OpenSSL and Node v18, run the following command:
For MacOS & Linux:
_10export NODE_OPTIONS=--openssl-legacy-provider
For Windows:
_10set NODE_OPTIONS=--openssl-legacy-provider
Release date January 10, 2023
Release date November 2, 2022
Release date October 19, 2022
Release date October 13, 2022
You can upgrade using the CLI or manually.
Install the Twilio CLI and the Flex Plugins extension as described in the Flex Plugins CLI docs. Then, go to the plugin directory and run the following command:
_10$ twilio flex:plugins:upgrade-plugin --install
This script automatically upgrades your plugin to the latest version.
To manually upgrade to version 6.x, modify your package.json:
_13{_13 "scripts": {_13 "postinstall": "flex-plugin pre-script-check"_13 },_13 "dependencies": {_13 "flex-plugin-scripts": "^6.0.1",_13 "react": "16.5.2",_13 "react-dom": "16.5.2"_13 },_13 "devDependencies": {_13 "@twilio/flex-ui": "^1"_13 }_13}
Version 6 removes support for:
For release notes older than version 6, see https://github.com/twilio/flex-plugin-builder/tree/main/changelog.