github langfuse/langfuse v4.84.0

2 hours ago

What's Changed

Features

  • feat(mcp): add batchCreateAnnotationQueueItems tool by @tobi12345 in #20477
  • feat(web): show Intent topic shares in the tracing pulse chart header by @nmtrang29 in #20482
  • feat(billing): ship the billable_events ledger as a ClickHouse migration by @Steffen911 in #20458
  • feat(annotation-queue): Embed updated session view by @bezbac in #19225
  • feat(topics): describe how sentiment was expressed, not what it was about by @LysanderKie in #20410
  • feat(halo): show topic-related default prompts on the topics page by @nimarb in #20387
  • feat(topics): state in the rendered text whether the run replied visibly by @LysanderKie in #20411
  • feat(ai-gateway): organization-wide spend budgets by @wochinge in #20460
  • feat(native): expose owned OTEL batch lifecycle by @sumerman in #19966
  • feat(worker): store events-dispatch transcripts under events-dispatch/trace-transcript/ by @LysanderKie in #20499
  • feat(ai-gateway): add create button to the no gateway keys empty state by @wochinge in #20507
  • feat(topics): decide Issues from the run's result before looking for a cause by @LysanderKie in #20506
  • feat(ai-gateway): emit per-organization spend metric by @wochinge in #20517
  • feat(mcp): link to LLM connection settings via URL elicitation by @tobi12345 in #20505
  • feat(ai-gateway): add spend budgets and own key steps to the setup guide by @wochinge in #20516
  • feat(web): pick OpenAI data residency base URLs from a list by @wochinge in #20511
  • feat(rbac): mirror support access grants as expiring VIEWER assignments by @marksalpeter in #20230
  • feat(rbac): replace the member role hierarchy with the ownership rule by @marksalpeter in #20231
  • feat(topics): show snapshot processing cost by @nimarb in #20213
  • feat(rbac): add a role-assignment drift check by @marksalpeter in #20234
  • feat(web): show all scores on annotation queue items by @nkabardin in #20491
  • feat(worker): wire opt-in native OTEL direct processing by @sumerman in #19967
  • feat(topics): stricter no-issue exit for Issues, Not supported state for Outcome by @LysanderKie in #20527
  • feat(filters): suggest field values when typing in the filter search bar (LFE-18928) by @nkabardin in #20537
  • feat(models): add organization-scoped model definitions by @hassiebp in #20438
  • feat(topics): keep a split or merge's dominant successor on the old topic identity by @LysanderKie in #20414
  • feat(ai-gateway): capture budget, custom model and endpoint usage in product analytics by @wochinge in #20524
  • feat(billing): serve the CHB metrics API from the billable units ledger by @Steffen911 in #20525
  • feat(topics): re-key the Topics ClickHouse tables for map reads and a stable refit sample by @LysanderKie in #20515
  • feat(ai-gateway): add budget warning alert thresholds by @wochinge in #20605
  • feat(rbac): authorize sessions through the user's policies by @marksalpeter in #20235
  • feat(web): correlate tRPC client errors with Datadog traces by @nkabardin in #20430
  • feat(web): use inset Tabs for AI Gateway budget reset period and default to Never by @wochinge in #20623
  • feat(web): read the org usage breakdown from the billable units ledger by @Steffen911 in #20597
  • feat(api): add an unstable org endpoint for billable units per project by @Steffen911 in #20598
  • feat(topics): name every changed continued topic with its previous name as context by @LysanderKie in #20596
  • feat(topics): limit summary input by transcript characters instead of tokens by @LysanderKie in #20664
  • feat(topics): filter the scatter by trace fields and highlight matching dots by @LysanderKie in #20592
  • feat(topics): apply project retention to Topics summaries and assignments by @LysanderKie in #20451
  • feat(evals): allow keyed state for OpenAI and Gemini decision evaluators by @wochinge in #20695
  • feat(telemetry): report completed Topics facet summaries from self-hosted instances by @LysanderKie in #20528
  • feat(ai-gateway): support Vertex AI us and eu multi-region endpoints by @wochinge in #20708
  • feat(web): add AvatarGroup design-system component by @nmtrang29 in #20685
  • feat(topics): name the map on the setup review step by @nimarb in #20629
  • feat(evals): gate trace evals on their own project list and preview by @marliessophie in #20712

