This changelog references the relevant changes (bug and security fixes) done to katsana/minions
.
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.
- 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-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-26
Minions\Testing\TestResponse::assertOk()
should failed if response has error code.
Released: 2020-03-23
- Added
Minions\Testing\TestResponse
.
- Use
Minions\Exceptions\Exception
onMinions\Http\Evaluator
.
Released: 2020-03-22
- Add
Minions\Finder::boot()
method to handle lazy projects registration.
- Fixed variable on
Minions\Http\ValidatesRequests::validate()
.
Released: 2020-03-21
- Added
Minions\Http\ValidatesRequests
trait. - Added
Minions\Testing\MakesRpcRequests
trait.
Released: 2020-03-18
- Fixes
Minions\Router
facade docblock.
Released: 2020-03-16
- Add
authorize(\Minions\Http\Message $message)
method to authorising the request.
Released: 2020-03-15
- Added environment variable
MINIONS_ENABLED
to allow disabling Minions on certain environment.
Released: 2020-03-15
- Mark
Minions\MinionsServiceProvider
as deferred.
Released: 2020-03-09
- Add
toArray()
onMinions\Client\Message
andMinions\Client\Notification
. - Ability to convert
Illuminate\Contracts\Support\Arrayable
response toarray
.
Released: 2020-02-10
- Resolve
Orchestra\Canvas\Core\Presets\Laravel
when registeringMinions\Http\Console\MakeRpcRequest
command.
Released: 2020-02-06
- Register
Minions\Http\Console\MakeRpcRequest
command directly to console kernel without having to bind to the Container.
- Remove invalid
$id
parameter when usingMinions\Minion::notification()
helper.
Released: 2020-01-25
- Add
minions:make
command to generate Request Handler. - Add
Minions\Http\Router::routeResolver()
and automatically registerroutes/rpc.php
. - Add
Minions\Minion::message()
andMinions\Minion::notification()
helper methods.
- Split ReactPHP RPC Server implementation to katsana/minions-server.
- Add default request timeout to 60 seconds.
- Rename server related classes to
Minions\Http
to be reused byminions-server
andminions-polyfill
.
- Deprecate and remove
Minions\Server\Message
, please update toMinions\Http\Message
if you used it on your Request Handler.
Released: 2019-12-26
- Improves
Minions\Exceptions\Exception
. - Update supported Laravel Framework to
6.x
and7.x
. - Implements console exit code.
- Removed support for Laravel Framework
5.8
.
Released: 2019-10-22
- Promote
v0.5.0
as stable release.