stripe-android
stripe-android copied to clipboard
Bump turbine from 0.8.0 to 0.11.0
Bumps turbine from 0.8.0 to 0.11.0.
Release notes
Sourced from turbine's releases.
0.11.0
Added
- Restore timeout support. By default a 1-second timeout will be enforced when awaiting an event. This can be customized by supplying a
timeoutargument or by using thewithTurbineTimeoutwrapper function. Timeouts will always use wall clock time even when using a virtual time dispatcher.Changed
- When
runTest(or anyTestCoroutineScheduler) is in use, switch to theUnconfinedTestSchedulerinternally to ensure virtual time remains working.0.10.0
Changed
- Remove
ReceiveTurbine.ignoreRemainingEventsfrom public API.Fixed
- Restore usage of
Unconfineddispatcher preventing value conflation (as much as possible) so that intermediate values can always be observed.0.9.0
FlowTurbineis now calledReceiveTurbine. This is the consume-only type with which you assert on events it has seen (historically only from aFlow).- New public
Turbinetype implementsReceiveTurbinebut also allows you write events from a data source. Use this to implement fakes or collect events from non-Flowstreams.- Extension functions on
ReceiveChannelprovideReceiveTurbine-like assertion capabilities.- Support for legacy JS has been removed. Only JS IR is now supported.
- Removed some APIs deprecated in 0.8.x.
Changelog
Sourced from turbine's changelog.
[0.11.0]
Added
- Restore timeout support. By default a 1-second timeout will be enforced when awaiting an event. This can be customized by supplying a
timeoutargument or by using thewithTurbineTimeoutwrapper function. Timeouts will always use wall clock time even when using a virtual time dispatcher.Changed
- When
runTest(or anyTestCoroutineScheduler) is in use, switch to theUnconfinedTestSchedulerinternally to ensure virtual time remains working.[0.10.0]
Changed
- Remove
ReceiveTurbine.ignoreRemainingEventsfrom public API.Fixed
- Restore usage of
Unconfineddispatcher preventing value conflation (as much as possible) so that intermediate values can always be observed.[0.9.0]
FlowTurbineis now calledReceiveTurbine. This is the consume-only type with which you assert on events it has seen (historically only from aFlow).- New public
Turbinetype implementsReceiveTurbinebut also allows you write events from a data source. Use this to implement fakes or collect events from non-Flowstreams.- Extension functions on
ReceiveChannelprovideReceiveTurbine-like assertion capabilities.- Support for legacy JS has been removed. Only JS IR is now supported.
- Removed some APIs deprecated in 0.8.x.
Commits
c806049Prepare version 0.11.00645f26Small useless tweaksbd023f0Copy Channel timeout tests into Flow and Flow-in-scope testsf118449Restore timeouts with wallclock time (#140)65bfc13Fix incorrect expectCompleteButWasErrorThrows testb0f10c6Fix bugs with expectRecentItem and error eventsbfc4558Centralize custom exception subtype for testsb4f99faUse test-specific unconfined when test scheduler is in use9b6c033Prepare next development versionae9549ePrepare version 0.10.0- 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 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)