Skip to content

Releases: microsoftgraph/msgraph-beta-sdk-php

2.0.0 Release Candidate 19

06 Jul 07:09
4fbce6d
Compare
Choose a tag to compare
Pre-release

What's Changed

Full Changelog: 2.0.0-RC18...2.0.0-RC19

2.0.0 Release Candidate 18

21 Jun 10:02
e484570
Compare
Choose a tag to compare
Pre-release

What's Changed

Full Changelog: 2.0.0-RC17...2.0.0-RC18

2.0.0 Release Candidate 17

14 Jun 09:49
1c024aa
Compare
Choose a tag to compare
Pre-release

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-RC16...2.0.0-RC17

2.0.0 Release Candidate 16

22 May 14:20
b5526ea
Compare
Choose a tag to compare
Pre-release

Breaking Changes

  • Fluent request builder pattern has changed where you'll need to access the resource first then filter it e.g.
// previously
$message = $graphServiceClient->usersById('userId')->messagesById('messageId')->get()->wait();
// now
$message = $graphServiceClient->users()->byUserId('userId')->messages()->byMessageId('messageId')->get()->wait();
  • Passing custom response handlers is now done via a ResponseHandlerOption
  • BatchRequestBuilder has now changed namespaces from Microsoft\Graph\Core\Requests\BatchRequestBuilder to Microsoft\Graph\Beta\BatchRequestBuilder to allow deserialization of errors during batch requests. See how to make batch requests using the SDK.
  • The ApiException thrown during failed requests no longer contains the raw HTTP/PSR response. Only the response status code and headers are available.

New Features

  • Includes a LargeFileUpload task which automatically uploads files larger than 3MB in chunks using an upload session.
  • Introduces a GraphPhpLeagueAuthenticationProvider which by default requests https://graph.microsoft.com/.default scopes. This decouples the Kiota PhpLeagueAuthenticationProvider from Graph-specific defaults.
  • Code samples for the PageIterator task which enables you to page through a collection while applying a callback that is executed against each item in the collection.
  • Supports Continuous Access Evaluation. See samples

Bug Fixes

  • PATCH requests for /content endpoints now return the expected object. Previously the request succeeded but response body would not be deserialized.
  • Various serialization and deserialization issues with the BatchRequest task have been fixed.

2.0.0 Release Candidate 14

07 Jan 04:02
3634e47
Compare
Choose a tag to compare
Pre-release

What's Changed

  • Merge pull request #117 from microsoftgraph/dev by @SilasKenneth in #119
  • Bump graph core version by @Ndiritu in #120
  • Generated changes using the fix on Kiota. by @SilasKenneth in #125
  • Speed up static analysis using BleedingEdge phpstan switch 🚀 by @SilasKenneth in #122
  • Generated beta models & request builders using Kiota by @github-actions in #129
  • Generated beta models & request builders using Kiota by @github-actions in #131
  • 2.0.0-RC14 by @Ndiritu in #133

Full Changelog: 2.0.0-RC13...2.0.0-RC14

2.0.0 Release Candidate 13

30 Nov 10:17
3e31a52
Compare
Choose a tag to compare
Pre-release

What's Changed

  • Generated beta models & request builders using Kiota by @github-actions in #113
  • Generated beta models & request builders using Kiota by @github-actions in #116
  • Generated beta models & request builders using Kiota by @github-actions in #118
  • 2.0.0-RC13 by @Ndiritu in #117

Full Changelog: 2.0.0-RC12...2.0.0-RC13

2.0.0 Release Candidate 12

07 Nov 07:43
0be7223
Compare
Choose a tag to compare
Pre-release

What's Changed

  • Merge pull request #105 from microsoftgraph/dev by @SilasKenneth in #108
  • Generated beta models & request builders using Kiota by @github-actions in #109
  • 2.0.0-RC12 by @Ndiritu in #110

Full Changelog: 2.0.0-RC11...2.0.0-RC12

2.0.0 Release Candidate 11

26 Oct 08:00
4a872e6
Compare
Choose a tag to compare
Pre-release

What's Changed

  • Main by @Ndiritu in #102
  • Generated beta models & request builders using Kiota by @github-actions in #103
  • Generated beta models & request builders using Kiota by @github-actions in #104
  • Generated beta models & request builders using Kiota by @github-actions in #106
  • Generated beta models & request builders using Kiota by @github-actions in #107
  • Release 2.0.0-RC11 by @Ndiritu in #105

Full Changelog: 2.0.0-RC10...2.0.0-RC11

2.0.0 Release Candidate 10

06 Oct 07:12
b3c3bbd
Compare
Choose a tag to compare
Pre-release

What's Changed

  • Generated beta models & request builders using Kiota by @github-actions in #100
  • Release 2.0.0-RC10 by @Ndiritu in #101

Full Changelog: 2.0.0-RC9...2.0.0-RC10

2.0.0 Release Candidate 9

28 Sep 12:57
22b2470
Compare
Choose a tag to compare
Pre-release

What's Changed

  • PATCH requests now return the deserialized response body.
  • Merge pull request #94 from microsoftgraph/dev by @SilasKenneth in #95
  • Generated beta models & request builders using Kiota by @github-actions in #98
  • 2.0.0-RC9 Release by @Ndiritu in #99

Full Changelog: 2.0.0-RC8...2.0.0-RC9