Fastify Gateway Versions Save

A Node.js API gateway that just works!

v2.5.1

5 years ago

Fix an issue on the cache plugin that caused double proxy calls.

v2.5.0

5 years ago

If redis cache is used, then keys pattern are used for retrieval. This will avoid fetching unrequired keys from the remote redis instance.

v2.4.1

5 years ago

Fixes double response stream reading issue.

v2.3.0

5 years ago
  • Making middlewares, pathRewrite and hooks optional config properties.
  • Allowing to overwrite default routes pathRegex value.

v2.2.0

5 years ago

Allowing request url overwrite before proxy:

  routes: [{
    pathRegex: '',
    prefix: '/user/:id/details',
    methods: ['GET'],
    prefixRewrite: '',
    target: 'http://localhost:3000',
    middlewares: [],
    hooks: {
      async onRequest (request, reply) {
        request.req.url = `/userdetails/${request.params.id}`
      }
    }
  }]

Fix: https://github.com/jkyberneees/fastify-gateway/issues/21

v2.1.0

5 years ago

Added:

  • Possibility to optionally define certain HTTP methods to proxy only.

Thanks @Betank for your contribution here!

v2.0.1

5 years ago
  • Minor documentation fix.
  • Adding benchmarks results.

v2.0.0

5 years ago

Required update due a breaking change in fastify-reply-from v0.6.x

v1.2.0

5 years ago