Bug Fixes

  • fix(web): open metadata filters on a blank row by @nkabardin in #19814
  • fix(web): show the trace topic as a coloured badge in the trace header by @nmtrang29 in #20474
  • fix(topics): name the first setup's map "Default" when no name is sent by @LysanderKie in #20484
  • fix(worker): delete project media in bounded batches by @niklassemmler in #20475
  • fix(worker): stop the media cleaner from repeating the project-wide link delete by @niklassemmler in #20476
  • fix(web): show member invite errors on the field they belong to by @nkabardin in #20485
  • fix(web): mark Topics as beta and add a Give feedback entry by @nmtrang29 in #20508
  • fix(web): topic stripe counts one map per facet, with an info card by @nmtrang29 in #20500
  • fix(web): validate LLM connection base URLs in the form by @wochinge in #20510
  • fix(topics): cap embedding dimensions at 2,048 by @nimarb in #20512
  • fix(clickhouse): give scores.metadata a typed default so old parts merge by @niklassemmler in #20521
  • fix(topics): keep map picker height stable while previewing by @nimarb in #20483
  • fix(storage): expire idle S3 connections without interrupting queued downloads by @sumerman in #20534
  • fix(topics): give every map picker preview the same header spacing by @nimarb in #20541
  • fix(web): stop titling ClickHouse resource errors as timeouts by @fancyboi999 in #19944
  • fix(query-ast): allow only structural raw SQL nodes by @niklassemmler in #20198
  • fix(org-delete): explain in-progress project deletion instead of Forbidden (LFE-18897, LFE-17645) by @nkabardin in #20503
  • fix(topics): store the dispatch revision as transcript_id by @LysanderKie in #20560
  • fix(halo): Restrict streamdown elements by @bezbac in #20519
  • fix(web): use check mark for selected option in single selects by @wochinge in #20520
  • fix(filters): bind default number filters as Decimal128(12) by @niklassemmler in #20445
  • fix(web): one Banner component for inline status messages by @nmtrang29 in #20509
  • fix(web): callout actions as text links, icon on the first line by @nmtrang29 in #20567
  • fix(web): darken the red text and icon colour by @nmtrang29 in #20573
  • fix(web): dim the dark mode red and green fills by @nmtrang29 in #20568
  • fix(ai-gateway): restrict AI Gateway API keys to invoke-only role by @wochinge in #20583
  • fix(ai-gateway): mark gateway-calculated costs as calculated by @wochinge in #20578
  • fix(public-api): read unknown evaluator mapping columns as null source by @niklassemmler in #20579
  • fix(clickhouse): parse datetime strings with a zone on every server version by @sumerman in #20546
  • fix(native): account for owned rows and retire the JS constructor by @sumerman in #19968
  • fix(web): Badge truncation and icon colors by @bezbac in #20608
  • fix(security): cap sandbox bash timeoutMs at 120s by @github-actions[bot] in #20611
  • fix(web): wait for dropdown menu focus and visibility by @nkabardin in #20622
  • fix(web): edit collapsed filter values directly by @nkabardin in #20618
  • fix(web): show the prompt export limit in the dialog by @nkabardin in #20619
  • fix(ingestion): keep tool definitions named proto by @nkabardin in #20624
  • fix(topics): delete Topics ClickHouse data in the project delete job by @LysanderKie in #20450
  • fix(media): serve risky media types as downloads with the recorded content type by @wochinge in #20691
  • fix(shared): restore GCS v4 signed URLs with service-account keys by @wochinge in #20696
  • fix(web): use one name for the regular font weight by @nmtrang29 in #20701
  • fix(ai-gateway): align provider TCP user timeout and keepalive with max execution time by @wochinge in #20690
  • fix(mcp): reject legacy dataset run tools once the Cloud v3 cutoff applies by @marliessophie in #20710
  • fix(otel): price Claude Platform calls once via their model request span by @hassiebp in #20551
  • fix(pricing): price Claude thinking tokens at the output rate by @hassiebp in #20553
  • fix(otel): price Claude Platform 1-hour cache writes at the 1-hour rate by @hassiebp in #20554
  • fix(topics): show when the next nightly update runs in the refresh map dialog by @nimarb in #20542
  • fix(topics): stop the trace list from scrolling sideways by @nimarb in #20705
  • fix(web): skip panel hit tests that have no common ancestor by @nkabardin in #20707
  • fix: default sandbox bash timeout to 120s at parse boundary by @feiiiiii5 in #20670

Performance

  • perf(web): load a user key's user and key roles in parallel by @wochinge in #20489
  • perf(ai-gateway): look up /resolve pricing alongside rate limiting by @wochinge in #20490
  • perf(model-match): invalidate model cache with epochs instead of SCAN by @hassiebp in #20575

