Skip to content

Commit 8b49c62

Browse files
github-actions[bot]wdio-botwswebcreation
authored
Version Packages (#999)
* chore: release [skip ci] * Update packages/image-comparison-core/CHANGELOG.md * Update packages/image-comparison-core/CHANGELOG.md * Update packages/image-comparison-core/CHANGELOG.md * Update CHANGELOG.md * Update CHANGELOG.md * Update CHANGELOG.md --------- Co-authored-by: WebdriverIO Release Bot <[email protected]> Co-authored-by: Wim Selles <[email protected]>
1 parent 74df53b commit 8b49c62

File tree

13 files changed

+197
-102
lines changed

13 files changed

+197
-102
lines changed

.changeset/dull-singers-rhyme.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/hot-rabbits-call.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/metal-ghosts-judge.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/shy-coins-drive.md

Lines changed: 0 additions & 76 deletions
This file was deleted.

.changeset/upset-areas-wear.md

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
# @wdio/image-comparison-core
2+
3+
## 1.0.0
4+
5+
### Major Changes
6+
7+
- 1326e99: ## 💥 Major Release: New @wdio/image-comparison-core Package
8+
9+
### 🏗️ Architectural Refactor
10+
11+
This release introduces a **completely new core architecture** with the dedicated `@wdio/image-comparison-core` package, replacing the generic `webdriver-image-comparison` module with a WDIO-specific solution.
12+
13+
#### What was the problem?
14+
15+
- The old `webdriver-image-comparison` package was designed for generic webdriver usage
16+
- Complex integration between generic and WDIO-specific code
17+
- Limited test coverage (~58%) making maintenance difficult
18+
- Mixed responsibilities between core logic and service integration
19+
20+
#### What changed?
21+
22+
**New dedicated core package**: `@wdio/image-comparison-core` - purpose-built for WebdriverIO
23+
**Cleaner architecture**: Modular design with clear separation of concerns
24+
**Enhanced test coverage**: Improved from ~58% to ~90% across all metrics
25+
**Better maintainability**: Organized codebase with comprehensive TypeScript interfaces
26+
**WDIO-specific dependencies**: Only depends on `@wdio/logger`, `@wdio/types`, etc.
27+
28+
### 🧪 Testing Improvements
29+
30+
- **100% branch coverage** on critical decision points
31+
- **Comprehensive unit tests** for all major functions
32+
- **Optimized mocks** for complex scenarios
33+
- **Better test isolation** and reliability
34+
35+
| Before/After | % Stmts | % Branch | % Funcs | % Lines |
36+
| ------------------ | ------- | -------- | ------- | ------- |
37+
| **Previous** | 58.59 | 91.4 | 80.71 | 58.59 |
38+
| **After refactor** | 90.55 | 96.38 | 93.99 | 90.55 |
39+
40+
### 🔧 Service Integration
41+
42+
The `@wdio/visual-service` now imports from the new `@wdio/image-comparison-core` package while maintaining the same public API and functionality for users.
43+
44+
### 📈 Performance & Quality
45+
46+
- **Modular architecture**: Easier to maintain and extend
47+
- **Type safety**: Comprehensive TypeScript coverage
48+
- **Clean exports**: Well-defined public API
49+
- **Internal interfaces**: Proper separation of concerns
50+
51+
### 🔄 Backward Compatibility
52+
53+
**No breaking changes** for end users
54+
**Same public API** maintained
55+
**Existing configurations** continue to work
56+
**All existing functionality** preserved
57+
58+
### 🎯 Future Benefits
59+
60+
This refactor sets the foundation for:
61+
62+
- Easier addition of new features
63+
- Better bug fixing capabilities
64+
- Enhanced mobile and native app support
65+
- More reliable MultiRemote functionality
66+
67+
### 📦 Dependency Updates
68+
69+
- Updated most dependencies to their latest versions
70+
- Improved security with latest package versions
71+
- Better compatibility with current WebdriverIO ecosystem
72+
- Enhanced performance through updated dependencies
73+
- Remove unused packages
74+
75+
***
76+
77+
**Note**: This is an architectural improvement that modernizes the codebase while maintaining full backward compatibility. All existing functionality remains unchanged for users.
78+
79+
***
80+
## Committers: 1
81+
82+
- Wim Selles ([@wswebcreation](https://github.com/wswebcreation))

packages/image-comparison-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wdio/image-comparison-core",
3-
"version": "0.0.1",
3+
"version": "1.0.0",
44
"author": "Wim Selles - wswebcreation",
55
"description": "Image comparison core module for @wdio/visual-service - WebdriverIO visual testing framework",
66
"keywords": [

packages/ocr-service/CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
11
# @wdio/ocr-service
22

3+
## 2.2.7
4+
5+
### Patch Changes
6+
7+
- 75d31d1: fix: [657](#657) in multiremote, commands are now executed on the requested instances (ocrGetText no longer loop)
8+
9+
## Committers: 1
10+
11+
- P-Courteille ([@P-Courteille](https://github.com/P-Courteille))
12+
313
## 2.2.6
414

515
### Patch Changes
616

7-
- 42956e4: 🔧 Other
17+
- 42956e4: 🔧 Other
818

919
- 🆙 Updated dependencies
1020

packages/ocr-service/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@wdio/ocr-service",
33
"author": "Wim Selles - wswebcreation",
44
"description": "A WebdriverIO service that is using Tesseract OCR for Desktop/Mobile Web and Mobile Native App tests.",
5-
"version": "2.2.6",
5+
"version": "2.2.7",
66
"license": "MIT",
77
"homepage": "https://webdriver.io/docs/visual-testing",
88
"repository": {

packages/visual-reporter/CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
11
# @wdio/visual-reporter
22

3+
## 0.4.11
4+
5+
### Patch Changes
6+
7+
- 3dbfa0e: fix: [990](#990)mclean script from package.json is now working on Windows
8+
9+
## Committers: 1
10+
11+
- P-Courteille ([@P-Courteille](https://github.com/P-Courteille))
12+
313
## 0.4.10
414

515
### Patch Changes
616

7-
- 42956e4: 🔧 Other
17+
- 42956e4: 🔧 Other
818

919
- 🆙 Updated dependencies
1020

0 commit comments

Comments
 (0)