fix(deps): update dependency @google-cloud/trace-agent to v4 #316
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.0.0->^4.0.0Release Notes
googleapis/cloud-trace-nodejs
v4.0.0Compare Source
This major release makes the following changes to the package:
BREAKING CHANGES
contextHeaderBehaviorandignoreContextHeadernow act independently of one another, andignoreContextHeaderis no longer deprecated. 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. (#1027)clsMechanism: 'none', callingTracer#createChildSpanwill potentially result in a warning, as these spans are considered to be uncorrelated. To ensure that warnings do not occur during automatic tracing, disable any plugins that patch modules that create outgoing RPCs. (Use of the custom span APITracer#createChildSpanis not recommended in this configuration -- useRootSpan#createChildSpaninstead.) (#1033)Tracer#getResponseTraceContext(input/output has changed from string to TraceContext)Tracer#createRootSpan(input RootSpanOptions now accepts a TraceContext instead of a string in the traceContext field)Span#getTraceContext(output has changed from string to TraceContext)If you do not use the custom span API or any of the config options above, there should be no breaking changes.
New Features
tracePolicyallows users to write their own filters for traces, instead of using the built-insamplingRate,contextHeaderBehavior,ignoreMethods, andignoreUrls. (#1027)propagationtakes in an OpenCensusPropagationobject. It defaults to the Stackdriver Trace v1 header format exported by the package@opencensus/propagation-stackdriver; other OpenCensus propagation packages should work as drop-in replacements. (#1029)Bug Fixes
Commits
6b427abfix!: always assign a trace ID to each request (#1033)23a990afix(deps): update dependency @google-cloud/common to v2 (#1038)1e5278bchore(deps): update dependency teeny-request to v4 (#1042)f6c080dchore(deps): update dependency grpc to v1.21.1 (#1037)9c38663chore(deps): update dependency typescript to ~3.5.0 (#1039)1b18254chore(deps): update dependency js-green-licenses to v1 (#1041)8a7588cchore(deps): update dependency axios to ^0.19.0 (#1040)8383ae2chore: add node 12 ci job (#1002)6838cf7refactor: drop usage of pify (#1034)2b0a15achore: drop dependency on jshint (#1035)d3d0ed9chore: remove bump and changelog commands (#1036)87e4d26refactor: upgrade to gts@1 (#1031)4c79b4ffix(deps): update dependency @opencensus/propagation-stackdriver to v0.0.13 (#1030)28ecb16feat!: support user-specified context header propagation (#1029)c63bb14fix(deps): update dependency @google-cloud/datastore to v4 (#1028)b37aa3dfeat!: allow users to specify a trace policy impl (#1027)e956d45doc: fix grammar (#1026)e672b98refactor: explicitly assign every internal config field (#1021)244633efix(deps): update dependency @google-cloud/common to v1 (#1023)9d3b9e5fix(deps): update dependency gcp-metadata to v2 (#1022)1e5c9bechore: stop testing on node 6 in ci (#1024)42a18a5test: stop querying google.com (#1020)9de51eachore(deps): update dependency standard-version to v6 (#1019)1832473fix: Prevent filtered traces from biasing the sample rate (#1018)2cbf1c2test: test source map support for stack traces (#1016)c558455feat: use source-map-support wrapCallSite to apply source maps to call stacks (#1015)b06a5bbchore(deps): update dependency grpc to v1.20.3 (#1014)6b7f923chore: fix code coverage, drop ncp (#1013)b6abf76chore(deps): update dependency retry-axios to v1 (#1003)98f95e3build!: upgrade engines field to >=8.10.0 (#1011)Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR is stale, or if you modify the PR title to begin with "
rebase!".🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.