Skip to content

Releases: microsoftgraph/msgraph-sdk-php

August 2021 Update (1.37.0)

Choose a tag to compare

@Ndiritu Ndiritu released this 18 Aug 16:02
e3c79c2
  • Allow attaching any Psr\Http\Message\StreamInterface implementation to the request body via attachBody()
  • Allow setting a return type of Psr\Http\Message\StreamInterface to get a stream response
  • Added docs generated using PHPDocumentor to the docs folder. Open docs/index.html in a browser to get a better view of our classes, their properties, property types, available methods with their argument and return types
  • v1 and beta model updates

August 2021 Update (1.36.0)

Choose a tag to compare

@Ndiritu Ndiritu released this 11 Aug 14:14
570613d
  • v1 and beta model updates
  • Reverts to allowing guzzlehttp/guzzle to determine the version of guzzlehttp/psr7 to be used. To be re-considered in next major rev.
  • Reverts to using Utils::streamFor() in favour of deprecated stream_for()

July 2021 Update (1.35.1)

Choose a tag to compare

@Ndiritu Ndiritu released this 28 Jul 10:44
263365d
  • Downgrade guzzlehttp/psr7 from ^2.0 to ^1.0 to fix previous BC break (#560)

July 2021 Update (1.35.0)

Choose a tag to compare

@Ndiritu Ndiritu released this 21 Jul 19:21
a7cbd96
  • Updates auto-generated v1 and beta models
  • Replaces deprecated GuzzleHttp\Psr7\stream_for() with \GuzzleHttp\Psr7\Utils::streamFor()
  • Adds PHPStan for static analysis

June 2021 Update (1.34.0)

Choose a tag to compare

@Ndiritu Ndiritu released this 16 Jun 12:12
5200f36
  • Updates to generated beta and v1 models
  • GraphCollectionRequest bug-fixes
    • Ensure getPage() works as expected in cases where customers set baseUrl to https://graph.microsoft.com (without trailing /
  • PHPDoc updates
    • GraphRequest methods inherited by GraphCollectionRequest now return $this vs GraphRequest previously making them suggested by IDEs when working with GraphCollectionRequest objects
    • Correct wrong return types for GraphPrint, GraphList & GraphCase

May 2021 Update (1.33.0)

Choose a tag to compare

@Ndiritu Ndiritu released this 20 May 09:04
388da07
  • Updates to v1 and beta models
  • GitHub workflow improvements

May 2021 Update (1.32.0)

Choose a tag to compare

@Ndiritu Ndiritu released this 14 May 14:58
2d64a63
  • Allow SSL verification when using a proxy
    You can now enable SSL verification when setting a proxy via setProxyPort($port, $verifySSL = false)
  • Bump actions/checkout from 2 to 2.3.4
  • v1 and beta model updates

May 2021 Update (1.31.0)

Choose a tag to compare

@Ndiritu Ndiritu released this 06 May 19:02
fbc50b2
  • GitHub workflow updates
  • Updates to PHPDocs for v1 and beta models
  • Return null when a property of a model is null as opposed to initialising a model with null or initialising a built-in PHP type e.g. DateTime
  • Updating code indentation in generated models
  • Fix missing \Beta\Microsoft\Graph\Model\Single and \Microsoft\Graph\Model\Single models by casting OData Single type to float in generated models

April 2021 Update (1.30.1)

Choose a tag to compare

@Ndiritu Ndiritu released this 28 Apr 04:56
d97a553
  • Fixes a previous breaking change introduced in 1.30.0 where a GraphException was being thrown in GraphRequest's execute(), download() and upload() methods as well as GraphCollectionRequest's count() and getPage() methods. The patch reverts to throwing Guzzle's ClientException or ServerException but with the full response body in the exception message.
  • Includes updates to PHPDocs
  • Includes updates to Beta and v1 models

April 2021 Update (1.30.0)

Choose a tag to compare

@Ndiritu Ndiritu released this 13 Apr 10:08
  • Update v1 and beta models
  • Upgrade PHPUnit to ^9.0 replacing deprecated test methods
  • Upgrade PHP to ^7.3
  • Fix broken namespaces in generated models
  • Fix truncated Guzzle BadResponseException message
  • Delete docs/ folder
  • Updates to README.md