{"id":6147,"date":"2021-03-30T11:09:02","date_gmt":"2021-03-30T19:09:02","guid":{"rendered":"https:\/\/officedevblogs.wpengine.com\/?p=6147"},"modified":"2021-03-30T11:09:02","modified_gmt":"2021-03-30T19:09:02","slug":"microsoft-graph-java-sdk-v3-adds-enhanced-capabilities-with-general-availability","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/microsoft-graph-java-sdk-v3-adds-enhanced-capabilities-with-general-availability\/","title":{"rendered":"Microsoft Graph Java SDK v3\u00a0adds enhanced capabilities with general availability"},"content":{"rendered":"<p><span class=\"TextRun SCXW40158955 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW40158955 BCX8\">The Microsoft<\/span><span class=\"NormalTextRun SCXW40158955 BCX8\">\u00a0Graph SDKs are designed to simplify building high-quality,\u00a0<\/span><span class=\"NormalTextRun SCXW40158955 BCX8\">efficient<\/span><span class=\"NormalTextRun SCXW40158955 BCX8\">\u00a0and resilient applications access<\/span><span class=\"NormalTextRun SCXW40158955 BCX8\">ing<\/span><span class=\"NormalTextRun SCXW40158955 BCX8\">\u00a0Microsoft Graph.<\/span><span class=\"NormalTextRun SCXW40158955 BCX8\">\u00a0Taking advantage of the Microsoft Graph Java SDK<\/span><span class=\"NormalTextRun SCXW40158955 BCX8\">,<\/span><span class=\"NormalTextRun SCXW40158955 BCX8\">\u00a0<\/span><span class=\"NormalTextRun SCXW40158955 BCX8\">your application benefits<\/span><span class=\"NormalTextRun SCXW40158955 BCX8\">\u00a0automatic<\/span><span class=\"NormalTextRun SCXW40158955 BCX8\">\u00a0retry handling, secure redirects, transparent authentication, payload compression, large files upload and much more.<\/span><\/span><span class=\"EOP SCXW40158955 BCX8\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Today, we&#8217;re\u00a0announcing\u00a0the general availability\u00a0(GA)\u00a0of\u00a0Microsoft Graph Java SDK v3.\u00a0This version\u00a0includes features\u00a0and improvements\u00a0detailed in our\u00a0<a href=\"https:\/\/developer.microsoft.com\/en-us\/sharepoint\/blogs\/announcing-the-public-preview-of-microsoft-graph-java-sdk-v3\/\">public preview\u00a0blog post<\/a>.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">In addition to the breaking changes mentioned in the preview version,\u00a0this\u00a0GA release\u00a0includes a\u00a0new minor breaking change\u00a0that may impact your application.\u00a0To\u00a0align the SDK design specifications\u00a0and clarify the intent of the class, the\u00a0<\/span><b><span data-contrast=\"auto\">ChunckedUploadProvider\u00a0<\/span><\/b><span data-contrast=\"auto\">has been\u00a0renamed\u00a0as\u00a0<\/span><b><span data-contrast=\"auto\">LargeFileUploadTask<\/span><\/b><span data-contrast=\"auto\">.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Check out\u00a0this\u00a0<\/span><a href=\"https:\/\/github.com\/microsoftgraph\/msgraph-sdk-java\/blob\/dev\/docs\/upgrade-to-v3.md\"><span data-contrast=\"none\">GitHub post<\/span><\/a><span data-contrast=\"auto\">\u00a0to access a detailed upgrade guide\u00a0with\u00a0further details of those improvements.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<h3><span data-contrast=\"none\">Try out the new version today!<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559738&quot;:40,&quot;335559739&quot;:0,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h3>\n<p><span data-contrast=\"none\">Try out this new version today and\u00a0<\/span><a href=\"https:\/\/github.com\/microsoftgraph\/msgraph-sdk-java\/issues\/new\"><span data-contrast=\"none\">let us know what you think<\/span><\/a><span data-contrast=\"none\">!\u00a0<\/span><span data-contrast=\"none\">Follow these instructions to add the new SDK to your project.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><i><span data-contrast=\"none\">Gradle<\/span><\/i><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559738&quot;:40,&quot;335559739&quot;:0,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Edit the \u201cbuild.gradle\u201d file of your project to contain the following entries.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">In the &#8220;repositories&#8221; section:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<pre class=\"lang: decode:true\" title=\"mavenCentral()\">mavenCentral()<\/pre>\n<p><span data-contrast=\"auto\">In the &#8220;dependencies&#8221; section:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<pre class=\"lang: decode:true \">implementation 'com.microsoft.graph:microsoft-graph-core:2.0.0\u00a0\n\nimplementation\u00a0'com.microsoft.graph:microsoft-graph:3.0.0<\/pre>\n<p><i><span data-contrast=\"none\">Maven<\/span><\/i><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559738&quot;:40,&quot;335559739&quot;:0,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">In the \u201cpom.xml\u201d file under the\u00a0dependencies\u00a0node:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<pre class=\"lang: decode:true \">&lt;dependency&gt;\u00a0\n\n\u00a0 &lt;groupId&gt;com.microsoft.graph&lt;\/groupId&gt;\u00a0\n\n\u00a0 &lt;artifactId&gt;microsoft-graph&lt;\/artifactId&gt;\u00a0\n\n\u00a0 &lt;version&gt;3.0.0 &lt;\/version&gt;\u00a0\n\n&lt;\/dependency&gt;<\/pre>\n<p><span data-contrast=\"auto\">Check out the <\/span><a href=\"https:\/\/docs.microsoft.com\/en-us\/graph\/sdks\/create-client?tabs=Java\"><span data-contrast=\"none\">updated documentation<\/span><\/a>.<\/p>\n<p><span data-contrast=\"none\">We would like to thank all of the community members who tried the preview version and provided valuable feedback to help us make this new release the best version of the Java SDK yet!\u00a0<\/span><\/p>\n<p><em>Today&#8217;s post is written by <a href=\"https:\/\/twitter.com\/baywet\">Vincent Biret<\/a> and Maisa Rissi.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Microsoft Graph Java SDK v3 adds features and improvements for authentication, asynchronous API, Fluent API and more. <\/p>\n","protected":false},"author":69077,"featured_media":25159,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-6147","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-graph"],"acf":[],"blog_post_summary":"<p>Microsoft Graph Java SDK v3 adds features and improvements for authentication, asynchronous API, Fluent API and more. <\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/6147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/users\/69077"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=6147"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/6147\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/25159"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=6147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=6147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=6147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}