Releases: ivan770/laravel-httpclient
Releases · ivan770/laravel-httpclient
4.0.0
3.1.1
3.1.0
3.0.1
3.0.0
Changes
- Added plug-n-play BrowserKit support. Add
PassToBrowserKit
contract to your request class to use it. - Replaced
InteractsWithEloquent
trait withparse
builder method, that supports anyArrayable
class - Requests and responses have their own namespace.
Upgrading
- Check that every request class now uses new namespace.
- Instead of calling
fetchModel
method, you should callparse
method. - If you are modifying core components of package, check that modified classes are using new namespaces.
2.0.0
Changes
Builder
is now a separate class, andHttpClient
calls it via magic methods- Added more HTTP methods available to be called
Builder
inRequest
classes can be used withoutattach
method. You can now chain builder methods onRequest
classdefaultAttach
is now called onRequest
init, so chaining and attaching will work as usual
Upgrading
- Check if your requests are not depending on
defaultAttach
being executed at the end of chaining, as with 2.0.0 update this won't work - Change any usages of Buildable trait to Builder class, if you are using custom client classes