Announcing the end of support for Internet Explorer 11 in the Amazon SDK for JavaScript (v3)

海外精选
海外精选的内容汇集了全球优质的亚马逊云科技相关技术内容。同时,内容中提到的“AWS” 是 “Amazon Web Services” 的缩写,在此网站不作为商标展示。
0
0
{"value":"Starting October 1, 2022, AWS SDK For JavaScript (v3) will end support for Internet Explorer 11 (IE 11). The browser artifacts published in our npm packages will no longer target ES5.\n\nIf your browser application depends on the AWS SDK for JavaScript (v3), we encourage you to support only modern secure and evergreen browsers like Chrome, Edge, or Firefox. If you need to support Internet Explorer in your browser application, you will need to use a transpiler like [babel](https://babeljs.io/) while creating a browser bundle.\n\nMicrosoft will end support for IE 11 on [June 15, 2022](https://www.microsoft.com/en-us/download/internet-explorer.aspx). Amazon Web Services will end support for IE browsers for its websites on [July 31, 2022](https://aws.amazon.com/blogs/aws/heads-up-aws-support-for-internet-explorer-11-is-ending/). In July 2015, Microsoft Edge replaced IE as the default browser in Windows 10. IE 11 is not supported on Windows 11, the latest release of the operating system. Unlike other browsers that update themselves automatically, IE 11 is updated only on a case-by-case basis for the most critical security patches.\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).\n\n#### **How can I continue to use the AWS SDK for JavaScript (v3) in IE 11?**\nYou can continue to use versions of the AWS SDK for JavaScript (v3) released before October 1, 2022. If you want to use AWS SDK for JavaScript (v3) packages published after October 1, 2022 in IE, you can transpile your browser bundle to ES5 and provide polyfills.\n\nFor example, if you’re using [@babel/preset-env](https://babeljs.io/docs/en/babel-preset-env) for transpilation you can configure your targets in babel config as follows:\n\nJSON\n```\n// babel.config.json or .babelrc.json\n{\n \"presets\": [\n [\"@babel/preset-env\", {\n \"targets\": {\n \"browsers\": {\n // other browser versions\n \"ie\": \"11\"\n }\n },\n }]\n ]\n}\n```\nIf you’re using webpack for bundling with babel, you can add [babel-loader](https://webpack.js.org/loaders/babel-loader/) to the list of modules within your webpack configuration object as follows:\n\nJSON\n```\n// webpack.config.json\n...\n module: {\n rules: [\n {\n test: /\\.m?js$/,\n exclude: /(node_modules|bower_components)/,\n use: {\n loader: 'babel-loader',\n options: {\n presets: ['@babel/preset-env']\n }\n }\n ]\n }\n...\n```\n#### **Feedback**\nWe value your feedback, so please tell us what you like and don’t like by opening [a discussion on GitHub](https://github.com/aws/aws-sdk-js-v3/discussions/new).\n\n![image.png](https://dev-media.amazoncloud.cn/125516fa605f40ea92fd52948c68bdae_image.png)\n\n**Trivikram Kamat**\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).","render":"<p>Starting October 1, 2022, AWS SDK For JavaScript (v3) will end support for Internet Explorer 11 (IE 11). The browser artifacts published in our npm packages will no longer target ES5.</p>\n<p>If your browser application depends on the AWS SDK for JavaScript (v3), we encourage you to support only modern secure and evergreen browsers like Chrome, Edge, or Firefox. If you need to support Internet Explorer in your browser application, you will need to use a transpiler like <a href=\"https://babeljs.io/\" target=\"_blank\">babel</a> while creating a browser bundle.</p>\n<p>Microsoft will end support for IE 11 on <a href=\"https://www.microsoft.com/en-us/download/internet-explorer.aspx\" target=\"_blank\">June 15, 2022</a>. Amazon Web Services will end support for IE browsers for its websites on <a href=\"https://aws.amazon.com/blogs/aws/heads-up-aws-support-for-internet-explorer-11-is-ending/\" target=\"_blank\">July 31, 2022</a>. In July 2015, Microsoft Edge replaced IE as the default browser in Windows 10. IE 11 is not supported on Windows 11, the latest release of the operating system. Unlike other browsers that update themselves automatically, IE 11 is updated only on a case-by-case basis for the most critical security patches.</p>\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>.</p>\n<h4><a id=\"How_can_I_continue_to_use_the_AWS_SDK_for_JavaScript_v3_in_IE_11_8\"></a><strong>How can I continue to use the AWS SDK for JavaScript (v3) in IE 11?</strong></h4>\n<p>You can continue to use versions of the AWS SDK for JavaScript (v3) released before October 1, 2022. If you want to use AWS SDK for JavaScript (v3) packages published after October 1, 2022 in IE, you can transpile your browser bundle to ES5 and provide polyfills.</p>\n<p>For example, if you’re using <a href=\"https://babeljs.io/docs/en/babel-preset-env\" target=\"_blank\">@babel/preset-env</a> for transpilation you can configure your targets in babel config as follows:</p>\n<p>JSON</p>\n<pre><code class=\"lang-\">// babel.config.json or .babelrc.json\n{\n &quot;presets&quot;: [\n [&quot;@babel/preset-env&quot;, {\n &quot;targets&quot;: {\n &quot;browsers&quot;: {\n // other browser versions\n &quot;ie&quot;: &quot;11&quot;\n }\n },\n }]\n ]\n}\n</code></pre>\n<p>If you’re using webpack for bundling with babel, you can add <a href=\"https://webpack.js.org/loaders/babel-loader/\" target=\"_blank\">babel-loader</a> to the list of modules within your webpack configuration object as follows:</p>\n<p>JSON</p>\n<pre><code class=\"lang-\">// webpack.config.json\n...\n module: {\n rules: [\n {\n test: /\\.m?js$/,\n exclude: /(node_modules|bower_components)/,\n use: {\n loader: 'babel-loader',\n options: {\n presets: ['@babel/preset-env']\n }\n }\n ]\n }\n...\n</code></pre>\n<h4><a id=\"Feedback_50\"></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-v3/discussions/new\" target=\"_blank\">a discussion on GitHub</a>.</p>\n<p><img src=\"https://dev-media.amazoncloud.cn/125516fa605f40ea92fd52948c68bdae_image.png\" alt=\"image.png\" /></p>\n<p><strong>Trivikram Kamat</strong><br />\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 <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
目录
关闭