Skip to content

Releases: weekendesk/nodegate

ExecuteIf worker upgrade

24 Nov 10:19
602c5f2
Compare
Choose a tag to compare

ExecuteIf now take a third argument: elseWorkflow.

This argument is a worklow executed if the test fails.

New worker: executeIf

07 Oct 15:34
bd0bae4
Compare
Choose a tag to compare

Sometimes you need to execute to workers conditionally?

It is now possible! Checkout the documentation here: https://weekendesk.github.io/nodegate/workers/execute-if.html!

Express App exposed

18 Mar 11:19
6afeb9e
Compare
Choose a tag to compare

It can be really useful to directly open routes from express instead of the gateway.

At Weekendesk, it is needed to expose some metrics.

This is why exposing the express app created by the gateway can be useful. You can achieve it now:

const gateway = nodegate();

gateway.expressApp.get('/metrics', (req, res) => {
  // Send the metrics
});

Middleware added!

16 Mar 15:18
02fdcff
Compare
Choose a tag to compare

People may need to use express middleware.

This is now possible!

const gateway = nodegate();

gateway.use(/* Your middleware */);

New method: passthrough().

13 Mar 16:14
cdd8646
Compare
Choose a tag to compare

Sometimes, it is useless that the gateway process any data, and do a simple passthrough.

It is now possible:

gateway.passthrought({
  method: 'get',
  path: '/my-route',
  target: 'https://target.service.com',
});

Better aggregate error management

06 Mar 15:00
0c83b1c
Compare
Choose a tag to compare

The aggregate modifier now allow a new option failStatusCodes allowing you to keep control of requests errors received.

v1.3.1. - Fix URLs encoding

02 Mar 14:34
a8f8678
Compare
Choose a tag to compare

Yep, values where put on the URL as is. Now it is properly encoded!

Dependencies where updated on the flow.

v1.3.0 - KeepHeaders

11 Feb 10:41
7e53333
Compare
Choose a tag to compare
  • KeepHeaders worker added,
  • Dependencies updated.

v1.2.0

27 Jan 13:23
9bcc656
Compare
Choose a tag to compare

Some workers improved and tests reviewed for container mutability.

v1.1.0

13 Oct 18:49
f804059
Compare
Choose a tag to compare

Improvements:

  • New worker added: Remove,
  • Payload max size can now be configured.