@langfuse/otel breaking changes
@langfuse/otel 6.0.0 (October 14, 2026) is its newest release with breaking changes, 27 of them. The first: @langfuse/otel 6.0.0 requires Node.js 22 or later. Every breaking API change we have recorded in @langfuse/otel on npm: 29 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 6.2.0, released December 2, 2026. Source repository
Its 6.0.0 release requires Node.js 22 or later. Node.js end of life dates.
@langfuse/otel 6.0.0 breaking changes
- Removed
v6 needs Node.js 22 or later. Older runtimes are unsupported, so bundles for them must transpile the SDK. langfuse.com - Removed
api.datasets.getRun
Use api.experiments.list and api.experiments.listItems instead. langfuse.com - Removed
api.ingestion.batch
Send traces through OpenTelemetry tracing, the SDK default, and scores through api.scores.create. langfuse.com - Removed
api.legacy.metricsV1.metrics
Use api.metrics.metrics instead. langfuse.com - Removed
api.legacy.scoreV1.create
Use api.scores.create with an array of scores instead. langfuse.com - Removed
api.sessions
Use api.observations.getMany with sessionId instead. langfuse.com - Removed
api.trace.get
Use api.observations.getMany with traceId or sessionId instead. langfuse.com - Removed
createTraceAttributes
Use propagateAttributes() for other trace attributes. langfuse.com - Removed
item.link
Use dataset.runExperiment with a task and evaluators instead. langfuse.com - Removed
langfuse.createPrompt
Use the managers or the api client instead. langfuse.com - Removed
langfuse.fetchTrace
Use the managers or the api client instead. langfuse.com - Removed
langfuse.getDataset
Use the managers or the api client instead. langfuse.com - Removed
langfuse.getPrompt
Use the managers or the api client instead. langfuse.com - Removed
langfuse.updatePrompt
Use the managers or the api client instead. langfuse.com - Removed
legacy.CreateScoreRequest
Use the types without the legacy prefix. langfuse.com - Removed
setActiveTraceIO
Set trace input and output on the root observation instead. langfuse.com - Removed
span.setTraceIO
Set trace input and output on the root observation instead. langfuse.com - Renamed
api.legacy.scoreV1.delete
Call api.scores.delete(scoreId) instead. langfuse.com - Renamed
api.scoresV3.getManyV3
Call api.scores.getMany with the same arguments. There is no alias for the old name. langfuse.com - Behavior changed
Custom span processors or exporters that read metadata attributes must JSON.parse() them. Mask functions now receive decoded values that may be non-strings. langfuse.com - Behavior changed
The runner no longer special-cases sampling, so items whose traces are dropped by a sampler do not appear in experiments. Do not sample traces while running experiments. langfuse.com - Behavior changed
Scores now go to POST /api/public/scores in batches, and rejected scores are logged rather than retried. langfuse.com - Behavior changed
If a proxy rejects compressed requests, set compression to none or LANGFUSE_OTEL_COMPRESSION=none. langfuse.com - Behavior changed
api.scores.getMany
Filter by id instead of scoreIds, using comma-separated IDs. langfuse.com - Signature changed
api.datasets.get
Calls that pass requestOptions to this method must add {} as the request argument. langfuse.com - Signature changed
api.health.health
Calls that pass requestOptions to this method must add {} as the request argument. langfuse.com - Signature changed
api.scores.create
Pass an array of CreateScoreRequest objects. The response no longer includes the score id, so set id on the request if needed and check for rejected scores. langfuse.com
@langfuse/otel 5.0.0 breaking changes
- Behavior changed
The v5.0.0 release contains breaking changes described in the linked migration guide. Users must review that guide and update their code accordingly. github.com - Signature changed
MaskFunction
Was type MaskFunction = (params: {data: any;}) => any; now type MaskFunction = (params: {data: any;}) => any | Promise<any>. npmjs.com
Related packages
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.