Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: leafsphp/fetch

📡 Signal

22 Dec 09:59
@mychidarko mychidarko

Choose a tag to compare

v0.3 – 22 Dec 2025

Added

  • Automatic formatting of request headers into proper Header: value strings.
  • Support for application/x-www-form-urlencoded payloads
  • Explicit handling for Basic Auth via auth.username and auth.password.
  • Improved extensibility by allowing user-provided cURL options to be merged cleanly.

Fixed

  • Inconsistent header handling when custom headers were provided.
  • Incorrect POST body handling when sending array data.
  • Edge cases where HEAD requests still returned a response body.
  • Potential SSL verification misconfiguration when verifyHost was disabled.
  • Header/body parsing reliability by consistently using header_size.

Changed

  • Switched from internal multiple curl_setopt calls to a single curl_setopt_array call.
  • JSON payloads are now explicitly encoded before being sent.
  • Improved internal request flow readability and maintainability.
  • Deprecated inline cURL auth configuration in favor of structured auth input.

Removed

  • Legacy HTTP auth logic
  • Implicit header passing without normalization.
Assets 2
Loading

☢️ Gamma

01 Nov 07:51
@mychidarko mychidarko

Choose a tag to compare

v0.2 - 27 Oct 2024

Added

  • Made fetch function friendly
  • Added support for building full requests by passing array into fetch()

Fixed

  • Removed fetch() function dependence on namespace

Changed

  • fetch() now works without Leaf's functional mode
Loading
fadrian06 reacted with heart emoji
1 person reacted

v0.1

13 Oct 19:41
@mychidarko mychidarko

Choose a tag to compare

v0.1 - 13th October, 2021

Loading

AltStyle によって変換されたページ (->オリジナル) /