unstale

npm / @spotlightjs/spotlight

@spotlightjs/spotlight

What changed in @spotlightjs/spotlight 2 to 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

11 breaking2 security12 new APIs and options14 behavior and defaults7 tooling27 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@spotlightjs/spotlight 470 changes

Breaking changes 9

  • The console logging integration was removed from Sentry setup.

    4.6.0release notes

  • Sentry is disabled in development mode.

    4.6.0release notes

  • Sidecar accepts requests only from localhost or trusted Spotlight domains over HTTPS; connections from other origins are rejected.

    4.6.0release notes

  • Attachments from envelopes are associated with events and traces and displayed alongside other context information, supporting images, videos, JSON, code, and text files.

    4.5.0release notes

  • Viewers are collapsed by default and item payloads and attachments are rendered lazily to reduce UI stalls when opening large envelopes.

    4.5.0release notes

  • The CLI no longer displays ASCII art.

    4.3.0release notes

  • Local resource handling was removed because the overlay feature is not supported.

    4.0.0release notes

  • setupSidecar is now async, so callers must handle its asynchronous result.

    4.0.0release notes

  • Vite plugins were removed because they are deprecated.

    4.0.0release notes

Security 2

  • Adds a react-router override to address an open redirect vulnerability.

    4.11.5release notes

  • A security vulnerability in qs was fixed.

    4.10.0release notes

New APIs and options 12

  • Adds filter bars to the Errors and Logs tabs.

    4.11.8release notes

  • The UI now has a collapsible insights section.

    4.11.0release notes

  • A new EmptyState component was added to telemetry.

    4.11.0release notes

  • A dynamic header was added for the dragbar.

    4.10.0release notes

  • Adds --open / -o to automatically open the Spotlight dashboard in the default browser when starting the sidecar.

    4.8.0release notes

  • Adds a CLI option for configuring additional CORS origins, accepting full origins for strict matching and plain domains for permissive matching.

    4.7.0release notes

  • Adds an API option for configuring additional CORS origins, accepting full origins for strict matching and plain domains for permissive matching.

    4.7.0release notes

  • Docker Compose projects can use the COMPOSE_FILE environment variable.

    4.6.0release notes

  • Added a Spotlight SDK to help others build on top of it.

    4.6.0release notes

  • A dropdown lets users toggle visibility of log columns, and column visibility preferences are persisted to localStorage.

    4.4.0release notes

  • Using port 0 automatically selects a port.

    4.3.0release notes

  • A CLI argument adds a stdio-based MCP server.

    4.0.0release notes

Behavior and default changes 14

  • Spotlight now surfaces gen_ai spans in AI Traces.

    4.12.0release notes

  • Spotlight now displays Sentry User Feedback events.

    4.12.0release notes

  • Envelope ingestion now supports text/plain for all sentry.javascript SDKs.

    4.12.0release notes

  • The TelemetryView layout was updated for better responsiveness.

    4.11.0release notes

  • Error messages are displayed better.

    4.10.0release notes

  • The UI now includes event origin badges.

    4.10.0release notes

  • Shiki uses a theme in light mode.

    4.10.0release notes

  • Opens external links in the default browser.

    4.9.0release notes

  • Reports the github-ci environment to Sentry when running in GitHub Actions CI.

    4.7.1release notes

  • Allows any DNS pointing to localhost in CORS.

    4.7.0release notes

  • When both Docker Compose and package.json are present, the user is prompted to choose between them.

    4.6.0release notes

  • The logs table adds a sortable Trace ID column with clickable links to trace details, truncated IDs, and an “N/A” fallback for missing values.

    4.4.0release notes

  • Uses a dynamic port so each run is isolated.

    4.3.0release notes

  • Multiple stdio MCP servers can now run as proxies for the existing main sidecar.

    4.0.0release notes

Tooling 7

  • Options are now shown in command-specific help output.

    4.11.0release notes

  • Cleanup handlers were added for the EventSource connection in cli tail.

    4.11.0release notes

  • Adds per-command detailed help through spotlight <command> --help.

    4.9.0release notes

  • Adds spotlight help <command> for detailed help about a specific CLI command.

    4.9.0release notes

  • Adds a command to run your apps with Spotlight.

    4.3.0release notes

  • CLI runs now emit the Spotlight version.

    4.3.0release notes

  • The CLI command is now available for tailing error logs.

    4.2.0release notes

Fixes and other changes 26

  • Queries and traces now support streamed spans.

    4.12.1release notes

  • Handles ISO 8601 string timestamps from non-JS SDKs.

    4.11.8release notes

  • Fixes path stacking in the sidebar and detail tabs when using React Router v7 splat routes.

    4.11.6release notes

  • Fixes the bin location used by the install script.

    4.11.2release notes

  • Error handling and user experience for EADDRINUSE are improved.

    4.10.0release notes

  • Node.js 24.x is supported.

    4.10.0release notes

  • Null and undefined span descriptions are handled safely.

    4.10.0release notes

  • Comparators handle null values safely.

    4.10.0release notes

  • Validation guards prevent crashes in WebVitalsDetail.

    4.10.0release notes

  • Adds support for AI SDK v2 in AI Mode.

    4.9.0release notes

  • Adds support for continuous profiling (Profiling V2).

    4.9.0release notes

  • Improves trace-view profile visualization with higher-contrast frame colors, a custom dark-theme palette, corrected sunburst sample counts, and improved treemap visibility.

    4.9.0release notes

  • Fixes flamechart tree building by iterating from root to leaf frames, resolving fragmented visualization.

    4.8.0release notes

  • Logs containing ANSI escape sequences are now properly styled in the log viewer instead of showing raw escape characters.

    4.7.2release notes

  • Fixes failures when running the package with npx.

    4.7.1release notes

  • Restores the ability to drag the Electron app.

    4.7.0release notes

  • Recovers semaphore buttons.

    4.7.0release notes

  • When SPOTLIGHT_CAPTURE is enabled, file capture errors are logged instead of crashing.

    4.6.0release notes

  • Next.js SDK categorization uses User-Agent headers to distinguish browser from server events.

    4.5.1release notes

  • SDK column sorting now compares SDK string properties instead of full log objects.

    4.5.0release notes

  • Fixes a hang during shutdown in MCP mode.

    4.4.0release notes

  • Orphan traces now display in the UI when parent transactions are missing, including distributed-tracing transactions without frontend instrumentation.

    4.4.0release notes

  • Image previews for resource.img spans in the Electron app now construct absolute URLs from relative paths.

    4.4.0release notes

  • When SENTRY_SPOTLIGHT points to the same Spotlight instance, Spotlight detects the loop and disables its integration to prevent memory exhaustion.

    4.4.0release notes

  • Fixes shutdown issues where graceful shutdown never worked.

    4.3.0release notes

  • Log messages now go to stderr to avoid clobbering the MCP stdio transport.

    4.0.0release notes

@spotlightjs/spotlight 31 changes

Breaking changes 1

  • Browser console integration was removed in favor of structured logging in Sentry SDKs.

    3.0.0release notes

@spotlightjs/spotlight 22 changes

Breaking changes 1

  • The Spotlight overlay no longer supports JS SDK versions older than 7.99.0 and supports SDK 8.x; host apps must use version 8 or >=7.99.0.

    2.0.0release notes

Fixes and other changes 1

  • Spotlight supports the versioned Sentry carrier object introduced in Sentry SDK 8.6.0+.

    2.0.0release notes