Repository navigation
refactor: use ConditionUnmetError instead of message matching - #441
Merged
mykola-mokhnach merged 1 commit intoNov 7, 2026
Merged
mykola-mokhnach merged 1 commit into
mykola-mokhnach merged 1 commit into
Conversation
Bump asyncbox to ^6.6.0 and match the typed error with instanceof.
KazuCocoa
approved these changes
Nov 7, 2026
github-actions Bot
pushed a commit
that referenced
this pull request
Nov 9, 2026
## [5.0.0](v4.6.1...v5.0.0) (2026-11-09) ### ⚠ BREAKING CHANGES * Requires Appium ^4.0.0-beta.6 (peer dependency). No longer compatible with Appium 3. * Drops Node 20. The minimum is now ^22.22.2 || ^24.15.0 || >=26.0.0, matching Appium 4's engine range. * Driver API: createSession takes a single w3cCapabilities argument, following the Appium 4 base driver. This only matters to anyone subclassing Mac2Driver. * Default exports removed: the package no longer has a default export. Use the named export instead: import {Mac2Driver} from 'appium-mac2-driver'. The internal logger and constraints modules now use named exports too (log, MAC2_CONSTRAINTS). * Command methods live on the prototype: the command methods are attached to Mac2Driver.prototype (with declare module typings) rather than being instance fields, so subclasses can call super for them. ### Features * target Appium 4 beta ([#442](#442)) ([59e7605](59e7605)) ### Code Refactoring * use ConditionUnmetError instead of message matching ([#441](#441)) ([f2abf50](f2abf50))
|
🎉 This PR is included in version 5.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces message-based matching of
/Condition unmet/withinstanceof ConditionUnmetError(typed errors, asyncbox 6.6.0). Same change as appium/appium#23141.asyncboxto^6.6.0.