Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

v2.1.0

Latest
Compare
Choose a tag to compare
@jpwilliams jpwilliams released this 04 Dec 11:36
· 148 commits to master since this release

Overview

Fixed a critical bug regarding Remit connection attempts throwing but the error being swallowed. Also added in disabling Nagle's algorithm (useful for connecting to remote Debian-based RabbitMQ).

Handlers can also now be straight values. If a handler is a value, it'll be returned as success immediately upon being reached.

remit
  .endpoint('foo bar')
  .handler('foobar')
  .start()

Notable commits:

New features

Bug fixes

  • 🚑 Catch errors in Remit connection and throw as exception on next tick: e091ed9
  • 🔀 Merge pull request #64 from jpwilliams/nodelay: 3365962

Generic changes

  • 📦 fix(package): update eventemitter3 to version 3.0.0 (#60): 250143a
  • ⚡️ Set TCP_NODELAY (disable Nagle's algorithm): 5659e69
  • 🔀 Merge pull request #65 from jpwilliams/amqps: e8655c4
  • ⚡️ Delete fallback when unsetting rather than setting to undefined: b837532
  • ✅ Pad out request testing: 31e2fd6
  • ✅ Add endpoint tests for .start() and .options(): 14ac537