Skip to content

Commit 208ce67

Browse files
Add migration doc
1 parent 52b2c3a commit 208ce67

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

docs/migration.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
### Breaking Changes in 2.0
2+
3+
In 2.0, the e_* methods have been renamed.
4+
5+
Old | New
6+
:--|:--
7+
`e_buttons` | `buttons`
8+
`e_s_texts` | `texts`
9+
`e_textfields` | `textfields`
10+
11+
All s_texts methods have been renamed.
12+
13+
Old | New
14+
:--|:--
15+
`s_text` | `text`
16+
`s_texts` | `texts`
17+
`first_s_text` | `first_text`
18+
`last_s_text` | `last_text`
19+
`s_text_exact` | `text_exact`
20+
`s_texts_exact` | `texts_exact`
21+
22+
Other changes:
23+
24+
Old | New
25+
:--|:--
26+
`press_for_duration` | `long_press`
27+
`current_context=` | `set_context`

0 commit comments

Comments
 (0)