diff --git a/.changeset/dull-singers-rhyme.md b/.changeset/dull-singers-rhyme.md deleted file mode 100644 index 20286b98..00000000 --- a/.changeset/dull-singers-rhyme.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wdio/ocr-service": patch ---- - -fix: [657](#657) in multiremote, commands are now executed on the requested instances (ocrGetText no longer loop) diff --git a/.changeset/hot-rabbits-call.md b/.changeset/hot-rabbits-call.md deleted file mode 100644 index c3582de7..00000000 --- a/.changeset/hot-rabbits-call.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wdio/image-comparison-core": patch ---- - -chore: remove unused package diff --git a/.changeset/metal-ghosts-judge.md b/.changeset/metal-ghosts-judge.md deleted file mode 100644 index 3340979a..00000000 --- a/.changeset/metal-ghosts-judge.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wdio/visual-reporter": patch ---- - -fix: [990](#990)mclean script from package.json is now working on Windows diff --git a/.changeset/shy-coins-drive.md b/.changeset/shy-coins-drive.md deleted file mode 100644 index d790bccd..00000000 --- a/.changeset/shy-coins-drive.md +++ /dev/null @@ -1,76 +0,0 @@ ---- -"@wdio/image-comparison-core": major -"@wdio/visual-service": major -"@wdio/visual-reporter": patch -"@wdio/ocr-service": patch ---- - -## ๐Ÿ’ฅ Major Release: New @wdio/image-comparison-core Package - -### ๐Ÿ—๏ธ Architectural Refactor - -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. - -#### What was the problem? -- The old `webdriver-image-comparison` package was designed for generic webdriver usage -- Complex integration between generic and WDIO-specific code -- Limited test coverage (~58%) making maintenance difficult -- Mixed responsibilities between core logic and service integration - -#### What changed? -โœ… **New dedicated core package**: `@wdio/image-comparison-core` - purpose-built for WebdriverIO -โœ… **Cleaner architecture**: Modular design with clear separation of concerns -โœ… **Enhanced test coverage**: Improved from ~58% to ~90% across all metrics -โœ… **Better maintainability**: Organized codebase with comprehensive TypeScript interfaces -โœ… **WDIO-specific dependencies**: Only depends on `@wdio/logger`, `@wdio/types`, etc. - -### ๐Ÿงช Testing Improvements - -- **100% branch coverage** on critical decision points -- **Comprehensive unit tests** for all major functions -- **Optimized mocks** for complex scenarios -- **Better test isolation** and reliability - -| Before/After | % Stmts | % Branch | % Funcs | % Lines | -| ------------ | ------- | -------- | ------- | ------- | -| **Previous** | 58.59 | 91.4 | 80.71 | 58.59 | -| **After refactor** | 90.55 | 96.38 | 93.99 | 90.55 | - -### ๐Ÿ”ง Service Integration - -The `@wdio/visual-service` now imports from the new `@wdio/image-comparison-core` package while maintaining the same public API and functionality for users. - -### ๐Ÿ“ˆ Performance & Quality - -- **Modular architecture**: Easier to maintain and extend -- **Type safety**: Comprehensive TypeScript coverage -- **Clean exports**: Well-defined public API -- **Internal interfaces**: Proper separation of concerns - -### ๐Ÿ”„ Backward Compatibility - -โœ… **No breaking changes** for end users -โœ… **Same public API** maintained -โœ… **Existing configurations** continue to work -โœ… **All existing functionality** preserved - -### ๐ŸŽฏ Future Benefits - -This refactor sets the foundation for: -- Easier addition of new features -- Better bug fixing capabilities -- Enhanced mobile and native app support -- More reliable MultiRemote functionality - -### ๐Ÿ“ฆ Dependency Updates -- Updated most dependencies to their latest versions -- Improved security with latest package versions -- Better compatibility with current WebdriverIO ecosystem -- Enhanced performance through updated dependencies - ---- - -**Note**: This is an architectural improvement that modernizes the codebase while maintaining full backward compatibility. All existing functionality remains unchanged for users. - ---- - diff --git a/.changeset/upset-areas-wear.md b/.changeset/upset-areas-wear.md deleted file mode 100644 index 40f6e8c8..00000000 --- a/.changeset/upset-areas-wear.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wdio/visual-service": patch ---- - -fix: [983](#983 ) in multiremote, commands are now executed on the requested instances diff --git a/packages/image-comparison-core/CHANGELOG.md b/packages/image-comparison-core/CHANGELOG.md new file mode 100644 index 00000000..52cccacb --- /dev/null +++ b/packages/image-comparison-core/CHANGELOG.md @@ -0,0 +1,82 @@ +# @wdio/image-comparison-core + +## 1.0.0 + +### Major Changes + +- 1326e99: ## ๐Ÿ’ฅ Major Release: New @wdio/image-comparison-core Package + + ### ๐Ÿ—๏ธ Architectural Refactor + + 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. + + #### What was the problem? + + - The old `webdriver-image-comparison` package was designed for generic webdriver usage + - Complex integration between generic and WDIO-specific code + - Limited test coverage (~58%) making maintenance difficult + - Mixed responsibilities between core logic and service integration + + #### What changed? + + โœ… **New dedicated core package**: `@wdio/image-comparison-core` - purpose-built for WebdriverIO + โœ… **Cleaner architecture**: Modular design with clear separation of concerns + โœ… **Enhanced test coverage**: Improved from ~58% to ~90% across all metrics + โœ… **Better maintainability**: Organized codebase with comprehensive TypeScript interfaces + โœ… **WDIO-specific dependencies**: Only depends on `@wdio/logger`, `@wdio/types`, etc. + + ### ๐Ÿงช Testing Improvements + + - **100% branch coverage** on critical decision points + - **Comprehensive unit tests** for all major functions + - **Optimized mocks** for complex scenarios + - **Better test isolation** and reliability + + | Before/After | % Stmts | % Branch | % Funcs | % Lines | + | ------------------ | ------- | -------- | ------- | ------- | + | **Previous** | 58.59 | 91.4 | 80.71 | 58.59 | + | **After refactor** | 90.55 | 96.38 | 93.99 | 90.55 | + + ### ๐Ÿ”ง Service Integration + + The `@wdio/visual-service` now imports from the new `@wdio/image-comparison-core` package while maintaining the same public API and functionality for users. + + ### ๐Ÿ“ˆ Performance & Quality + + - **Modular architecture**: Easier to maintain and extend + - **Type safety**: Comprehensive TypeScript coverage + - **Clean exports**: Well-defined public API + - **Internal interfaces**: Proper separation of concerns + + ### ๐Ÿ”„ Backward Compatibility + + โœ… **No breaking changes** for end users + โœ… **Same public API** maintained + โœ… **Existing configurations** continue to work + โœ… **All existing functionality** preserved + + ### ๐ŸŽฏ Future Benefits + + This refactor sets the foundation for: + + - Easier addition of new features + - Better bug fixing capabilities + - Enhanced mobile and native app support + - More reliable MultiRemote functionality + + ### ๐Ÿ“ฆ Dependency Updates + + - Updated most dependencies to their latest versions + - Improved security with latest package versions + - Better compatibility with current WebdriverIO ecosystem + - Enhanced performance through updated dependencies + - Remove unused packages + + *** + + **Note**: This is an architectural improvement that modernizes the codebase while maintaining full backward compatibility. All existing functionality remains unchanged for users. + + *** + ## Committers: 1 + + - Wim Selles ([@wswebcreation](https://github.com/wswebcreation)) diff --git a/packages/image-comparison-core/package.json b/packages/image-comparison-core/package.json index 08f576f3..eb216d93 100644 --- a/packages/image-comparison-core/package.json +++ b/packages/image-comparison-core/package.json @@ -1,6 +1,6 @@ { "name": "@wdio/image-comparison-core", - "version": "0.0.1", + "version": "1.0.0", "author": "Wim Selles - wswebcreation", "description": "Image comparison core module for @wdio/visual-service - WebdriverIO visual testing framework", "keywords": [ diff --git a/packages/ocr-service/CHANGELOG.md b/packages/ocr-service/CHANGELOG.md index 088880dc..e4c90f5f 100644 --- a/packages/ocr-service/CHANGELOG.md +++ b/packages/ocr-service/CHANGELOG.md @@ -1,10 +1,20 @@ # @wdio/ocr-service +## 2.2.7 + +### Patch Changes + +- 75d31d1: fix: [657](#657) in multiremote, commands are now executed on the requested instances (ocrGetText no longer loop) + + ## Committers: 1 + + - P-Courteille ([@P-Courteille](https://github.com/P-Courteille)) + ## 2.2.6 ### Patch Changes -- 42956e4: ๐Ÿ”ง Other +- 42956e4: ๐Ÿ”ง Other - ๐Ÿ†™ Updated dependencies diff --git a/packages/ocr-service/package.json b/packages/ocr-service/package.json index 1ecd227e..33b95a91 100644 --- a/packages/ocr-service/package.json +++ b/packages/ocr-service/package.json @@ -2,7 +2,7 @@ "name": "@wdio/ocr-service", "author": "Wim Selles - wswebcreation", "description": "A WebdriverIO service that is using Tesseract OCR for Desktop/Mobile Web and Mobile Native App tests.", - "version": "2.2.6", + "version": "2.2.7", "license": "MIT", "homepage": "https://webdriver.io/docs/visual-testing", "repository": { diff --git a/packages/visual-reporter/CHANGELOG.md b/packages/visual-reporter/CHANGELOG.md index ca978d56..9a698552 100644 --- a/packages/visual-reporter/CHANGELOG.md +++ b/packages/visual-reporter/CHANGELOG.md @@ -1,10 +1,20 @@ # @wdio/visual-reporter +## 0.4.11 + +### Patch Changes + +- 3dbfa0e: fix: [990](#990)mclean script from package.json is now working on Windows + + ## Committers: 1 + + - P-Courteille ([@P-Courteille](https://github.com/P-Courteille)) + ## 0.4.10 ### Patch Changes -- 42956e4: ๐Ÿ”ง Other +- 42956e4: ๐Ÿ”ง Other - ๐Ÿ†™ Updated dependencies diff --git a/packages/visual-reporter/package.json b/packages/visual-reporter/package.json index 32335e14..99a81c00 100644 --- a/packages/visual-reporter/package.json +++ b/packages/visual-reporter/package.json @@ -2,7 +2,7 @@ "name": "@wdio/visual-reporter", "author": "Wim Selles - wswebcreation", "description": "Visual Testing HTML Report for the @wdio/visual-service module", - "version": "0.4.10", + "version": "0.4.11", "license": "MIT", "homepage": "https://webdriver.io/docs/visual-testing", "repository": { diff --git a/packages/visual-service/CHANGELOG.md b/packages/visual-service/CHANGELOG.md index 75195555..d220179b 100644 --- a/packages/visual-service/CHANGELOG.md +++ b/packages/visual-service/CHANGELOG.md @@ -1,5 +1,94 @@ # @wdio/visual-service +## 9.0.0 + +### Major Changes + +- 1326e99: ## ๐Ÿ’ฅ Major Release: New @wdio/image-comparison-core Package + + ### ๐Ÿ—๏ธ Architectural Refactor + + 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. + + #### What was the problem? + + - The old `webdriver-image-comparison` package was designed for generic webdriver usage + - Complex integration between generic and WDIO-specific code + - Limited test coverage (~58%) making maintenance difficult + - Mixed responsibilities between core logic and service integration + + #### What changed? + + โœ… **New dedicated core package**: `@wdio/image-comparison-core` - purpose-built for WebdriverIO + โœ… **Cleaner architecture**: Modular design with clear separation of concerns + โœ… **Enhanced test coverage**: Improved from ~58% to ~90% across all metrics + โœ… **Better maintainability**: Organized codebase with comprehensive TypeScript interfaces + โœ… **WDIO-specific dependencies**: Only depends on `@wdio/logger`, `@wdio/types`, etc. + + ### ๐Ÿงช Testing Improvements + + - **100% branch coverage** on critical decision points + - **Comprehensive unit tests** for all major functions + - **Optimized mocks** for complex scenarios + - **Better test isolation** and reliability + + | Before/After | % Stmts | % Branch | % Funcs | % Lines | + | ------------------ | ------- | -------- | ------- | ------- | + | **Previous** | 58.59 | 91.4 | 80.71 | 58.59 | + | **After refactor** | 90.55 | 96.38 | 93.99 | 90.55 | + + ### ๐Ÿ”ง Service Integration + + The `@wdio/visual-service` now imports from the new `@wdio/image-comparison-core` package while maintaining the same public API and functionality for users. + + ### ๐Ÿ“ˆ Performance & Quality + + - **Modular architecture**: Easier to maintain and extend + - **Type safety**: Comprehensive TypeScript coverage + - **Clean exports**: Well-defined public API + - **Internal interfaces**: Proper separation of concerns + + ### ๐Ÿ”„ Backward Compatibility + + โœ… **No breaking changes** for end users + โœ… **Same public API** maintained + โœ… **Existing configurations** continue to work + โœ… **All existing functionality** preserved + + ### ๐ŸŽฏ Future Benefits + + This refactor sets the foundation for: + + - Easier addition of new features + - Better bug fixing capabilities + - Enhanced mobile and native app support + - More reliable MultiRemote functionality + + ### ๐Ÿ“ฆ Dependency Updates + + - Updated most dependencies to their latest versions + - Improved security with latest package versions + - Better compatibility with current WebdriverIO ecosystem + - Enhanced performance through updated dependencies + + *** + + **Note**: This is an architectural improvement that modernizes the codebase while maintaining full backward compatibility. All existing functionality remains unchanged for users. + + *** + +### Patch Changes + +- be4272c: fix: [983](#983) in multiremote, commands are now executed on the requested instances +- Updated dependencies [74df53b] +- Updated dependencies [1326e99] + - @wdio/image-comparison-core@1.0.0 + + ## Committers: 2 + + - P-Courteille ([@P-Courteille](https://github.com/P-Courteille)) + - Wim Selles ([@wswebcreation](https://github.com/wswebcreation)) + ## 8.0.4 ### Patch Changes diff --git a/packages/visual-service/package.json b/packages/visual-service/package.json index 3a95ede2..0ee329a7 100644 --- a/packages/visual-service/package.json +++ b/packages/visual-service/package.json @@ -2,7 +2,7 @@ "name": "@wdio/visual-service", "author": "Wim Selles - wswebcreation", "description": "Image comparison / visual regression testing for WebdriverIO", - "version": "8.0.4", + "version": "9.0.0", "license": "MIT", "homepage": "https://webdriver.io/docs/visual-testing", "repository": {