UNPKG

dl

Version:

DreamLab Libs

55 lines (54 loc) 3.75 kB
/* * CHANGELOG * 2.0.0 - first version - todo * 2.1.0 - client-side monitoring, fixed reconnects (throttled) on PRECONDITION_FAILED, add datasource and OPAL_IDENTITY to clientProperties * 2.2.0 - policy name in queue/exchange config * - client-side monitoring - patterns.conf + final log messages * - publish config in exchange * - deliveryMode from configuration * - BUGFIX: set OPAL_IDENTITY to 'unauthorized-app.unknown.onetapi.pl' instead of incorrect for opal 'unauthorized-app' in client_properties. * - postpone methods ack/dle/reject * - exchange.publish.routingKey for legacy config * - BUGFIX: randomize connection hosts when disconnected after error * - BUGFIX: send all long int headers as string (another node-amqp bug :|) * - E2E bindings * - BUGFIX: fixed reloading queue / exchange config * - message size limit * 2.3.0 - alternate exchanges * - change default postpone.method to reject (from dle) * 2.4.0 - consumer cancel notifications support (http://www.rabbitmq.com/consumer-cancel.html) * - connectionTimeout support (https://github.com/postwait/node-amqp/commit/7071e7ad108c05e1640d8ce8f4408704766acef2) * - graceful disconnect support (https://github.com/postwait/node-amqp/commit/f04ad287adbfb8486db6f3d209dc72728168ad27) * - set postpone delay on message * - postpone strategies (constant, linear, exponential) * - BUGFIX: fixed returning message body for contentType other than application/json or text/json * - BUGFIX: when postponer is enabled returning copy of body and attributes (not reference) * - BUGFIX: removed setters from IncomingMessage objects * - BUGFIX: added message size validation for postponed messages * - BUGFIX: avoid ack/reject just after postpone * - BUGFIX: Send RbmqOutcomingMessage.Event.REJECTED event in confirm mode when message is not published * - partial support for RbmqExchange.Event.RETURN event on basic.reject when publishing mandatory/immediate messages (only in core) * - support for noDeclare option * - configVersion in clientProperties * 3.0.0 - support for config v3 - removed most of defaults and local hacks * - parsing config v3 flatten credentials * - support for queue credentials from Config Service (with legacy mode - config service path stored in opal datasource) * - stop publishing when connection.blocked is sent from rabbitmq server, resume on connection.unblocked * - support for disabling prefetchCount * - ensure needed parameters (connection.login, connection.password, queue.name and exchange.name) * - support for tcp noDelay (https://github.com/rabbitmq/rabbitmq-server/commit/b566da35cab1faf00bbb227076fd71560c142b31) * - added config.error and config.loaded events to monitoring * - support Validated User-Id (https://www.rabbitmq.com/validated-user-id.html) * 3.0.1 - BUGFIX: do not parse empty hosts list from credential * 3.0.2 - BUGFIX: set x-postpone-routing-key header and present it as a routing key for messages from postponer instead of _postpone_queue-name_ * - BUGFIX: progressive postponer bugfix * 3.0.3 - BUGFIX: support for RabbitMQ 3.5.1 in DLE postponer * 3.1.0 - Add preferred hosts for setting weight for client * 3.2.0 - Add publish queue buffer when no connection to RabbitMQ * 3.2.1 - BUGFIX: flush publish buffer only when channel is opened * 3.3.0 - support for custom exclusive bindings * - support for priority queues (setPriority on QueueMessage) * 3.4.0 - support for MaaS logging using dl.logger */ exports.QueueProduct = 'dl-queue'; exports.QueueVersion = '3.4.0';