Refactoring

  • refactor(web): Migrate some more legacy tooltips to design-system by @bezbac in #20493
  • refactor(rbac): drop unread session fields and the stored-role access check variants by @marksalpeter in #20233
  • refactor(worker): extract OTEL TypeScript event preparation by @sumerman in #20533
  • refactor(web): remove FeaturePreviewModal clienttest eslint-disable by @cursor[bot] in #20552
  • refactor(entitlements): remove no-use-before-define eslint-disable by @cursor[bot] in #20557
  • refactor(web): drop MonitorSeverityBadge eslint-disable for no-style-props by @cursor[bot] in #20565
  • refactor(web): remove eslint-disable from DatasetItemFields by @cursor[bot] in #20549
  • refactor: rename trace batching to trace dispatch by @LysanderKie in #20563
  • refactor(entitlements): move plan resolution and entitlement table to shared by @niklassemmler in #20501
  • refactor(web): remove no-nested-ternary disable from KeyValueFilterBuilder by @cursor[bot] in #20561
  • refactor(web): split ErrorPage and remove eslint-disable by @cursor[bot] in #20684
  • refactor(web): drop unused JsonValue className prop by @cursor[bot] in #20678
  • refactor(web): remove eslint-disable from numbers utils by @cursor[bot] in #20681
  • refactor(datasets): split dataset IO table cells for file-structure lint by @cursor[bot] in #20673
  • refactor(web): drop className from FilteredRunPills by @cursor[bot] in #20674
  • refactor(batch-actions): remove nested ternary in addToDatasetRouter by @cursor[bot] in #20675
  • refactor(web): Rename SettingsTable to TableCard by @bezbac in #20607

Tests

  • test(ai-gateway): cover cross-organization and missing-scope callers on budget routes by @wochinge in #20496
  • test(llm-api-key): cover tenant and scope denials for Bedrock external-ID reads by @wochinge in #20498
  • test: build test sessions with a shared createSession factory by @marksalpeter in #20294
  • test(web): drop duplicate pivot sort state test by @nkabardin in #20385
  • test(query-ast): record golden SQL baselines for the v2 score views by @niklassemmler in #20421
  • test(web): drop duplicate null default sort test by @nkabardin in #20539
  • test(shared): drop duplicate user-supplied filter AND tests by @nkabardin in #20564
  • test(web): drop deterministic event bucket prefix test by @nkabardin in #20566
  • test(shared): drop legacy write-mode unaffected case by @nkabardin in #20570
  • test(mcp): deny batch score creation without scores:save by @wochinge in #20577
  • test(query-ast): record golden SQL baselines for observations public API filters by @niklassemmler in #20584
  • test(organizations): add cross-organization and missing-scope tests for deletion-status reads by @wochinge in #20576
  • test(worker): drop duplicate categorical multi-match test by @nkabardin in #20574
  • test(web): drop redundant safeBlobKeySegment determinism test by @nkabardin in #20625
  • test(ai-gateway): cover cross-organization budget alert reports by @wochinge in #20689

Chores

  • chore(eslint): Enable array-callback-return by @bezbac in #20488
  • chore(docker): bump UBI base images from 9.8 to 9.9 by @wochinge in #20492
  • chore(clickhouse): record caller deadlines as a deadline query outcome by @niklassemmler in #20446
  • chore(agents): remove incident-alert-tickets skill by @niklassemmler in #20504
  • chore(worker): remove the events-dispatch sampling and store-all experiments by @LysanderKie in #20513
  • chore: rename org id model addition migs to latest by @hassiebp in #20571
  • chore: rename org id model addition migs to latest by @hassiebp in #20572
  • chore(deps): bump the rust-dependencies group in /ai-gateway with 3 updates by @dependabot[bot] in #20543
  • chore(worker): remove LANGFUSE_EVENT_PROPAGATION_EXCLUDE_PROJECT_IDS by @Steffen911 in #20595
  • chore(web): remove unused feature flags by @Steffen911 in #20600
  • chore: remove env vars that nothing reads by @Steffen911 in #20599
  • chore(native): strengthen OTEL property coverage by @sumerman in #20180
  • chore(deps): bump effect to 3.22.1 by @github-actions[bot] in #20550
  • chore(web): log v3 cutoff rejections at debug level by @Steffen911 in #20632
  • chore(web): log tRPC sign-in 401s at debug level by @Steffen911 in #20640
  • chore(ai-gateway): add GPT-6.2 Astra and Sol to Bedrock model API formats by @github-actions[bot] in #20683
  • chore(oxlint): enable default-case-last rule by @cursor[bot] in #20676

Other

  • docs(agents): require a TODO for skipped or commented-out tests by @nkabardin in #20613
  • style(web): refine AI Gateway key dialog optional sections, expiration tabs, and trash icons by @wochinge in #20628

New Contributors

Full Changelog: v4.83.0...v4.84.0

Don't miss a new langfuse release

NewReleases is sending notifications on new releases.