@twilio-labs/serverless-twilio-runtime 3.0.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/Readme.md +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 4.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#565](https://github.com/twilio-labs/serverless-toolkit/pull/565) [`ee4cf89dc032bd795a127beba0a81c4afb824cd5`](https://github.com/twilio-labs/serverless-toolkit/commit/ee4cf89dc032bd795a127beba0a81c4afb824cd5) Thanks [@AndreLars](https://github.com/AndreLars)! - **WHAT**: Add Node.js 24 to supported versions and remove Node.js 20.
|
|
8
|
+
|
|
9
|
+
**ALSO**: `twilio-run deploy` now warns when a project is configured to deploy to a deprecated runtime such as `node20`, pointing at the `runtime` field in `.twilioserverlessrc`. It is a warning, not a failure — the deploy still proceeds and Twilio Serverless has the final say. Both this check and the local Node.js version check use a deny list of deprecated versions rather than an allow list of supported ones, so an older release of the toolkit never claims a newer Node.js version is invalid. `printVersionWarning` drops its unused `expectedVersion` parameter as part of this.
|
|
10
|
+
|
|
11
|
+
**WHY**: `node24` was added as a deploy runtime and made the default in #555, but `engines.node` was never widened, so the toolkit defaulted to deploying to node24 while refusing to declare support for running on Node 24 (#563). Node.js 20 is deprecated on Twilio Serverless and can no longer be used for new builds, so it is removed at the same time.
|
|
12
|
+
|
|
13
|
+
**BREAKING CHANGE**: Projects using `create-twilio-function`, `@twilio-labs/plugin-assets`, `@twilio-labs/plugin-serverless`, `@twilio-labs/serverless-twilio-runtime` or `twilio-run` will have to migrate to Node.js 22 or 24.
|
|
14
|
+
|
|
3
15
|
## 3.0.0
|
|
4
16
|
|
|
5
17
|
### Major Changes
|
package/Readme.md
CHANGED
|
@@ -8,7 +8,7 @@ Serverless Framework plugin to deploy to the Twilio Runtime.
|
|
|
8
8
|
|
|
9
9
|
### Pre-requisites
|
|
10
10
|
|
|
11
|
-
- Node.js
|
|
11
|
+
- Node.js v22.x or v24.x (these are the runtime versions supported by Twilio Functions)
|
|
12
12
|
- Serverless CLI v1.50.0+. You can run npm i -g serverless if you don't already have it.
|
|
13
13
|
- A Twilio account. If you don't have one you can [sign up quickly](https://www.twilio.com/try-twilio).
|
|
14
14
|
|