Skip to content

Latest commit

History

History
174 lines (104 loc) 路 9.5 KB

CHANGELOG.md

File metadata and controls

174 lines (104 loc) 路 9.5 KB

6.0.0 (2023-12-18)

Bug Fixes

  • fastify deprecation notice (e53acd7)

BREAKING CHANGES

  • we now use routeOptions to store metrics data.

5.1.1 (2023-07-07)

Bug Fixes

  • send error.statusCode when available if the reply.statusCode is 200 or undefined (e06ac12)

5.1.0 (2023-03-22)

Features

5.0.0 (2023-01-09)

Bug Fixes

  • fix fastify deprecation (d37cae2)

BREAKING CHANGES

  • the plugin now relies on the routeConfig key instead of the context.config key to get its metadata.

4.0.1 (2022-07-26)

Bug Fixes

  • docs with wrong version table (effc04f)

4.0.0 (2022-07-18)

Features

  • fastify: updates framework and plugin to 4.x (6dfa740)

BREAKING CHANGES

  • fastify: fastify major update

3.0.1 (2022-06-21)

Bug Fixes

3.0.0 (2022-05-10)

Features

BREAKING CHANGES

  • Node.js 12 is deprecated

2.0.2 (2022-03-16)

Bug Fixes

  • types: fix cannot cast MetricsPluginOptions properties to specific type (956a4af)

2.0.1 (2022-03-16)

Bug Fixes

2.0.0 (2022-03-10)

Bug Fixes

  • types: add missing types (74444b9)
  • check for the presence of metrics object (288771b), closes #134
  • label: label with undefined id (6d79705)
  • fix isCustomClientCheck (ff5ffe9)
  • remove doc decorator (50abf07)
  • upgrade fastify-plugin from 3.0.0 to 3.0.1 (2a04a38)
  • dynamic mode: fixed this context in getLabel for dynamic mode to be the request context (0dac171)
  • TCP: fixed tcp (58690d2)
  • types: added missing type for FastifyContextConfig (fa07110)
  • types: fix wrong export name (119fdc3)

chore

  • deps: update dats to version 2 (03d2316)

Features

  • add boolean to routes config (acca747)
  • rename routes.timing in responseTime (44fe70a)
  • metric: add req/res size metric (1f7b2a4), closes #32
  • added skip for empty ids (cbee46b)
  • allow custom Dats client (40de470)
  • change configuration object (df6ba44)
  • decorated request and reply with get label function (f00b9d5)
  • scope instance decorators (d1331a1)
  • routes: add normalized strings to context (4b172d6)
  • custom route metric label (efe0131)
  • expose process metrics sampler (67b69c5)
  • prerelase (2d0d1d0)

BREAKING CHANGES

  • timing is renamed to responseTime.
  • The previous configuration is not supported anymore, please check your client, routes and health configurations.
  • the fastify instance decorators are exported in the metrics object. The doc sampler instance is renamed to sampler.
  • deps: there might be breaking changes in the new dats version.
  • the routes metrics options have changed. The default route prefix is now an empty string and not 'api'. The dats instance is exported as metricsCLient.
  • types: the plugin init functions have different names.

2.0.0-next.3 (2022-02-16)

Bug Fixes

  • dynamic mode: fixed this context in getLabel for dynamic mode to be the request context (0dac171)

2.0.0-next.2 (2022-02-11)

Bug Fixes

  • types: added missing type for FastifyContextConfig (fa07110)

2.0.0-next.1 (2022-02-10)

Bug Fixes

Features

BREAKING CHANGES

  • the routes metrics options have changed. The default route prefix is now an empty string and not 'api'. The dats instance is exported as metricsCLient.
  • types: the plugin init functions have different names.

1.0.0 (2021-11-05)

Bug Fixes

Features

  • dats: converted afterSend into onError function (d010e70)