Skip to content

v3.2.3

Latest
Compare
Choose a tag to compare
@Thavarshan Thavarshan released this 24 May 20:25
· 1 commit to main since this release

Added

  • Comprehensive test coverage for array body handling in ConfiguresRequestsTest
  • Explicit option conflict prevention in request body configuration
  • Better error prevention for Guzzle HTTP client integration

Changed

  • ConfiguresRequests::withBody() method now ensures mutual exclusivity of body-related options
  • Request option handling now explicitly removes conflicting options (json, body, form_params, multipart)
  • Improved reliability of JSON array requests by preventing option conflicts

Fixed

  • BREAKING FIX: Resolved Guzzle InvalidArgumentException when sending POST requests with array bodies
  • Fixed issue where both json and body options were set simultaneously, causing Guzzle to reject requests
  • Eliminated "Passing in the 'body' request option as an array to send a request is not supported" error
  • Restored ability to send structured JSON data using PHP arrays in request bodies
  • Fixed helper functions (post(), put(), patch(), etc.) failing with array payloads

Full Changelog: 3.2.2...3.2.3

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy