This changelog references the relevant changes (bug and security fixes) done to katsana/minions
.
Released: 2020-09-08
- Add support for Laravel Framework
8.+
.
Released: 2020-08-25
- Wrap handling request with
rescue()
to avoid uncatchable exception includingPDOException
.
Released: 2020-07-22
- Added methods to
Minions\Exceptions\RequestException
to access exception from response object:getRpcError()
getRpcErrorCode()
getRpcErrorMessage()
Released: 2020-05-01
- Added
Minions\Client\Minion::enabled()
method. - Added
Minions\Testing\MakesRpcRequests::sendRpc()
method. - Added
Minions\Testing\TestResponse::assertStatus()
method.
Released: 2020-04-20
- Added
Minions\Client\Response::toArray()
method.
- Emulate JSONRPC error when response status code is not
200
,201
,203
,204
or205
. - Allow to
serialize()
andunserialize()
instance ofMinions\Client\Response
.
Released: 2020-04-11
- Added
Minions\Client\Minion::queue()
method. - Added
Minions\Testing\TestResponse::output()
method. - Add
Minions\Http\Request::input()
method.
- Explicitly require
clue/buzz-react
,nyholm/psr7
andsymfony/psr-http-message-bridge
to streamline out of the box feature. - Update minimum
laravie/stream
tov1.3
+. - Allow project
token
andsignature
to be set tonull
for app to app communication under private intranet. - Add
Minions\Exceptions\RequestException::report()
method to send custom error log to Laravel logger.
Released: 2020-04-09
- Make testing client configuration contain
endpoint
to avoid regression issue after moving to newMinions\Configuration
class.
Released: 2020-04-01
- Added
Minions\Http\Request::handle()
method to resolve and handle RPC request. - Added
Minions\Http\Request::forwardCallTo()
method to make an internal RPC request. - Added
Minions\Http\Request::replicateFrom()
method to replicate request with custom parameters. - Added
Minions\Http\Request::httpMessage()
method to accessMinions\Http\Message
for the request.
Released: 2020-03-27
- Added
Minions\Configuration
instead of usingarray
for configuration. - Added
minions.config
to Laravel service container.
- Add
Minions\Router::routeResolver()
as alias toMinions\Http\Router::routeResolver()
.
- Deprecate
Minions\Concerns\Configuration
and will be removed inv3.0.0
.
Released: 2020-03-23
- Added
Minions\Http\Request
to merge$arguments
and$message
. - Added
Minions\Testing\TestResponse
.
- Use
Minions\Exceptions\Exception
onMinions\Http\Evaluator
.
- Request handler now accept
__invoke(\Minions\Http\Request $request)
instead of__invoke(array $arguments, \Minions\Http\Message $message)
. This unify the use of$argument
and$message
toMinion\Http\Request
.