Skip to content

Releases: ivan770/laravel-httpclient

4.0.0

08 Dec 12:13
Compare
Choose a tag to compare

Changes

  • Added support for Laravel 8 and Symfony 5
  • Improved client exceptions
  • Added Pipeable trait

Upgrading

  • Ensure you are using Laravel 8 before trying to upgrade to this version. If you are still using older Laravel versions, consider using package version 3.1.1.

3.1.1

07 Jan 21:41
c707c0a
Compare
Choose a tag to compare

Changes

  • Added make:http documentation

3.1.0

20 Nov 16:33
Compare
Choose a tag to compare

Changes

  • Added caching support. Use remember method to save response contents to Laravel Repository
  • getMethod and getResource in Request are now public

3.0.1

20 Oct 07:51
Compare
Choose a tag to compare

Changes

  • Fixed incorrect facade resolving
  • Added facade alias documentation

3.0.0

20 Oct 07:34
Compare
Choose a tag to compare

Changes

  • Added plug-n-play BrowserKit support. Add PassToBrowserKit contract to your request class to use it.
  • Replaced InteractsWithEloquent trait with parse builder method, that supports any Arrayable 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 call parse method.
  • If you are modifying core components of package, check that modified classes are using new namespaces.

2.0.0

18 Oct 17:05
Compare
Choose a tag to compare

Changes

  • Builder is now a separate class, and HttpClient calls it via magic methods
  • Added more HTTP methods available to be called
  • Builder in Request classes can be used without attach method. You can now chain builder methods on Request class
  • defaultAttach is now called on Request 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

1.6.0

29 Sep 10:20
Compare
Choose a tag to compare
  • Add tests method to Request. Now you are able to test responses without making actual request to resource.

1.5.0

28 Sep 17:06
Compare
Choose a tag to compare
  • Add Request class. Now you are able to easily create HTTP requests, while preserving ability to use builder.
  • Added make:http artisan command
  • Added service provider

1.4.0

19 Sep 14:37
efe9ad3
Compare
Choose a tag to compare
  • Add Laravel 6 support

1.3.1

11 Jun 07:21
Compare
Choose a tag to compare
  • Fix PHPDoc in HttpClient
  • Usage of Container class, instead of "app" helper