Skip to content

Commit

Permalink
[skip ci] Publish 9.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rotemmiz committed Aug 31, 2018
1 parent 5ec01f6 commit b5c46d0
Show file tree
Hide file tree
Showing 10 changed files with 77 additions and 18 deletions.
32 changes: 27 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Change Log

## [9.0.1](https://github.com/wix/detox/tree/9.0.1) (2018-09-01)
[Full Changelog](https://github.com/wix/detox/compare/8.2.3...9.0.1)

**Enhancements**

- Allow to disable touch indicators on IOS [\#640](https://github.com/wix/detox/issues/640)

**Fixed Bugs**

- Multiple elements matched on action Swipe. [\#433](https://github.com/wix/detox/issues/433)

**Merged Pull Requests**

- RN 0.56.0 Android Support [\#910](https://github.com/wix/detox/pull/910) ([rotemmiz](https://github.com/rotemmiz))
- Register Espresso IdlingResources with new API [\#909](https://github.com/wix/detox/pull/909) ([rotemmiz](https://github.com/rotemmiz))
- Fix links in detox object docs [\#903](https://github.com/wix/detox/pull/903) ([fvonhoven](https://github.com/fvonhoven))
- build\_framework.ios.sh: echo/exit from current shell [\#900](https://github.com/wix/detox/pull/900) ([rye](https://github.com/rye))
- Add support for disabling touch indicators with launch args [\#899](https://github.com/wix/detox/pull/899) ([haswalt](https://github.com/haswalt))

## [8.2.3](https://github.com/wix/detox/tree/8.2.3) (2018-08-23)
[Full Changelog](https://github.com/wix/detox/compare/8.2.2...8.2.3)

## [8.2.2](https://github.com/wix/detox/tree/8.2.2) (2018-08-22)
[Full Changelog](https://github.com/wix/detox/compare/8.2.1...8.2.2)

Expand Down Expand Up @@ -477,7 +499,7 @@
- Add change log generation when publishing a version [\#409](https://github.com/wix/detox/issues/409)

## [5.10.1](https://github.com/wix/detox/tree/5.10.1) (2017-11-15)
[Full Changelog](https://github.com/wix/detox/compare/detox@5.10.0...5.10.1)
[Full Changelog](https://github.com/wix/detox/compare/detox-server@2.1.0...5.10.1)

**Fixed Bugs**

Expand All @@ -487,11 +509,11 @@

- New demo project for react native jest [\#370](https://github.com/wix/detox/pull/370) ([SMJ93](https://github.com/SMJ93))

## [detox@5.10.0](https://github.com/wix/detox/tree/detox@5.10.0) (2017-11-13)
[Full Changelog](https://github.com/wix/detox/compare/detox-server@2.1.0...detox@5.10.0)

## [detox-server@2.1.0](https://github.com/wix/detox/tree/detox-server@2.1.0) (2017-11-13)
[Full Changelog](https://github.com/wix/detox/compare/detox@5.9.3...detox-server@2.1.0)
[Full Changelog](https://github.com/wix/detox/compare/detox@5.10.0...detox-server@2.1.0)

## [detox@5.10.0](https://github.com/wix/detox/tree/detox@5.10.0) (2017-11-13)
[Full Changelog](https://github.com/wix/detox/compare/detox@5.9.3...detox@5.10.0)

**Enhancements**

Expand Down
2 changes: 1 addition & 1 deletion detox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"version": "8.2.3",
"version": "9.0.1",
"bin": {
"detox": "local-cli/detox.js"
},
Expand Down
4 changes: 2 additions & 2 deletions detox/test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"react-native": "0.56.0"
},
"devDependencies": {
"detox": "^8.0.0",
"detox": "^9.0.0",
"express": "^4.15.3",
"jest": "^22.3.0",
"lodash": "^4.14.1",
Expand Down Expand Up @@ -74,4 +74,4 @@
}
}
}
}
}
39 changes: 38 additions & 1 deletion docs/Guide.Migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,42 @@ title: Migration Guide

We are improving detox API as we go along, sometimes these changes require us to break the API in order for it to make more sense. These migration guides refer to breaking changes.

## Migrating from Detox 8.x.x to 9.x.x

Detox 9.0.0 brings latest Espresso (3.0.2), and React Native 56 support on Android.
Espresso 3.0.2 has a few mandatory dependency changes, which break the current setup for Detox users on Android.

Use this to diff to upgrade your dependencies, and follow Android Studio's in-editor guidance/lint support.

`android/app/build.gradle`

```diff

dependencies {
- implementation "com.android.support:appcompat-v7:27.0.2"
+ implementation "com.android.support:appcompat-v7:27.1.1"
implementation "com.facebook.react:react-native:+" // From node_modules
androidTestImplementation(project(path: ":detox"))
androidTestImplementation 'junit:junit:4.12'
- androidTestImplementation 'com.android.support.test:runner:1.0.1'
- androidTestImplementation 'com.android.support.test:rules:1.0.1'
+ androidTestImplementation 'com.android.support.test:runner:1.0.2'
+ androidTestImplementation 'com.android.support.test:rules:1.0.2'
```

`android/build.gradle`

```diff
dependencies {
- classpath 'com.android.tools.build:gradle:3.0.1'
+ classpath 'com.android.tools.build:gradle:3.1.4'
}
```

An example for the above changes can be found on [`demo-react-native` project](https://github.com/wix/detox/pull/914/files#diff-a4582798f3b7df5ccd62283b37b5573e)

More details about Espresso dependencies [here](https://developer.android.com/training/testing/espresso/setup)

## Migrating from Detox 7.x.x to 8.x.x

Detox 8.x.x brings support for test artifacts (videos, screenshot, logs), and to learn more about it you can refer to [Artifacts documentation](APIRef.Artifacts.md) and to [Detox CLI documentation](APIRef.DetoxCLI.md).
Expand All @@ -18,6 +54,7 @@ Detox 8 introduces adapters for both Mocha and Jest, wrapping the original `deto
you are encouraged to reuse the examples of `./e2e/init.js` for [mocha](/examples/demo-react-native/e2e/init.js) and [jest](/examples/demo-react-native-jest/e2e/init.js). The gist is brought in the following sections:

##### *Mocha*

```js
const detox = require('detox');
const config = require('../package.json').detox;
Expand Down Expand Up @@ -244,7 +281,7 @@ The new configuration holds a dictionary of `configurations`.
You will now be able to run builds and tests from your command line `detox build` and `detox test`, read more about CLI tools [here]()
## Migrating from Detox 3.x.x to 4.x.x
If you have integrated with detox in version 3.x.x, you will need to clean your project from previously generated targets.
If you have integrated with Detox in version 3.x.x, you will need to clean your project from previously generated targets.
* Use the provided `cleanup_4.0.rb` to remove unneeded changes made with Detox 4.x.x.
Expand Down
2 changes: 1 addition & 1 deletion examples/demo-native-android/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"devDependencies": {
"mocha": "^4.0.0",
"detox": "^8.0.0"
"detox": "^9.0.0"
},
"detox": {}
}
4 changes: 2 additions & 2 deletions examples/demo-native-ios/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"devDependencies": {
"mocha": "^4.0.0",
"detox": "^8.0.0"
"detox": "^9.0.0"
},
"detox": {
"specs": "e2e",
Expand All @@ -23,4 +23,4 @@
}
}
}
}
}
4 changes: 2 additions & 2 deletions examples/demo-react-native-jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"devDependencies": {
"babel-jest": "21.2.0",
"babel-preset-react-native": "4.0.0",
"detox": "^8.0.0",
"detox": "^9.0.0",
"jest": "21.2.1",
"react-test-renderer": "16.0.0-beta.5"
},
Expand Down Expand Up @@ -48,4 +48,4 @@
}
}
}
}
}
4 changes: 2 additions & 2 deletions examples/demo-react-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "example",
"version": "8.2.3",
"version": "9.0.1",
"private": true,
"scripts": {
"start": "react-native start"
Expand All @@ -10,7 +10,7 @@
"react-native": "0.51.1"
},
"devDependencies": {
"detox": "^8.2.3",
"detox": "^9.0.1",
"mocha": "^4.0.1"
},
"detox": {
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
]
}
},
"version": "8.2.3",
"version": "9.0.1",
"npmClient": "npm"
}
2 changes: 1 addition & 1 deletion scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ git add -A
git commit -m "[skip ci] Publish $VERSION"
git tag "$VERSION"
git push
git push --tags
git push --tags

0 comments on commit b5c46d0

Please sign in to comment.