UNPKG

@coralogix/browser

Version:

Official Coralogix SDK for browsers

340 lines (181 loc) β€’ 6.26 kB
## 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