@applitools/eyes-images 4.29.0 → 4.29.2

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
@@ -1,5 +1,189 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.29.2](https://github.com/Applitools-Dev/sdk/compare/js/eyes-images@4.29.1...js/eyes-images@4.29.2) (2025-01-13)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * @applitools/dom-snapshot bumped to 4.11.14
9
+ #### Bug Fixes
10
+
11
+ * remove side-eyes and fix code scanning issues ([#2712](https://github.com/Applitools-Dev/sdk/issues/2712)) ([cda98e4](https://github.com/Applitools-Dev/sdk/commit/cda98e4748c73cd97c11f646a2b5e26ff9416892))
12
+
13
+
14
+
15
+ * @applitools/snippets bumped to 2.6.4
16
+ #### Bug Fixes
17
+
18
+ * remove side-eyes and fix code scanning issues ([#2712](https://github.com/Applitools-Dev/sdk/issues/2712)) ([cda98e4](https://github.com/Applitools-Dev/sdk/commit/cda98e4748c73cd97c11f646a2b5e26ff9416892))
19
+ * @applitools/dom-capture bumped to 11.5.4
20
+ #### Bug Fixes
21
+
22
+ * remove side-eyes and fix code scanning issues ([#2712](https://github.com/Applitools-Dev/sdk/issues/2712)) ([cda98e4](https://github.com/Applitools-Dev/sdk/commit/cda98e4748c73cd97c11f646a2b5e26ff9416892))
23
+ * @applitools/core bumped to 4.29.0
24
+ #### Features
25
+
26
+ * jsonFilePath in offline mode ([#2734](https://github.com/Applitools-Dev/sdk/issues/2734)) ([2f9fbe8](https://github.com/Applitools-Dev/sdk/commit/2f9fbe8fc3c5212db6b7cc58a98b041c3ffd5572))
27
+
28
+
29
+ #### Bug Fixes
30
+
31
+ * support batching tests in distributed env - close batch only when required ([#2733](https://github.com/Applitools-Dev/sdk/issues/2733)) ([2e59e4a](https://github.com/Applitools-Dev/sdk/commit/2e59e4a76edcc02b8888dfc78a42749bae76f79c))
32
+
33
+
34
+
35
+ * @applitools/driver bumped to 1.20.3
36
+
37
+ * @applitools/spec-driver-webdriver bumped to 1.1.23
38
+
39
+ * @applitools/spec-driver-selenium bumped to 1.5.94
40
+
41
+ * @applitools/spec-driver-puppeteer bumped to 1.4.23
42
+
43
+ * @applitools/screenshoter bumped to 3.10.3
44
+
45
+ * @applitools/nml-client bumped to 1.8.22
46
+
47
+ * @applitools/ec-client bumped to 1.10.1
48
+
49
+ * @applitools/eyes bumped to 1.31.0
50
+ #### Features
51
+
52
+ * jsonFilePath in offline mode ([#2734](https://github.com/Applitools-Dev/sdk/issues/2734)) ([2f9fbe8](https://github.com/Applitools-Dev/sdk/commit/2f9fbe8fc3c5212db6b7cc58a98b041c3ffd5572))
53
+
54
+
55
+
56
+
57
+ ## [4.29.1](https://github.com/Applitools-Dev/sdk/compare/js/eyes-images@4.29.0...js/eyes-images@4.29.1) (2024-12-31)
58
+
59
+
60
+ ### Dependencies
61
+
62
+ * @applitools/utils bumped to 1.7.7
63
+ #### Bug Fixes
64
+
65
+ * shim process execution functions for browser environment ([#2698](https://github.com/Applitools-Dev/sdk/issues/2698)) ([8d77db4](https://github.com/Applitools-Dev/sdk/commit/8d77db48e1c7fd54cad92c89a819a924255e5868))
66
+ * @applitools/logger bumped to 2.1.0
67
+ #### Features
68
+
69
+ * logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f))
70
+
71
+
72
+
73
+ * @applitools/dom-snapshot bumped to 4.11.13
74
+ #### Bug Fixes
75
+
76
+ * code scanning issue ([#2687](https://github.com/Applitools-Dev/sdk/issues/2687)) ([f301056](https://github.com/Applitools-Dev/sdk/commit/f301056cccfc9cc0c21ceedbd521d8f4b054f058))
77
+
78
+
79
+
80
+ * @applitools/socket bumped to 1.2.0
81
+ #### Features
82
+
83
+ * logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f))
84
+
85
+
86
+
87
+ * @applitools/dom-capture bumped to 11.5.3
88
+ #### Bug Fixes
89
+
90
+ * code scanning issue ([#2687](https://github.com/Applitools-Dev/sdk/issues/2687)) ([f301056](https://github.com/Applitools-Dev/sdk/commit/f301056cccfc9cc0c21ceedbd521d8f4b054f058))
91
+ * @applitools/ufg-client bumped to 1.16.0
92
+ #### Features
93
+
94
+ * deterministic output in offline execution ([#2711](https://github.com/Applitools-Dev/sdk/issues/2711)) ([5e8c7ca](https://github.com/Applitools-Dev/sdk/commit/5e8c7ca43c98e7ba6aed0c1a66c5a60b4001aeff))
95
+
96
+
97
+ #### Bug Fixes
98
+
99
+ * code scanning issue ([#2687](https://github.com/Applitools-Dev/sdk/issues/2687)) ([f301056](https://github.com/Applitools-Dev/sdk/commit/f301056cccfc9cc0c21ceedbd521d8f4b054f058))
100
+
101
+
102
+
103
+ * @applitools/core bumped to 4.28.0
104
+ #### Features
105
+
106
+ * deterministic output in offline execution ([#2711](https://github.com/Applitools-Dev/sdk/issues/2711)) ([5e8c7ca](https://github.com/Applitools-Dev/sdk/commit/5e8c7ca43c98e7ba6aed0c1a66c5a60b4001aeff))
107
+ * logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f))
108
+
109
+
110
+ #### Bug Fixes
111
+
112
+ * take snapshots with coded regions on pages that has cross origin frames ([#2705](https://github.com/Applitools-Dev/sdk/issues/2705)) ([5972fec](https://github.com/Applitools-Dev/sdk/commit/5972fec890a1454a9f96c4eddcf17634e72111aa))
113
+
114
+
115
+
116
+ * @applitools/spec-driver-webdriver bumped to 1.1.22
117
+
118
+ * @applitools/spec-driver-selenium bumped to 1.5.93
119
+
120
+ * @applitools/screenshoter bumped to 3.10.2
121
+
122
+ * @applitools/nml-client bumped to 1.8.21
123
+
124
+ * @applitools/tunnel-client bumped to 1.6.0
125
+ #### Features
126
+
127
+ * logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f))
128
+
129
+
130
+
131
+ * @applitools/ec-client bumped to 1.10.0
132
+ #### Features
133
+
134
+ * logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f))
135
+
136
+
137
+
138
+ * @applitools/req bumped to 1.7.6
139
+
140
+ * @applitools/image bumped to 1.1.16
141
+
142
+ * @applitools/driver bumped to 1.20.2
143
+
144
+ * @applitools/spec-driver-puppeteer bumped to 1.4.22
145
+
146
+ * @applitools/core-base bumped to 1.22.0
147
+ #### Features
148
+
149
+ * deterministic output in offline execution ([#2711](https://github.com/Applitools-Dev/sdk/issues/2711)) ([5e8c7ca](https://github.com/Applitools-Dev/sdk/commit/5e8c7ca43c98e7ba6aed0c1a66c5a60b4001aeff))
150
+ * logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f))
151
+
152
+
153
+
154
+ * @applitools/eyes bumped to 1.30.0
155
+ #### Features
156
+
157
+ * ability to download side by side with highlighted diffs (2419) ([#2530](https://github.com/Applitools-Dev/sdk/issues/2530)) ([e06ce69](https://github.com/Applitools-Dev/sdk/commit/e06ce699f30e9e444ac58dafdf5989ff1c96ca1c))
158
+ * add an option to keep the navigation bar for android devices ([#2608](https://github.com/Applitools-Dev/sdk/issues/2608)) ([e7647e0](https://github.com/Applitools-Dev/sdk/commit/e7647e0105a7aa47e6bf3b20ab033f1e389ca849))
159
+ * add chrome emulation devices ([#2559](https://github.com/Applitools-Dev/sdk/issues/2559)) ([0499aaf](https://github.com/Applitools-Dev/sdk/commit/0499aaf3bb809d2ac0105b4493e6f6bb8730ea3f))
160
+ * capture status bar ([#2571](https://github.com/Applitools-Dev/sdk/issues/2571)) ([5e1c75e](https://github.com/Applitools-Dev/sdk/commit/5e1c75ef9cf34af80f08806a3bceaf06a94f2780))
161
+ * disable broker url cache ([#2428](https://github.com/Applitools-Dev/sdk/issues/2428)) ([cb8d5fe](https://github.com/Applitools-Dev/sdk/commit/cb8d5fefb13d3ab42984d2bd4d4ac3d4e10646b0))
162
+ * dynamic regions ([#2538](https://github.com/Applitools-Dev/sdk/issues/2538)) ([d8b5c48](https://github.com/Applitools-Dev/sdk/commit/d8b5c48fb35f9789c702447314dc72b4f415ade1))
163
+ * html report for playwright ([#2576](https://github.com/Applitools-Dev/sdk/issues/2576)) ([f93f164](https://github.com/Applitools-Dev/sdk/commit/f93f164a289f5676bcc9d650e5e3d90b8e6a6920))
164
+ * ios 18 devices enum ([#2584](https://github.com/Applitools-Dev/sdk/issues/2584)) ([8eab653](https://github.com/Applitools-Dev/sdk/commit/8eab653f99733839bdec43d86089edc35abcf8e8))
165
+ * logger masking ([#2640](https://github.com/Applitools-Dev/sdk/issues/2640)) ([bd69d21](https://github.com/Applitools-Dev/sdk/commit/bd69d21f6341447b1acdb042f4ee1a6328d7428f))
166
+ * offline cli with config ([#2646](https://github.com/Applitools-Dev/sdk/issues/2646)) ([0589dc4](https://github.com/Applitools-Dev/sdk/commit/0589dc429a0c94451e957932106f258dadfd88cc))
167
+ * remove Android NMG API ([#2566](https://github.com/Applitools-Dev/sdk/issues/2566)) ([750c0f0](https://github.com/Applitools-Dev/sdk/commit/750c0f0263e5ff06f86055e7ba0c3fb47cadb620))
168
+
169
+
170
+ #### Bug Fixes
171
+
172
+ * don't pass RectangleSize to core ([#2673](https://github.com/Applitools-Dev/sdk/issues/2673)) ([47653ea](https://github.com/Applitools-Dev/sdk/commit/47653eae44d4c9693cc84e9209bb08f8d070c4af))
173
+ * offline cli chalk error ([c7c659a](https://github.com/Applitools-Dev/sdk/commit/c7c659aa889080f2fc7763152db2447211fe1487))
174
+ * organize configuration alphabetically and add getters and setters ([684490d](https://github.com/Applitools-Dev/sdk/commit/684490d8d85d1dd0f07bafdcc38febfcf7c58d08))
175
+ * trigger playwright release ([1d3ea3e](https://github.com/Applitools-Dev/sdk/commit/1d3ea3e4d2059c12d8013f04c18f5facffbc5846))
176
+ * trigger release ([c97dbfc](https://github.com/Applitools-Dev/sdk/commit/c97dbfc89245f374917702a867b87f2794155e54))
177
+ * update ios devices enums ([9b4614f](https://github.com/Applitools-Dev/sdk/commit/9b4614f09bbbe42cf99824d76893f9067aab2cc4))
178
+
179
+
180
+ #### Code Refactoring
181
+
182
+ * start linting "no-floating-promises" (wip) ([#2539](https://github.com/Applitools-Dev/sdk/issues/2539)) ([51b91cb](https://github.com/Applitools-Dev/sdk/commit/51b91cb15603f7d68e4bd6a16eb0f80e3f380295))
183
+
184
+
185
+
186
+
3
187
  ## [4.29.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes-images-v4.28.13...js/eyes-images@4.29.0) (2024-12-18)
4
188
 
5
189
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-images",
3
- "version": "4.29.0",
3
+ "version": "4.29.2",
4
4
  "description": "The simplest implementation of Applitools Eyes SDK, uploads images for validation",
5
5
  "keywords": [
6
6
  "eyes-images",
@@ -40,7 +40,7 @@
40
40
  "test:coverage": "APPLITOOLS_SHOW_LOGS=true APPLITOOLS_LOG_FILE=\"./logs/$(uuidgen).log\" APPLITOOLS_BATCH_NAME='JS Coverage Tests: eyes-images' APPLITOOLS_BATCH_ID=$(uuidgen) MOCHA_GROUP=coverage run --top-level mocha './test/generated-coverage/*.spec.js' --parallel --jobs ${MOCHA_JOBS:-15}"
41
41
  },
42
42
  "dependencies": {
43
- "@applitools/eyes": "1.29.3"
43
+ "@applitools/eyes": "1.31.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@applitools/api-extractor": "^1.2.22",
package/types/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export class Eyes {
2
- static getExecutionCloudUrl(config?: undefined | ConfigurationPlain): Promise<string>;
2
+ static getExecutionCloudUrl(config?: undefined | (ConfigurationPlain & { maskLog?: undefined | boolean; })): Promise<string>;
3
3
  static setViewportSize(driver: unknown, size: RectangleSizePlain): Promise<void>;
4
4
  static setMobileCapabilities<TCapabilities extends Record<string, any>>(capabilities: TCapabilities, config?: undefined | ConfigurationPlain): TCapabilities;
5
5
  constructor(runner?: undefined | EyesRunner, config?: undefined | ConfigurationPlain);
@@ -185,6 +185,7 @@ export type ConfigurationPlain = {
185
185
  environmentName?: undefined | string;
186
186
  forceFullPageScreenshot?: undefined | boolean;
187
187
  gitMergeBaseTimestamp?: undefined | string;
188
+ latestCommitInfo?: undefined | { timestamp: string; sha: string; };
188
189
  hideCaret?: undefined | boolean;
189
190
  hideScrollbars?: undefined | boolean;
190
191
  hostApp?: undefined | string;
@@ -359,6 +360,10 @@ export class Configuration implements Required<ConfigurationPlain> {
359
360
  set gitMergeBaseTimestamp(gitMergeBaseTimestamp: string);
360
361
  getGitMergeBaseTimestamp(): string;
361
362
  setGitMergeBaseTimestamp(gitMergeBaseTimestamp: string): Configuration;
363
+ get latestCommitInfo(): { timestamp: string; sha: string; };
364
+ set latestCommitInfo(latestCommitInfo: { timestamp: string; sha: string; });
365
+ getLatestCommitInfo(): { timestamp: string; sha: string; };
366
+ setLatestCommitInfo(latestCommitInfo: { timestamp: string; sha: string; }): Configuration;
362
367
  get hideCaret(): boolean;
363
368
  set hideCaret(hideCaret: boolean);
364
369
  getHideCaret(): boolean;
@@ -1576,7 +1581,7 @@ export class Region implements Required<RegionPlain> {
1576
1581
  export type DesktopBrowserInfo = { name?: undefined | BrowserTypePlain; width: number; height: number; };
1577
1582
  export type ChromeEmulationInfo = { chromeEmulationInfo: { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; }; };
1578
1583
  export type IOSDeviceInfo = { iosDeviceInfo: { deviceName: IosDeviceNamePlain; iosVersion?: undefined | IosVersionPlain; screenOrientation?: undefined | ScreenOrientationPlain; }; };
1579
- export type RunnerOptionsPlain = { testConcurrency?: undefined | number; fetchConcurrency?: undefined | number; removeDuplicateTests?: undefined | boolean; };
1584
+ export type RunnerOptionsPlain = { testConcurrency?: undefined | number; fetchConcurrency?: undefined | number; removeDuplicateTests?: undefined | boolean; maskLog?: undefined | boolean; };
1580
1585
  export class RunnerOptionsFluent {
1581
1586
  testConcurrency(concurrency: number): RunnerOptionsFluent;
1582
1587
  }
@@ -1856,6 +1861,7 @@ export class Logger {
1856
1861
  }
1857
1862
  export abstract class EyesRunner {
1858
1863
  constructor(options?: undefined | RunnerOptionsPlain);
1864
+ readonly _maskLog: boolean;
1859
1865
  abstract readonly type: "ufg" | "classic";
1860
1866
  getAllTestResults(throwErr?: undefined | boolean): Promise<TestResultsSummary>;
1861
1867
  }