Releases: webdriverio-community/wdio-electron-service
Releases · webdriverio-community/wdio-electron-service
Release 6.1.0
New:
- Mocking has been reworked again for a much improved, more Vitest-like experience (#346)
- Mock objects now auto-update
mockImplementation
, mockReturnValue
and "once" variants are supported
- Utilities and config options for clearing, resetting and restoring all mocks
Fixed:
- The service doesn't delay test execution until a BrowserWindow is available (#340)
Documentation:
- Rework of documentation - now using
docs
directory, README is streamlined (#346)
- Updated mocking documentation for the new approach (#346)
Developer:
- CI: release script distTag is now hooked up to release-it (#342)
- Test: Improved unit test coverage (#344)
- Miscellaneous type improvements
- Updated dependencies
Full Changelog
Release 6.0.2
Fixed:
- Log entries for
execute
display the CONTEXT_BRIDGE_NOT_AVAILABLE error message string (#338)
- Single instance multiremote
execute
calls return an array of values (#329)
Developer:
- Refactored types, mostly around the CJS entrypoint (#325)
- Test: added retries to the E2Es to work around flaky interaction specs (#336)
- Test: updated vitest config for more accurate coverage (c4cee46), (30d9410), (262d192)
- Updated dependencies
Full Changelog
Release 6.0.1
Developer:
- Test: added E2Es for an app built with
electron-builder
(#323)
- Updated electron to v28 everywhere (5bf5b37)
Full Changelog
Release 6.0.0
New:
- Improved mocking of Electron main process APIs (#255)
- Interface similar to Jest / Vitest
- Previous Electron API access methods removed in favour of
execute
(2dadcae)
Documentation:
- Updated for new mocking approach (5b3f4cf)
- Previous Electron API access methods removed (25e94e3)
Developer:
- Test: Added units for
execute
(4bd0dcf)
- Updated dependencies
Full Changelog
Release 5.4.0
New:
- Support function execution in main process (#254) (d58b62d)
- This is the new mechanism for Electron API access
- Previous API mechanisms will still be available until v6
Documentation:
- Fixed electron-boilerplate link (8c5e24f)
Developer:
- Updated electron 28 (used in ESM example) to beta (c52c361)
Full Changelog
Release 5.3.0
New:
- Improved build tool config handling (#245) (b0fadd3)
- Support for
electron-builder.json
- Support for
forge.config.js
- Custom JS config file support (Electron Forge)
- More error cases handled - multiple build tools, no build tools, no app name
- App name read from Forge config
Fixed:
- Detected app existence check returning false positives (8cb8159)
- CI: unnecessary recursive install on release (676cdfc)
Documentation:
- Removed reference to getBinaryPath util (6217116)
- Minor tweaks
Developer:
- Electron Forge now used in example-cjs (#243) (107d4f1)
- CI: Added auto update action for dependabot (6c8f329)
- CI: Updated PNPM in actions (48933da), (f334c63)
- Updated dependencies
Full Changelog
Release 5.2.2
Fixed:
- Set Electron APIs on browser object when multiremote (#223) (092ee8d)
Developer:
- Added integration tests for multiremote (092ee8d)
Documentation:
Full Changelog
Release 5.2.1
Fixed:
- When detecting app binary path the productName can also be in package.json root (2ad7808)
- CI: use correct email for release action (52ab84d)
Full Changelog
Release 5.2.0
New:
- Automatic detection of app binary path for electron builder and forge (#222) (080ced8)
Developer:
- CI: release action - make release type a selection (0a8eca3)
Full Changelog