Skip to content

2.0.0 Release Candidate 15

Pre-release
Pre-release
Compare
Choose a tag to compare
@Ndiritu Ndiritu released this 14 Jun 09:32
30880ac

What's Changed

  • Simplified GraphServiceClient instantiation experience
// Default client using the global endpoint (https://graph.microsoft.com) and default scopes
$graphServiceClient = new GraphServiceClient($tokenRequestContext);

// With custom scopes and custom National Cloud endpoint
$graphServiceClient = new GraphServiceClient($tokenRequestContext, $scopes, NationalCloud::CHINA);

// With a custom request adapter
$graphServiceClient = GraphServiceClient::createWithRequestAdapter($requestAdapter);
  • Updated models and fluent request builders.

Full Changelog: 2.0.0-RC14...2.0.0-RC15