tracker: clearup old deprecated changes

This commit is contained in:
nick-delirium 2025-04-28 17:17:41 +02:00 committed by Delirium
parent e4d75467ef
commit db404c0648
3 changed files with 19 additions and 18 deletions

View file

@ -1,3 +1,21 @@
## 16.2.1
- easier inliner options:
```
inlineCss: InlineCssMode
enum InlineCssMode {
/** default behavior -- will parse and cache the css file on backend */
Disabled = 0,
/** will attempt to record the linked css file as AdoptedStyleSheet object */
Inline = 1,
/** will fetch the file, then simulated AdoptedStyleSheets behavior programmaticaly for the replay */
InlineFetched = 2,
/** will fetch the file, then save it as plain css inside <style> node */
PlainFetched = 3,
}
```
## 16.2.0
- css batching and inlining via (!plain mode will cause fake text nodes in style tags occupying 99*10^6 id space, can conflict with crossdomain iframes!)

View file

@ -1,7 +1,7 @@
{
"name": "@openreplay/tracker",
"description": "The OpenReplay tracker main package",
"version": "16.2.0",
"version": "16.2.1",
"keywords": [
"logging",
"replay"

View file

@ -285,23 +285,6 @@ export default class App {
this.contextId = Math.random().toString(36).slice(2)
this.projectKey = projectKey
if (
Object.keys(options).findIndex((k) => ['fixedCanvasScaling', 'disableCanvas'].includes(k)) !==
-1
) {
console.warn(
'Openreplay: canvas options are moving to separate key "canvas" in next update. Please update your configuration.',
)
options = {
...options,
canvas: {
__save_canvas_locally: options.__save_canvas_locally,
fixedCanvasScaling: options.fixedCanvasScaling,
disableCanvas: options.disableCanvas,
},
}
}
this.networkOptions = options.network
const defaultOptions: Options = {