Releases: open-telemetry/opentelemetry-js
Releases · open-telemetry/opentelemetry-js
experimental/v0.53.0
0.53.0
💥 Breaking Change
- fix(instrumentation)!:remove unused description property from interface #4847 @blumamir
- feat(exporter--otlp-)!: use transport interface in node.js exporters #4743 @pichlermarc
- (user-facing)
headerswas intended for internal use has been removed from all exporters - (user-facing)
compressionwas intended for internal use and has been removed from all exporters - (user-facing)
hostnamewas intended for use in tests and is not used by any exporters, it will be removed in a future release
- (user-facing)
- fix(exporter--otlp-)!: ensure
User-Agentheader cannot be overwritten by the user #4743 @pichlermarc- allowing overrides of the
User-Agentheader was not specification compliant.
- allowing overrides of the
- feat(exporter--otlp)!: remove environment-variable specific code from browser exporters
- (user-facing) removes the ability to configure browser exporters by using
process.envpolyfills
- (user-facing) removes the ability to configure browser exporters by using
- feat(sdk-node)!: Automatically configure logs exporter #4740
- feat(exporter--otlp-)!: use transport interface in browser exporters #4895 @pichlermarc
- (user-facing) protected
headersproperty was intended for internal use has been removed from all exporters
- (user-facing) protected
🚀 (Enhancement)
- feat(otlp-transformer): Do not limit @opentelemetry/api upper range peerDependency #4816 @mydea
- feat(instrumentation-http): Allow to opt-out of instrumenting incoming/outgoing requests #4643 @mydea
- feat(sampler-jaeger-remote): added support of jaeger-remote-sampler according to this spec #4534 @legalimpurity
🐛 (Bug Fix)
- fix(instrumentation): ensure .setConfig() results in config.enabled defaulting to true #4941 @trentm
- fix(instrumentation-http): Ensure instrumentation of
http.getandhttps.getwork when used in ESM code #4857 @trentm - fix(api-logs): align AnyValue to spec #4893 @blumamir
- fix(instrumentation): remove diag.debug() message for instrumentations that do not patch modules #4925 @trentm
🏠 (Internal)
- refactor: Simplify the code for the
getEnvfunction #4799 @danstarns - refactor: remove "export *" in favor of explicit named exports #4880 @robbkidd
- Packages updated:
- api-events
- api-logs
- opentelemetry-browser-detector
- opentelemetry-exporter-prometheus
- opentelemetry-instrumentation-fetch
- opentelemetry-instrumentation-http
- opentelemetry-instrumentation-xml-http-request
- opentelemetry-instrumentation
- Packages updated:
semconv/v1.26.0
@opentelemetry/[email protected]
Note: This package will now be versioned according to the version of semantic conventions being provided.
🚀 (Enhancement)
- feat(semconv): update semantic conventions to 1.27 (from 1.7.0) #4690 @dyladan
- Exported names have changed to
ATTR_{name}for attributes (e.g.ATTR_HTTP_REQUEST_METHOD),{name}_VALUE_{value}for enumeration values (e.g.HTTP_REQUEST_METHOD_VALUE_POST), andMETRIC_{name}for metrics. Exported names from previous versions are deprecated. - Import
@opentelemetry/semantic-conventionsfor stable semantic conventions. Import@opentelemetry/semantic-conventions/incubatingfor all semantic conventions, stable and unstable.
- Exported names have changed to
v1.25.1
1.25.1
📚 (Refine Doc)
- refactor(examples): added usage of @opentelemetry/semantic-conventions and @opentelemetry/resources to the examples in examples/opentelemetry-web for maintaining consistency across all examples. #4764 @Zen-cronic
🏠 (Internal)
- refactor(context-zone-peer-dep): use explicit exports #4785 @pichlermarc
- refactor(context-async-hooks): use explicit exports #4785 @pichlermarc
experimental/v0.52.1
0.52.1
🚀 (Enhancement)
- refactor(instrumentation-fetch): move fetch to use SEMATRR #4632
- refactor(otlp-transformer): use explicit exports #4785 @pichlermarc
🐛 (Bug Fix)
- fix(sdk-node): register context manager if no tracer options are provided #4781 @pichlermarc
- fix(instrumentation): Update
import-in-the-middleto fix numerous bugs #4806 @timfish - chore(instrumentation): Use a caret version for
import-in-the-middledependency #4810 @timfish
🏠 (Internal)
- test: add
npm run maint:regenerate-test-certsmaintenance script and regenerate recently expired test certs #4777
v1.25.0
1.25.0
🚀 (Enhancement)
- feat: support node 22 #4666 @dyladan
- feat(context-zone*): support zone.js 0.12.x #4376 @maldago
- refactor(core): Use tree-shakeable string constants for semconv #4739 @JohannesHuster
- refactor(shim-opentracing): Use tree-shakeable string constants for semconv #4746 @JohannesHuster
- refactor(sdk-trace-web): Use tree-shakeable string constants for semconv #4747 @JohannesHuster
- refactor(sdk-trace-node): Use tree-shakeable string constants for semconv #4748 @JohannesHuster
- refactor(sdk-trace-base): Use tree-shakeable string constants for semconv #4749 @JohannesHuster
- refactor(resources): update deprecated semconv to use exported strings #4755 @JamieDanielson
- refactor(exporters): update deprecated semconv to use exported strings #4756 @JamieDanielson
📚 (Refine Doc)
- refactor(examples): use new exported string constants for semconv in examples/esm-http-ts #4758 @Zen-cronic
- refactor(examples): use new exported string constants for semconv in examples/basic-tracer-node #4759 @Zen-cronic
- refactor(examples): use new exported string constants for semconv in examples/http #4750 @Zen-cronic
- refactor(examples): use new exported string constants for semconv in examples/grpc-js #4760 @Zen-cronic
- refactor(examples): use new exported string constants for semconv in examples/otlp-exporter-node #4762 @Zen-cronic
- refactor(examples): use new exported string constants for semconv in examples/opentracing-shim #4761 @Zen-cronic
experimental/v0.52.0
0.52.0
💥 Breaking Change
- feat(exporter--otlp-)!: move serialization for Node.js exporters to
@opentelemetry/otlp-transformer#4542 @pichlermarc- Breaking changes:
- (user-facing)
convert()now returns an empty object and will be removed in a follow-up - (internal) OTLPExporterNodeBase now has additional constructor parameters that are required
- (internal) OTLPExporterNodeBase now has an additional
ResponseTypetype parameter
- (user-facing)
- Breaking changes:
- feat(exporter--otlp-)!: move serialization for Node.js exporters to
@opentelemetry/otlp-transformer#4581 @pichlermarc- Breaking changes:
- (user-facing)
convert()has been removed from all exporters - (internal) OTLPExporterBrowserBase:
RequestTypehas been replaced by aResponseTypetype-argument - (internal) OTLPExporterNodeBase:
ServiceRequesthas been replaced by aServiceResponsetype-argument - (internal) the
@opentelemetry/otlp-exporter-proto-basepackage has been removed, and will from now on be deprecated innpm
- (user-facing)
- Breaking changes:
- feat(instrumentation): remove default value for config in base instrumentation constructor #4695: @blumamir
- fix(instrumentation)!: remove unused supportedVersions from Instrumentation interface #4694 @blumamir
- feat(instrumentation)!: simplify
registerInstrumentations()API- Breaking changes:
- removes
InstrumentationOptionstype - occurrences of
InstrumentationOptionsare now replaced by(Instrumentation | Instrumentation[])[]- migrate usages of
registerInstrumentations({instrumentations: fooInstrumentation})toregisterInstrumentations({instrumentations: [fooInstrumentation]}) - passing Instrumentation classes to
registerInstrumentations()is now not possible anymore.
- migrate usages of
- removes
- Breaking changes:
- feat(sdk-node)!: simplify type of
instrumentationsoption- Breaking changes:
- replaces
InstrumentationOptionswith(Instrumentation | Instrumentation[])[]
- replaces
- Breaking changes:
🚀 (Enhancement)
- feat(instrumentation): apply unwrap before wrap in base class #4692
- feat(instrumentation): add util to execute span customization hook in base class #4663 @blumamir
- feat(instrumentation): generic config type in instrumentation base #4659 @blumamir
- feat: support node 22 #4666 @dyladan
- feat(propagator-aws-xray-lambda): add AWS Xray Lambda propagator 4554
- refactor(instrumentation-xml-http-request): use exported strings for semantic attributes. #4681
🐛 (Bug Fix)
- fix(instrumentation): Update
import-in-the-middleto fix numerous bugs #4745 @timfish
📚 (Refine Doc)
api/v1.9.0
1.9.0
🚀 (Enhancement)
- feat(metrics): added synchronous gauge #4528 @clintonb
- feat(api): allow adding span links after span creation #4536 @seemk
- This change is non-breaking for end-users, but breaking for Trace SDK implmentations in accordance with the specification as new features need to be implemented.
- feat: support node 22 #4666 @dyladan
v1.24.1
1.24.1
🐛 (Bug Fix)
- fix(core): align inconsistent behavior of
getEnv()andgetEnvWithoutDefaults()when aprocesspolyfill is used #4648 @pichlermarcgetEnvWithoutDefaults()would useprocess.envif it was defined when running in a browser, whilegetEnv()would always use_globalThis. Now both use_globalThiswhen running in a browser.
- fix(resources): prevent circular import (resource -> detector -> resource -> ...) #4653 @pichlermarc
- fixes a circular import warning which would appear in rollup when bundling
@opentelemetry/resources
- fixes a circular import warning which would appear in rollup when bundling
- fix(exporter-metrics-otlp-grpc): add explicit otlp-exporter-base dependency to exporter-metrics-otlp-grpc #4678 @AkselAllas
Experimental v0.51.1
0.51.1
🐛 (Bug Fix)
- fix(instrumentation): update import-in-the-middle to 1.7.4
v1.24.0
1.24.0
🚀 (Enhancement)
- feat(sdk-trace-base): log resource attributes in ConsoleSpanExporter #4605 @pichlermarc
- feat(propagator-aws-xray): moved AWS Xray propagator from contrib 4603 @martinkuba
- feat(resources): new experimental detector ServiceInstanceIdDetectorSync that sets the value for
service.instance.idas random UUID. #4608 @maryliag