@langfuse/tracing breaking changes
@langfuse/tracing 6.0.0 (October 14, 2026) is its newest release with breaking changes, 30 of them. The first: @langfuse/tracing 6.0.0 requires Node.js 22 or later. Every breaking API change we have recorded in @langfuse/tracing on npm: 52 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/tracing 6.0.0 breaking changes
- Removed
v6 requires Node.js 22 or later and compiles to ES2022. Older runtimes must transpile the SDK themselves. langfuse.com - Removed
v6 only works with Langfuse Cloud or self-hosted Langfuse v4.59.0 or later. Upgrade Langfuse first, or stay on JS/TS SDK v5. langfuse.com - Removed
api.legacy.scoreV1.create
Use api.scores.create with an array of scores instead. langfuse.com - Removed
api.scoresV3.getManyV3
Call api.scores.getMany with the same arguments. There is no alias for the old name. langfuse.com - Removed
api.trace.get
Use api.observations.getMany({ traceId, ... }) instead. langfuse.com - Removed
createTraceAttributes
Use propagateAttributes() for other trace attributes. npmjs.com - Removed
item.link
dataset.items is now a plain array. Use dataset.runExperiment with a task and evaluators instead. langfuse.com - Removed
langfuse.fetchTrace
Use langfuse.api.observations.getMany with traceId instead. langfuse.com - Removed
langfuse.getPrompt
Use the managers or the api client instead, for example langfuse.prompt.get. langfuse.com - Removed
LangfuseAgent.setTraceIO
Use propagateAttributes instead. npmjs.com - Removed
LangfuseChain.setTraceIO
Use propagateAttributes instead. npmjs.com - Removed
LangfuseEmbedding.setTraceIO
Use propagateAttributes instead. npmjs.com - Removed
LangfuseEvaluator.setTraceIO
Use propagateAttributes instead. npmjs.com - Removed
LangfuseEvent.setTraceIO
Use propagateAttributes instead. npmjs.com - Removed
LangfuseGeneration.setTraceIO
Use propagateAttributes instead. npmjs.com - Removed
LangfuseGuardrail.setTraceIO
Use propagateAttributes instead. npmjs.com - Removed
LangfuseRetriever.setTraceIO
Use propagateAttributes instead. npmjs.com - Removed
LangfuseSpan.setTraceIO
Use propagateAttributes instead. npmjs.com - Removed
LangfuseTool.setTraceIO
Use propagateAttributes instead. npmjs.com - Removed
LangfuseTraceAttributes
Use propagateAttributes instead. npmjs.com - Removed
setActiveTraceIO
Set input and output on the root observation instead. npmjs.com - Removed
span.setTraceIO
Call span.update with input and output on the root observation. langfuse.com - Renamed
api.legacy.scoreV1.delete
Call api.scores.delete(scoreId) instead. langfuse.com - Behavior changed
If a proxy rejects compressed requests, set compression to none on LangfuseSpanProcessor or set LANGFUSE_OTEL_COMPRESSION=none. langfuse.com - Behavior changed
Sampled-out traces drop their items from experiments. Do not sample traces while running experiments. langfuse.com - Behavior changed
Metadata attributes hold JSON-encoded values, so custom processors and exporters must JSON.parse them. Mask functions receive decoded non-string values. langfuse.com - Behavior changed
api.scores.getMany
Calls using scoreIds get a different response. Filter by id with comma-separated IDs instead. langfuse.com - Signature changed
api.datasets.get
Calls that pass requestOptions to methods without query parameters or a body must add {} as the request argument. langfuse.com - Signature changed
api.health.health
Pass {} as the request argument before any requestOptions. langfuse.com - Signature changed
api.scores.create
Wrap score objects in an array. The response has accepted and rejected counts and no longer contains the score id; set id on the request instead. langfuse.com
@langfuse/tracing 5.0.0 breaking changes
- Removed
LangfuseTraceAttributes.environment
LangfuseTraceAttributes.environment was removed in @langfuse/tracing 5.0.0 npmjs.com - Removed
LangfuseTraceAttributes.metadata
LangfuseTraceAttributes.metadata was removed in @langfuse/tracing 5.0.0 npmjs.com - Removed
LangfuseTraceAttributes.name
LangfuseTraceAttributes.name was removed in @langfuse/tracing 5.0.0 npmjs.com - Removed
LangfuseTraceAttributes.public
LangfuseTraceAttributes.public was removed in @langfuse/tracing 5.0.0 npmjs.com - Removed
LangfuseTraceAttributes.release
LangfuseTraceAttributes.release was removed in @langfuse/tracing 5.0.0 npmjs.com - Removed
LangfuseTraceAttributes.sessionId
LangfuseTraceAttributes.sessionId was removed in @langfuse/tracing 5.0.0 npmjs.com - Removed
LangfuseTraceAttributes.tags
LangfuseTraceAttributes.tags was removed in @langfuse/tracing 5.0.0 npmjs.com - Removed
LangfuseTraceAttributes.userId
LangfuseTraceAttributes.userId was removed in @langfuse/tracing 5.0.0 npmjs.com - Removed
LangfuseTraceAttributes.version
LangfuseTraceAttributes.version was removed in @langfuse/tracing 5.0.0 npmjs.com - Renamed
LangfuseAgent.updateTrace
Use LangfuseAgent.setTraceIO instead. npmjs.com
And 12 more in this version. Sign up to see every change
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.