The Amazon SDK for Java 2.17 removes its external dependency on Jackson

海外精选
海外精选的内容汇集了全球优质的亚马逊云科技相关技术内容。同时,内容中提到的“AWS” 是 “Amazon Web Services” 的缩写,在此网站不作为商标展示。
0
0
{"value":"We have released the [AWS SDK for Java](https://github.com/aws/aws-sdk-java-v2/) 2.17, which removes the SDK’s external dependency on the popular third-party JSON library, [Jackson](https://github.com/FasterXML/jackson). This means that AWS SDK for Java 2.x no longer requires an external copy of Jackson-databind, Jackson-core, or Jackson-dataformat-cbor in order to function. This release does not change any of the public AWS SDK APIs.\n\n#### **Why was this change made?**\nPreviously, updating the Jackson version used by the Java SDK meant that customer applications could potentially break because of backwards-incompatibilities between the old and new Jackson versions. Now, the SDK is using its own “shaded” copy of Jackson to ensure we can keep-up-to date with the latest Jackson performance, stability, and security improvements.\n\n#### **Will I have any issues upgrading to version 2.17 from previous 2.x versions?**\nMost of the SDK changes in version 2.17 are “under the hood”. In our testing, most customers did not encounter issues when they upgraded to the AWS SDK for Java 2.17 from an earlier 2.x version. The following changes may be noticed by a subset of customers:\n\nSDK Footprint Changes\nBecause the SDK now includes its own “[shaded](https://maven.apache.org/plugins/maven-shade-plugin/)” copy of Jackson, the footprint (total jar size) of the SDK will change. Customers who do not use Jackson outside of the SDK will see an approximate 1 MB jar size decrease. Customers use Jackson outside of the SDK will see an approximate 500 KB jar size increase, to account for the SDK’s internal copy of Jackson.\n\nSDK Dependency Changes\nCustomer applications that use Jackson without declaring their own dependency on the library may no longer compile after upgrading to the SDK 2.17. If you find that your application no longer compiles due to missing Jackson packages or classes, you should add your own dependency on Jackson to correct the error. We also recommend configuring your project to use the [maven-dependency-plugin](https://maven.apache.org/plugins/maven-dependency-plugin/), which will ensure you are explicitly declaring all dependencies that you are using.\n\nIf you have any questions or concerns, you can [contact us on Github](https://github.com/aws/aws-sdk-java-v2/issues).","render":"<p>We have released the <a href=\"https://github.com/aws/aws-sdk-java-v2/\" target=\"_blank\">AWS SDK for Java</a> 2.17, which removes the SDK’s external dependency on the popular third-party JSON library, <a href=\"https://github.com/FasterXML/jackson\" target=\"_blank\">Jackson</a>. This means that AWS SDK for Java 2.x no longer requires an external copy of Jackson-databind, Jackson-core, or Jackson-dataformat-cbor in order to function. This release does not change any of the public AWS SDK APIs.</p>\n<h4><a id=\"Why_was_this_change_made_2\"></a><strong>Why was this change made?</strong></h4>\n<p>Previously, updating the Jackson version used by the Java SDK meant that customer applications could potentially break because of backwards-incompatibilities between the old and new Jackson versions. Now, the SDK is using its own “shaded” copy of Jackson to ensure we can keep-up-to date with the latest Jackson performance, stability, and security improvements.</p>\n<h4><a id=\"Will_I_have_any_issues_upgrading_to_version_217_from_previous_2x_versions_5\"></a><strong>Will I have any issues upgrading to version 2.17 from previous 2.x versions?</strong></h4>\n<p>Most of the SDK changes in version 2.17 are “under the hood”. In our testing, most customers did not encounter issues when they upgraded to the AWS SDK for Java 2.17 from an earlier 2.x version. The following changes may be noticed by a subset of customers:</p>\n<p>SDK Footprint Changes<br />\nBecause the SDK now includes its own “<a href=\"https://maven.apache.org/plugins/maven-shade-plugin/\" target=\"_blank\">shaded</a>” copy of Jackson, the footprint (total jar size) of the SDK will change. Customers who do not use Jackson outside of the SDK will see an approximate 1 MB jar size decrease. Customers use Jackson outside of the SDK will see an approximate 500 KB jar size increase, to account for the SDK’s internal copy of Jackson.</p>\n<p>SDK Dependency Changes<br />\nCustomer applications that use Jackson without declaring their own dependency on the library may no longer compile after upgrading to the SDK 2.17. If you find that your application no longer compiles due to missing Jackson packages or classes, you should add your own dependency on Jackson to correct the error. We also recommend configuring your project to use the <a href=\"https://maven.apache.org/plugins/maven-dependency-plugin/\" target=\"_blank\">maven-dependency-plugin</a>, which will ensure you are explicitly declaring all dependencies that you are using.</p>\n<p>If you have any questions or concerns, you can <a href=\"https://github.com/aws/aws-sdk-java-v2/issues\" target=\"_blank\">contact us on Github</a>.</p>\n"}
目录
亚马逊云科技解决方案 基于行业客户应用场景及技术领域的解决方案
联系亚马逊云科技专家
亚马逊云科技解决方案
基于行业客户应用场景及技术领域的解决方案
联系专家
0
目录
关闭
contact-us