---
title: "@langfuse/otel 6.0.0 Breaking Changes on npm | Since.dev"
description: "What each @langfuse/otel release removed, renamed or changed: 29 breaking changes in 2 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@langfuse/otel
last_updated: 2026-12-04
---

# @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

Latest version `6.2.0`, released December 2, 2026. [Source repository](https://github.com/langfuse/langfuse-js)

Its 6.0.0 release requires [Node.js 22](https://since.dev/calendar/nodejs/22.md) or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [5.0.0](#v-5-0-0) to [6.0.0](#v-6-0-0): 27 breaking changes in 1 version.

## @langfuse/otel 6.0.0 breaking changes

@langfuse/otel 6.0.0, released October 14, 2026: 27 breaking changes.

- **Removed**  

v6 needs Node.js 22 or later. Older runtimes are unsupported, so bundles for them must transpile the SDK. [langfuse.com](https://langfuse.com/docs/observability/sdk/upgrade-path/js-v5-to-v6)
- **Removed** `api.datasets.getRun`  

Use api.experiments.list and api.experiments.listItems instead. [langfuse.com](https://langfuse.com/docs/observability/sdk/upgrade-path/js-v5-to-v6)
- **Removed** `api.ingestion.batch`  

Send traces through OpenTelemetry tracing, the SDK default, and scores through api.scores.create. [langfuse.com](https://langfuse.com/docs/observability/sdk/upgrade-path/js-v5-to-v6)
- **Removed** `api.legacy.metricsV1.metrics`  

Use api.metrics.metrics instead. [langfuse.com](https://langfuse.com/docs/observability/sdk/upgrade-path/js-v5-to-v6)
- **Removed** `api.legacy.scoreV1.create`  

Use api.scores.create with an array of scores instead. [langfuse.com](https://langfuse.com/docs/observability/sdk/upgrade-path/js-v5-to-v6)
- **Removed** `api.sessions`  

Use api.observations.getMany with sessionId instead. [langfuse.com](https://langfuse.com/docs/observability/sdk/upgrade-path/js-v5-to-v6)
- **Removed** `api.trace.get`  

Use api.observations.getMany with traceId or sessionId instead. [langfuse.com](https://langfuse.com/docs/observability/sdk/upgrade-path/js-v5-to-v6)
- **Removed** `createTraceAttributes`  

Use propagateAttributes() for other trace attributes. [langfuse.com](https://langfuse.com/docs/observability/sdk/upgrade-path/js-v5-to-v6)
- **Removed** `item.link`  

Use dataset.runExperiment with a task and evaluators instead. [langfuse.com](https://langfuse.com/docs/observability/sdk/upgrade-path/js-v5-to-v6)
- **Removed** `langfuse.createPrompt`  

Use the managers or the api client instead. [langfuse.com](https://langfuse.com/docs/observability/sdk/upgrade-path/js-v5-to-v6)
- **Removed** `langfuse.fetchTrace`  

Use the managers or the api client instead. [langfuse.com](https://langfuse.com/docs/observability/sdk/upgrade-path/js-v5-to-v6)
- **Removed** `langfuse.getDataset`  

Use the managers or the api client instead. [langfuse.com](https://langfuse.com/docs/observability/sdk/upgrade-path/js-v5-to-v6)
- **Removed** `langfuse.getPrompt`  

Use the managers or the api client instead. [langfuse.com](https://langfuse.com/docs/observability/sdk/upgrade-path/js-v5-to-v6)
- **Removed** `langfuse.updatePrompt`  

Use the managers or the api client instead. [langfuse.com](https://langfuse.com/docs/observability/sdk/upgrade-path/js-v5-to-v6)
- **Removed** `legacy.CreateScoreRequest`  

Use the types without the legacy prefix. [langfuse.com](https://langfuse.com/docs/observability/sdk/upgrade-path/js-v5-to-v6)
- **Removed** `setActiveTraceIO`  

Set trace input and output on the root observation instead. [langfuse.com](https://langfuse.com/docs/observability/sdk/upgrade-path/js-v5-to-v6)
- **Removed** `span.setTraceIO`  

Set trace input and output on the root observation instead. [langfuse.com](https://langfuse.com/docs/observability/sdk/upgrade-path/js-v5-to-v6)
- **Renamed** `api.legacy.scoreV1.delete`  

Call api.scores.delete(scoreId) instead. [langfuse.com](https://langfuse.com/docs/observability/sdk/upgrade-path/js-v5-to-v6)
- **Renamed** `api.scoresV3.getManyV3`  

Call api.scores.getMany with the same arguments. There is no alias for the old name. [langfuse.com](https://langfuse.com/docs/observability/sdk/upgrade-path/js-v5-to-v6)
- **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](https://langfuse.com/docs/observability/sdk/upgrade-path/js-v5-to-v6)
- **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](https://langfuse.com/docs/observability/sdk/upgrade-path/js-v5-to-v6)
- **Behavior changed**  

Scores now go to POST /api/public/scores in batches, and rejected scores are logged rather than retried. [langfuse.com](https://langfuse.com/docs/observability/sdk/upgrade-path/js-v5-to-v6)
- **Behavior changed**  

If a proxy rejects compressed requests, set compression to none or LANGFUSE_OTEL_COMPRESSION=none. [langfuse.com](https://langfuse.com/docs/observability/sdk/upgrade-path/js-v5-to-v6)
- **Behavior changed** `api.scores.getMany`  

Filter by id instead of scoreIds, using comma-separated IDs. [langfuse.com](https://langfuse.com/docs/observability/sdk/upgrade-path/js-v5-to-v6)
- **Signature changed** `api.datasets.get`  

Calls that pass requestOptions to this method must add {} as the request argument. [langfuse.com](https://langfuse.com/docs/observability/sdk/upgrade-path/js-v5-to-v6)
- **Signature changed** `api.health.health`  

Calls that pass requestOptions to this method must add {} as the request argument. [langfuse.com](https://langfuse.com/docs/observability/sdk/upgrade-path/js-v5-to-v6)
- **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](https://langfuse.com/docs/observability/sdk/upgrade-path/js-v5-to-v6)

## @langfuse/otel 5.0.0 breaking changes

@langfuse/otel 5.0.0, released March 10, 2026: 2 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](https://github.com/langfuse/langfuse-js/releases/tag/v5.0.0)
- **Signature changed** `MaskFunction`  

Was type MaskFunction = (params: {data: any;}) => any; now type MaskFunction = (params: {data: any;}) => any | Promise\<any>. [npmjs.com](https://www.npmjs.com/package/@langfuse/otel/v/5.0.0)

## Related packages

- [@langfuse/tracing](https://since.dev/packages/npm/@langfuse/tracing.md)
- [@langfuse/core](https://since.dev/packages/npm/@langfuse/core.md)
- [@langfuse/client](https://since.dev/packages/npm/@langfuse/client.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
