- [ADDED] -
createConnection
alias ofcreateContext
method of the exported module - [ADDED] -
inspectIntegrity
method to theContext
connection prototype
- [CHANGED] - streams work with the whole
message
objects as opposed tomessage.content
data buffer - [ADDED] - Allow to define
contentType
option when instantiating a new Socket - [ADDED] - Allow to declare
Publish
&Subscribe
sockets durable with persistent messages
This release updates the version of amqplib used to a much more recent release, amqplib v0.3.2.
This release adds entries to the "engine" specification, so rabbit.js can be used with io.js and Node.js 0.12.
This release adds:
- TASK sockets, for posting and different varieties of task
#requeue
and#discard
for WORKER sockets'blocked'
and'unblocked'
events, on connections
This release adds:
- The socket option 'topic' and PubSocket#publish() for sending messages with topics
- The ability to specify topic matching when using a SUB socket.
- The socket option 'persistent' for making messages survive server restarts
Supports:
- Node.JS v0.8, v0.9, v0.10, v0.11
This release adds the WORKER socket.
Supports:
- Node.JS v0.8, v0.9, v0.10, v0.11
This release bumps the version of amqplib used.
Supports:
- Node.JS v0.8, v0.10, v0.11
This release moves over to the amqplib-based rewrite.
There are some small improvements to the API over both v0.2.1-amqplib and v0.2.2:
Socket#end
andSocket#close
and the'end'
and'close'
events now behave like their Stream counterparts- More than one REQ may be in-flight; the replies are put in order to be read
Supports:
- Node.JS v0.8, v0.10, v0.11
This release is a rewrite of rabbit.js using amqplib instead of
node-amqp. It is intended to be API-compatible with rabbit.js
v0.2.1. The version is given a suffix (-amqplib
) for now, so that
v0.2.1 will still be regarded as the "latest" version, and the rewrite
is on the branch amqplib
in the rabbit.js github
repository. However, future versions will likely be developed from
this branch; i.e., it will be merged into master, and the
implementation using node-amqp abandoned.
Supports:
- Node.JS v0.8, v0.10
Supports:
- Node.JS v0.6, v0.8, v0.10
Changes since v0.2.1:
-
Queues and exchanges are cleaned up when sockets are closed (squaremo#43)
-
Expiration of pub and push messages (via
setsockopt
) (squaremo#41)
NB I expect this to be the last release based on node-amqp. Future releases will likely use amqplib; however, I will keep the API compatible so far as possible (v0.2.1-amqplib is compatible).
Supports:
- Node.JS v0.6, v0.8, v0.10*
*node-amqp presently does not claim to support Node.JS 0.10, but appears to run OK.
Main changes since v0.2:
-
Use util.inherits consistently instead of working coincidentally (squaremo#35, squaremo#37 and squaremo#38)
-
Channel-level (i.e., most) errors are propagated through to rabbit.js sockets (squaremo#28)
-
Depends on a recent node-amqp (squaremo#27 and squaremo#25)
-
Finally has some smoke tests