What's New - abreits/amqp-ts GitHub Wiki
- updates and fixes
- updated gulp to version 4
- fixed all npm vulnerability warnings
- updated typescript definition file management from tsd to typings
- added [queue.prefetch](https://github.com/abreits/amqp-ts/wiki/Queue class#prefetch) and [queue.recover](https://github.com/abreits/amqp-ts/wiki/Queue class#recover) methods
- updated to version 1.0 (finally)
- multiple calls of
exchange.close
,exchange.delete
,queue.close
andqueue.delete
return the same promise (and are thereby executed only once)
- added extra promise rejection handling for
exchange.close
,exchange.delete
,queue.close
andqueue.delete
- changed the return type of [exchange.rpc](https://github.com/abreits/amqp-ts/wiki/Exchange class#rpc) and [queue.rpc](https://github.com/abreits/amqp-ts/wiki/Queue class#rpc) from 'Promise < any >' to 'Promise < [Message](https://github.com/abreits/amqp-ts/wiki/Message class) >'
- added the option to return a Message in [exchange.activateConsumer](https://github.com/abreits/amqp-ts/wiki/Exchange class#activateConsumer) and [queue.activateConsumer](https://github.com/abreits/amqp-ts/wiki/Queue class#activateConsumer)
- updated the amqp-ts Wiki API documentation
- skipped to avoid bad luck :)
- added [Message class](https://github.com/abreits/amqp-ts/wiki/Message class)
- added [exchange.send](https://github.com/abreits/amqp-ts/wiki/Exchange class#send) and [queue.send](https://github.com/abreits/amqp-ts/wiki/Queue class#send)
- deprecated [exchange.publish](https://github.com/abreits/amqp-ts/wiki/Exchange class#publish) and [queue.publish](https://github.com/abreits/amqp-ts/wiki/Queue class#publish)
- added [exchange.activateConsumer](https://github.com/abreits/amqp-ts/wiki/Exchange class#activateConsumer) and [queue.activateConsumer](https://github.com/abreits/amqp-ts/wiki/Queue class#activateConsumer)
- deprecated [exchange.startConsumer](https://github.com/abreits/amqp-ts/wiki/Exchange class#startConsumer) and [queue.startConsumer](https://github.com/abreits/amqp-ts/wiki/Queue class#startConsumer)
- changed [connection.declareExchange](https://github.com/abreits/amqp-ts/wiki/Connection class#declareExchange) and [connection.declareQueue](https://github.com/abreits/amqp-ts/wiki/Connection class#declareQueue) to prevent duplicate declaration of the same exchange/queue
- added [connection.declareTopology](https://github.com/abreits/amqp-ts/wiki/Connection class#declareTopology)
- added support functions [getMessageContent] and [setMessageContent]
- fixed bug in integration test
- revised amqp-ts logging, see Logging in the wiki for more details
- fixed bug in tutorials library reference
- added amqp-ts examples for the RabbitMQ tutorials
- fixed a bug in the queue.rpc
- fixed documentation errors
- Moved the documentation to the wiki,only the 'Overview', 'What's new' and 'Roadmap' stay in the readme.md for npmjs and GitHub.
- Improved the documentation
- rearranged this readme
- added rpc support to the Queue and Exchange for RabbitMQ 'direct reply-to' RPC functionality
- updated dependencies
- updated the documentation
- added a 'low level' queue consumer that receives the raw message and can 'ack' or 'nack' these messages itself
- cleanup integration tests
- readme update and fixes
- added close methods to Exchange and Queue
- changed Promise type for Exchange.initialized and Queue.initialized
- minor readme fixes
- improved robustness for unit tests
- small code cleanup: defined optional parameter default values in typescript
- fixed a few bugs when publishing a message to an exchange after a disconnect/reconnect
- Added this section
- Added the roadmap section
- Improved the winston logging messages