Just a re-release locking the interface in place. First final release!
Changes
- Added static analysis through psalm.
Changes
Requestcan now be instantiated without passing all values, in which cases it will set itself up by usingRequestFactory::getValuesFromServer.
Changes
dispatchnow terminates by default,dispatchAndTerminatehas been removed, anddispatchWithoutTerminatehas been added.Parable\Http\Exceptionhas been renamed toParable\Http\HttpExceptionfor clearer usage.
Changes
- Dropped support for php7, php8 only from now on.
Fixes
Uricould not deal with double ports, i.e.devvoh.com:8000:8000and would setdevvoh.com:8000as the host, causing issues. This is now fixed. The host is no longer allowed to have port numbers in it.
Changes
Urinow accepts anullvalue onwithPort(),withUser(),withPass(),withPath(),withQuery()andwithFragment()to reset these values properly.Urialso accepts an empty array inwithQueryArray()- Urls generated now always have a
/between query parts, fragments and the actual url.
Changes
Urihas gained 2 methods:getUriBaseString()andgetUriRestString. Now it's easily possible to get the base uri, or only the path/query/fragment side of one.
Changes
- Removed all
withmethods fromResponse, replaced withsetmethods. It's no longer immutable. - Traits have been renamed to
HasHeadersandHasStatusCode.HasHeadersonly provides get methods. - Methods on
SupportsOutputBuffershave been suffixed withOutputBuffer(s)for clairity when used within a class using it. Dispatcherhas been renamed toResponseDispatcherbecauseDispatcheris kinda generic.ResponseDispatcher::setShouldTerminate()has been removed.->dispatch()now never terminates, and->dispatchAndTerminate()always does.
Changes
- First release.