Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

Releases: googleapis/cloud-trace-nodejs

v8.0.0

Choose a tag to compare

@release-please release-please released this 07 Feb 21:08
ae5b076

8.0.0 (2024-02-07)

⚠ BREAKING CHANGES

  • upgrade to Node 14 (#1517)

Features

Bug Fixes

Miscellaneous Chores

v7.1.2

Choose a tag to compare

@release-please release-please released this 26 Sep 15:24
ac2e5a6

7.1.2 (2022-09-08)

Bug Fixes

v7.1.1

Choose a tag to compare

@release-please release-please released this 29 Aug 18:02
0401255

7.1.1 (2022-08-29)

Bug Fixes

v7.1.0

Choose a tag to compare

@release-please release-please released this 10 Aug 22:54
16d928f

7.1.0 (2022-08-10)

Features

  • mysql: update MySQL wrapper to propagate fields. (#1412) (1b92362)

v7.0.0

Choose a tag to compare

@release-please release-please released this 10 Aug 17:37
2d9bc04

7.0.0 (2022-08-10)

⚠ BREAKING CHANGES

  • update library to use Node 12 (#1442)
  • drop support for node.js 8.x (#1239)
  • When initialized with clsMechanism: 'none', calling Tracer#createChildSpan will potentially result in a warning, as these spans are considered to be uncorrelated. To ensure that warnings do not occur, disable any plugins that patch modules that create outgoing RPCs (gRPC, HTTP client and database calls). (Use of the custom span API Tracer#createChildSpan is not recommended in this configuration -- use RootSpan#createChildSpan instead.)
  • This change modifies/removes APIs that assume a particular format for trace context headers; in other words, any place where the user would deal with a stringified trace context, they would now deal with a TraceContext object instead. This affects three APIs: getResponseTraceContext (input/output has changed from string to TraceContext), createRootSpan (input RootSpanOptions now accepts a TraceContext instead of a string in the traceContext field), and Span#getTraceContext (output has changed from string to TraceContext).
  • contextHeaderBehavior and ignoreContextHeader now act independently of one another. The former controls how a sampling decision is made based on incoming context header, and the latter controls whether trace context is propagated to the current request.
  • upgrade engines field to >=8.10.0 (#1011)
  • TraceAgent has been renamed to Tracer. In plugins, Patch has been renamed Monkeypatch, and Patch is now Monkeypatch|Intercept (this is a rename of Instrumentation). There are no user-visible JS changes.
  • The change in distributed trace context propagation across gRPC is not backwards-compatible. In other words, distributed tracing will not work between two Node instances communicating using gRPC with v2 and v3 of the Trace Agent, respectively.
  • This commit drops support for Node 4 and 9.

Features

  • add config.disableUntracedModulesWarn (#1070) (f688e33)
  • add contextHeaderBehavior option (#900) (199cb42)
  • add getProjectId and getCurrentRootSpan (#782) (f7ae770)
  • add ignoreMethods option (#920) (67ddb8f)
  • add options to set the cls mechanism to async-hooks or async-listener (#741) (f34aac5)
  • add rootSpan.createChildSpan and change none CLS semantics (#731) (d0009ff)
  • add rootSpanNameOverride option (#826) (a03e7b2)
  • add singular cls option (#748) (000643f)
  • allow "disabling" cls, and relax requirements for creating root spans (#728) (5d000e9)
  • allow timestamps to be passed to endSpan (#747) (319642a)
  • allow users to specify a trace policy impl (#1027) (b37aa3d)
  • downgrade soft/hard span limit logs to warn level (#1269) (3f55458)
  • emit an error log on potential memory leak scenario (#870) (0072e5f)
  • expand version range for pg to 7.x (#701) (c8c5bfc)
  • hapi 17 tracing support (#710) (028032f)
  • implement (de)serialization of binary trace context (#812) (f96c827)
  • move ts target to es2018 from es2016 (#1280) (b33df71)
  • rename TraceAgent/TraceApi to Tracer (#815) (dde86d3)
  • support @hapi/hapi (#1108) (d545e93)
  • support child spans with tail latencies (#913) (d1de959)
  • support context propagation in bluebird (#872) (29bb15c)
  • support knex 0.16 (#940) (0b404a1)
  • support mongodb-core@3 (#760) (d227b6d)
  • support restify 8 (#1250) (f52fa4d)
  • support restify@7 (#917) (4b74f5a)
  • support tracing for untranspiled async/await in Node 8+ (#775) (30d0529)
  • support user-specified context header propagation (#1029) (28ecb16)
  • use small HTTP dependency (#858) (210dc3f)
  • use source-map-support wrapCallSite to apply source maps to call stacks (#1015) (c558455)
  • use well-known format for propagating trace context thru grpc (#814) (63b13ca)

Bug Fixes

Read more

@google-cloud/trace-agent v5.1.6

Choose a tag to compare

@release-please release-please released this 16 Nov 15:04
3ba1c31

Bug Fixes

  • Update README partials to mention how to use import (#1400) (da8741b)

@google-cloud/trace-agent v5.1.5

Choose a tag to compare

@release-please release-please released this 19 Aug 19:40
6ec7225

Bug Fixes

  • deps: update dependency @opencensus/propagation-stackdriver to v0.1.0 (#1368) (29a0fba)

@google-cloud/trace-agent v5.1.4

Choose a tag to compare

@release-please release-please released this 19 Aug 18:26
8aa5533

Bug Fixes

v5.1.3

Choose a tag to compare

@yoshi-automation yoshi-automation released this 09 Feb 18:47
bfcf1fb

Bug Fixes

  • deps: update dependency google-auth-library to v7 (#1335) (4fc7c7c)

v5.1.2

Choose a tag to compare

@yoshi-automation yoshi-automation released this 04 Feb 01:16
cbdbb6c

Performance Improvements