Skip to content

Releases: BackendStack21/restana

Fix APM documentation example code

13 Dec 12:37
Compare
Choose a tag to compare

Fixes Elastic APM usage documentation

Minor typescript definitions fix

13 Dec 12:26
Compare
Choose a tag to compare

Fixes addRoute method typings definition.

Elastic APM - route naming

11 Dec 21:11
c15568d
Compare
Choose a tag to compare
Elastic APM (#60)

* Exposing errorHandler and addRoute methods

* Adding Elastic APM integration

* v3.3.4

Update find-my-way

26 Oct 04:06
a6711f3
Compare
Choose a tag to compare
"dependencies": {
  "find-my-way": "^2.2.1"
}

Updating "find-my-way": "^2.1.1"

29 Sep 19:24
c3cede4
Compare
Choose a tag to compare
Update deps (#57)

* updating dependencies

* supporting new hapi version

* v3.3.2 -> "find-my-way": "^2.1.1"

Improve memory management

21 Jul 07:58
d981554
Compare
Choose a tag to compare

Removing unrequired refs from memory during routes registration.

Async Middlewares support + Perf improvements

17 Jul 09:35
Compare
Choose a tag to compare

Thanks to @Akkuma contribution in #49, we are now supporting async middlewares, so developers can control modern execution flows as described below:

service.use(async(req, res, next) => {
  await next()
  console.log('Next middlewares were executed!')
})

service.use(...)

Also capturing exceptions inside async middlewares becomes easier:

service.use(async(req, res, next) => {
  try {
    await next()
  } catch(err) {
    res.send(err)
  }
})

On top of this, restana becomes also 1 - 4 % faster while dealing with middlewares. 🚀🚀🚀

Updating linting and docs

13 Jul 07:27
1a348c2
Compare
Choose a tag to compare
  • Minor linting fixes.
  • Adding "serving static files with restana" to docs and demos

Updating "find-my-way" -> "^2.1.0"

25 Jun 11:29
Compare
Choose a tag to compare

Updating "find-my-way" -> "^2.1.0"

Improves request population for callback mode support

21 Jun 08:03
Compare
Choose a tag to compare

Minor refactoring on request object population.