Skip to content

Latest commit

 

History

History
114 lines (98 loc) · 3.48 KB

CHANGELOG.md

File metadata and controls

114 lines (98 loc) · 3.48 KB

0.7.2

  • Important rpc fix w/ [email protected], fixes rpc replyTo queue leak
  • Fixed some wrong sinon.assert.calledOnce calls asserting args -> sinon.assert.calledWith

0.7.1

  • Updated all out-of-date dependencies
  • Important rpc fix w/ [email protected], fixes rpc request sendOpts

0.7.0

Application:

  • Added app.prefetch(...) to support prefetch options for consumerChannel Readme:
  • Added RPC section and links to amqplib-rpc

0.6.1

Application:

  • Fix app.close not closing the publisherChannel

0.6.0

Context:

  • Added context.checkQueue()
  • Added context.checkReplyQueue()

0.5.0

  • Use delegates for message accessors/getters on context
  • Added context delegates for message
    • fields getter
    • properties getter
    • content accessor
    • messageAcked accessor
  • Added context delegates for message.properties
    • headers getter
  • Added context delegates for message.fields
    • exchange accessor
    • routingKey accessor
    • deliveryTag getter
    • consumerTag getter
    • redelivered getter

0.4.1

Package:

  • Remove unused ee-first
  • Update standard to 6.0.5

0.4.0

Context:

  • Added context.toJSON()

0.3.1

Context:

  • Moved request logic out to amqplib-rpc
  • Moved reply logic out to amqplib-rpc Package:
  • Removed uuid

0.3.0

Application:

  • Added optional Context arg to messageHandler for easier testing NoAckErr:
  • Improved stack Debug:
  • Fixed issues w/ filepaths logged CastToBuffer:
  • Moved to external module cast-buffer Readme:
  • Added link to coworkers-test Package:
  • Removed callsite dependency

0.2.3

Application:

  • Fix broken new Application(schema) constructor now accepts schema or options

0.2.2

Application:

  • Remove close/exit handlers before closing rabbit connection and channels in close

0.2.1

ClusterManager:

  • Propagate process.env to workers

0.2.0

Application:

  • Sends process messages for connect and close states (useful for process management)
    • 'coworkers:connect', 'coworkers:connect:error', 'coworkers:close', 'coworkers:close:error'
  • SIGINT handler now throws uncaught exception if graceful shutdown fails
  • When using clustering master process connect will wait for all workers to connect to rabbitmq
    • if any fail, it will yield an error and shutdown all other workers
  • Unexpected connection 'close' events now throws an error to kill the process
  • Unexpected consumerChannel 'close' events now throws an error to kill the process
  • Unexpected producerChannel 'close' events now throws an error to kill the process
  • Unexpected connection 'error' events now throws the error to kill the process
  • Unexpected consumerChannel 'error' events now throws the error to kill the process
  • Unexpected producerChannel 'error' events now throws the error to kill the process

ClusterManager: start waits for all worker forks to finish, if any errors it will throw a special error Added retries w/ exponential backoff to killWorker and spawnWorker If spawning a worker fails repeatedly it will throw an uncaught exception to crash the master

0.1.1

Fix require in index.js Readme updates

0.1.0

Initial release Application:

  • use, queue, connect, close, error handler Context:
  • connection, consumerChannel, publisherChannel,
  • queueName, message, deliveryTag, messageAcked, state
  • queueOpts, messageOpts,
  • ack, nack, ackAll, nackAll, rejectAll,
  • publish, sendToQueue, request, reply