Releases: MindTouch/mindtouch-http.php
Releases · MindTouch/mindtouch-http.php
mindtouch-http.php release 2.2.0
mindtouch-http.php release 2.1.1-patch.0
Minor docblock patch to aid IDE intellisense
mindtouch-http.php release 2.1.1
- The URL path segment builder functions
XUri::at
,HttpPlug::at
, andApiPlug::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
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
- 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
- Add
XUri::withoutQuery()
mindtouch-http.php release 1.1.1
mindtouch-http.php release 1.1.0
- 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
- Address runtime warning due to unset array index
query
mindtouch-http.php release 1.0.5
- Split
HttpPlug::invoke
intoHttpPlug::invoke
andHttpPlug::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