You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 17, 2025. It is now read-only.
VERSION=$(git tag | grep 14@ | tail -2 | head -1 | awk -F"@" '{print $2 }')
174
-
```
175
-
- Check the version of nodejs on the latest ibm image released
176
-
```
177
-
docker run --rm -it ibmfunctions/action-nodejs-v14:$VERSION sh -c "node -v"
178
-
```
179
-
- Check if there is a new version of the [Node.js LTS 14](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V14.md).
180
-
```
181
-
nvm ls-remote | grep v14.
182
-
```
183
-
- If there is a new version update the [OpenWhisk Node.js 14 Dockerfile](https://github.com/apache/openwhisk-runtime-nodejs/blob/master/core/nodejs14Action/Dockerfile#L18) and submit PR.
184
-
- After PR is merged wait for Travis CI to build and push a new tag image for [openwhisk/action-nodejs-v14](https://hub.docker.com/r/openwhisk/action-nodejs-v14/tags)
185
-
- Update the ibm image [nodejs14/Dockerfile](nodejs14/Dockerfile) FROM usign the new upstream tag
186
-
- Check if there are new npm packages available
187
-
- Use the latest released image to check the outdated npm packages
188
-
```
189
-
docker run --rm -it ibmfunctions/action-nodejs-v14:$VERSION sh -c "cd / && npm outdated"
VERSION=$(git tag | grep 12@ | tail -2 | head -1 | awk -F"@" '{print $2 }')
198
-
```
199
-
- Check the version of nodejs on the latest ibm image released
200
-
```
201
-
docker run --rm -it ibmfunctions/action-nodejs-v12:$VERSION sh -c "node -v"
202
-
```
203
-
- Check if there is a new version of the [Node.js LTS 12](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V12.md).
204
-
```
205
-
nvm ls-remote | grep v12.
206
-
```
207
-
- If there is a new version update the [OpenWhisk Node.js 12 Dockerfile](https://github.com/apache/openwhisk-runtime-nodejs/blob/master/core/nodejs12Action/Dockerfile#L18) and submit PR.
208
-
- After PR is merged wait for Travis CI to build and push a new tag image for [openwhisk/action-nodejs-v12](https://hub.docker.com/r/openwhisk/action-nodejs-v12/tags)
209
-
- Update the ibm image [nodejs12/Dockerfile](nodejs12/Dockerfile) FROM usign the new upstream tag
210
-
- Check if there are new npm packages available
211
-
- Use the latest released image to check the outdated npm packages
212
-
```
213
-
docker run --rm -it ibmfunctions/action-nodejs-v12:$VERSION sh -c "cd / && npm outdated"
VERSION=$(git tag | grep 10@ | tail -2 | head -1 | awk -F"@" '{print $2 }')
222
-
```
223
-
- Check the version of nodejs on the latest ibm image released
224
-
```
225
-
docker run --rm -it ibmfunctions/action-nodejs-v10:$VERSION sh -c "node -v"
226
-
```
227
-
- Check if there is a new version of the [Node.js LTS 10](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V10.md).
228
-
```
229
-
nvm ls-remote | grep v10.
230
-
```
231
-
- If there is a new version update the [OpenWhisk Node.js 10 Dockerfile](https://github.com/apache/openwhisk-runtime-nodejs/blob/master/core/nodejs10Action/Dockerfile#L18) and submit PR.
232
-
- After PR is merged wait for Travis CI to build and push a new tag image for [openwhisk/action-nodejs-v10](https://hub.docker.com/r/openwhisk/action-nodejs-v10/tags)
233
-
- Update the ibm image [nodejs10/Dockerfile](nodejs10/Dockerfile) FROM usign the new upstream tag
234
-
- Check if there are new npm packages available
235
-
- Use the latest released image to check the outdated npm packages
236
-
```
237
-
docker run --rm -it ibmfunctions/action-nodejs-v10:$VERSION sh -c "cd / && npm outdated"
Copy file name to clipboardExpand all lines: nodejs10/CHANGELOG.md
+3
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,8 @@
1
1
# IBM Functions NodeJS 10 Runtime Container
2
2
3
+
# Attention
4
+
This runtime is deprecated and will not be supported anymore. The code is still here for reference only and might be deleted at any time!
5
+
3
6
## Migrating from `nodejs:8` to `nodejs:10`
4
7
- The `cloudant` npm package is not available in `nodejs:10`, the package is deprecated, you need to use the official npm package [@cloudant/cloudant](https://www.npmjs.com/package/@cloudant/cloudant) v3.x when importing the nodejs module (i.e `require('@cloudant/cloudant')`) also [v3.x only returns Promises](https://github.com/cloudant/nodejs-cloudant/blob/master/api-migration.md#2x--3x).
5
8
- The `watson-developer-cloud` npm package available in `nodejs:10` is version 4.x. This version includes support for Promises. [A list of the changes made is documented](https://github.com/watson-developer-cloud/node-sdk/blob/master/UPGRADE-4.0.md).
Copy file name to clipboardExpand all lines: nodejs12/CHANGELOG.md
+3
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,8 @@
1
1
# IBM Functions NodeJS 12 Runtime Container
2
2
3
+
# Attention
4
+
This runtime is deprecated and will not be supported anymore. The code is still here for reference only and might be deleted at any time!
5
+
3
6
## Migrating from `nodejs:10` to `nodejs:12`
4
7
- The ibm-watson sdk version moved to 6.x. It includes a number of breaking changes. See https://github.com/watson-developer-cloud/node-sdk/blob/HEAD/MIGRATION-V6.md for details.
5
8
- The `ibmiotf` package is renamed to `@wiotp/sdk`. See https://www.npmjs.com/package/@wiotp/sdk for all changes.
Copy file name to clipboardExpand all lines: nodejs14/CHANGELOG.md
+4-1
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,7 @@
1
-
# IBM Functions NodeJS 12 Runtime Container
1
+
# IBM Functions NodeJS 14 Runtime Container
2
+
3
+
# Attention
4
+
This runtime is deprecated and will not be supported anymore. The code is still here for reference only and might be deleted at any time!
2
5
3
6
## Migrating from `nodejs:12` to `nodejs:14`
4
7
- The `@cloudant/cloudant` package is deprecated and therefore not available in this runtime. Please see the [Migration Guide](https://github.com/cloudant/nodejs-cloudant/blob/HEAD/MIGRATION.md) for advice about migrating to the replacement library [@ibm-cloud/cloudant](https://github.com/IBM/cloudant-node-sdk).
0 commit comments