Skip to content

Commit f8e86dd

Browse files
committed
update changelog
1 parent 4e9208f commit f8e86dd

File tree

20 files changed

+49
-48
lines changed

20 files changed

+49
-48
lines changed

changelog/v4.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
## 4.x - Beta
1+
## 4.0.0 (May 17th, 2021)
22

3-
Create Flex Plugin 4.x uses the [Twilio Flex Plugins API](https://www.twilio.com/docs/flex/plugins/api) to manage your Flex Plugins, create versions, and define which plugins the Flex UI will load during initialization via an API.
3+
Refer to [Twilio Flex Docs](https://www.twilio.com/docs/flex/developer/plugins/cli) to be up-to-date with the latest features being built on the CLI.
4+
5+
Create Flex Plugin 4.0.0 uses the [Twilio Flex Plugins API](https://www.twilio.com/docs/flex/plugins/api) to manage your Flex Plugins, create versions, and define which plugins the Flex UI will load during initialization via an API.
46

57
It completely removes the dependency on `react-scripts` and instead uses native Webpack to build and serve your plugins locally.
68

@@ -22,6 +24,8 @@ $ twilio flex:plugins:upgrade-plugin --install
2224

2325
This script should automatically upgrade your plugin to the latest version.
2426

27+
## Manual Upgrade
28+
2529
To manually upgrade to version 4.x, modify your `package.json`:
2630

2731
```json
@@ -30,7 +34,7 @@ To manually upgrade to version 4.x, modify your `package.json`:
3034
"postinstall": "flex-plugin pre-script-check"
3135
},
3236
"dependencies": {
33-
"flex-plugin-scripts": "^4.2.7-beta.0",
37+
"flex-plugin-scripts": "^4.0.0",
3438
"react": "16.5.2",
3539
"react-dom": "16.5.2"
3640
},
@@ -39,9 +43,6 @@ To manually upgrade to version 4.x, modify your `package.json`:
3943
}
4044
}
4145
```
42-
43-
Please use `npm view flex-plugin-scripts dist-tags.beta` to find the current latest beta version and use that instead of `4.2.7-beta.0` as show above.
44-
4546
If you are currently using `craco.config.js`, please refer to the next section [Breaking Changes](#breaking-changes) on migrating it.
4647

4748
You may also need to update your `public/appConfig.js` and update the `pluginService`:
@@ -78,7 +79,7 @@ module.exports = (config, { isProd, isDev, isTest }) => {
7879

7980
Upgrading from v1/v2 will, unfortunately, include a period of downtime. Your contact-center will either have the same plugin running twice or the plugin missing from it (this period will only be at most 1 minute long). Therefore, it is recommended to do this migration when you don't expect high usage of your contact center.
8081

81-
First, upgrade the plugin locally using `$ twilio flex:plugins:upgrade --beta` from the guide above.
82+
First, upgrade the plugin locally using `$ twilio flex:plugins:upgrade` from the guide above.
8283

8384
Next, decide if you prefer to have the plugin show twice or not at all. You'll need to deploy/release using the CLI and delete the plugin from [Twilio Console Assets](https://www.twilio.com/console/assets). Unfortunately, these two steps must be done manually.
8485

@@ -88,7 +89,7 @@ It is recommended that you `deploy` (using `twilio flex:plugins:deploy`) your pl
8889

8990
Upgrading from v3 is simple and has no downtime.
9091

91-
1. Upgrade the plugin locally using `$ twilio flex:plugins:upgrade --beta` from the guide above.
92+
1. Upgrade the plugin locally using `$ twilio flex:plugins:upgrade` from the guide above.
9293
2. Deploy and register the plugin using `$ twilio flex:plugins:deploy` and `$ twilio flex:plugins:release`
9394
3. Remove the v0.0.0 plugin from v3 using `$ twilio flex:plugins:upgrade --cleanup`
9495

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"packages": [
33
"packages/*"
44
],
5-
"version": "4.9.1-beta.0"
5+
"version": "4.10.0-alpha.0"
66
}

packages/create-flex-plugin/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/flex-dev-utils/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/flex-plugin-builder-toolkit/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/flex-plugin-e2e-tests/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/flex-plugin-scripts/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/flex-plugin-test/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/flex-plugin-utils-http/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/flex-plugin-utils-jest/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)