fastify-gateway

A Node.js API gateway that just works!

MIT License

Downloads
292
Stars
106
Committers
5
fastify-gateway - Updating dependencies Latest Release

Published by jkyberneees over 3 years ago

Changes:

  • Updating dependencies.
fastify-gateway - Update dependencies

Published by jkyberneees over 4 years ago

fastify-gateway - Updating dependencies

Published by jkyberneees over 4 years ago

Updating dev and prod dependencies.

fastify-gateway - Update dependencies

Published by jkyberneees almost 5 years ago

Dependency updates:

  "dependencies": {
    "cache-manager": "^2.10.1",
    "fastify-reply-from": "^1.1.0",
    "matcher": "^2.1.0",
    "ms": "^2.1.2",
    "on-http-end": "^1.0.1"
  },
fastify-gateway - Updating deps

Published by jkyberneees over 5 years ago

"fastify-reply-from": "^1.0.0"

fastify-gateway - Updating dependencies

Published by jkyberneees over 5 years ago

Update dependencies.

fastify-gateway - fastify-reply-from -> v0.6.2

Published by jkyberneees over 5 years ago

fastify-reply-from -> v0.6.2

fastify-gateway - Updating fastify-reply-from module

Published by jkyberneees over 5 years ago

fastify-reply-from -> v0.6.1

fastify-gateway - Outsourcing on-finished impl

Published by jkyberneees over 5 years ago

on-finished implementation is replaced by the on-http-end module.

fastify-gateway - Support body limit in routes configuration

Published by jkyberneees over 5 years ago

Routes configuration now support an optional bodyLimit setting to limit or increase the JSON body parser limits.

Thanks to @i7326 for his contribution here! ♥️

fastify-gateway - Fix double execution issue on cache plugin

Published by jkyberneees over 5 years ago

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

fastify-gateway - Redis cache uses keys pattern for retrieval

Published by jkyberneees over 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.

fastify-gateway - Fix double stream reading issue

Published by jkyberneees over 5 years ago

Fixes double response stream reading issue.

fastify-gateway - Reducing configuration boilerplate

Published by jkyberneees over 5 years ago

  • Making middlewares, pathRewrite and hooks optional config properties.
  • Allowing to overwrite default routes pathRegex value.
fastify-gateway - Allow req.url update during onRequest hook

Published by jkyberneees over 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

fastify-gateway - Optional HTTP methods proxy only

Published by jkyberneees over 5 years ago

Added:

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

Thanks @Betank for your contribution here!

fastify-gateway - Documentation fix + Benchmarks

Published by jkyberneees over 5 years ago

  • Minor documentation fix.
  • Adding benchmarks results.
fastify-gateway - Supporting fastify-reply-from v0.6.x

Published by jkyberneees over 5 years ago

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

fastify-gateway - do not override req.url on proxy

Published by jkyberneees almost 6 years ago