Announcing the end of support for Node.js <10.x in the Amazon SDK for JavaScript (v2)

海外精选
海外精选的内容汇集了全球优质的亚马逊云科技相关技术内容。同时,内容中提到的“AWS” 是 “Amazon Web Services” 的缩写,在此网站不作为商标展示。
0
0
{"value":"Starting November 1 2021, the AWS SDK For JavaScript (v2) will no longer support the following end of life (EOL) Node.js runtime versions:\n\n- Node.js 0.10 – EOL on 2016-10-31\n- Node.js 0.12 – EOL on 2016-12-31\n- Node.js 4.x – EOL on 2018-04-30\n- Node.js 6.x – EOL on 2019-04-30\n- Node.js 8.x – EOL on 2019-12-31\n\nWe encourage you to upgrade to Node.js 10.x or later. We recommend Node.js 14.x which was released on 2020-04-21 and became active LTS on 2020-10-27.\n\nModular AWS SDK for JavaScript (v3) is [generally available](https://aws.amazon.com/blogs/developer/modular-aws-sdk-for-javascript-is-now-generally-available/), and it supports Node.js 10.x or later. You can also refer our [Migration Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/migrating-to-v3.html) to move your code to use v3, or visit our [self-guided workshop](https://github.com/aws-samples/aws-sdk-js-v3-workshop) which builds a simple note taking application using v2 and provides step-by-step migration instructions to v3.\n\n#### **Motivation**\n\nAs Node.js <10.x versions have reached end-of-life, we are seeing support drop within the Node.js community and among some of the SDK dependencies for the EOL versions. To make sure we are providing up-to-date and secure libraries, we’re joining this migration. We encourage you to do the same to ensure your applications and services remain secure.\\n\\n#### **Usage**\\n\\nIf you’re using AWS SDK for JavaScript (v2) in Node.js <10.x runtime versions, the following message will be shown on ```npm install```:\\n\\n```\\nBash\\n\$ node --version\\nv8.11.3\\n\\n\$ npm install aws-sdk\\n\\n...\\nThe AWS SDK for JavaScript (v2) will no longer support Node.js v8.11.3\\nas of November 1, 2021. To continue receiving updates to AWS services\\nand bug fixes please upgrade to Node.js 10.x or later.\\n\\nMore information can be found at: https://a.co/cf10B3y\\n...\\n```\\n\\nOn November 1, 2021, ```the CHANGELOG.md``` for AWS SDK for JavaScript (v2) will specify the exact SDK version where support for these runtime versions have been dropped. The installation for newer versions of AWS SDK for JavaScript (v2) will fail in Node.js <10.x as follows if you have set ```engine-strict=true```:\\n\\n```\\nBash\\n\$ node --version\\nv8.11.3\\n\\n\$ npm install aws-sdk\\n...\\nnpm ERR! code ENOTSUPnpm ERR! notsup Unsupported engine for aws-sdk@<version>: wanted: {\\"node\\":\\">=10.0.0\\"} (current: {\\"node\\":\\"8.11.3\\",\\"npm\\":\\"5.6.0\\"})\\n...\\n```\\n\\n#### **Maintenance Policies**\\n\\n##### **The Node.js Release Schedule**\\n\\nPlease see the [Node.js release schedule](https://github.com/nodejs/Release#release-schedule) for a complete list of Node.js versions and their maintenance status.\\n\\n![image.png](https://dev-media.amazoncloud.cn/c90208efda3045cc948808121e3c4f90_image.png)![2.png](https://dev-media.amazoncloud.cn/4f98293f74c84f079298b880cfec4b9d_2.png)\\nRelease Schedule of Node.js runtime\\n\\nThe new even-numbered versions (e.g. v12.x, v14.x, v16.x etc) are cut in April, while odd-numbered versions (e.g. v13.x, v15.x) are cut in October. When a new odd-release is cut, the previous even-numbered version transitions to LTS.\\n\\n##### **AWS SDKs and Tools**\\n\\nFor more information regarding maintenance and deprecation for AWS SDKs, please see the [AWS SDKs and Tools Maintenance Policy](https://docs.aws.amazon.com/credref/latest/refdocs/maint-policy.html). Our policy is to continue supporting SDK dependencies for at least 6 months after the community or vendor ends support for the dependency.\\n\\n#### **Feedback**\\n\\nWe value your feedback, so please tell us what you like and don’t like by opening [an issue on GitHub](https://github.com/aws/aws-sdk-js/issues/new/choose).\\n\\n![image.png](https://dev-media.amazoncloud.cn/8837eed500f044e98bd67be9bd3e49ba_image.png)\\n\\n[Trivikram Kamat](https://twitter.com/trivikram)\\n\\nTrivikram is maintainer of AWS SDK for JavaScript in Node.js and browser. Trivikram is also a Node.js Core collaborator and have contributed to HTTP, HTTP/2 and HTTP/3 over QUIC implementations in the past. He has been writing JavaScript for over a decade. You can find him on Twitter [@trivikram](https://twitter.com/trivikram) and GitHub [@trivikr](https://github.com/trivikr).\\n\\nTAGS: [aws-sdk](https://aws.amazon.com/blogs/developer/tag/aws-sdk/), aws-sdk-js, [JavaScript](https://aws.amazon.com/blogs/developer/tag/aws-sdk-js/), [Node.js](https://aws.amazon.com/blogs/developer/tag/node-js/), [SDK](https://aws.amazon.com/blogs/developer/tag/sdk/)","render":"<p>Starting November 1 2021, the AWS SDK For JavaScript (v2) will no longer support the following end of life (EOL) Node.js runtime versions:</p>\n<ul>\\n<li>Node.js 0.10 – EOL on 2016-10-31</li>\n<li>Node.js 0.12 – EOL on 2016-12-31</li>\n<li>Node.js 4.x – EOL on 2018-04-30</li>\n<li>Node.js 6.x – EOL on 2019-04-30</li>\n<li>Node.js 8.x – EOL on 2019-12-31</li>\n</ul>\\n<p>We encourage you to upgrade to Node.js 10.x or later. We recommend Node.js 14.x which was released on 2020-04-21 and became active LTS on 2020-10-27.</p>\n<p>Modular AWS SDK for JavaScript (v3) is <a href=\\"https://aws.amazon.com/blogs/developer/modular-aws-sdk-for-javascript-is-now-generally-available/\\" target=\\"_blank\\">generally available</a>, and it supports Node.js 10.x or later. You can also refer our <a href=\\"https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/migrating-to-v3.html\\" target=\\"_blank\\">Migration Guide</a> to move your code to use v3, or visit our <a href=\\"https://github.com/aws-samples/aws-sdk-js-v3-workshop\\" target=\\"_blank\\">self-guided workshop</a> which builds a simple note taking application using v2 and provides step-by-step migration instructions to v3.</p>\\n<h4><a id=\\"Motivation_12\\"></a><strong>Motivation</strong></h4>\\n<p>As Node.js &lt;10.x versions have reached end-of-life, we are seeing support drop within the Node.js community and among some of the SDK dependencies for the EOL versions. To make sure we are providing up-to-date and secure libraries, we’re joining this migration. We encourage you to do the same to ensure your applications and services remain secure.</p>\n<h4><a id=\\"Usage_16\\"></a><strong>Usage</strong></h4>\\n<p>If you’re using AWS SDK for JavaScript (v2) in Node.js &lt;10.x runtime versions, the following message will be shown on <code>npm install</code>:</p>\\n<pre><code class=\\"lang-\\">Bash\\n\$ node --version\\nv8.11.3\\n\\n\$ npm install aws-sdk\\n\\n...\\nThe AWS SDK for JavaScript (v2) will no longer support Node.js v8.11.3\\nas of November 1, 2021. To continue receiving updates to AWS services\\nand bug fixes please upgrade to Node.js 10.x or later.\\n\\nMore information can be found at: https://a.co/cf10B3y\\n...\\n</code></pre>\\n<p>On November 1, 2021, <code>the CHANGELOG.md</code> for AWS SDK for JavaScript (v2) will specify the exact SDK version where support for these runtime versions have been dropped. The installation for newer versions of AWS SDK for JavaScript (v2) will fail in Node.js &lt;10.x as follows if you have set <code>engine-strict=true</code>:</p>\\n<pre><code class=\\"lang-\\">Bash\\n\$ node --version\\nv8.11.3\\n\\n\$ npm install aws-sdk\\n...\\nnpm ERR! code ENOTSUPnpm ERR! notsup Unsupported engine for aws-sdk@&lt;version&gt;: wanted: {&quot;node&quot;:&quot;&gt;=10.0.0&quot;} (current: {&quot;node&quot;:&quot;8.11.3&quot;,&quot;npm&quot;:&quot;5.6.0&quot;})\\n...\\n</code></pre>\\n<h4><a id=\\"Maintenance_Policies_49\\"></a><strong>Maintenance Policies</strong></h4>\\n<h5><a id=\\"The_Nodejs_Release_Schedule_51\\"></a><strong>The Node.js Release Schedule</strong></h5>\\n<p>Please see the <a href=\\"https://github.com/nodejs/Release#release-schedule\\" target=\\"_blank\\">Node.js release schedule</a> for a complete list of Node.js versions and their maintenance status.</p>\\n<p><img src=\\"https://dev-media.amazoncloud.cn/c90208efda3045cc948808121e3c4f90_image.png\\" alt=\\"image.png\\" /><img src=\\"https://dev-media.amazoncloud.cn/4f98293f74c84f079298b880cfec4b9d_2.png\\" alt=\\"2.png\\" /><br />\\nRelease Schedule of Node.js runtime</p>\n<p>The new even-numbered versions (e.g. v12.x, v14.x, v16.x etc) are cut in April, while odd-numbered versions (e.g. v13.x, v15.x) are cut in October. When a new odd-release is cut, the previous even-numbered version transitions to LTS.</p>\n<h5><a id=\\"AWS_SDKs_and_Tools_60\\"></a><strong>AWS SDKs and Tools</strong></h5>\\n<p>For more information regarding maintenance and deprecation for AWS SDKs, please see the <a href=\\"https://docs.aws.amazon.com/credref/latest/refdocs/maint-policy.html\\" target=\\"_blank\\">AWS SDKs and Tools Maintenance Policy</a>. Our policy is to continue supporting SDK dependencies for at least 6 months after the community or vendor ends support for the dependency.</p>\\n<h4><a id=\\"Feedback_64\\"></a><strong>Feedback</strong></h4>\\n<p>We value your feedback, so please tell us what you like and don’t like by opening <a href=\\"https://github.com/aws/aws-sdk-js/issues/new/choose\\" target=\\"_blank\\">an issue on GitHub</a>.</p>\\n<p><img src=\\"https://dev-media.amazoncloud.cn/8837eed500f044e98bd67be9bd3e49ba_image.png\\" alt=\\"image.png\\" /></p>\n<p><a href=\\"https://twitter.com/trivikram\\" target=\\"_blank\\">Trivikram Kamat</a></p>\\n<p>Trivikram is maintainer of AWS SDK for JavaScript in Node.js and browser. Trivikram is also a Node.js Core collaborator and have contributed to HTTP, HTTP/2 and HTTP/3 over QUIC implementations in the past. He has been writing JavaScript for over a decade. You can find him on Twitter <a href=\\"https://twitter.com/trivikram\\" target=\\"_blank\\">@trivikram</a> and GitHub <a href=\\"https://github.com/trivikr\\" target=\\"_blank\\">@trivikr</a>.</p>\\n<p>TAGS: <a href=\\"https://aws.amazon.com/blogs/developer/tag/aws-sdk/\\" target=\\"_blank\\">aws-sdk</a>, aws-sdk-js, <a href=\\"https://aws.amazon.com/blogs/developer/tag/aws-sdk-js/\\" target=\\"_blank\\">JavaScript</a>, <a href=\\"https://aws.amazon.com/blogs/developer/tag/node-js/\\" target=\\"_blank\\">Node.js</a>, <a href=\\"https://aws.amazon.com/blogs/developer/tag/sdk/\\" target=\\"_blank\\">SDK</a></p>\n"}
目录
亚马逊云科技解决方案 基于行业客户应用场景及技术领域的解决方案
联系亚马逊云科技专家
亚马逊云科技解决方案
基于行业客户应用场景及技术领域的解决方案
联系专家
0
目录
关闭