unstale

npm / nestjs-otel

nestjs-otel

What changed in nestjs-otel 6 to 8, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.

5 breaking1 deprecations11 new APIs and options1 behavior and defaults7 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.8 on npm

nestjs-otel 814 changes

Breaking changes 4

  • The deprecated API metrics middleware has been removed; use SDK auto-instrumentation or the provided decorators for request tracing.

    8.0.0upgrade guide

  • Metrics generated by decorators now use dots instead of underscores as separators; update dashboards and alerts that use default metric names. Custom names are preserved.

    8.0.0upgrade guiderelease notes

  • The apiMetrics option is no longer available.

    8.0.0upgrade guide

  • Temporary middleware features were removed.

    8.0.0release notes

New APIs and options 7

Behavior and default changes 1

  • Targets the trace root span via a span processor.

    8.1.0release notes

Fixes and other changes 2

  • The peer range now allows NestJS 12, so developers can use nestjs-otel with NestJS 12.

    8.1.1release notes

  • Functions that return thennable objects are no longer eagerly triggered.

    8.0.3release notes

nestjs-otel 710 changes

Breaking changes 1

  • Adopts OpenTelemetry 2.0 and drops support for NestJS 10.

    7.0.0release notes

Deprecations 1

  • apiMetrics is deprecated and will be removed in version 8.0.

    7.0.0release notes

New APIs and options 4

  • Gauge metrics are added to the service and decorators.

    7.0.0release notes

  • The Span decorator gains overloads.

    7.0.0release notes

  • The Span decorator accepts options without requiring an explicit name.

    7.0.0release notes

  • The Span decorator can access method parameters.

    7.0.0release notes

Fixes and other changes 4

nestjs-otel 61 changes

Fixes and other changes 1

  • Span is no longer incompatible with the MethodDecorator type.

    6.0.0release notes