woocommerce-android
woocommerce-android copied to clipboard
Bump app.cash.turbine:turbine from 0.8.0 to 1.0.0
Bumps app.cash.turbine:turbine from 0.8.0 to 1.0.0.
Release notes
Sourced from app.cash.turbine:turbine's releases.
1.0.0
Added
- Add
turbineScopeDSL function which is now required for usingtestIn. This ensures that exceptions which occur within the test are no longer potentially lost.Changed
- Failed
Turbines which occur while testing aFlow(usingtest { }) will now have their failures eagerly reported.- Build with Kotlin 1.8.22 and kotlinx.coroutines 1.7.1. Note: Future releases will not highlight the Kotlin or coroutines version unless important for some other reason.
0.13.0
Added
- New Kotlin/Native targets:
androidNativeArm32androidNativeArm64androidNativeX86androidNativeX64linuxArm64watchosDeviceArm64Changed
- Build with Kotlin 1.8.21
Note: This version has a transitive dependency on kotlinx.coroutines 1.7.0. If you are an Android user, you should be depending on kotlinx.coroutines 1.7.1 which graciously fixes a binary incompatibility with a Compose testing artifact (because they failed to heed its opt-in annotation which indicated that it was not a stable API).
0.12.3
Fixed
- Ensure JVM classes target Java 8 rather than implicitly using the build JDK version.
0.12.2
Changed
- The default wall-clock timeout used to wait for an event has been increased from 1s to 3s.
Fixed
- The exception thrown when no events have been received now includes the original timeout exception as its cause. This ensures the stacktrace contains the caller file and line information.
- Ensure
expectNoEvents()fails if a completion or exception event occurred.- Differentiate timeout and cancellation exceptions thrown from Turbine's own event timeout (which are thrown) from those which occur within the flow under test (which are available via
awaitError()).0.12.1
Changed
- Build with Kotlin 1.7.20
Fixed
takeItem()no longer throws an exception when returning anullvalue.await-prefixed methods no longer interfere with virtual time control from aTestScheduler(such as insiderunTest).0.12.0
Added
- Support specifying a human-readable name for differentiating the failures of multiple Turbines
Fixed
- Properly catch all
Throwablesubtypes from failures in flows and channels as events.
... (truncated)
Changelog
Sourced from app.cash.turbine:turbine's changelog.
[1.0.0] - 2023-05-21
Added
- Add
turbineScopeDSL function which is now required for usingtestIn. This ensures that exceptions which occur within the test are no longer potentially lost.Changed
- Failed
Turbines which occur while testing aFlow(usingtest { }) will now have their failures eagerly reported.- Build with Kotlin 1.8.22 and kotlinx.coroutines 1.7.1. Note: Future releases will not highlight the Kotlin or coroutines version unless important for some other reason.
[0.13.0] - 2023-05-11
Added
- New Kotlin/Native targets:
androidNativeArm32androidNativeArm64androidNativeX86androidNativeX64linuxArm64watchosDeviceArm64Changed
- Build with Kotlin 1.8.21
Note: This version has a transitive dependency on kotlinx.coroutines 1.7.0. If you are an Android user, you should be depending on kotlinx.coroutines 1.7.1 which graciously fixes a binary incompatibility with a Compose testing artifact (because they failed to heed its opt-in annotation which indicated that it was not a stable API).
[0.12.3]
Fixed
- Ensure JVM classes target Java 8 rather than implicitly using the build JDK version.
[0.12.2]
Changed
- The default wall-clock timeout used to wait for an event has been increased from 1s to 3s.
Fixed
- The exception thrown when no events have been received now includes the original timeout exception as its cause. This ensures the stacktrace contains the caller file and line information.
- Ensure
expectNoEvents()fails if a completion or exception event occurred.- Differentiate timeout and cancellation exceptions thrown from Turbine's own event timeout (which are thrown) from those which occur within the flow under test (which are available via
awaitError()).[0.12.1]
Changed
- Build with Kotlin 1.7.20
Fixed
takeItem()no longer throws an exception when returning anullvalue.await-prefixed methods no longer interfere with virtual time control from aTestScheduler(such as insiderunTest).[0.12.0]
... (truncated)
Commits
9f9d365Prepare version 1.0.07899006Rename turbine to turbineScope (#244)55853ebDelete unused function (#242)b63b6c7Remove data class usage (#241)2fc16c5Use default methods on the JVM (#240)bfae3baAdd Kotlin API dump plugin (#239)ae9f924Force usage of turbinescope (#238)52970abIntroduce turbine { ... } API (#237)61b1872Report additional failing turbines (#233)c7c3a68Update plugin kotlin to v1.8.22 (#236)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.
| App Name | WooCommerce Android | |
| Flavor | Jalapeno | |
| Build Type | Debug | |
| Commit | 16134b86e1eb9e91164dc2d970c7765fd1dc18b2 | |
| Direct Download | woocommerce-prototype-build-pr10672-16134b8.apk |
@dependabot rebase
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
cae1202) 41.22% compared to head (d2adf11) 41.28%.
:exclamation: Current head d2adf11 differs from pull request most recent head 16134b8. Consider uploading reports for the commit 16134b8 to get more accurate results
Additional details and impacted files
@@ Coverage Diff @@
## trunk #10672 +/- ##
============================================
+ Coverage 41.22% 41.28% +0.05%
Complexity 5057 5057
============================================
Files 1028 1027 -1
Lines 59415 59320 -95
Branches 7971 7944 -27
============================================
- Hits 24494 24489 -5
+ Misses 32748 32660 -88
+ Partials 2173 2171 -2
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@dependabot rebase