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

Node.js
JavaScript
SDK
海外精选
海外精选的内容汇集了全球优质的亚马逊云科技相关技术内容。同时,内容中提到的“AWS” 是 “Amazon Web Services” 的缩写,在此网站不作为商标展示。
0
0
{"value":"Starting January 1, 2022, AWS SDK For JavaScript (v3) will no longer support Node.js 10.x which was EOL on April 30, 2021.\n\nWe encourage you to upgrade to Node.js 12.x or later. We recommend Node.js 14.x which was released on April 21, 2020 and became active LTS on October 27, 2020.\n\n#### **Motivation**\n\nAs Node.js 10.x version has [reached end-of-life](https://twitter.com/nodejs/status/1388116425361874945). We are seeing support drop within the Node.js community. 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 (v3) in Node.js 10.x, the following message will be shown when you create object of any client:\n\n```\\nJavaScript\\n```\n// test.js\n```\\nconst { DynamoDB } = require(\\"@aws-sdk/client-dynamodb\\");\\n```\nconst client = new DynamoDB();\n```\\n```\n\n```\\nBash\\n```\n\$ node --version\\n```\\nv10.24.1\\n```\\n```\\n\$ node test.js\n```\\n...\\n```\n(node:21294) NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will\n```\\nno longer support Node.js v10.24.1 as of January 1, 2022.\\n```\nTo continue receiving updates to AWS services, bug fixes, and security\n```\\nupdates please upgrade to Node.js 12.x or later.\\n```\n```\\nMore information can be found at: https://a.co/1l6FLnu\\n```\n...\n```\\n\\nOn January 1, 2022, the GitHub and npm release for AWS SDK for JavaScript (v3) 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 (v3) will fail in Node.js <12.x if you have set```engine-strict=true```as follows:\\n\\n```\nBash\n```\\n\$ node --version\\n```\nv10.24.1\n```\\n\\n```\n\$ npm install @aws-sdk/client-s3\\n```\\n...\\n```\\nnpm ERR! code ENOTSUPnpm ERR! notsup Unsupported engine for aws-sdk@<version>: wanted: {\\"node\\":\\">=12.0.0\\"} (current: {\\"node\\":\\"10.24.1\\",\\"npm\\":\\"6.14.12\\"})\\n```\\n...\\n```\\n```\\n\\n```\\n```\\n\\nYou can continue to use AWS SDK for JavaScript (v3) versions released before January 1, 2022 in Node.js <12.x.\\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/a781ff28acfc4758b9d5612b93bfe09f_image.png)\\n\\nThe new even-numbered versions (e.g. v12.x, v14.x, v16.x etc) are released in April, while odd-numbered versions (e.g. v15.x, v17.x) are released in October. When a new odd-numbered release are available, 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 ToolsMaintenance Policy](https://docs.aws.amazon.com/sdkref/latest/guide/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-v3/issues/new/choose).\\n\\n![image.png](https://dev-media.amazoncloud.cn/ceebf605a46c447da6981025285bea0f_image.png)\\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\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n","render":"<p>Starting January 1, 2022, AWS SDK For JavaScript (v3) will no longer support Node.js 10.x which was EOL on April 30, 2021.</p>\\n<p>We encourage you to upgrade to Node.js 12.x or later. We recommend Node.js 14.x which was released on April 21, 2020 and became active LTS on October 27, 2020.</p>\\n<h4><a id=\\"Motivation_4\\"></a><strong>Motivation</strong></h4>\\n<p>As Node.js 10.x version has <a href=\\"https://twitter.com/nodejs/status/1388116425361874945\\" target=\\"_blank\\">reached end-of-life</a>. We are seeing support drop within the Node.js community. 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_8\\"></a><strong>Usage</strong></h4>\\n<p>If you’re using AWS SDK for JavaScript (v3) in Node.js 10.x, the following message will be shown when you create object of any client:</p>\\n<pre><code class=\\"lang-\\">JavaScript\\n</code></pre>\\n<p>// test.js</p>\\n<pre><code class=\\"lang-\\">const { DynamoDB } = require(&quot;@aws-sdk/client-dynamodb&quot;);\\n</code></pre>\\n<p>const client = new DynamoDB();</p>\\n<pre><code class=\\"lang-\\"></code></pre>\\n<pre><code class=\\"lang-\\">Bash\\n</code></pre>\\n<p>\$ node --version</p>\\n<pre><code class=\\"lang-\\">v10.24.1\\n</code></pre>\\n<pre><code class=\\"lang-\\">\$ node test.js\\n</code></pre>\\n<p>…</p>\n<pre><code class=\\"lang-\\">(node:21294) NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will\\n</code></pre>\\n<p>no longer support Node.js v10.24.1 as of January 1, 2022.</p>\n<pre><code class=\\"lang-\\">To continue receiving updates to AWS services, bug fixes, and security\\n</code></pre>\\n<p>updates please upgrade to Node.js 12.x or later.</p>\n<pre><code class=\\"lang-\\"></code></pre>\\n<p>More information can be found at: https://a.co/1l6FLnu</p>\n<pre><code class=\\"lang-\\">...\\n</code></pre>\\n<p>On January 1, 2022, the GitHub and npm release for AWS SDK for JavaScript (v3) 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 (v3) will fail in Node.js &lt;12.x if you have set<code>engine-strict=true</code>as follows:</p>\\n<pre><code class=\\"lang-\\">Bash\\n</code></pre>\\n<p>\$ node --version</p>\n<pre><code class=\\"lang-\\">v10.24.1\\n</code></pre>\\n<pre><code class=\\"lang-\\">\$ npm install @aws-sdk/client-s3\\n</code></pre>\\n<p>…</p>\n<pre><code class=\\"lang-\\">npm ERR! code ENOTSUPnpm ERR! notsup Unsupported engine for aws-sdk@&lt;version&gt;: wanted: {&quot;node&quot;:&quot;&gt;=12.0.0&quot;} (current: {&quot;node&quot;:&quot;10.24.1&quot;,&quot;npm&quot;:&quot;6.14.12&quot;})\\n</code></pre>\\n<p>…</p>\n<pre><code class=\\"lang-\\"></code></pre>\\n<pre><code class=\\"lang-\\"></code></pre>\\n<p>You can continue to use AWS SDK for JavaScript (v3) versions released before January 1, 2022 in Node.js &lt;12.x.</p>\n<h4><a id=\\"Maintenance_Policies_75\\"></a><strong>Maintenance Policies</strong></h4>\\n<h4><a id=\\"The_Nodejs_Release_Schedule_77\\"></a><strong>The Node.js Release Schedule</strong></h4>\\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/a781ff28acfc4758b9d5612b93bfe09f_image.png\\" alt=\\"image.png\\" /></p>\n<p>The new even-numbered versions (e.g. v12.x, v14.x, v16.x etc) are released in April, while odd-numbered versions (e.g. v15.x, v17.x) are released in October. When a new odd-numbered release are available, the previous even-numbered version transitions to LTS.</p>\n<h4><a id=\\"AWS_SDKs_and_Tools_85\\"></a><strong>AWS SDKs and Tools</strong></h4>\\n<p>For more information regarding maintenance and deprecation for AWS SDKs, please see the <a href=\\"https://docs.aws.amazon.com/sdkref/latest/guide/maint-policy.html\\" target=\\"_blank\\">AWS SDKs and ToolsMaintenance 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_89\\"></a><strong>Feedback</strong></h4>\\n<p>We value your feedback, so please tell us what you like and don’t like by opening an <a href=\\"https://github.com/aws/aws-sdk-js-v3/issues/new/choose\\" target=\\"_blank\\">issue on GitHub</a>.</p>\\n<p><img src=\\"https://dev-media.amazoncloud.cn/ceebf605a46c447da6981025285bea0f_image.png\\" alt=\\"image.png\\" /><br />\\n<a href=\\"https://twitter.com/trivikram\\" target=\\"_blank\\"><strong>Trivikram Kamat</strong></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"}
目录
亚马逊云科技解决方案 基于行业客户应用场景及技术领域的解决方案
联系亚马逊云科技专家
亚马逊云科技解决方案
基于行业客户应用场景及技术领域的解决方案
联系专家
0
目录
关闭