Skip to content

Releases: thephpleague/oauth2-client

2.8.0

11 Dec 05:13
2.8.0
3d5cf8d
Compare
Choose a tag to compare
  • This version is certified for PHP 8.3 and PHP 8.4! 🎉
  • Fix cases where expires is not a number #929
  • Add SettableRefreshTokenInterface to support setting the refresh token #994
  • Set minimum version of Guzzle to 6.5.8 and 7.4.5, due to security vulnerabilities reported in earlier versions #1022
  • Fix parameter docblock type hint for AbstractProvider::prepareAccessTokenResponse() #1025
    • Take note, this might affect static analysis reports for downstream providers
  • Send scopes with access token request #1029 #1030
  • Explicitly mark nullable parameter #1034 #1039
    • This change requires PHP 7.1 as the minimum version for this library
  • Plus a number of test and documentation improvements; see the commit log for more details

2.7.0

16 Apr 18:21
2.7.0
160d627
Compare
Choose a tag to compare

2.6.1

22 Dec 16:44
2.6.1
2334c24
Compare
Choose a tag to compare
  • Fix deprecation notices, providing full support for PHP 8.1 #919 #920

2.6.0

28 Oct 02:30
2.6.0
badb01e
Compare
Choose a tag to compare
  • Indicate support for PHP 8
  • Allow time to be set for testing purposes #852

2.5.0

18 Jul 17:56
2.5.0
d9f2a1e
Compare
Choose a tag to compare
  • Allow Guzzle 7.x to be used #847

2.4.1

22 Nov 18:36
cc114ab
Compare
Choose a tag to compare
  • Revert to use of AccessToken in type hints to preserve backwards compatibility; this fixes the issue reported in #752 and #753

2.4.0

21 Nov 20:28
88f8381
Compare
Choose a tag to compare
  • Add HttpBasicAuthOptionProvider to ease implementation for providers requiring HTTP basic auth
  • Add GuardedPropertyTrait to allow providers the ability to specify properties that may not be overridden by user-defined values passed to the provider constructor
  • Add AccessTokenInterface and ResourceOwnerAccessTokenInterface to allow providers the ability to override the default AccessToken

2.3.1

19 Nov 23:19
4dfceb5
Compare
Choose a tag to compare
  • Allow paragonie/random_compat's empty 9.99.99 placeholder
  • Throw an UnexpectedValueException on non-JSON responses from access token
    request (when calling AbstractProvider::getAccessToken())

2.3.0

13 Jan 05:32
2.3.0
aa2e3df
Compare
Choose a tag to compare
  • Add ProviderRedirectTrait tool for 3rd-party provider libraries to use when
    handling provider redirections
  • Fix TypeError thrown because getResourceOwner() receives a non-JSON Response
  • Gracefully handle non-standard errors received from providers
  • Update README to reflect official support of PHP 7.2

2.2.1

25 Apr 14:45
313250e
Compare
Choose a tag to compare
  • Fix potential type error when HTTP 500 errors are encountered
  • Allow broader range of random_compat versions