Skip to content

πŸ• Retriever

Latest

Choose a tag to compare

@mychidarko mychidarko released this 13 Aug 00:58

v5.0 - 13 Aug 2026

Added

  • Arrays passed as data on POST, PUT, PATCH and DELETE are sent as JSON automatically, no json_encode() needed
  • Added timeout support in seconds, per-request or app-wide via Fetch::config()
  • Added verifyHost and verifyPeer options with correct TLS semantics
  • JSON responses are decoded for you
  • Added a Pest test suite, run through Alchemy (fetch's first)

Fixed

  • cURL failures throw a clear exception naming the failing URL, instead of failing quietly
  • Every documented option is honoured β€” options you set no longer silently do nothing
  • Cleaned up functional-mode initialization

Changed

  • Fetch now requires PHP 8.2+ and jumps from v0.3 to v5.0 to version alongside the rest of Leaf 5