@coralogix/browser
Version:
Official Coralogix SDK for browsers
340 lines (181 loc) β’ 6.26 kB
Markdown
# 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