Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time

Changelog

All notable changes to this project will be documented in this file.

v0.99.2

  • [bug] API Responses page in built-in Telemetry UI is not responding with ~1000 endpoints #139

v0.99.1

In this major release, swagger-stats fully switches to new UX. More UX settings added, such as multiple color themes for dashboards.

  • [bug] Hapi - authentication is not working #109
  • [bug] Missing requests in metrics #105
  • [bug] Issue during installation of swagger stats #100
  • [bug] Authentication does not protect the new UI #93
  • [feature] Any way to change swagger-stats ui page title #44 Starting from 0.99.1 page title shows what is passed in the "name" configuration option of swagger-stats

v0.95.19

  • [bug] Elasticsearch - Crash when elasticsearch's credentials are given #121
  • [bug] Define prom-client as Peer Dependency instead of Direct Dependency #126
  • [feature] https elasticsearch support #130

v0.95.18

  • [bug] body response show duplicate data #118

swagger-stats now support data type flattened available in ES 7.X for body of the requests. This way we can store any body payload, and query it efficiently in ES. https://www.elastic.co/guide/en/elasticsearch/reference/current/flattened.html#flattened

  • [bug] Reduce package size for NPM #119
  • [feature] Add 30x statuses as satisfied apdex requests #107

v0.95.17

  • [feature] Add authentication to /swagger-stats/ux URL #97
  • [feature] Allow passing of hapi specific options #95
  • [bug] append basePath on setCookie #92

v0.95.16

  • [bug] UX paths are not properly resolved #91
  • [feature] Restify support #86
  • [bug] Natives package has been deprecated - removed #81
  • [bug] openapi3 basePath was removed #81 New option basePath allows to specify base path as needed when Openapi 3.0 spec is used.

v0.95.15

  • [feature] New User eXperience is enabled at /swagger-stats/ux
    New UX is optional and can be used in parallel with leagcy UI. Will keep it optional for several releases, and then make default. Send your feedback !

v0.95.11

  • [feature] Support for Fastify Framework #62

v0.95.10

  • [bug] Duration buckets not being used for Prometheus #72
  • [feature] Share promClient with parent by exposing or using peerDependencies #61
  • [feature] Prefix metrics on /metrics endpoint #50

v0.95.9

  • [bug] Removed dependency on Inert when using with Hapi #79

v0.95.8

v0.95.7

  • [bug] Fixes error in body stringification #59, #60

  • [bug] Cannot upload to elk and Built-In API Telemetry #46

  • [feature] Option elasticsearchIndexPrefix #45,#47

v0.95.6

  • [bug] Last Errors and Errors tab no populated using FeatherJS #42

  • [bug] Request Content Length null or undefined #40

v0.95.5

  • [feature] Allow onAuthenticate to be asynchronous #31

  • [feature] Prevent tracking of specific routes #36

  • [feature] Support for extracting request body #38
    Thanks to DavisJaunzems!

v0.95.0

  • [feature] Elasticsearch support #12

swagger-stats now supports storing details about each API Request/Response in Elasticsearch, so you may use Kibana to perform analysis of API usage over time, build visualizations and dashboards. Example Kibana dashboards provided in dashboards/elastic6

v0.94.0

  • [feature] Apdex score #10

  • [feature] Support Authentication for /stats and /metrics #14

  • [feature] Add label "code" to Prometheus histogram metrics #21

See updated dashboard at Grafana Dashboards

v0.93.1

  • [bug] Can't start on node v7.10.1, Mac Os 10.12.6 #22

v0.93.0

  • [feature] Support providing Prometheus metrics via prom-client library #20

v0.92.0

  • [feature] OnResponseFinish hook: pass request/response record to callback so app can post proceses it add it to the log #5

v0.91.0

  • [feature] Option to specify alternative URI path for ui,stats and metrics #17
app.use(swStats.getMiddleware({
   uriPath: '/myservice',
   swaggerSpec:swaggerSpec
}));
$ curl http://<your app host:port>/myservice/stats

v0.90.3

  • [feature] Added new chart to API Operation Page #16
    • handle time histogram
    • request size histogram
    • response size histogram
    • response codes counts

v0.90.2

v0.90.1

  • [feature] Added CPU and Memory Usage Stats and monitoring in UI #8