@rudderstack/analytics-js 3.21.0 → 3.22.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 CHANGED
@@ -2,6 +2,26 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [3.22.0](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js@3.21.0...@rudderstack/analytics-js@3.22.0) (2025-07-21)
6
+
7
+ ### Dependency Updates
8
+
9
+ * `@rudderstack/analytics-js-cookies` updated to version `0.5.0`
10
+ * `@rudderstack/analytics-js-common` updated to version `3.22.0`
11
+ * `@rudderstack/analytics-js-plugins` updated to version `3.11.0`
12
+
13
+ ### Features
14
+
15
+ * add legacy utils package ([#2323](https://github.com/rudderlabs/rudder-sdk-js/issues/2323)) ([32a90c4](https://github.com/rudderlabs/rudder-sdk-js/commit/32a90c4417b747f4da2b1027249ccfbab1d075fd))
16
+ * categorize integration errors ([#2331](https://github.com/rudderlabs/rudder-sdk-js/issues/2331)) ([c64df64](https://github.com/rudderlabs/rudder-sdk-js/commit/c64df64a585108dafc2cbd459806ab3506395dc7))
17
+ * relocate destination constants ([#2325](https://github.com/rudderlabs/rudder-sdk-js/issues/2325)) ([0a421ae](https://github.com/rudderlabs/rudder-sdk-js/commit/0a421ae9f5c38556a3fa9487f16cdcea66921064))
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * error handle property access and instance mutation ([#2316](https://github.com/rudderlabs/rudder-sdk-js/issues/2316)) ([99f2788](https://github.com/rudderlabs/rudder-sdk-js/commit/99f278812ee832350e7a0afc807bf38d86bdce9f))
23
+ * remove unnecessary bugsnag dependency in declaration files ([#2341](https://github.com/rudderlabs/rudder-sdk-js/issues/2341)) ([0e17aa2](https://github.com/rudderlabs/rudder-sdk-js/commit/0e17aa2651697f3d8a37d729704bf1530ebe925f))
24
+
5
25
  ## [3.21.0](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js@3.20.1...@rudderstack/analytics-js@3.21.0) (2025-06-20)
6
26
 
7
27
  ### Dependency Updates
@@ -1,5 +1,3 @@
1
- import { Event } from '@bugsnag/js';
2
-
3
1
  type LoggerProvider$1 = Record<Exclude<Lowercase<LogLevel>, Lowercase<'NONE'>>, (...data: any[]) => void>;
4
2
  interface ILogger {
5
3
  minLogLevel: number;
@@ -567,6 +565,7 @@ type ErrorInfo = {
567
565
  customMessage?: string;
568
566
  errorType?: ErrorType;
569
567
  groupingHash?: string | SDKError;
568
+ category?: 'sdk' | 'integrations';
570
569
  };
571
570
  interface IErrorHandler {
572
571
  httpClient: IHttpClient;
@@ -1,5 +1,3 @@
1
- import { Event } from '@bugsnag/js';
2
-
3
1
  type LoggerProvider$1 = Record<Exclude<Lowercase<LogLevel>, Lowercase<'NONE'>>, (...data: any[]) => void>;
4
2
  interface ILogger {
5
3
  minLogLevel: number;
@@ -567,6 +565,7 @@ type ErrorInfo = {
567
565
  customMessage?: string;
568
566
  errorType?: ErrorType;
569
567
  groupingHash?: string | SDKError;
568
+ category?: 'sdk' | 'integrations';
570
569
  };
571
570
  interface IErrorHandler {
572
571
  httpClient: IHttpClient;