{"id":3317,"date":"2025-02-11T14:10:32","date_gmt":"2025-02-11T22:10:32","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/azure-sdk\/?p=3317"},"modified":"2025-02-11T14:27:17","modified_gmt":"2025-02-11T22:27:17","slug":"announcing-the-end-of-support-for-node-js-18-x-in-the-azure-sdk-for-javascript","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/azure-sdk\/announcing-the-end-of-support-for-node-js-18-x-in-the-azure-sdk-for-javascript\/","title":{"rendered":"Announcing the end of support for Node.js 18.x in the Azure SDK for JavaScript"},"content":{"rendered":"<p>After July 10, 2025, the <a href=\"https:\/\/github.com\/Azure\/azure-sdk-for-js\">Azure SDK for JavaScript<\/a> will no longer support Node.js 18.x, which reaches <a href=\"https:\/\/nodejs.org\/en\/about\/previous-releases\">end-of-life<\/a> on April 30, 2025.<\/p>\n<p>We encourage you to <a href=\"https:\/\/nodejs.org\/en\/download\">upgrade to an Active Node.js Long Term Support (LTS) version<\/a>.<\/p>\n<h2>Why are we doing it?<\/h2>\n<p>Node.js has a well-defined release schedule, with each even-numbered version enjoying an Active LTS period followed by a Maintenance LTS period before eventually reaching end-of-life.<\/p>\n<p>Once a Node.js version moves out of Maintenance, it no longer receives bug fixes or security updates. To ensure we&#8217;re providing up-to-date and secure libraries, we routinely drop support for Node.js versions that reached end-of-life.<\/p>\n<p>As a reminder of the <a href=\"https:\/\/github.com\/Azure\/azure-sdk-for-js\/blob\/main\/SUPPORT.md#microsoft-support-policy\">Azure SDK for JavaScript support policy<\/a>, dropping support for such Node.js versions may be done without increasing the major version of the Azure SDK libraries.<\/p>\n<h2>What happens on July 10, 2025?<\/h2>\n<p>On July 10, 2025, the Azure SDK for JavaScript will specify Node.js 20.x as the minimum supported version in its <a href=\"https:\/\/docs.npmjs.com\/cli\/v11\/configuring-npm\/package-json#engines\">engines field<\/a>. If you&#8217;re using Node.js 18.x, installing the later versions of the SDK causes an engine deprecation warning to appear. If you set <a href=\"https:\/\/docs.npmjs.com\/cli\/v11\/using-npm\/config#engine-strict\">engine-strict=true<\/a>, an npm installation error occurs.<\/p>\n<p>The Azure SDK for JavaScript library versions released without Node.js 18.x support may continue to work on Node.js 18.x. This doesn&#8217;t imply a continuation of support. You can continue to use older versions of the libraries with Node.js 18.x, but we strongly recommend upgrading to a supported Node.js version to receive the latest features and security updates.<\/p>\n<h2>Azure SDK support policies<\/h2>\n<p>For more information on maintenance and support policies, see the <a href=\"https:\/\/azure.github.io\/azure-sdk\/policies_support.html#azure-sdk-dependencies\">Azure SDK support policy<\/a> and the <a href=\"https:\/\/github.com\/Azure\/azure-sdk-for-js\/blob\/main\/SUPPORT.md#microsoft-support-policy\">Azure SDK for JavaScript support policy<\/a>.<\/p>\n<h2>What should you do?<\/h2>\n<p>To ensure you&#8217;re using a supported version of Node.js, we recommend upgrading to the latest Active LTS version. You can find the latest LTS version of Node.js on the <a href=\"https:\/\/nodejs.org\">Node.js website<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After July 10, 2025, the Azure SDK for JavaScript will no longer support Node.js 18.x. Upgrade to an Active Node.js Long Term Support (LTS) version to stay secure and up-to-date.<\/p>\n","protected":false},"author":182376,"featured_media":3318,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[750,159,923,772,733],"class_list":["post-3317","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure-sdk","tag-azure-sdk","tag-javascript","tag-js","tag-nodejs","tag-typescript"],"acf":[],"blog_post_summary":"<p>After July 10, 2025, the Azure SDK for JavaScript will no longer support Node.js 18.x. Upgrade to an Active Node.js Long Term Support (LTS) version to stay secure and up-to-date.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/posts\/3317","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/users\/182376"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/comments?post=3317"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/posts\/3317\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/media\/3318"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/media?parent=3317"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/categories?post=3317"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/tags?post=3317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}