Skip to content

Commit

Permalink
1.8.1 changelog (appium#10667)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgraham authored May 17, 2018
1 parent 001e2f3 commit c62355e
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 2 deletions.
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
CHANGES IN VERSION 1.8.1 (from 1.8.0)
===================================

Appium 1.8.1 introduces multiple fixes and features. Most notably, it improves the performance of XCUITest
getPageSource.

#### General
* Fix shrinkwrap problem caused due to package-lock being set to false (#10660)

#### iOS
* Add keyboard presence verification endpoint (see http://appium.io/docs/en/commands/device/keys/is-keyboard-shown/)
* Add `mobile:startLogsBroadcast` feature (see http://appium.io/docs/en/commands/mobile-command/)
* Add cap called `realDeviceScreenshotter` to use idevicescreenshot for real device screenshots
* Add application platform verification
* Validates that `webdriverAgentUrl` capability is a valid URL
* Add an extension to retrieve battery info from a real device
* Fix Safari console log retrieval

#### Android
* Return the current connection state instead of undefined for setNetworkConnection
* Add a possibility to include stderr output into adb:shell call (see https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/android-shell.md#supported-arguments)
* Add flags argument to pressKeyCode so it is possible to generate IME actions if needed (UIAutomator2 only)
* Add a cap called `userProfile` which is an integer to enforce user profile while launching applications
* Make it possible to retrieve a battery info from the device under test (mobile:batteryInfo)
* Add `deviceApiLevel` to returned session capabilities (UIAutomator2 only)
* Fix passing suppressKillServer option while creating ADB instance
* Improve performance of swipe unlock action
* Improve restore from background behaviour

CHANGES IN VERSION 1.8.0 (from 1.7.2)
===================================

Expand Down Expand Up @@ -295,6 +324,8 @@ the automation process configurable.
* Fix licensing in all dependencies.

#### Android
* Added handlers for basic system alerts, so now it is possible to accept/decline/get text of the most of
them using the standard Selenium's switchTo().alert() interface (UIA2 only)
* Fix backgrounding of app.
* Add `androidInstallPath` capability to specify where on the device apps are installed.
* Speed up taking screenshots on Android 5.0 and higher devices.
Expand Down
5 changes: 4 additions & 1 deletion commands-yml/commands/device/keys/long-press-keycode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ endpoint:
description: Key code pressed on the device. See [Key Event](http://developer.android.com/reference/android/view/KeyEvent.html).
- name: metastate
type: number
description: Metastate for the keypress
description: Metastate for the keypress. See [Key Event](http://developer.android.com/reference/android/view/KeyEvent.html).
- name: flags
type: number
description: Flags for the keypress. See [Key Event](http://developer.android.com/reference/android/view/KeyEvent.html).

# Links to specifications. Should link to at least one specification
specifications:
Expand Down
5 changes: 4 additions & 1 deletion commands-yml/commands/device/keys/press-keycode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ endpoint:
description: Key code pressed on the device. See [Key Event](http://developer.android.com/reference/android/view/KeyEvent.html).
- name: metastate
type: number
description: Metastate for the keypress
description: Metastate for the keypress. See [Key Event](http://developer.android.com/reference/android/view/KeyEvent.html).
- name: flags
type: number
description: Flags for the keypress. See [Key Event](http://developer.android.com/reference/android/view/KeyEvent.html).

# Links to specifications. Should link to at least one specification
specifications:
Expand Down
3 changes: 3 additions & 0 deletions commands-yml/commands/mobile-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@
| mobile:shell | Execute [ADB shell](https://developer.android.com/studio/command-line/adb#shellcommands) commands (requires [server flag](/writing-running-appium/server-args/#server-flags) `--relaxed-security` to be set) | ADB shell string | `am start -n com.example.demo/com.example.test.MainActivity` |
| mobile:startLogsBroadcast | Starts Android logcat broadcast websocket on the same host and port where Appium is running at `/ws/session/:sessionId:/appium/logcat` endpoint | <none> | <none> |
| mobile:stopLogsBroadcast | Stops the logcat broadcasting websocket server started by `mobile:startLogsBroadcast` | <none> | <none> |
| mobile:batteryInfo | Reads the battery information from the device under test | <none> | <none> |
| mobile:acceptAlert | Accepts an on-screen alert | Optional button label to click on | <none> |
| mobile:dismissAlert | Dismisses an on-screen alert | Optional button label to click on | <none> |

### Android (UiAutomator2 only)
| Command | Description | Argument | Argument Example |
Expand Down

0 comments on commit c62355e

Please sign in to comment.