This repository has been archived by the owner on Aug 31, 2021. It is now read-only.
Release v2.0.0-beta.3
Pre-release
Pre-release
jpwilliams
released this
11 Jul 14:36
·
212 commits
to master
since this release
Overview
Quite a few changes here. This was the next big step in starting to finalise all of these version 2.0.0 changes.
Breaking changes
- 💥 Set all queues to be 3.5.0+ priority queues with 10 stages: 83c72e0
- 💥 Replace worker channel assertion to a pool booter: 6074c6c
New features
- ✨ Push options when emitting that an endpoint is ready: 25ce469
- 🔨 Register
done
listener for endpoint message handling later so we can include the generated event: e8143eb - ✨ Include a
started
date with our events: 0b75241 - ✨ Allow
done
listeners for endpoints: 7c7fd62 - ✨ Use
async.seq
to handle middleware on endpoints: a21184d - ✨ Nasty changes to handling callbacks to allow us to emit
done
to our response type: 569f6c8 - 🔨 Use response passed to extract and use instance consumption channel: e176273
- 🔨 Pass response to callback handler so we can extract channel: 518fc57
- ✨ Add global and local "onTimeout" functions to requests: 5ce458c
Optimisations
- ⚡ Try setting frameMax for connection to 4kb: caf2c0d
- ⚡ Switch for each consumer to manage its own channel instead of using a global consume channel: d66330b
- ⚡ No performance increase for 128 message prefetch compared to 48, so 48 it is: 2734dce
- ⚡ Group demissions into queues using event and delay times: 7cff6b3
- ⚡ Boot worker channel pool on boot: e61a88c
- 🔨 Replace all worker channel usages to use new pool: c16c455
Bug fixes / generic changes
- ✨ Backwards compatibility for remit v1.x.x UUID setting: 6910e73
- ➕ Add generic-pool module for worker channel pooling: c86acf7
- 🐛 Fix bad tests passing options as errors on ready events: 14e332b
- 🔧 Include version number in generated remit instances: c87a1bd
- 📝 Add brief in-code docs for frameMax: 36c45f8
- 🐛 Clean up all emission listeners when data/error/timeout happens on an endpoint: f8cdd55
- ✨ Add new 30-second timeout to all requests: 1f39a8d
- 💬 Adding logging to worker pool to show why channels are dying: 7f50c85
- 🔧 Remove max channel default in URL parsing, as we’re now using channel pools: f34cae5