A Node.js API gateway that just works!
MIT License
Changes:
Published by jkyberneees over 4 years ago
Published by jkyberneees over 4 years ago
Updating dev and prod 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"
},
Published by jkyberneees over 5 years ago
"fastify-reply-from": "^1.0.0"
Published by jkyberneees over 5 years ago
Update dependencies.
Published by jkyberneees over 5 years ago
fastify-reply-from -> v0.6.2
Published by jkyberneees over 5 years ago
fastify-reply-from -> v0.6.1
Published by jkyberneees over 5 years ago
on-finished implementation is replaced by the on-http-end
module.
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! ♥️
Published by jkyberneees over 5 years ago
Fix an issue on the cache plugin that caused double proxy calls.
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.
Published by jkyberneees over 5 years ago
Fixes double response stream reading issue.
Published by jkyberneees over 5 years ago
Published by jkyberneees over 5 years ago
middlewares
, pathRewrite
and hooks
optional config properties.pathRegex
value.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
Published by jkyberneees over 5 years ago
Added:
Thanks @Betank for your contribution here!
Published by jkyberneees over 5 years ago
Published by jkyberneees over 5 years ago
Required update due a breaking change in fastify-reply-from v0.6.x
Published by jkyberneees almost 6 years ago