Skip to content

Releases: stefangabos/Zebra_cURL

1.6.4

13 Dec 21:18
Compare
Choose a tag to compare

1.6.3

04 Dec 21:56
Compare
Choose a tag to compare
  • fixed issue when POST data was given as a nested array for post, patch and put methods
  • method scrap was renamed to scrape (the previous method will still work for backwards compatibility); see #51, thanks to n0nag0n for reporting it!
  • updated list of possible curl response messages (as per curl version 8.10.1);
  • updated CA certificats used in the examples folder to their latest version (at the time of writing) of November 26, 2024

1.6.2

25 Nov 17:48
Compare
Choose a tag to compare
  • fixed issue where in case of multiple headers with the same name only the last one would be returned; thanks Dave Gee for reporting!
  • proxy related information is now available when a proxy is used; thanks to Dave Gee for suggesting
  • minor bug fixes and source code formatting because we are now using PHPStan for static code analysis and PHP CodeSniffer for detecting coding standards violations, which are now PSR12-ish with a few of the rules excluded; this also fixes #48; thanks MoontoC!

1.6.1

12 May 21:21
Compare
Choose a tag to compare
  • updated list of possible curl response messages; see #44; thanks Burak BOZ!

1.6.0

17 Mar 08:38
Compare
Choose a tag to compare
  • added support for PATCH requests
  • the library will not cache results in case the cURL requst returns an error; thanks to George Adrian for suggesting

1.5.1

01 May 15:09
Compare
Choose a tag to compare
  • fixed compatibility with PHP 8

1.5.0

29 Sep 09:11
Compare
Choose a tag to compare
  • the get method now allows passing of query strings in a nicer way
  • fixed bug where when passing an associative array as an extra argument to any of the main methods, it would be incorrectly passed forward to the callback function
  • fixed bug where not all the formats for URLs described in the documentation were actually supported
  • documentation overhaul

1.4.0

08 May 08:43
Compare
Choose a tag to compare
  • custom options can now be set for each individual request when processing multiple requests at once; see this issue for the initial request and see the documentation for the $urls argument in the documentation for the get() method (or any other method where multiple URLs can be specified)
  • removed from source code comments and documentation all references to the deprecated create_function function
  • improved documentation for the ssl() method and how to easily get a CA certificates bundle to enable communication over HTTPS
  • all examples were updated and were made functional again

1.3.5

28 Nov 11:14
Compare
Choose a tag to compare
  • fixed bug where downloading dynamically generated files (like download.php?foo=bar...) would result in each subsequent file overwriting the previous one;
  • additionally, the downloaded files' name is now available in $result->info['downloaded_filename']; see the documentation for more info

1.3.4

22 May 08:59
Compare
Choose a tag to compare
  • fixed bug when having pauses between batches of requests
  • fixed bug with script stopping after first request if the "threads" property was set to 1; thanks to @sbosshardt
  • fixed broken file uploads when making POST and PUT requests
  • fixed warning that would be shown when POST-ing/PUT-ing raw data; thanks Sebastian Popa
  • fixed bug where the header method would only accept an array of URLs or would trigger an error otherwise
  • minor source code tweaks
  • unnecessary files are no more included when downloading from GitHub or via Composer
  • documentation is now available in the repository and on GitHub
  • the home of the library is now exclusively on GitHub