- Replaced
amqp
library withamqplib
(the right one). - Upgraded all dependencies.
- Made sure all tests work again.
- Fixed LocalConnection throwing an error instead of invoking Promise.reject when agent not found. Thanks @ianmuninio.
- Allowed HTTPS to use the HTTP protocol.
- Increased HTTP request max size to 30MB.
- Updated to new ws version 0.7.1.
- Implemented
Agent.registerModule
. - Better modular structure, support for custom builds.
- All
.send
methods now return a Promise.
- Implemented auto-reconnect for WebSockets.
- Fixed the
babble
module always sending messages via it's own internal messagebus instead of the agents send/receive function. - WebSocketTransport accepts any id.
- Improved error handling for sending messages.
- Implemented a WebSocket transport.
- Added support for
hypertimer
, for discrete event simulations. - Added support for a configurable
random
function, for deterministic random values. - Docs reorganized.
- Fixed RPC module not accepting result values
undefined
. - Fixed RPC response not having an id equal to the id of the request.
- Completely reworked version of evejs, a mix of the former evejs and the simple-actors module.
- Implemented a
ServiceManager
andTransportManager
. - Agents are extensible via functions
extend
, andloadModule
. - Implemented agent extension modules
request
,rpc
,pattern
, andbabble
. - Implemented transports for
http
,distribus
,pubnub
,amqp
, andlocal
messaging.