๐ข๐ข Try out the preview of the next major version! ๐ข๐ข
Closed this issue ยท 1 comments
The Microsoft Graph Java SDK v3.0.0 is available for preview now!
This new version features a large number of improvements including:
- Streamlined authentication
- Modern Future API surface for asynchronous execution
- Fluent API for API methods (actions/functions) and support for optional parameters
- Performance and reliability improvements
- Modern date and time APIs
- And more!
The complete detail of improvements and what actions you need to take to upgrade is listed out in the upgrade guide
Note: the upgrade guide contains links to public documentation which hasn't been updated yet, for any link in the upgrade guide pointing to
docs.microsoft.com
please refer to the following pull request for the time being.
To try out this preview version, please use the snapshot versions by:
Gradle instructions
- Adding the snapshot repository in your
build.gradle
.
// in the "repositories" section
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
- Updating the references in your
build.gradle
.
// in the "dependencies" section
implementation 'com.microsoft.graph:microsoft-graph-core:2.0.0-SNAPSHOT'
implementation 'com.microsoft.graph:microsoft-graph:3.0.0-SNAPSHOT'
Maven instructions
- Adding the snapshot repository in your
pom.xml
under theproject
node.
<profiles>
<profile>
<id>allow-snapshots</id>
<activation><activeByDefault>true</activeByDefault></activation>
<repositories>
<repository>
<id>snapshots-repo</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
</profile>
</profiles>
- Adding the references in your
pom.xml
under thedependencies
node.
<dependency>
<groupId>com.microsoft.graph</groupId>
<artifactId>microsoft-graph</artifactId>
<version>3.0.0-SNAPSHOT</version>
</dependency>
Let us know what you think of this new version by opening new issues.
Detailed list of changes
- 3.0.0-preview milestone
- 3.0.0-release milestone
- core 2.0.0-preview milestone
- core 2.0.0-release milestone
Exploring the code
Note: the SDK has now been released and you can use it without the -SNAPSHOT suffix and without having to add repositories to your configuration.