docs: document the supabase-js /tracing opt-in subpath - #48529
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
6 Skipped Deployments
|
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThe client-side tracing guide documents the required tracing runtime import for ChangesClient-side tracing documentation
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Thanks @jeremenichelli , I'll merge on Monday after I release! |
…tracing.mdx Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
What kind of change does this PR introduce?
Documentation update for
apps/docs/content/guides/monitoring-and-debugging/client-side-tracing.mdx.As of
@supabase/supabase-js2.112.0 (supabase/supabase-js#2583), the OpenTelemetry integration moved out of the main bundle into an opt-in subpath. Enabling trace propagation now takes two steps:import '@supabase/supabase-js/tracing'at the application entry point, plus the existingtracePropagation: trueclient option.Guide changes:
@opentelemetry/apiis missing, the one-time warning when the runtime isn't loaded, the version note for 2.106.0–2.111.x (no import there), and that the CDN/UMD build does not support tracing.@opentelemetry/apisemantics per version, new CDN/UMD entry.The JS reference (
typeSpec.json) is regenerated automatically by the docs-update pipeline from the supabase-js spec and is not touched here.Timing note: merge once 2.112.0 is promoted to
latest(currently onbeta/canary) so the guide doesn't get ahead of the stable release.Summary by CodeRabbit
@supabase/supabase-js2.112.0 and later.