@rudderstack/analytics-js 3.34.3 → 3.35.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +38 -0
- package/dist/npm/index.d.cts +5 -2
- package/dist/npm/index.d.mts +5 -2
- package/dist/npm/legacy/bundled/cjs/index.cjs +94 -48
- package/dist/npm/legacy/bundled/esm/index.mjs +94 -48
- package/dist/npm/legacy/bundled/umd/index.js +94 -48
- package/dist/npm/legacy/cjs/index.cjs +94 -48
- package/dist/npm/legacy/content-script/cjs/index.cjs +92 -47
- package/dist/npm/legacy/content-script/esm/index.mjs +92 -47
- package/dist/npm/legacy/content-script/umd/index.js +92 -47
- package/dist/npm/legacy/esm/index.mjs +94 -48
- package/dist/npm/legacy/lite/cjs/index.cjs +94 -48
- package/dist/npm/legacy/lite/esm/index.mjs +94 -48
- package/dist/npm/legacy/lite/umd/index.js +94 -48
- package/dist/npm/legacy/umd/index.js +94 -48
- package/dist/npm/modern/bundled/cjs/index.cjs +398 -310
- package/dist/npm/modern/bundled/esm/index.mjs +398 -310
- package/dist/npm/modern/bundled/umd/index.js +398 -310
- package/dist/npm/modern/cjs/index.cjs +295 -212
- package/dist/npm/modern/content-script/cjs/index.cjs +398 -310
- package/dist/npm/modern/content-script/esm/index.mjs +398 -310
- package/dist/npm/modern/content-script/umd/index.js +398 -310
- package/dist/npm/modern/esm/index.mjs +295 -212
- package/dist/npm/modern/lite/cjs/index.cjs +369 -281
- package/dist/npm/modern/lite/esm/index.mjs +369 -281
- package/dist/npm/modern/lite/umd/index.js +369 -281
- package/dist/npm/modern/umd/index.js +295 -212
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,44 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [3.35.1](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js@3.35.0...@rudderstack/analytics-js@3.35.1) (2026-10-19)
|
|
6
|
+
|
|
7
|
+
### Dependency Updates
|
|
8
|
+
|
|
9
|
+
* `@rudderstack/analytics-js-plugins` updated to version `3.18.6`
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **analytics-js:** send buffered calls in invocation order ([#3282](https://github.com/rudderlabs/rudder-sdk-js/issues/3282)) ([e792f2e](https://github.com/rudderlabs/rudder-sdk-js/commit/e792f2e38d7c9177e363e7242de4e6cba0f2c411))
|
|
14
|
+
|
|
15
|
+
## [3.35.0](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js@3.34.3...@rudderstack/analytics-js@3.35.0) (2026-10-12)
|
|
16
|
+
|
|
17
|
+
### Dependency Updates
|
|
18
|
+
|
|
19
|
+
* `@rudderstack/analytics-js-cookies` updated to version `0.5.17`
|
|
20
|
+
* `@rudderstack/analytics-js-common` updated to version `3.30.2`
|
|
21
|
+
* `@rudderstack/analytics-js-plugins` updated to version `3.18.4`
|
|
22
|
+
|
|
23
|
+
### Features
|
|
24
|
+
|
|
25
|
+
* add device-mode e2e harness skill ([#3218](https://github.com/rudderlabs/rudder-sdk-js/issues/3218)) ([8b8757a](https://github.com/rudderlabs/rudder-sdk-js/commit/8b8757ae433f6fb15263dcb0b59962925c214a20))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* **analytics-js:** drop corrupt store entries on parse failure ([#3236](https://github.com/rudderlabs/rudder-sdk-js/issues/3236)) ([bacb581](https://github.com/rudderlabs/rudder-sdk-js/commit/bacb58169b8ef8393c2e8ebbdcdda28332408f71))
|
|
31
|
+
* **analytics-js:** group remote plugin failures ([#3232](https://github.com/rudderlabs/rudder-sdk-js/issues/3232)) ([0d6a81e](https://github.com/rudderlabs/rudder-sdk-js/commit/0d6a81e78e6ef938af5ec049ed70b2c766b6dc59))
|
|
32
|
+
* **analytics-js:** skip polyfill detection and loading in the modern build ([#3265](https://github.com/rudderlabs/rudder-sdk-js/issues/3265)) ([1ccc2c5](https://github.com/rudderlabs/rudder-sdk-js/commit/1ccc2c58701c44e5b25042267bc855326977cfde))
|
|
33
|
+
* **analytics-js:** stop using Array.prototype.at in the error handler ([#3263](https://github.com/rudderlabs/rudder-sdk-js/issues/3263)) ([1f6a0f7](https://github.com/rudderlabs/rudder-sdk-js/commit/1f6a0f7a02be4e7deb3267ad9d8a62b2aaa162f7))
|
|
34
|
+
* **monorepo:** avoid String.prototype.replaceAll ([#3228](https://github.com/rudderlabs/rudder-sdk-js/issues/3228)) ([e985e82](https://github.com/rudderlabs/rudder-sdk-js/commit/e985e8276c240aab370d9863be661a49da749262))
|
|
35
|
+
* **monorepo:** deliver polyfills to every user agent ([#3229](https://github.com/rudderlabs/rudder-sdk-js/issues/3229)) ([711036d](https://github.com/rudderlabs/rudder-sdk-js/commit/711036df308503243d80ec5264c7034423bbbc41))
|
|
36
|
+
* **monorepo:** lower the modern browserslist floor ([#3231](https://github.com/rudderlabs/rudder-sdk-js/issues/3231)) ([3555bb5](https://github.com/rudderlabs/rudder-sdk-js/commit/3555bb55b3a2bed4e8157399e21aa24ec64a7552))
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Performance Improvements
|
|
40
|
+
|
|
41
|
+
* **analytics-js:** compile the CDN modern core for the snippet's floor ([#3264](https://github.com/rudderlabs/rudder-sdk-js/issues/3264)) ([ce0b4ac](https://github.com/rudderlabs/rudder-sdk-js/commit/ce0b4acce5bcfdc67f829965e42821d8566b40e1))
|
|
42
|
+
|
|
5
43
|
## [3.34.3](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js@3.34.2...@rudderstack/analytics-js@3.34.3) (2026-09-28)
|
|
6
44
|
|
|
7
45
|
### Dependency Updates
|
package/dist/npm/index.d.cts
CHANGED
|
@@ -351,6 +351,9 @@ type LoadOptions = {
|
|
|
351
351
|
lockIntegrationsVersion?: boolean;
|
|
352
352
|
/**
|
|
353
353
|
* @deprecated Plugins version are locked by default. We do not recommend using this option.
|
|
354
|
+
*
|
|
355
|
+
* On a `v3` CDN install, false resolves plugins from a directory that is not refreshed every
|
|
356
|
+
* release, so the chunks can be far older than the core SDK loading them.
|
|
354
357
|
*/
|
|
355
358
|
lockPluginsVersion?: boolean;
|
|
356
359
|
polyfillIfRequired?: boolean;
|
|
@@ -1344,7 +1347,7 @@ interface IAnalytics {
|
|
|
1344
1347
|
/**
|
|
1345
1348
|
* Merge fields into the current custom context
|
|
1346
1349
|
*/
|
|
1347
|
-
setCustomContext(context: InputCustomContext): void;
|
|
1350
|
+
setCustomContext(context: InputCustomContext, isBufferedInvocation?: boolean): void;
|
|
1348
1351
|
/**
|
|
1349
1352
|
* Get a defensive snapshot of the current custom context
|
|
1350
1353
|
*/
|
|
@@ -1352,7 +1355,7 @@ interface IAnalytics {
|
|
|
1352
1355
|
/**
|
|
1353
1356
|
* Clear the current custom context
|
|
1354
1357
|
*/
|
|
1355
|
-
clearCustomContext(): void;
|
|
1358
|
+
clearCustomContext(isBufferedInvocation?: boolean): void;
|
|
1356
1359
|
/**
|
|
1357
1360
|
* To manually start user session in the SDK
|
|
1358
1361
|
*/
|
package/dist/npm/index.d.mts
CHANGED
|
@@ -351,6 +351,9 @@ type LoadOptions = {
|
|
|
351
351
|
lockIntegrationsVersion?: boolean;
|
|
352
352
|
/**
|
|
353
353
|
* @deprecated Plugins version are locked by default. We do not recommend using this option.
|
|
354
|
+
*
|
|
355
|
+
* On a `v3` CDN install, false resolves plugins from a directory that is not refreshed every
|
|
356
|
+
* release, so the chunks can be far older than the core SDK loading them.
|
|
354
357
|
*/
|
|
355
358
|
lockPluginsVersion?: boolean;
|
|
356
359
|
polyfillIfRequired?: boolean;
|
|
@@ -1344,7 +1347,7 @@ interface IAnalytics {
|
|
|
1344
1347
|
/**
|
|
1345
1348
|
* Merge fields into the current custom context
|
|
1346
1349
|
*/
|
|
1347
|
-
setCustomContext(context: InputCustomContext): void;
|
|
1350
|
+
setCustomContext(context: InputCustomContext, isBufferedInvocation?: boolean): void;
|
|
1348
1351
|
/**
|
|
1349
1352
|
* Get a defensive snapshot of the current custom context
|
|
1350
1353
|
*/
|
|
@@ -1352,7 +1355,7 @@ interface IAnalytics {
|
|
|
1352
1355
|
/**
|
|
1353
1356
|
* Clear the current custom context
|
|
1354
1357
|
*/
|
|
1355
|
-
clearCustomContext(): void;
|
|
1358
|
+
clearCustomContext(isBufferedInvocation?: boolean): void;
|
|
1356
1359
|
/**
|
|
1357
1360
|
* To manually start user session in the SDK
|
|
1358
1361
|
*/
|