openllmetry-js
openllmetry-js copied to clipboard
chore(deps): bump @opentelemetry/core from 1.30.1 to 2.0.0 in /packages/instrumentation-llamaindex
Bumps @opentelemetry/core from 1.30.1 to 2.0.0.
Release notes
Sourced from @opentelemetry/core's releases.
v2.0.0
2.0.0
Summary
- The minimum supported Node.js has been raised to
^18.19.0 || >=20.6.0. This means that support for Node.js 14 and 16 has been dropped.- The minimum supported TypeScript version has been raised to 5.0.4.
- The compilation target for transpiled TypeScript has been raised to ES2022 (from ES2017).
- The public interface has changed
- for notes on migrating to 2.x / 0.200.x see the upgrade guide
- Only experimental versions
0.200.0are compatible with this release:boom: Breaking Change
- feat(sdk-trace-base)!: Add
parentSpanContextand removeparentSpanIdfromSpanandReadableSpan#5450@JacksonWeber
- (user-facing): the SDK's
SpansparentSpanIdwas replaced byparentSpanContext, to migrate to the new property, please replacespan.parentSpanId->span.parentSpanContext?.spanId- feat(sdk-metrics)!: drop deprecated
typefield onMetricDescriptor#5291@chancancode- feat(sdk-metrics)!: drop deprecated
InstrumentDescriptortype; useMetricDescriptorinstead #5277@chancancode- feat(sdk-metrics)!: bump minimum version of
@opentelemetry/apipeer dependency to 1.9.0 #5254@chancancode- chore(shim-opentracing): replace deprecated SpanAttributes #4430
@JamieDanielson- chore(otel-core): replace deprecated SpanAttributes #4408
@JamieDanielson- feat(sdk-metrics)!: remove MeterProvider.addMetricReader() in favor of constructor option #4419
@pichlermarc- chore(otel-resources): replace deprecated SpanAttributes #4428
@JamieDanielson- feat(sdk-metrics)!: remove MeterProvider.addMetricReader() in favor of constructor option #4419
@pichlermarc- feat(sdk-metrics)!: replace attributeKeys with custom processors option #4532
@pichlermarc- refactor(sdk-trace-base)!: replace
SpanAttributeswithAttributes#5009@david-luna- refactor(resources)!: replace
ResourceAttributeswithAttributes#5016@david-luna- feat(sdk-metrics)!: drop
ViewandAggregationin favor ofViewOptionsandAggregationOption#4931@pichlermarc- refactor(sdk-trace-base)!: remove
new Spanconstructor in favor ofTracer.startSpanAPI #5048@david-luna- refactor(sdk-trace-base)!: remove
BasicTracerProvider.addSpanProcessorAPI in favor of constructor options. #5134@david-luna- refactor(sdk-trace-base)!: make
resourceproperty private inBasicTracerProviderand removegetActiveSpanProcessorAPI. #5192@david-luna- feat(sdk-metrics)!: extract
IMetricReaderinterface and use it over abstract class #5311
- (user-facing):
MeterProviderOptionsnow provides the more generalIMetricReadertype overMetricReader- If you accept
MetricReaderin your public interface, consider accepting the more generalIMetricReaderinstead to avoid unintentional breaking changes- feat(sdk-trace)!: remove ability to have BasicTracerProvider instantiate exporters #5239
@pichlermarc
- When extending
BasicTracerProvider, the class offered multiple methods to facilitate the creation of exporters and auto-pairing withSpanProcessors.
- This functionality has been removed - users may now pass
SpanProcessors to the base class constructor when extending- (user-facing):
_registeredExportershas been removed- (user-facing):
_getSpanExporterhas been removed- (user-facing):
_buildExporterFromEnvhas been removed- feat(core)!: remove deprecated
IdGeneratorandRandomIdGenerator#5309@pichlermarc- feat(core)!: remove deprecated type
InstrumentationLibrary#5308@pichlermarc
- (user-facing): please use equivalent type
InstrumentationScopeinstead- feat(sdk-trace-base)!: replace usages fo
InstrumentationLibrarywithInstrumentationScope#5308@pichlermarc
- (user-facing) rename
Tracer.instrumentationLibrary->Tracer.instrumentationScope- (user-facing) rename
ReadableSpan.instrumentationLibrary->ReadableSpan.instrumentationScope
- also renames the property in implementations of
ReadableSpan- feat(exporter-jaeger): use
ReadableSpan.instrumentationScopeoverReadableSpan.instrumentationLibrary#5308@pichlermarc- feat(exporter-zipkin): use
ReadableSpan.instrumentationScopeoverReadableSpan.instrumentationLibrary#5308@pichlermarc- chore!: update typescript to version
5.0.4#5145@david-luna
... (truncated)
Changelog
Sourced from @opentelemetry/core's changelog.
2.0.0
Summary
- The minimum supported Node.js has been raised to
^18.19.0 || >=20.6.0. This means that support for Node.js 14 and 16 has been dropped.- The minimum supported TypeScript version has been raised to 5.0.4.
- The compilation target for transpiled TypeScript has been raised to ES2022 (from ES2017).
- The public interface has changed
- for notes on migrating to 2.x / 0.200.x see the upgrade guide
- Only experimental versions
0.200.0are compatible with this release:boom: Breaking Change
- feat(sdk-trace-base)!: Add
parentSpanContextand removeparentSpanIdfromSpanandReadableSpan#5450@JacksonWeber
- (user-facing): the SDK's
SpansparentSpanIdwas replaced byparentSpanContext, to migrate to the new property, please replacespan.parentSpanId->span.parentSpanContext?.spanId- feat(sdk-metrics)!: drop deprecated
typefield onMetricDescriptor#5291@chancancode- feat(sdk-metrics)!: drop deprecated
InstrumentDescriptortype; useMetricDescriptorinstead #5277@chancancode- feat(sdk-metrics)!: bump minimum version of
@opentelemetry/apipeer dependency to 1.9.0 #5254@chancancode- chore(shim-opentracing): replace deprecated SpanAttributes #4430
@JamieDanielson- chore(otel-core): replace deprecated SpanAttributes #4408
@JamieDanielson- feat(sdk-metrics)!: remove MeterProvider.addMetricReader() in favor of constructor option #4419
@pichlermarc- chore(otel-resources): replace deprecated SpanAttributes #4428
@JamieDanielson- feat(sdk-metrics)!: remove MeterProvider.addMetricReader() in favor of constructor option #4419
@pichlermarc- feat(sdk-metrics)!: replace attributeKeys with custom processors option #4532
@pichlermarc- refactor(sdk-trace-base)!: replace
SpanAttributeswithAttributes#5009@david-luna- refactor(resources)!: replace
ResourceAttributeswithAttributes#5016@david-luna- feat(sdk-metrics)!: drop
ViewandAggregationin favor ofViewOptionsandAggregationOption#4931@pichlermarc- refactor(sdk-trace-base)!: remove
new Spanconstructor in favor ofTracer.startSpanAPI #5048@david-luna- refactor(sdk-trace-base)!: remove
BasicTracerProvider.addSpanProcessorAPI in favor of constructor options. #5134@david-luna- refactor(sdk-trace-base)!: make
resourceproperty private inBasicTracerProviderand removegetActiveSpanProcessorAPI. #5192@david-luna- feat(sdk-metrics)!: extract
IMetricReaderinterface and use it over abstract class #5311
- (user-facing):
MeterProviderOptionsnow provides the more generalIMetricReadertype overMetricReader- If you accept
MetricReaderin your public interface, consider accepting the more generalIMetricReaderinstead to avoid unintentional breaking changes- feat(sdk-trace)!: remove ability to have BasicTracerProvider instantiate exporters #5239
@pichlermarc
- When extending
BasicTracerProvider, the class offered multiple methods to facilitate the creation of exporters and auto-pairing withSpanProcessors.
- This functionality has been removed - users may now pass
SpanProcessors to the base class constructor when extending- (user-facing):
_registeredExportershas been removed- (user-facing):
_getSpanExporterhas been removed- (user-facing):
_buildExporterFromEnvhas been removed- feat(core)!: remove deprecated
IdGeneratorandRandomIdGenerator#5309@pichlermarc- feat(core)!: remove deprecated type
InstrumentationLibrary#5308@pichlermarc
- (user-facing): please use equivalent type
InstrumentationScopeinstead- feat(sdk-trace-base)!: replace usages fo
InstrumentationLibrarywithInstrumentationScope#5308@pichlermarc
- (user-facing) rename
Tracer.instrumentationLibrary->Tracer.instrumentationScope- (user-facing) rename
ReadableSpan.instrumentationLibrary->ReadableSpan.instrumentationScope
- also renames the property in implementations of
ReadableSpan- feat(exporter-jaeger): use
ReadableSpan.instrumentationScopeoverReadableSpan.instrumentationLibrary#5308@pichlermarc- feat(exporter-zipkin): use
ReadableSpan.instrumentationScopeoverReadableSpan.instrumentationLibrary#5308@pichlermarc- chore!: update typescript to version
5.0.4#5145@david-luna
- (user-facing) dropped support for
typescript@<5.0.4
... (truncated)
Commits
7fde940chore: prepare release 2.0.0/0.200.0 (#5521)ecd67dedoc: add section to SDK 2.x migration guide for implementors of resource dete...eaebf76chore: prepare release 2.0.0-rc.1/0.200.0-rc.1 (#5534)e947bd9chore(deps): update dependency babel-loader to v10 (#5518)5e20647fix(deps): update dependency axios to v1.8.2 [security] (#5532)78fc472chore(deps): lock file maintenance (#5531)693b09dfix(core): avoid using util in configuration.ts for browser compatibility (#5...92fde6achore: prepare 2.0.0-dev.1/0.200.0-dev.1 pre-release (#5512)04b3210doc: upgrade/migration guide for SDK 2.0 (#5513)cb48266fix(deps): update dependency import-in-the-middle to v1.13.1 (#5517)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)