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

v2.0.0

Compare
Choose a tag to compare
@jpwilliams jpwilliams released this 04 Sep 09:36
🚀 Release v2.0.0 (#44)

* 🚀 Overhaul

* ⚡️ No need to be passing these values around

* 📦 #44 Add `callsite` package in view of  adding stack traces to requests/emissions

* ✨ #44 Add new utility to get request callsites excepting callable-instance calls

* ✨ #44 Add stack trace line to requests and emissions

* ⚡️ Parse JSON for emitted event _after_ sending to RabbitMQ in requests

* ✨ Add `isCustom` to `parseEvent`, allowing us to mark when we need `started` date setting

* ⚡️ Don't map or serialise data in endpoint replies if we don't need to

* 💬 Make 'unparsable data' warning for requests and emissions be clear as to what has happened

* 🔨 Make Emitter instantiation work the same as Request - just opts/event name

* 🐛 Properly set `scheduled` headers when demitting a message via a schedule

* 💬 Mini punctuation fix

* ⚡️ Parse JSON for emitted events _after_ sending to RabbitMQ

* 📦 Adding new dependencies chai, mocha and nyc for testing

* 🔧 Update .gitignore to include new .nyc_output directory (new version of istanbul)

* ✅ Add new test scripts

* ✅ Add test bootstrap

* ✅ Adding initial tests for basic types/usage

* ✅ Add placeholders for utils testing

* ✅ More of a test skeleton for endpoints

* 💬 Fix thrown error being scoped to wrong type

* 🐛 Safely fall back to an empty options object when parsing endpoint options for the first time

* 🐛 Include `utils` folder in npm releases

* 🔖 Release v2.0.0-beta.15

* 🐛 Fix incompatibility between Remit 1 and 2

We now check for the message's correlationId rather than relying on the new event style in Remit 2.

* 🔖 Release v2.0.0-beta.16

* ✅ Making test throw checks for emissions more specific

* ✅ Adding some tests for endpoints

* 🚧 Add .eslintrc config file for Codacy etc

* ✅ Add basic Remit tests

* ✅ Add basic remit.listen tests

* ✅ Pad out endpoint middleware testing

* 🐛 Correctly merge query string options when parsing AMQP urls

* ✅ Add testing to parseAmqpUrl utility

* ✅ Add travis testing

* ✅ Stick with latest Node 8 - no harmony for nw

* ✅ Add coveralls token

* 📦 Add new coveralls dev dependency

* ✅ Add new `travis` script for testing and pushing coverage reports

* 📝 Add badges to README

* 🐛 Add proper timeout error object when requests time out

* 🔖 Release v2.0.0-beta-17

* :zap: Only internally set one listener for request data/timeout

* 💬 Swallow worker channel errors; we should manually log these in the relevant areas

* 🐛 Do not consistently redefine differing queue expirations when scheduling emissions

* 🔖 Release v2.0.0-beta.18

* ⚡️ No need to wait for an emitter to be ready before sending

* 🐛 Fix demission 'schedule' dates not properly being checked for validity

* 🔖 Release v2.0.0-beta.19

* 🐛 Fixes #48 - only time to not pass fallback if it's declared is if it's undefined

* 🔧 Updating package-lock.json (late)

* 🔖 Release v2.0.0-beta.20

* 🔖 Release v2.0.0-beta.21

* 🚿 Cleaning up test linting

* 🔖 Bump version to 2.0.0, ready to release