@applitools/eyes-images 4.26.0 → 4.27.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 CHANGED
@@ -1,5 +1,209 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.27.1](https://github.com/Applitools-Dev/sdk/compare/js/eyes-images@4.27.0...js/eyes-images@4.27.1) (2024-04-01)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * @applitools/spec-driver-selenium bumped to 1.5.74
9
+ #### Bug Fixes
10
+
11
+ * trigger JS release ([6022ac8](https://github.com/Applitools-Dev/sdk/commit/6022ac85626287a37101b65732e9d46c63bbd8b8))
12
+ * @applitools/ec-client bumped to 1.7.32
13
+
14
+ * @applitools/core-base bumped to 1.10.1
15
+ #### Bug Fixes
16
+
17
+ * trigger JS release ([6022ac8](https://github.com/Applitools-Dev/sdk/commit/6022ac85626287a37101b65732e9d46c63bbd8b8))
18
+ * @applitools/core bumped to 4.11.1
19
+
20
+ * @applitools/eyes bumped to 1.17.1
21
+ #### Bug Fixes
22
+
23
+ * trigger JS release ([6022ac8](https://github.com/Applitools-Dev/sdk/commit/6022ac85626287a37101b65732e9d46c63bbd8b8))
24
+
25
+
26
+
27
+
28
+ ## [4.27.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes-images-v4.26.4...js/eyes-images@4.27.0) (2024-03-31)
29
+
30
+
31
+ ### Features
32
+
33
+ * added notification about outdated sdk version ([#2012](https://github.com/Applitools-Dev/sdk/issues/2012)) ([0f0a646](https://github.com/Applitools-Dev/sdk/commit/0f0a6462a56e7c97f9a22173c3b63af91e220adb))
34
+
35
+
36
+ ### Dependencies
37
+
38
+ * @applitools/spec-driver-selenium bumped to 1.5.73
39
+ #### Bug Fixes
40
+
41
+ * remove getSessionDetails call in JS Selenium ([#2280](https://github.com/Applitools-Dev/sdk/issues/2280)) ([d15748f](https://github.com/Applitools-Dev/sdk/commit/d15748f68c931f2f84c13efd8472399c1ff72e25))
42
+ * @applitools/ec-client bumped to 1.7.31
43
+
44
+ * @applitools/core-base bumped to 1.10.0
45
+ #### Features
46
+
47
+ * Add GitMergeBaseTimestamp support ([#2281](https://github.com/Applitools-Dev/sdk/issues/2281)) ([5489608](https://github.com/Applitools-Dev/sdk/commit/54896085445663a51b5e5595a2517e48fa8736f3))
48
+ * batch buildId ([#2263](https://github.com/Applitools-Dev/sdk/issues/2263)) ([f19ac38](https://github.com/Applitools-Dev/sdk/commit/f19ac38612bc55d870f59161a39b5b7eb01e25f3))
49
+ * send heartbeat to keep test alive ([#2246](https://github.com/Applitools-Dev/sdk/issues/2246)) ([58636e7](https://github.com/Applitools-Dev/sdk/commit/58636e7dd353f06eb2b3bee1120ab81c3f9fcc94))
50
+
51
+
52
+ #### Bug Fixes
53
+
54
+ * retry Eyes request on ECONNREFUSED to improve stability during deployment ([d1e4dca](https://github.com/Applitools-Dev/sdk/commit/d1e4dcae79185578808b4f2c5f94fa79d7d914a3))
55
+ * @applitools/core bumped to 4.11.0
56
+ #### Features
57
+
58
+ * Add GitMergeBaseTimestamp support ([#2281](https://github.com/Applitools-Dev/sdk/issues/2281)) ([5489608](https://github.com/Applitools-Dev/sdk/commit/54896085445663a51b5e5595a2517e48fa8736f3))
59
+ * batch buildId ([#2263](https://github.com/Applitools-Dev/sdk/issues/2263)) ([f19ac38](https://github.com/Applitools-Dev/sdk/commit/f19ac38612bc55d870f59161a39b5b7eb01e25f3))
60
+
61
+
62
+
63
+ * @applitools/eyes bumped to 1.17.0
64
+ #### Features
65
+
66
+ * add Eyes.getResults method ([#2046](https://github.com/Applitools-Dev/sdk/issues/2046)) ([#2069](https://github.com/Applitools-Dev/sdk/issues/2069)) ([4d263e1](https://github.com/Applitools-Dev/sdk/commit/4d263e19cb5e5708790a1a7ef90ff8f3eee50d91))
67
+ * Add GitMergeBaseTimestamp support ([#2281](https://github.com/Applitools-Dev/sdk/issues/2281)) ([5489608](https://github.com/Applitools-Dev/sdk/commit/54896085445663a51b5e5595a2517e48fa8736f3))
68
+ * added `enableEyesLogs` configuration to the eyes service ([639ca8a](https://github.com/Applitools-Dev/sdk/commit/639ca8a021008d06fc09d19ca58ac3d00a18e4c3))
69
+ * added `useExecutionCloud` configuration to the eyes service ([#2033](https://github.com/Applitools-Dev/sdk/issues/2033)) ([639ca8a](https://github.com/Applitools-Dev/sdk/commit/639ca8a021008d06fc09d19ca58ac3d00a18e4c3))
70
+ * generate more enums ([#2179](https://github.com/Applitools-Dev/sdk/issues/2179)) ([5f4f916](https://github.com/Applitools-Dev/sdk/commit/5f4f91621b791a02464191123f69b12f590b9efe))
71
+ * ios multi device target ([#2160](https://github.com/Applitools-Dev/sdk/issues/2160)) ([3874fb8](https://github.com/Applitools-Dev/sdk/commit/3874fb8ad77039abbb5ab78c00ffb45829b2db28))
72
+
73
+
74
+ #### Bug Fixes
75
+
76
+ * error to unknown type in exception ([#2035](https://github.com/Applitools-Dev/sdk/issues/2035)) ([16d78c3](https://github.com/Applitools-Dev/sdk/commit/16d78c3cce90a5cb50cc2aa4e9ab6a58b7b93f89))
77
+ * fixed default value in `useSystemScreenshot` method of check settings ([42a773c](https://github.com/Applitools-Dev/sdk/commit/42a773cc57e8e5de528a049b376159615892003b))
78
+ * fixed issue when w3c properties were added to legacy capabilities object in `Eyes.setMobileCapabilities` method ([94d785f](https://github.com/Applitools-Dev/sdk/commit/94d785f0428df101c207d6f09a55c46f2bdbf19e))
79
+
80
+
81
+
82
+
83
+ ## [4.26.3](https://github.com/Applitools-Dev/sdk/compare/js/eyes-images@4.26.2...js/eyes-images@4.26.3) (2024-03-18)
84
+
85
+
86
+ ### Dependencies
87
+
88
+ * @applitools/css-tree bumped to 1.1.2
89
+ #### Bug Fixes
90
+
91
+ * trigger js release again ([1695f3d](https://github.com/Applitools-Dev/sdk/commit/1695f3d9967c7ab7b5d8c8637e86faa935a9047f))
92
+ * @applitools/driver bumped to 1.16.5
93
+ #### Bug Fixes
94
+
95
+ * trigger js release again ([1695f3d](https://github.com/Applitools-Dev/sdk/commit/1695f3d9967c7ab7b5d8c8637e86faa935a9047f))
96
+ * @applitools/dom-snapshot bumped to 4.9.2
97
+
98
+ * @applitools/spec-driver-webdriver bumped to 1.1.3
99
+
100
+ * @applitools/spec-driver-selenium bumped to 1.5.72
101
+
102
+ * @applitools/spec-driver-puppeteer bumped to 1.4.3
103
+
104
+ * @applitools/screenshoter bumped to 3.8.27
105
+
106
+ * @applitools/nml-client bumped to 1.7.5
107
+
108
+ * @applitools/ufg-client bumped to 1.10.2
109
+
110
+ * @applitools/ec-client bumped to 1.7.30
111
+
112
+ * @applitools/core bumped to 4.10.2
113
+
114
+ * @applitools/eyes bumped to 1.16.2
115
+
116
+
117
+ ## [4.26.2](https://github.com/Applitools-Dev/sdk/compare/js/eyes-images@4.26.1...js/eyes-images@4.26.2) (2024-03-18)
118
+
119
+
120
+ ### Dependencies
121
+
122
+ * @applitools/css-tree bumped to 1.1.1
123
+ #### Bug Fixes
124
+
125
+ * trigger js release ([dbc9bf8](https://github.com/Applitools-Dev/sdk/commit/dbc9bf8da3ab5d93e570881ba2c61efa47a1b342))
126
+ * @applitools/driver bumped to 1.16.4
127
+ #### Bug Fixes
128
+
129
+ * trigger js release ([dbc9bf8](https://github.com/Applitools-Dev/sdk/commit/dbc9bf8da3ab5d93e570881ba2c61efa47a1b342))
130
+ * @applitools/dom-snapshot bumped to 4.9.1
131
+
132
+ * @applitools/spec-driver-webdriver bumped to 1.1.2
133
+
134
+ * @applitools/spec-driver-selenium bumped to 1.5.71
135
+
136
+ * @applitools/spec-driver-puppeteer bumped to 1.4.2
137
+
138
+ * @applitools/screenshoter bumped to 3.8.26
139
+
140
+ * @applitools/nml-client bumped to 1.7.4
141
+
142
+ * @applitools/ufg-client bumped to 1.10.1
143
+
144
+ * @applitools/ec-client bumped to 1.7.29
145
+
146
+ * @applitools/core bumped to 4.10.1
147
+
148
+ * @applitools/eyes bumped to 1.16.1
149
+
150
+
151
+ ## [4.26.1](https://github.com/Applitools-Dev/sdk/compare/js/eyes-images@4.26.0...js/eyes-images@4.26.1) (2024-03-17)
152
+
153
+
154
+ ### Dependencies
155
+
156
+ * @applitools/css-tree bumped to 1.1.0
157
+ #### Features
158
+
159
+ * support [@container](https://github.com/container) and [@layer](https://github.com/layer) cssom rules ([#2209](https://github.com/Applitools-Dev/sdk/issues/2209)) ([7da07c4](https://github.com/Applitools-Dev/sdk/commit/7da07c4f5b7f338fb5944ce244af8f2de928cab6))
160
+ * @applitools/dom-snapshot bumped to 4.9.0
161
+ #### Features
162
+
163
+ * support [@container](https://github.com/container) and [@layer](https://github.com/layer) cssom rules ([#2209](https://github.com/Applitools-Dev/sdk/issues/2209)) ([7da07c4](https://github.com/Applitools-Dev/sdk/commit/7da07c4f5b7f338fb5944ce244af8f2de928cab6))
164
+
165
+
166
+
167
+ * @applitools/spec-driver-webdriver bumped to 1.1.1
168
+
169
+ * @applitools/spec-driver-selenium bumped to 1.5.70
170
+
171
+ * @applitools/spec-driver-puppeteer bumped to 1.4.1
172
+
173
+ * @applitools/driver bumped to 1.16.3
174
+ #### Bug Fixes
175
+
176
+ * skip execution of getCurrentWorld and getWorlds when env var is set ([#2234](https://github.com/Applitools-Dev/sdk/issues/2234)) ([3a88602](https://github.com/Applitools-Dev/sdk/commit/3a886028b0437b73dae0474408d9bb74ba940dec))
177
+ * trigger build ([acb9c88](https://github.com/Applitools-Dev/sdk/commit/acb9c88161cf55e8b1e409425b5571d69a2e1d5c))
178
+ * @applitools/screenshoter bumped to 3.8.25
179
+
180
+ * @applitools/nml-client bumped to 1.7.3
181
+
182
+ * @applitools/ufg-client bumped to 1.10.0
183
+ #### Features
184
+
185
+ * support [@container](https://github.com/container) and [@layer](https://github.com/layer) cssom rules ([#2209](https://github.com/Applitools-Dev/sdk/issues/2209)) ([7da07c4](https://github.com/Applitools-Dev/sdk/commit/7da07c4f5b7f338fb5944ce244af8f2de928cab6))
186
+ * throttle fetching resources by default ([#2216](https://github.com/Applitools-Dev/sdk/issues/2216)) ([a2da800](https://github.com/Applitools-Dev/sdk/commit/a2da80076eb30241a168500903a9d80344900213))
187
+
188
+
189
+
190
+ * @applitools/core bumped to 4.10.0
191
+ #### Features
192
+
193
+ * support webview in nml ([#2236](https://github.com/Applitools-Dev/sdk/issues/2236)) ([b4440d8](https://github.com/Applitools-Dev/sdk/commit/b4440d86a863d1af8089f8606ac6819636fa46f4))
194
+
195
+
196
+
197
+ * @applitools/ec-client bumped to 1.7.28
198
+
199
+ * @applitools/eyes bumped to 1.16.0
200
+ #### Features
201
+
202
+ * ios multi device target ([#2160](https://github.com/Applitools-Dev/sdk/issues/2160)) ([3874fb8](https://github.com/Applitools-Dev/sdk/commit/3874fb8ad77039abbb5ab78c00ffb45829b2db28))
203
+
204
+
205
+
206
+
3
207
  ## [4.26.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-images-v4.25.1...js/eyes-images@4.26.0) (2024-02-29)
4
208
 
5
209
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-images",
3
- "version": "4.26.0",
3
+ "version": "4.27.1",
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.15.0"
43
+ "@applitools/eyes": "1.17.1"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@applitools/api-extractor": "^1.2.22",
package/types/index.d.ts CHANGED
@@ -185,6 +185,7 @@ export type ConfigurationPlain = {
185
185
  environmentName?: undefined | string;
186
186
  branchName?: undefined | string;
187
187
  parentBranchName?: undefined | string;
188
+ gitMergeBaseTimestamp?: undefined | string;
188
189
  baselineBranchName?: undefined | string;
189
190
  compareWithParentBranch?: undefined | boolean;
190
191
  ignoreBaseline?: undefined | boolean;
@@ -206,7 +207,7 @@ export type ConfigurationPlain = {
206
207
  rotation?: undefined | ImageRotationPlain;
207
208
  scaleRatio?: undefined | number;
208
209
  concurrentSessions?: undefined | number;
209
- browsersInfo?: undefined | Array<DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo>;
210
+ browsersInfo?: undefined | Array<DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone Xs Max" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 14 Pro Max" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)"; }>;
210
211
  visualGridOptions?: undefined | Record<string, any>;
211
212
  layoutBreakpoints?: undefined | boolean | Array<number> | { breakpoints: boolean | Array<number>; reload?: undefined | boolean; };
212
213
  disableBrowserFetching?: undefined | boolean;
@@ -311,6 +312,10 @@ export class Configuration implements Required<ConfigurationPlain> {
311
312
  set baselineBranchName(baselineBranchName: string);
312
313
  getBaselineBranchName(): string;
313
314
  setBaselineBranchName(baselineBranchName: string): Configuration;
315
+ get gitMergeBaseTimestamp(): string;
316
+ set gitMergeBaseTimestamp(gitMergeBaseTimestamp: string);
317
+ getGitMergeBaseTimestamp(): string;
318
+ setGitMergeBaseTimestamp(gitMergeBaseTimestamp: string): Configuration;
314
319
  get compareWithParentBranch(): boolean;
315
320
  set compareWithParentBranch(compareWithParentBranch: boolean);
316
321
  getCompareWithParentBranch(): boolean;
@@ -424,9 +429,9 @@ export class Configuration implements Required<ConfigurationPlain> {
424
429
  set concurrentSessions(concurrentSessions: number);
425
430
  getConcurrentSessions(): number;
426
431
  setConcurrentSessions(concurrentSessions: number): Configuration;
427
- get browsersInfo(): Array<DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo>;
428
- set browsersInfo(browsersInfo: Array<DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo>);
429
- getBrowsersInfo(): Array<DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; }>;
432
+ get browsersInfo(): Array<DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone Xs Max" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 14 Pro Max" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)"; }>;
433
+ set browsersInfo(browsersInfo: Array<DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone Xs Max" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 14 Pro Max" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)"; }>);
434
+ getBrowsersInfo(): Array<DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: "iPhone X" | "iPhone XR" | "iPhone 11" | "iPhone 11 Pro Max" | "iPhone 11 Pro" | "iPhone 8" | "iPhone 8 Plus" | "iPhone Xs" | "iPhone Xs Max" | "iPhone 12" | "iPhone 12 mini" | "iPhone 12 Pro Max" | "iPhone 12 Pro" | "iPhone 13" | "iPhone 13 mini" | "iPhone 13 Pro Max" | "iPhone 13 Pro" | "iPhone 14" | "iPhone 14 Plus" | "iPhone 14 Pro" | "iPhone 14 Pro Max" | "iPhone SE (2nd generation)" | "iPhone SE (3rd generation)"; }>;
430
435
  setBrowsersInfo(browsersInfo: Array<DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; }>): Configuration;
431
436
  addBrowsers(...browsersInfo: Array<DesktopBrowserInfo | ChromeEmulationInfo | IOSDeviceInfo | AndroidDeviceInfo | { deviceName: DeviceNamePlain; screenOrientation?: undefined | ScreenOrientationPlain; }>): Configuration;
432
437
  addBrowser(browserInfo: DesktopBrowserInfo): Configuration;
@@ -438,6 +443,29 @@ export class Configuration implements Required<ConfigurationPlain> {
438
443
  addDeviceEmulation(deviceName: DeviceNamePlain, screenOrientation?: undefined | ScreenOrientationPlain): Configuration;
439
444
  addMobileDevice(deviceName: AndroidDeviceNamePlain, screenOrientation: ScreenOrientationPlain, version?: undefined | AndroidVersionPlain): Configuration;
440
445
  addMobileDevice(deviceName: IosDeviceNamePlain, screenOrientation: ScreenOrientationPlain, version?: undefined | AndroidVersionPlain): Configuration;
446
+ addMultiDeviceTarget(deviceName: "iPhone X"): Configuration;
447
+ addMultiDeviceTarget(deviceName: "iPhone XR"): Configuration;
448
+ addMultiDeviceTarget(deviceName: "iPhone 11"): Configuration;
449
+ addMultiDeviceTarget(deviceName: "iPhone 11 Pro Max"): Configuration;
450
+ addMultiDeviceTarget(deviceName: "iPhone 11 Pro"): Configuration;
451
+ addMultiDeviceTarget(deviceName: "iPhone 8"): Configuration;
452
+ addMultiDeviceTarget(deviceName: "iPhone 8 Plus"): Configuration;
453
+ addMultiDeviceTarget(deviceName: "iPhone Xs"): Configuration;
454
+ addMultiDeviceTarget(deviceName: "iPhone Xs Max"): Configuration;
455
+ addMultiDeviceTarget(deviceName: "iPhone 12"): Configuration;
456
+ addMultiDeviceTarget(deviceName: "iPhone 12 mini"): Configuration;
457
+ addMultiDeviceTarget(deviceName: "iPhone 12 Pro Max"): Configuration;
458
+ addMultiDeviceTarget(deviceName: "iPhone 12 Pro"): Configuration;
459
+ addMultiDeviceTarget(deviceName: "iPhone 13"): Configuration;
460
+ addMultiDeviceTarget(deviceName: "iPhone 13 mini"): Configuration;
461
+ addMultiDeviceTarget(deviceName: "iPhone 13 Pro Max"): Configuration;
462
+ addMultiDeviceTarget(deviceName: "iPhone 13 Pro"): Configuration;
463
+ addMultiDeviceTarget(deviceName: "iPhone 14"): Configuration;
464
+ addMultiDeviceTarget(deviceName: "iPhone 14 Plus"): Configuration;
465
+ addMultiDeviceTarget(deviceName: "iPhone 14 Pro"): Configuration;
466
+ addMultiDeviceTarget(deviceName: "iPhone 14 Pro Max"): Configuration;
467
+ addMultiDeviceTarget(deviceName: "iPhone SE (2nd generation)"): Configuration;
468
+ addMultiDeviceTarget(deviceName: "iPhone SE (3rd generation)"): Configuration;
441
469
  get visualGridOptions(): { [key: string]: any; };
442
470
  set visualGridOptions(visualGridOptions: { [key: string]: any; });
443
471
  getVisualGridOptions(): { [key: string]: any; };