@rudderstack/analytics-js 3.34.2 → 3.35.0
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 +41 -0
- package/dist/npm/index.d.cts +9 -0
- package/dist/npm/index.d.mts +9 -0
- package/dist/npm/legacy/bundled/cjs/index.cjs +152 -64
- package/dist/npm/legacy/bundled/esm/index.mjs +152 -64
- package/dist/npm/legacy/bundled/umd/index.js +152 -64
- package/dist/npm/legacy/cjs/index.cjs +152 -64
- package/dist/npm/legacy/content-script/cjs/index.cjs +150 -63
- package/dist/npm/legacy/content-script/esm/index.mjs +150 -63
- package/dist/npm/legacy/content-script/umd/index.js +150 -63
- package/dist/npm/legacy/esm/index.mjs +152 -64
- package/dist/npm/legacy/lite/cjs/index.cjs +151 -63
- package/dist/npm/legacy/lite/esm/index.mjs +151 -63
- package/dist/npm/legacy/lite/umd/index.js +151 -63
- package/dist/npm/legacy/umd/index.js +152 -64
- package/dist/npm/modern/bundled/cjs/index.cjs +457 -327
- package/dist/npm/modern/bundled/esm/index.mjs +457 -327
- package/dist/npm/modern/bundled/umd/index.js +457 -327
- package/dist/npm/modern/cjs/index.cjs +356 -231
- package/dist/npm/modern/content-script/cjs/index.cjs +457 -327
- package/dist/npm/modern/content-script/esm/index.mjs +457 -327
- package/dist/npm/modern/content-script/umd/index.js +457 -327
- package/dist/npm/modern/esm/index.mjs +356 -231
- package/dist/npm/modern/lite/cjs/index.cjs +428 -298
- package/dist/npm/modern/lite/esm/index.mjs +428 -298
- package/dist/npm/modern/lite/umd/index.js +428 -298
- package/dist/npm/modern/umd/index.js +356 -231
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,47 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [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)
|
|
6
|
+
|
|
7
|
+
### Dependency Updates
|
|
8
|
+
|
|
9
|
+
* `@rudderstack/analytics-js-cookies` updated to version `0.5.17`
|
|
10
|
+
* `@rudderstack/analytics-js-common` updated to version `3.30.2`
|
|
11
|
+
* `@rudderstack/analytics-js-plugins` updated to version `3.18.4`
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* 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))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* **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))
|
|
21
|
+
* **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))
|
|
22
|
+
* **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))
|
|
23
|
+
* **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))
|
|
24
|
+
* **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))
|
|
25
|
+
* **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))
|
|
26
|
+
* **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))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Performance Improvements
|
|
30
|
+
|
|
31
|
+
* **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))
|
|
32
|
+
|
|
33
|
+
## [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)
|
|
34
|
+
|
|
35
|
+
### Dependency Updates
|
|
36
|
+
|
|
37
|
+
* `@rudderstack/analytics-js-cookies` updated to version `0.5.16`
|
|
38
|
+
* `@rudderstack/analytics-js-common` updated to version `3.30.1`
|
|
39
|
+
* `@rudderstack/analytics-js-plugins` updated to version `3.18.3`
|
|
40
|
+
|
|
41
|
+
### Bug Fixes
|
|
42
|
+
|
|
43
|
+
* **@rudderstack/analytics-js:** filter client-side CDN failures ([#3226](https://github.com/rudderlabs/rudder-sdk-js/issues/3226)) ([cbab312](https://github.com/rudderlabs/rudder-sdk-js/commit/cbab312298ab0003fda1db1c99b6f9f42875362e))
|
|
44
|
+
* **@rudderstack/analytics-js:** report plugin load failures once ([#3225](https://github.com/rudderlabs/rudder-sdk-js/issues/3225)) ([0ddf4d4](https://github.com/rudderlabs/rudder-sdk-js/commit/0ddf4d4b9b5cfc58de151b20a16c52ffe03872e4)), closes [#3224](https://github.com/rudderlabs/rudder-sdk-js/issues/3224)
|
|
45
|
+
|
|
5
46
|
## [3.34.2](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js@3.34.1...@rudderstack/analytics-js@3.34.2) (2026-09-24)
|
|
6
47
|
|
|
7
48
|
### 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;
|
|
@@ -877,6 +880,12 @@ interface IRequestConfig {
|
|
|
877
880
|
options?: Partial<IXHRRequestOptions>;
|
|
878
881
|
isRawResponse?: boolean;
|
|
879
882
|
timeout?: number;
|
|
883
|
+
/**
|
|
884
|
+
* Omit the basic auth header for this request. Authorization is not
|
|
885
|
+
* CORS-safelisted, so sending it turns an otherwise simple cross-origin
|
|
886
|
+
* request into a preflighted one, which the CDN refuses.
|
|
887
|
+
*/
|
|
888
|
+
skipAuthHeader?: boolean;
|
|
880
889
|
}
|
|
881
890
|
type ResponseDetails = {
|
|
882
891
|
response: string;
|
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;
|
|
@@ -877,6 +880,12 @@ interface IRequestConfig {
|
|
|
877
880
|
options?: Partial<IXHRRequestOptions>;
|
|
878
881
|
isRawResponse?: boolean;
|
|
879
882
|
timeout?: number;
|
|
883
|
+
/**
|
|
884
|
+
* Omit the basic auth header for this request. Authorization is not
|
|
885
|
+
* CORS-safelisted, so sending it turns an otherwise simple cross-origin
|
|
886
|
+
* request into a preflighted one, which the CDN refuses.
|
|
887
|
+
*/
|
|
888
|
+
skipAuthHeader?: boolean;
|
|
880
889
|
}
|
|
881
890
|
type ResponseDetails = {
|
|
882
891
|
response: string;
|