@coralogix/browser
Version:
Official Coralogix SDK for browsers
579 lines (309 loc) β’ 11.2 kB
Markdown
# 3.19.1 (2026-07-12)
## π©Ή Fixes
- Type `sdkFetchPriority` with a locally-declared `SdkFetchPriority` alias instead of the DOM `RequestPriority`, so the SDK no longer fails to compile on TypeScript versions whose DOM lib predates `RequestPriority`
# 3.19.0 (2026-07-12)
## π Features
- Add `createNewSession()` API to manually rotate the session (e.g. on user logout)
# 3.18.0 (2026-07-08)
## π Features
- Add product analytics support for richer product-level insights
# 3.17.1 (2026-07-07)
## π©Ή Fixes
- Persist snapshot context across page reloads when `keepSessionAfterReload` is enabled, so session-level counters (views, errors, actions) no longer reset on refresh
# 3.17.0 (2026-07-06)
## π Features
- add configurable OpenTelemetry batch/flush via otelConfig
# 3.16.2 (2026-07-06)
## π©Ή Fixes
- Fix PII masking for password input field changes
- The default `maskInputTypes` is narrowed from `['password', 'email', 'tel']` to `['password']`, to match session-recording default. `email` and `tel` inputs are no longer masked by default in user-interaction events β set `maskInputTypes: ['password', 'email', 'tel']` to restore the previous behavior.
# 3.16.1 (2026-06-29)
## π©Ή Fixes
- Improve user-interaction accuracy: capture SVG icon clicks and resolve role-based/custom controls.
# 3.16.0 (2026-06-24)
## π Features
- Add support for configuring fetch priority on SDK network requests
# 3.15.1 (2026-06-23)
## π©Ή Fixes
- Improve user-interaction tracking accuracy
# 3.15.0 (2026-06-22)
## π Features
- Improved user-interaction tracking: smarter element fingerprinting and more accurate screenshot capture on clicks and navigation.
# 3.14.0 (2026-06-14)
## π Features
- Flush telemetry data on tab close with fetch keepalive support
# 3.13.0 (2026-06-11)
## π Features
- Improve user interaction with click and scroll coordinates, and viewport context
# 3.12.0 (2026-06-09)
## π Features
- Improve: capture screenshot on each unique view navigation
# 3.11.1 (2026-06-08)
## π©Ή Fixes
- SVG element support in session recording
- session recording after refreshing the page
# 3.11.0 (2026-06-04)
## π Features
- Add view number tracking for product analytics support
# 3.10.1 (2026-06-02)
## π©Ή Fixes
- Improve beforeSend to correctly reflect modifications in OpenTelemetry span attributes
# 3.10.0 (2026-05-25)
## π Features
- Improve user interaction instrumentation with richer element metadata
# 3.9.0 (2026-05-19)
## π Features
- Enrich spans with RUM context (cx_rum) to improve RUMβTracing correlation.
# 3.8.3 (2026-05-10)
## π©Ή Fixes
- Improve web vitals attribution data by preventing deep nesting
# 3.8.2 (2026-05-06)
## π©Ή Fixes
- run web vitals listeners outside zone
# 3.8.1 (2026-05-06)
## π©Ή Fixes
Improve error stack trace handling.
# 3.8.0 (2026-04-27)
## π Features
- Add support for excluding specific instrumentations from session sampling
# 3.7.1 (2026-04-26)
## π©Ή Fixes
- Support error logging for non-JSON-serializable error properties
# 3.7.0 (2026-04-19)
## π Features
- Improve session recording with immediateFlush option to capture short-duration sessions (<10s)
# 3.6.0 (2026-04-09)
## π Features
- Add US3 domain
# 3.5.1 (2026-04-06)
## π©Ή Fixes
- Improve stacktrace truncation
# 3.5.0 (2026-03-26)
## π Features
- Run SDK Web APIs outside zone.js by default for Angular applications
# 3.4.1 (2026-03-25)
## π©Ή Fixes
- Improve MFE stacktrace metadata extraction stability
- Fix potential infinite loop in navigation tracking
# 3.4.0 (2026-02-26)
## π Features
- add numeric ID grouping to default URL blueprinter
# 3.3.0 (2026-02-24)
## π Features
- Enrich spans with RUM context (cx_rum) to improve RUMβTracing correlation.
# 3.2.0 (2026-02-05)
- Create new zoneless CDN for Angular consumers
# 3.1.1 (2026-02-01)
## π©Ή Fixes
- Improve error instrumentation stability and performance
# 3.1.0 (2026-01-25)
## π Features
- Add optimized mutation handling in session recorder
# 3.0.2 (2026-01-20)
## π©Ή Fixes
- Revert mutation counter limit that could cause incomplete session recordings
# 3.0.1 (2026-01-18)
## π©Ή Fixes
- Improve session recorder performance
3.0.0 (2025-12-25)
## π₯ Performance
- β οΈ **browser:** disable TBT metric by default to reduce overhead.
## β οΈ Breaking Changes
- TBT web-vitals metric is no longer collected by default. Enable it explicitly via config.
**For example**:
**Before**
All Web Vitals instrumentation metrics are enabled by default.
**After**
To enable the **TBT** metric, explicitly configure it as shown below:
```json
{
"instrumentations": {
"web_vitals": {
"metrics": {
"tbt": true
}
}
}
}
```
# 2.14.0 (2025-12-07)
## π Features
- **errors:** add stack traces to console error logs
# 2.13.0 (2025-12-07)
## π©Ή Fixes
- **traces-exporter:** improve trace metadata encoding
# 2.12.0 (2025-11-30)
## π Features
- Introduced the tracesExporter callback, enabling custom processing or exporting of collected trace events.
# 2.11.1 (2025-11-24)
## π©Ή Fixes
- Trigger snapshot context when setUserContext is called
# 2.11.0 (2025-11-23)
## π Features
- **trace:** allow custom propagator
# 2.10.1 (2025-11-17)
## π©Ή Fixes
- **url-fragments:** Fix URL encoding of template placeholders in page_fragments. Template placeholders like `{id}`, `{lbid}` etc. added by URL blueprinters are now preserved in `page_fragments` instead of being percent-encoded to `%7Bid%7D`, `%7Blbid%7D`. This ensures consistency between `page_url_blueprint` and `page_fragments`.
# 2.10.0 (2025-09-14)
## π Features
- **ignoreProxyUrlParams:** Added ignoreProxyUrlParams, which provides the ability to skip appending the Coralogix endpoint to the proxy URL.
# 2.9.0 (2025-08-18)
## π Features
- **fingerprint:** Added user fingerprint. The fingerprint is generated and stored on each userβs machine for reuse, and will be used to calculate the unique users count.
# 2.8.9 (2025-07-24)
## π©Ή Fixes
- **sdk:** improve SDK shutdown handling
# 2.8.8 (2025-07-20)
## π©Ή Fixes
- Worker monitoring support
# 2.8.7 (2025-06-30)
## π©Ή Fixes
- Add sessionId to span attr
- Fix adding network span to global span even when the global span is ended.
- Handle global span in idle mode.
# 2.8.6 (2025-06-26)
## π§° Improvements
- Bundle size optimization: Reduced the size of the browser SDK bundle.
- Bundle the error-stack-parser and shimmer libraries from cjs to esm to improve compatibility with various bundlers and environments.
# 2.8.5 (2025-06-25)
## π©Ή Fixes
- **web vitals:** add missing PerformanceNavigationTiming fields to LT event
# 2.8.4 (2025-05-29)
## π©Ή Fixes & Improvements
π Custom Spans
- Traceparent propagation: XHR and Fetch requests now correctly include the global span traceId when using custom spans.
- Improved span creation: Enhanced the logic for generating custom child spans for more accurate trace hierarchy.
- Interaction tracing: User interaction instrumentation is now correctly linked to the global span context.
π§Ή Logging
- Switched internal warning logs to debug level to reduce noise in production environments.
# 2.8.3 (2025-05-22)
## π₯ Performance
- Optimize user agent parsing.
# 2.8.2 (2025-05-21)
## π©Ή Fixes
- Omit the INP attribution property to reduce the log payload size.
# 2.8.1 (2025-05-19)
## π©Ή Fixes
- Fix user interaction instrumentation from always being enabled.
# 2.8.0 (2025-05-11)
## π Features
Build CDN versions (ES5/ES2015)
# 2.7.0 (2025-05-05)
π Features
Add Web Worker error handling.
# 2.6.0 (2025-05-04)
## π Features
- Add NPM compatibility for old browsers
# 2.5.0 (2025-04-29)
## π Features
- Add CDN compatibility for old browsers
# 2.4.2 (2025-04-29)
## π©Ή Fixes
- Support Smart TV user agents
# 2.4.1 (2025-04-14)
## π©Ή Fixes
- Reduce falsy recording sessions sent to API.
# 2.4.0 (2025-04-08)
## π Features
- Allow passing labels to Custom logs (log, warn, debug, etc...) API.
# 2.3.0 (2025-04-01)
## π Features
- Lazy load session recorder<br>
To improve initial load time and reduce JavaScript bundle size, the session recorder is dynamically imported only when itβs needed (e.g., when session recording is enabled by config and sampling).
# 2.2.0 (2025-03-18)
## π Features
- Improved Performance Observer compatibility.
# 2.1.0 (2025-02-18)
## π Features
- Improved initialization for SSR applications.
2.0.0 (2025-01-29)
## π Features
- β οΈ optimize SDK with rollup bundling and support ES5.
## β οΈ Breaking Changes
- Some imports from the library might be changed.
<br><br>
<b>For example:</b> <br>
<i>Before: </i> <br/>
`import { CoralogixLogSeverity } from '@coralogix/browser/src/types-external';` <br/> <br/>
<i> After: </i> <br/>
`import { CoralogixLogSeverity } from '@coralogix/browser';`
# 1.7.0 (2025-01-21)
## π Features
- Revert rollup bundling due to unexpected issues
# 1.6.0 (2025-01-19)
## π Features
- bundling project with rollup and support ES5.
# 1.5.0 (2025-01-09)
## π Features
- Create a changelog mechanism
# 1.4.19 (2025-01-09)
## π Features
- Custom spans
- add custom data and labels to capture error
# 1.4.12 (2024-12-18)
## π©Ή Fixes
- fix worker missing pako
# 1.4.11 (2024-12-17)
## π©Ή Fixes
- hotfix for tti import
# 1.4.9 (2024-12-17)
## π Features
- Support mfe (micro frontend)
# 1.4.4 (2024-12-9)
## π Features
- Remove fetch resources
- Implement allowHeaders functionality for FetchInstrumentation
- Add more info for LT log
- Screenshots
- Start end time measurements
# 1.2.40 (2024-11-12)
## π©Ή Fixes
- Ensure proxyUrl is added to ignoreUrls.
# 1.2.39 (2024-11-10)
## π©Ή Fixes
- Allow traceparent header to be sent when sample rate is 0
# 1.2.36 (2024-11-4)
## π©Ή Fixes
- Otel labels
# 1.2.35 (2024-10-31)
## π Features
- TTI metric report
## π©Ή Fixes
- SDK mask bug
# 1.2.31 (2024-10-29)
## π Features
- Use self-hosted worker for session recording
# 1.2.29 (2024-10-20)
## π Features
- Memory usage
# 1.2.28 (2024-10-14)
## π Features
- Masking only clickable elements
# 1.2.25 (2024-10-10)
## π Features
- remove lazy loading propagators
- advanced sampling
# 1.2.23 (2024-10-9)
## π Features
- add timing
- custom measurement
- Allowed tracing urls
# 1.2.19 (2024-9-26)
## π Features
- TBT refactor
# 1.2.17 (2024-9-18)
## π Features
- captureError - report on handled errors
# 1.2.16 (2024-9-18)
## π Features
- page referer
- add soft navigation
# 1.2.14 (2024-9-11)
## π Features
- support multi pages application
# 1.2.10 (2024-8-19)
## π©Ή Fixes
- fix page fragment that has anchor # in the url
# 1.1.17 (2024-6-20)
## π Features
- Snapshot context