Skip to content

Version Packages#162

Merged
petyosi merged 1 commit into
mainfrom
changeset-release/main
Jul 13, 2026
Merged

Version Packages#162
petyosi merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@pydantic/logfire-browser@0.17.0

Minor Changes

  • 6760a47: Stabilize browser RUM lifecycle setup with deferred instrumentation factories, opt-in lazy autoInstrumentations, provider-owned Web Vitals spans, explicit page URL attributes, and clarified session replay correlation semantics.
  • 6760a47: Add opt-in browser RUM session identity and custom span processor configuration.
  • 6760a47: Add opt-in native OpenTelemetry histogram metrics for browser Web Vitals. Configure top-level metrics.metricUrl and rum.webVitals.metrics to emit LCP, INP, CLS, FCP, and TTFB metrics in parallel with existing Web Vital spans.
  • 6760a47: Add opt-in browser RUM Web Vitals reporting with rum.webVitals, emitting LCP, INP, CLS, FCP, and TTFB as Logfire spans with attribution fields.
  • 6760a47: Add opt-in browser sessionReplay integration with SDK-owned session correlation, replay state span attributes, optional peer loading, telemetry endpoint suppression, and live replay mode reporting.

Patch Changes

  • 6760a47: Preserve callable browser cleanup while exposing generation-scoped session replay lifecycle controls, keep Web Vitals spans available when metrics startup fails, and mark Web Vitals point events as Logfire logs.

    Remove unused pre-stable replay transport, recorder snapshot, and navigation load surfaces that were never used or emitted.

  • 6760a47: Make same-page browser reconfiguration deterministic and ownership-safe. Cached tracers and manual Logfire APIs now follow each sequential provider generation, inactive intervals are non-recording, overlapping configurations fail explicitly, and cleanup preserves application-owned OpenTelemetry globals.

  • 6760a47: Document safer development proxy examples and clarify that the Python telemetry helpers do not forward browser replay uploads.

  • 6760a47: Use privacy-safe browser defaults: omit query strings and fragments from page
    attributes and replay URLs, mask rendered replay text, and disable replay
    console capture unless explicitly enabled.

  • 6760a47: Harden browser RUM and session replay for their stable releases with transactional replay lifecycle handling, per-session sampling, retry-safe optional instrumentation, and finalized page URL and error-promotion contracts.

  • Updated dependencies [6760a47]

  • Updated dependencies [6760a47]

  • Updated dependencies [6760a47]

  • Updated dependencies [6760a47]

  • Updated dependencies [6760a47]

  • Updated dependencies [6760a47]

    • @pydantic/logfire-session-replay@0.1.0

@pydantic/logfire-session-replay@0.1.0

Minor Changes

  • 6760a47: Add opt-in browser sessionReplay integration with SDK-owned session correlation, replay state span attributes, optional peer loading, telemetry endpoint suppression, and live replay mode reporting.
  • 6760a47: Add a standalone browser session replay package with rrweb recording, gzip chunk uploads, proxy-first replay transport, direct token escape hatch, privacy defaults, sampling, and trace/session correlation hooks.

Patch Changes

  • 6760a47: Preserve callable browser cleanup while exposing generation-scoped session replay lifecycle controls, keep Web Vitals spans available when metrics startup fails, and mark Web Vitals point events as Logfire logs.

    Remove unused pre-stable replay transport, recorder snapshot, and navigation load surfaces that were never used or emitted.

  • 6760a47: Use privacy-safe browser defaults: omit query strings and fragments from page
    attributes and replay URLs, mask rendered replay text, and disable replay
    console capture unless explicitly enabled.

  • 6760a47: Make replay delivery more reliable with bounded concurrent lifecycle uploads,
    CSP-safe compression fallback, Retry-After handling, and UTF-8 byte accounting.

  • 6760a47: Harden browser RUM and session replay for their stable releases with transactional replay lifecycle handling, per-session sampling, retry-safe optional instrumentation, and finalized page URL and error-promotion contracts.

@pydantic/nextjs-client-side-instrumentation@0.1.16

Patch Changes

@petyosi petyosi closed this Jul 13, 2026
@petyosi petyosi reopened this Jul 13, 2026
@petyosi

petyosi commented Jul 13, 2026

Copy link
Copy Markdown
Member

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 13, 2026

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai

coderabbitai Bot commented Jul 13, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: b6c7c689-a5b2-4496-a480-a2c6cc159ebf

📥 Commits

Reviewing files that changed from the base of the PR and between 6760a47 and ab89595.

📒 Files selected for processing (19)
  • .changeset/browser-optional-feature-api.md
  • .changeset/browser-provider-reconfiguration.md
  • .changeset/browser-proxy-example-safety.md
  • .changeset/browser-replay-privacy-defaults.md
  • .changeset/browser-rum-lifecycle.md
  • .changeset/browser-rum-session.md
  • .changeset/browser-rum-web-vitals-metrics.md
  • .changeset/browser-rum-web-vitals.md
  • .changeset/browser-session-replay-integration.md
  • .changeset/pre.json
  • .changeset/replay-delivery-reliability.md
  • .changeset/session-replay-package.md
  • .changeset/stable-browser-rum-lifecycle.md
  • examples/nextjs-client-side-instrumentation/CHANGELOG.md
  • examples/nextjs-client-side-instrumentation/package.json
  • packages/logfire-browser/CHANGELOG.md
  • packages/logfire-browser/package.json
  • packages/logfire-session-replay/CHANGELOG.md
  • packages/logfire-session-replay/package.json
🔗 Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

  • pydantic/logfire (manual)
  • pydantic/pydantic-ai (manual)
💤 Files with no reviewable changes (13)
  • .changeset/browser-rum-session.md
  • .changeset/browser-provider-reconfiguration.md
  • .changeset/browser-session-replay-integration.md
  • .changeset/stable-browser-rum-lifecycle.md
  • .changeset/browser-rum-lifecycle.md
  • .changeset/session-replay-package.md
  • .changeset/browser-proxy-example-safety.md
  • .changeset/browser-optional-feature-api.md
  • .changeset/browser-replay-privacy-defaults.md
  • .changeset/replay-delivery-reliability.md
  • .changeset/pre.json
  • .changeset/browser-rum-web-vitals.md
  • .changeset/browser-rum-web-vitals-metrics.md

📝 Walkthrough

Walkthrough

Finalizes the @pydantic/logfire-browser 0.17.0 release and the @pydantic/logfire-session-replay 0.1.0 release. Updates the Next.js client-side instrumentation example to version 0.1.16 with the browser package at 0.17.0. Adds changelog entries covering browser RUM, Web Vitals, session replay, privacy, lifecycle, and delivery changes.

🚥 Pre-merge checks | ✅ 3 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title is generic and doesn't identify the main release changes or affected packages. Use a concise title that names the release or primary packages changed, such as the browser/session-replay version bump.
✅ Passed checks (3 passed)
Check name Status Explanation
Description check ✅ Passed The description matches a Changesets release PR and summarizes the package version updates and release notes.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch changeset-release/main

Comment @coderabbitai help to get the list of available commands.

@petyosi
petyosi merged commit 1f3b1cb into main Jul 13, 2026
3 checks passed
@petyosi
petyosi deleted the changeset-release/main branch July 13, 2026 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant