Skip to content

Latest commit

 

History

History
executable file
·
29 lines (17 loc) · 827 Bytes

UPGRADING.md

File metadata and controls

executable file
·
29 lines (17 loc) · 827 Bytes

Upgrading

v5.x.x -> v6.0.0

errors on the resulting object now returns a boolean instead of an object. The body will not contain the error response.

rest will remain the same, however, there is now restAsync which will return a Guzzle promise should you choose to use it.

v4.x.x -> v5.x.x

No upgrading is required if you do not capture 400-500 exceptions from Guzzle yourself. If you do, the library now handles these exceptions internally and returns them inside the resulting object.

v1.x.x -> v3.0.0

  • getApiCalls() now takes two arguments, first being rest|graph, second being the key

Old:

getApiCalls('left');

New:

getApiCalls('rest', 'left');
  • request() still exists, and is aliased to rest() but encourage you to move all REST calls to the new rest() method name