langfuse-upgrade-migration

Featured

Upgrade Langfuse SDK versions and migrate between API changes. Use when upgrading Langfuse SDK, handling breaking changes, or migrating between Langfuse versions. Trigger with phrases like "upgrade langfuse", "langfuse migration", "update langfuse SDK", "langfuse breaking changes", "langfuse version".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Langfuse Upgrade & Migration ## Current State !`npm list langfuse @langfuse/client @langfuse/tracing @langfuse/otel 2>/dev/null | head -10 || echo 'No langfuse packages found'` !`pip show langfuse 2>/dev/null | grep -E "Name|Version" || echo 'Python langfuse not installed'` ## Overview Step-by-step guide for upgrading the Langfuse SDK across major versions. Covers v3 to v4 (OTel rewrite), v4 to v5, breaking changes, and automated codemods. ## Prerequisites - Existing Langfuse integration - Test suite covering traced operations - Git branch for the upgrade ## Version Roadmap | SDK | Package | Architecture | Status | |-----|---------|-------------|--------| | v3 | `langfuse` (single) | Custom, `Langfuse` class | Legacy | | v4 | `@langfuse/client`, `@langfuse/tracing`, `@langfuse/otel` | OpenTelemetry-based | Stable | | v5 | `@langfuse/client`, `@langfuse/tracing`, `@langfuse/otel` | OpenTelemetry + improvements | Latest | ## Instructions ### Step 1: Check Current Version and Plan ```bash set -euo pipefail # Check what you have npm list langfuse @langfuse/client @langfuse/tracing 2>/dev/null # Check latest available npm info @langfuse/client version npm info @langfuse/tracing version npm info langfuse version # Python pip show langfuse 2>/dev/null | grep Version pip index versions langfuse 2>/dev/null | head -3 ``` ### Step 2: v3 to v4 Migration (TypeScript) This is the biggest migration -- v4 rewrites tracing on OpenTelemetry. **2a. Install new packages:** ```bas...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

langfuse-migration-deep-dive

Execute complex Langfuse migrations including data migration and platform changes. Use when migrating from other observability platforms, moving between Langfuse instances, or performing major infrastructure migrations. Trigger with phrases like "langfuse migration", "migrate to langfuse", "langfuse data migration", "langfuse platform migration", "switch to langfuse".

2,266 Updated today
jeremylongshore
AI & Automation Featured

langfuse-install-auth

Install and configure Langfuse SDK authentication for LLM observability. Use when setting up a new Langfuse integration, configuring API keys, or initializing Langfuse tracing in your project. Trigger with phrases like "install langfuse", "setup langfuse", "langfuse auth", "configure langfuse API key", "langfuse tracing setup".

2,266 Updated today
jeremylongshore
AI & Automation Featured

langchain-upgrade-migration

Upgrade LangChain SDK versions safely with import path migration, LCEL conversion from legacy chains, and agent API updates. Trigger: "upgrade langchain", "langchain migration", "langchain breaking changes", "update langchain version", "langchain 0.3", "langchain deprecation".

2,266 Updated today
jeremylongshore
AI & Automation Featured

langfuse-reference-architecture

Production-grade Langfuse architecture patterns and best practices. Use when designing LLM observability infrastructure, planning Langfuse deployment, or implementing enterprise-grade tracing architecture. Trigger with phrases like "langfuse architecture", "langfuse design", "langfuse infrastructure", "langfuse enterprise", "langfuse at scale".

2,266 Updated today
jeremylongshore
AI & Automation Featured

langfuse-common-errors

Diagnose and fix common Langfuse errors and exceptions. Use when encountering Langfuse errors, debugging missing traces, or troubleshooting integration issues. Trigger with phrases like "langfuse error", "fix langfuse", "langfuse not working", "debug langfuse", "traces not appearing".

2,266 Updated today
jeremylongshore