Skip to content

Releases: MindTouch/mindtouch-http.php

mindtouch-http.php release 2.2.0

16 Mar 03:40
Compare
Choose a tag to compare
  • Fixes #51
  • Fixes #52
  • New QueryParams, IQueryParams, and IMutableQueryParams classes for handling query param collections

mindtouch-http.php release 2.1.1-patch.0

26 Feb 06:59
Compare
Choose a tag to compare

Minor docblock patch to aid IDE intellisense

mindtouch-http.php release 2.1.1

21 Feb 21:00
Compare
Choose a tag to compare
  • The URL path segment builder functions XUri::at, HttpPlug::at, and ApiPlug::at now accept types other than string as input parameters.
  • Optimize StringUtil::stringify function to exit immediately if value is type string.
  • Allow HttpPlug::withCredentials to accept a null password value

mindtouch-http.php release 2.1.0

05 Feb 03:01
Compare
Choose a tag to compare

Query parameter and HTTP header values no longer have strict string type checks, allowing a string value to be inferred from bool, integer, float, object, array, and Closure`. The following functions are affected:

  • Plug::withHeader
  • Plug::withAddedHeader
  • Plug::with
  • Headers::addHeader
  • Headers::setHeader
  • XUri::with
  • XUri::withQueryParam
  • XUri::withReplacedQueryParam

mindtouch-http.php release 2.0.0

23 Jan 01:01
Compare
Choose a tag to compare
  • PHP 7.2 argument and return type static enforcement
  • Static analysis checks during Travis CI build
  • Remove deprecated constant that crashes XUri::isAbsoluteUrl in PHP 7.3

mindtouch-http.php release 1.2.0

19 Jan 03:10
96e8d43
Compare
Choose a tag to compare
  • Add XUri::withoutQuery()

mindtouch-http.php release 1.1.1

06 Nov 19:27
c1798ab
Compare
Choose a tag to compare

mindtouch-http.php release 1.1.0

10 Jul 23:43
23b9797
Compare
Choose a tag to compare
  • Introduce ContentType object and replace call sites that passed around content type strings
  • ContentType can parse content-type http header values, and interpret the difference between the main type, sub type, and parameters

mindtouch-http.php release 1.0.6

21 Jun 18:37
7c1a988
Compare
Choose a tag to compare
  • Address runtime warning due to unset array index query

mindtouch-http.php release 1.0.5

17 Jun 05:36
bb03443
Compare
Choose a tag to compare
  • Split HttpPlug::invoke into HttpPlug::invoke and HttpPlug::invokeRequest to allow subclasses more flexibility
  • Move HttpPlug::invokeApplyCredentials call site before pre invocation callbacks are called, in order to allow the callbacks to modify authentication/authorization request data
  • Get total invocation count from MockPlug