@opentelemetry/sdk-logs breaking changes
Updated December 4, 2026
On this page
Latest version 3.1.2, released December 2, 2026. Source repository
Its 3.0.0 release drops Node.js 14 and 16. Node.js end of life dates.
- From 2.0.0 to 3.1.0: 33 breaking changes in 2 versions.
- From 0.221.0 to 3.1.0: 68 breaking changes in 15 versions.
@opentelemetry/sdk-logs 3.1.0 breaking changes
- Behavior changed
The env-based code path used by startNodeSDK was refactored in a breaking way. Review startNodeSDK configuration that depends on environment variables. github.com - Behavior changed
The B3 propagator rejects trace ids that are not 16 or 32 characters long. Check that trace ids passed through B3 use one of those lengths. github.com
@opentelemetry/sdk-logs 3.0.0 breaking changes
- Removed
package.json can no longer be imported in @opentelemetry/sdk-logs 3.0.0 github.com - Removed
The minimum supported Node.js is now 22.15.0. Users on Node.js 18 or 20 must upgrade. github.com - Removed
Node.js 18 and 20 are no longer supported. Users must run Node.js 22.15.0 or later for these packages. github.com - Removed
Removes the esnext entry point in @opentelemetry/sdk-logs 3.0.0 github.com - Removed
The package no longer supports Node.js 14 or 16. Upgrade the runtime to Node.js 18.19.0 or later, or 20.6.0 or later, before upgrading the package. github.com - Removed
Packages now use an exports map, so imports like @opentelemetry/core/build/... fail. Import from the public entry points instead. github.com - Removed
The minimum supported Node.js version is now 22.15.0. Users on Node.js 18 or 20 must upgrade their runtime. github.com - Removed
Node.js 18 and 20 are no longer supported. Upgrade Node.js to 22.15.0 or later before using SDK 3.x. github.com - Removed
AsyncHooksContextManager
Removes the unused AsyncHooksContextManager class in @opentelemetry/sdk-logs 3.0.0 github.com - Removed
LoggerConfig.disabled
Replace disabled: true with enabled: false and disabled: false with enabled: true. Loggers remain enabled by default. npmjs.com
And 21 more in this version. Sign up to see every change
@opentelemetry/sdk-logs 2.0.0 breaking changes
- Removed
The minimum supported Node.js is now ^18.19.0 || >=20.6.0. Users on Node.js 14 or 16 must upgrade their runtime. github.com - Removed
AlwaysOnSampler
Import AlwaysOnSampler from the sdk-trace-base package instead of core. github.com - Removed
DEFAULT_ATTRIBUTE_VALUE_COUNT_LIMIT
Use the literal value 128 instead of this constant. github.com - Removed
getEnv
Use getStringFromEnv, getNumberFromEnv, getBooleanFromEnv or getStringListFromEnv, and inline any defaults. github.com - Removed
IdGenerator
These deprecated ID generator exports have been removed from the core package. github.com - Removed
MeterProvider.addMetricReader
Metric readers must now be passed to the MeterProvider constructor instead of added afterwards. github.com - Removed
Resource
Resource is now a type and resources are created with functions such as resourceFromAttributes. github.com - Behavior changed
Packages are compiled to ES2022, so browser runtimes without ES2022 support are no longer supported. github.com - Configuration changed
The minimum supported TypeScript version is now 5.0.4. Users on older TypeScript must upgrade. github.com - Configuration changed
OTEL_PROPAGATORS
Propagators must be passed to NodeTracerProvider#register() in code, since the environment variable is ignored. github.com
@opentelemetry/sdk-logs 1.29.0 breaking changes
- Default changed
Metric aggregations are now capped at 2000 series by default. Users who need a higher limit must configure it through views. github.com
@opentelemetry/sdk-logs 1.25.0 breaking changes
- Behavior changed
Semantic convention strings are now exported as tree-shakeable constants; code relying on the previous semconv export shape may need updating. github.com
@opentelemetry/sdk-logs 1.24.1 breaking changes
- Behavior changed
getEnvWithoutDefaults
In browsers getEnvWithoutDefaults now reads from _globalThis rather than process.env, aligning it with getEnv. github.com
Older versions
10 older versions, each with its first changes. Sign up to see every change
Show 10 older versions
@opentelemetry/sdk-logs 1.17.1 breaking changes
- Behavior changed
Instruments that never recorded measurements, and meters with no such instruments, are now skipped during export. github.com
@opentelemetry/sdk-logs 1.17.0 breaking changes
- Behavior changed
The recordException attributes argument added in API 1.5.0 was reverted; code relying on it must not depend on that argument. github.com
@opentelemetry/sdk-logs 1.15.2 breaking changes
- Behavior changed
hrTimeTo*seconds
The hrTimeTo*seconds helpers now return fractional values instead of rounding to the nearest integer. github.com
@opentelemetry/sdk-logs 1.15.0 breaking changes
- Default changed
The default PrometheusExporter no longer appends a timestamp to exported metrics, matching the text exposition format. github.com - Default changed
The default Histogram bucket boundaries were updated, so bucket counts for default histograms will differ. github.com
And 1 more in this version.
@opentelemetry/sdk-logs 1.10.0 breaking changes
- Removed
The Events API was separated from the api-logs package into its own package. Code importing the Events API from api-logs must update its imports. github.com
@opentelemetry/sdk-logs 1.9.0 breaking changes
- Behavior changed
Metrics exported by the SDK now include service.name and telemetry.sdk attributes by default. Backends that process these attributes may see different data. github.com
@opentelemetry/sdk-logs 1.3.0 breaking changes
- Removed
InstrumentationConfig.path
The unused path property on InstrumentationConfig was removed. Code that sets or reads it must stop doing so. github.com
@opentelemetry/sdk-logs 1.1.0 breaking changes
- Removed
Node v10 reached end of life and is no longer supported by the packages. github.com - Removed
The old metrics SDK was removed from the repository. Code depending on it must move to the new metrics SDK. github.com
And 1 more in this version.
@opentelemetry/sdk-logs 0.222.0 breaking changes
- Signature changed
BatchLogRecordProcessor.onEmit
Was onEmit(logRecord: SdkLogRecord): void; now onEmit(logRecord: ReadWriteLogRecord): void. npmjs.com - Signature changed
LogRecordProcessor.onEmit
Was onEmit(logRecord: SdkLogRecord, context?: Context): void; now onEmit(logRecord: ReadWriteLogRecord, context?: Context): void. npmjs.com
And 8 more in this version.
@opentelemetry/sdk-logs 0.221.0 breaking changes
- Removed
LoggerProviderOptions.forceFlushTimeoutMillis
LoggerProviderOptions.forceFlushTimeoutMillis was removed in @opentelemetry/sdk-logs 0.221.0 npmjs.com - Signature changed
The commit is marked as a breaking change, so the force flush timeout is now set per call rather than as before. Review calls that set or rely on the force flush timeout. github.com
And 6 more in this version.
Related packages
- @opentelemetry/core
- @opentelemetry/semantic-conventions
- @opentelemetry/sdk-node
- @opentelemetry/sdk-metrics
- @opentelemetry/exporter-prometheus
- @opentelemetry/otlp-exporter-base
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.