Detox 20 (codename 🐈⬛ "Ashan") is finally shipped.
🎉 See our new blog post for more details:
https://wix.github.io/Detox/blog/2022/11/10/detox-20-is-out
Features
- JS: Logger API (#3333, @noomorph)
- JS: Internals API for third-party integrations (#3333)
- Config: Add new logger configs (#3333)
- Config: Add new testRunner configs (#3333)
- Config: Add
reversePorts
to Android app configs (#3610) - iOS: support --headless config (#3304, @asafkorem)
- Artifacts: New insights in
detox.trace.json
(#3333, @noomorph) - Artifacts: Unite
detox_pid_*.log
artifacts into a single log (#3333) - CLI: add
detox reset-lock-file
command (#3285)
Breaking changes
- JS: Set minimal Node requirement to 14.5.x (#3285)
- JS: Drop Mocha support (#3310)
- JS: Drop old Jest integrations (Jasmine and Jest Circus v1) (#3285)
- JS: Drop support for older Jest versions
<27.2.5
(#3392) - JS: Drop device.appLaunchArgs [options] argument (#3360)
- Config: Drop default "e2e" value for specs (#3289)
- Config: Drop
skipLegacyWorkersInjection
(#3286) - Config: Drop support for the all-in-one configuration format (#3386)
- Config: Remove legacy dash-based props (#3371)
- Config: Remove ios.none device type (#3361)
- Artifacts: Replace timeline plugin with log plugin (#3333)
- Android: Boot always read-only emulators by default (#3285)
- Android: Remove deprecated native IdlePolicyConfig (#3332, @d4vidi)
- CLI: drop --device-launch-args arg (#3665)
- CLI: drop
-o, --runner-config
(#3333)