Releases: microsoftgraph/msgraph-beta-sdk-php
Releases · microsoftgraph/msgraph-beta-sdk-php
2.0.0 Release Candidate 18
What's Changed
- Init client with correct base URL when custom request adapter is used by @Ndiritu in #174
- Generated beta models and request builders by @andrueastman in #175
- Release 2.0.0-RC18 by @Ndiritu in #176
Full Changelog: 2.0.0-RC17...2.0.0-RC18
2.0.0 Release Candidate 17
What's Changed
- Simplified
GraphServiceClientinstantiation 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
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 BatchRequestBuilderhas now changed namespaces fromMicrosoft\Graph\Core\Requests\BatchRequestBuildertoMicrosoft\Graph\Beta\BatchRequestBuilderto allow deserialization of errors during batch requests. See how to make batch requests using the SDK.- The
ApiExceptionthrown during failed requests no longer contains the raw HTTP/PSR response. Only the response status code and headers are available.
New Features
- Includes a
LargeFileUploadtask which automatically uploads files larger than 3MB in chunks using an upload session. - Introduces a
GraphPhpLeagueAuthenticationProviderwhich by default requestshttps://graph.microsoft.com/.defaultscopes. This decouples the KiotaPhpLeagueAuthenticationProviderfrom Graph-specific defaults. - Code samples for the
PageIteratortask 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
PATCHrequests for/contentendpoints now return the expected object. Previously the request succeeded but response body would not be deserialized.- Various serialization and deserialization issues with the
BatchRequesttask have been fixed.
2.0.0 Release Candidate 14
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
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
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
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
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
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
2.0.0 Release Candidate 8
What's Changed
- Merge pull request #86 from microsoftgraph/dev by @SilasKenneth in #87
- Generated beta models & request builders using Kiota by @github-actions in #91
- Adding Microsoft SECURITY.MD by @microsoft-github-policy-service in #92
- 2.0.0-RC8 by @Ndiritu in #94
New Contributors
- @microsoft-github-policy-service made their first contribution in #92
Full Changelog: 2.0.0-RC7...2.0.0-RC8