Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/dull-singers-rhyme.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hot-rabbits-call.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/metal-ghosts-judge.md

This file was deleted.

76 changes: 0 additions & 76 deletions .changeset/shy-coins-drive.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/upset-areas-wear.md

This file was deleted.

80 changes: 80 additions & 0 deletions packages/image-comparison-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# @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.

***

2 changes: 1 addition & 1 deletion packages/image-comparison-core/package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
80 changes: 79 additions & 1 deletion packages/ocr-service/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,88 @@
# @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)
- 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.

***

## 2.2.6

### Patch Changes

- 42956e4: πŸ”§ Other
- 42956e4: πŸ”§ Other

- πŸ†™ Updated dependencies

Expand Down
2 changes: 1 addition & 1 deletion packages/ocr-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
80 changes: 79 additions & 1 deletion packages/visual-reporter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,88 @@
# @wdio/visual-reporter

## 0.4.11

### Patch Changes

- 3dbfa0e: fix: [990](#990)mclean script from package.json is now working on Windows
- 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.

***

## 0.4.10

### Patch Changes

- 42956e4: πŸ”§ Other
- 42956e4: πŸ”§ Other

- πŸ†™ Updated dependencies

Expand Down
2 changes: 1 addition & 1 deletion packages/visual-reporter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Loading
Loading