From 7b408534633338099ddd208b79ff2833f2184016 Mon Sep 17 00:00:00 2001 From: Axel Niklasson Date: Thu, 13 Apr 2023 11:06:55 +0200 Subject: [PATCH] Prepare for release 1.26.0 (#987) Prepare for release 1.26.0. --- CHANGELOG.md | 21 +++++++++++++++++++++ gradle.properties | 2 +- maestro-cli/gradle.properties | 2 +- 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 659bdd2789..2a16540068 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,26 @@ # Changelog +## 1.26.0 - 2023-04-13 +* Feature: Adds Travel command to mock motion for app +* Feature: Adds a capability to match the toast messages +* Feature: Add support for console.log in javascript +* Feature: Allow writing inline flows with runFlow command +* Change: Adds sms permission to permission names which can be used to allow/deny: android.permission.READ_SMS, android.permission.RECIEVE_SMS, android.permission.SEND_SMS. Thanks, @depapp for the contribution. +* Change: Maestro can now also match hint text and values of text field. +* Change: Maestro can now also match elements with their accessibility text. +* Commands moved away from IDB: + * Long press is now done with XCTest instead of idb + * Installation of app is now done with simctl commands + * Hide keyboard with help of XCTest. We now scroll up and down from the middle of the screen to close the keyboard. + * Press key now is done with XCTest. + * Note that with this change pressKey: Enter now only wraps on new line - earlier it also closed the keyboard + * Erase text is now done with XCTest. + * Use simctl to record screen +* Fix: Web driver no longer crashes when using latest Chrome +* Fix: Fixes hideKeyboard on android by appropriately dispatching proper event. Thanks, @nhaarman for contribution +* Fix: Properly shutting down studio by listening to SIGTSP signal +* Fix: Update granting of notifications and health permissions causing simulator restarts and XCTestUnreachableExceptions. + ## 1.25.0 - 2023-03-13 * Fix: Shell environment variables can no longer crash the javascript runtime * Fix: XCTestRunner and IDB are restarted on connection error diff --git a/gradle.properties b/gradle.properties index 75caadf610..efeae9cabb 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,7 +2,7 @@ android.useAndroidX=true android.enableJetifier=true kotlin.code.style=official GROUP=dev.mobile -VERSION_NAME=1.25.1 +VERSION_NAME=1.26.0 POM_DESCRIPTION=Maestro is a server-driven platform-agnostic library that allows to drive tests for both iOS and Android using the same implementation through an intuitive API. POM_URL=https://github.com/mobile-dev-inc/maestro POM_SCM_URL=https://github.com/mobile-dev-inc/maestro diff --git a/maestro-cli/gradle.properties b/maestro-cli/gradle.properties index c34ad2ead7..9367e1f9bf 100644 --- a/maestro-cli/gradle.properties +++ b/maestro-cli/gradle.properties @@ -1 +1 @@ -CLI_VERSION=1.25.0 +CLI_VERSION=1.26.0