Update dependency pointfreeco/swift-composable-architecture to v0.59.0 #31
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.51.0
->0.59.0
Release Notes
pointfreeco/swift-composable-architecture (pointfreeco/swift-composable-architecture)
v0.59.0
Compare Source
What's Changed
Store.send
(https://github.com/pointfreeco/swift-composable-architecture/pull/2382).debounce
andthrottle
overloads restored in 1.1.0 (thanks @pyrtsa, https://github.com/pointfreeco/swift-composable-architecture/pull/2392).Full Changelog: pointfreeco/swift-composable-architecture@0.58.2...0.59.0
v0.58.2
Compare Source
What's Changed
TestStore.init
(thanks @AndreaRomani, https://github.com/pointfreeco/swift-composable-architecture/pull/2378).New Contributors
Full Changelog: pointfreeco/swift-composable-architecture@0.58.1...0.58.2
v0.58.1
Compare Source
What's Changed
Full Changelog: pointfreeco/swift-composable-architecture@0.58.0...0.58.1
v0.58.0
Compare Source
What's Changed
BindingViewState
(https://github.com/pointfreeco/swift-composable-architecture/pull/2334).Full Changelog: pointfreeco/swift-composable-architecture@0.57.0...0.58.0
v0.57.0
Compare Source
What's Changed
BindingAction
's custom dump format now abbreviates its value (https://github.com/pointfreeco/swift-composable-architecture/pull/2315).Store.publisher
as an alternate toViewStore.publisher
(https://github.com/pointfreeco/swift-composable-architecture/pull/2330).Task.cancellableValue
instead of redefining it (thanks @Ryu0118, https://github.com/pointfreeco/swift-composable-architecture/pull/2310).TestStore.init(initialState:reducer:prepareDependencies:file:line:)
deprecation suggestion has been corrected (thanks @Ryu0118, https://github.com/pointfreeco/swift-composable-architecture/pull/2313).Store.send(_ action:)
to returnStoreTask
(thanks @hj56775, https://github.com/pointfreeco/swift-composable-architecture/pull/2323).await
s from tests (thanks @Ryu0118, https://github.com/pointfreeco/swift-composable-architecture/pull/2312).withTaskCancellation
's debounce documentation (thanks @brzzdev, https://github.com/pointfreeco/swift-composable-architecture/pull/2319).Full Changelog: pointfreeco/swift-composable-architecture@0.56.0...0.57.0
v0.56.0
Compare Source
What's Changed
TestStore.useMainSerialExecutor
, a configurable option to make testing code using Swift concurrency more reliable (https://github.com/pointfreeco/swift-composable-architecture/pull/2301 ). This feature uses a newly-extracted library, Concurrency Extras.Store.send
can now be configured with an animation or transaction (thanks @HarshilShah, https://github.com/pointfreeco/swift-composable-architecture/pull/2241).TestStoreOf
type alias for specifying a test store of a reducer (thanks @brzzdev, https://github.com/pointfreeco/swift-composable-architecture/pull/2277).ViewStoreTask.cancel
is now synchronous (https://github.com/pointfreeco/swift-composable-architecture/pull/2282).AnyHashable
s, fixing potential bugs (https://github.com/pointfreeco/swift-composable-architecture/pull/2283).navigationDestination(store:)
dismissal should now work more reliably (thanks @tplaymeow, https://github.com/pointfreeco/swift-composable-architecture/pull/2210; https://github.com/pointfreeco/swift-composable-architecture/pull/2284).TestStore
scoping has been deprecated (https://github.com/pointfreeco/swift-composable-architecture/pull/2292).New Contributors
Full Changelog: pointfreeco/swift-composable-architecture@0.55.1...0.56.0
v0.55.1
Compare Source
What's Changed
BindingViewStore
's dynamic member lookup has been weakened to supportlet
properties (https://github.com/pointfreeco/swift-composable-architecture/pull/2243).BindingAction
to fail has been fixed (thanks @bharath2020, https://github.com/pointfreeco/swift-composable-architecture/pull/2248).WithViewStore
initializers that takeBindingViewStore
are now available onViewStore
, as well (thanks @jessetipton, https://github.com/pointfreeco/swift-composable-architecture/pull/2274).WithViewStore
initializers introduced in 0.55.0 were ambiguous when working with bindable state but no bindable view state. This has been fixed (https://github.com/pointfreeco/swift-composable-architecture/pull/2278).BindingViewState
that SwiftUI failed to observe will now correctly be observed (https://github.com/pointfreeco/swift-composable-architecture/pull/2255).New Contributors
Full Changelog: pointfreeco/swift-composable-architecture@0.55.0...0.55.1
v0.55.0
Compare Source
What's Changed
Store.send
andStore.withState
have been added, for sending actions to stores and accessing store state without needing a view store (https://github.com/pointfreeco/swift-composable-architecture/pull/2222).ReducerProtocol.onChange
(https://github.com/pointfreeco/swift-composable-architecture/pull/2226).EffectOf<Reducer>
convenience type alias toEffectTask<Reducer.Action>
(https://github.com/pointfreeco/swift-composable-architecture/pull/2237).swiftui-navigation
has been bumped to 0.8.0 (https://github.com/pointfreeco/swift-composable-architecture/pull/2239).TestStore
failure messages have been improved (https://github.com/pointfreeco/swift-composable-architecture/pull/2227, https://github.com/pointfreeco/swift-composable-architecture/pull/2236).ForEachStore
no longer force-unwraps its cached value, avoiding crashes in race condition-heavy code (thanks @ohitsdaniel, https://github.com/pointfreeco/swift-composable-architecture/pull/1036).Effect.cancel(ids:)
has been deprecated (https://github.com/pointfreeco/swift-composable-architecture/pull/2221).New Contributors
Full Changelog: pointfreeco/swift-composable-architecture@0.54.1...0.55.0
v0.54.1
Compare Source
What's Changed
@inlineable
attributes to work around this bug (https://github.com/pointfreeco/swift-composable-architecture/pull/2201). While we don't anticipate noticeable runtime performance regressions in release builds of applications, please report any issues you may see.New Contributors
Full Changelog: pointfreeco/swift-composable-architecture@0.54.0...0.54.1
v0.54.0
Compare Source
What's Changed
Added: All-new navigation tools for presenting child features (https://github.com/pointfreeco/swift-composable-architecture/pull/1945, https://github.com/pointfreeco/swift-composable-architecture/discussions/1944, https://github.com/pointfreeco/swift-composable-architecture/discussions/2048).
See the associated documentation and tutorial for how to incorporate these tools into your applications today!
Added:
TestStore.assert
, for asserting state changes on non-exhaustive stores at any time (https://github.com/pointfreeco/swift-composable-architecture/pull/2123).Fixed: Ensure that a test store helper runs on the main actor (https://github.com/pointfreeco/swift-composable-architecture/pull/2117).
Added: Ukrainian translation of TCA's README (thanks @barabashd, https://github.com/pointfreeco/swift-composable-architecture/pull/2121).
Infrastructure: DocC organization (https://github.com/pointfreeco/swift-composable-architecture/pull/2118).
Infrastructure: Ensure CI runs library tests in release (https://github.com/pointfreeco/swift-composable-architecture/pull/2120).
Fix assertion values by @tomassliz in https://github.com/pointfreeco/swift-composable-architecture/pull/2128
Infrastructure: Documentation fixes (thanks @tomassliz, https://github.com/pointfreeco/swift-composable-architecture/pull/2124, https://github.com/pointfreeco/swift-composable-architecture/pull/2128; @jaesung-0o0, https://github.com/pointfreeco/swift-composable-architecture/pull/2144).
New Contributors
Full Changelog: pointfreeco/swift-composable-architecture@0.53.2...0.54.0
v0.53.2
Compare Source
What's Changed
Send
sendable (https://github.com/pointfreeco/swift-composable-architecture/pull/2112)receive
now waits for the expected action rather than taking the first action (thanks @alex-reilly-pronto, https://github.com/pointfreeco/swift-composable-architecture/pull/2100)New Contributors
Full Changelog: pointfreeco/swift-composable-architecture@0.53.1...0.53.2
v0.53.1
Compare Source
What's Changed
TestStore.init
'sprepareDependencies
was called twice. It will not be called just a single time again (https://github.com/pointfreeco/swift-composable-architecture/pull/2111).Full Changelog: pointfreeco/swift-composable-architecture@0.53.0...0.53.1
v0.53.0
Compare Source
What's Changed
Added:
Store.init
andTestStore.init
now take reducer builders (https://github.com/pointfreeco/swift-composable-architecture/pull/2087).Changed:
SwitchStore
has gotten some quality-of-life improvements (https://github.com/pointfreeco/swift-composable-architecture/pull/2029).SwitchStore.init
can now take the initial enum state so that it can be switched over exhaustively. This initializer also relaxes certain compile-time constraints previously requiring onlyCaseLet
views and an optional, trailingDefault
view.CaseLet
can now omit thestate
parameter label, making it more consistent with other APIs, likeReducer.ifCaseLet
.The older
SwitchStore
andCaseLet
initializers have been soft-deprecated along with theDefault
view.Changed:
WithViewStore.debug
has been renamed toWithViewStore._printChanges
for consistency withReducer._printChanges
(https://github.com/pointfreeco/swift-composable-architecture/pull/2101).Fixed:
EffectTask.publisher
now properly escapes dependencies accessed within it (https://github.com/pointfreeco/swift-composable-architecture/pull/1988).Fixed:
Reducer._printChanges()
is no longer disabled in tests (https://github.com/pointfreeco/swift-composable-architecture/pull/1995). This allows it to be used for debugging purposes during test runs.Changed: The internal
Task.megaYield
tool, for more predictably testing concurrent code, is now configurable via theTASK_MEGA_YIELD_COUNT
environment variable (https://github.com/pointfreeco/swift-composable-architecture/pull/2064).Improved: The output format of
WithViewStore._printChanges()
has been improved (https://github.com/pointfreeco/swift-composable-architecture/pull/1973).Improved: Runtime warnings will now emit XCTest failures in test code rather than in app code (https://github.com/pointfreeco/swift-composable-architecture/pull/2059).
Deprecated: Type-based cancel IDs have been deprecated (https://github.com/pointfreeco/swift-composable-architecture/pull/2091). Use hashable values, instead.
Deprecated: The actionless overload of
Store.scope(state:)
has been deprecated in favor of theobserve
parameter on view stores (https://github.com/pointfreeco/swift-composable-architecture/pull/2097).Deprecated:
Effect.task
andEffect.fireAndForget
have been soft-deprecated in favor ofEffect.run
(https://github.com/pointfreeco/swift-composable-architecture/pull/2099).Infrastructure: Added test coverage for child/parent effect cancellation behavior (https://github.com/pointfreeco/swift-composable-architecture/pull/1970).
Infrastructure: Clean up effect cancellation logic (https://github.com/pointfreeco/swift-composable-architecture/pull/1977).
Infrastructure: Miscellaneous documentation/formatting fixes:
Fixed missing
action
parameter inForEachStore
documentation (thanks @m-housh, https://github.com/pointfreeco/swift-composable-architecture/pull/1998).Number fact tutorial fix (thanks @siliconsorcery, https://github.com/pointfreeco/swift-composable-architecture/pull/1962).
BindingAction
fix (thanks @Ryu0118, https://github.com/pointfreeco/swift-composable-architecture/pull/2019).withTaskCancellation(id:)
fix (thanks @bjford, https://github.com/pointfreeco/swift-composable-architecture/pull/2049).Formatting fix (thanks @mooyoung2309, https://github.com/pointfreeco/swift-composable-architecture/pull/2056).
Update 'bindable state' to 'binding state' (thanks @Jager-yoo, https://github.com/pointfreeco/swift-composable-architecture/pull/2054).
Infrastructure: Added Russian README translation (thanks @artyom-ivanov, https://github.com/pointfreeco/swift-composable-architecture/pull/2014).
Infrastructure: Added Polish README translation (thanks @MarcelStarczyk, https://github.com/pointfreeco/swift-composable-architecture/pull/2040).
Infrastructure: Bump dependencies.
Infrastructure: Bump Xcode demo project settings (https://github.com/pointfreeco/swift-composable-architecture/pull/2042).
Infrastructure: Clean up and test
TestStore.skipInFlightEffects
(https://github.com/pointfreeco/swift-composable-architecture/pull/2057).Infrastructure: CI updates (https://github.com/pointfreeco/swift-composable-architecture/pull/2060).
Infrastructure: Document how exhaustive vs. non-exhaustive test stores work (https://github.com/pointfreeco/swift-composable-architecture/pull/2096).
New Contributors
Full Changelog: pointfreeco/swift-composable-architecture@0.52.0...0.53.0
v0.52.0
Compare Source
What's Changed
XCTModify
and non-exhaustive testing (https://github.com/pointfreeco/swift-composable-architecture/pull/1939).@warn_unqualified_access
to prevent accidental bugs (https://github.com/pointfreeco/swift-composable-architecture/pull/1950).Effect.publisher
for bridging effects from Combine (https://github.com/pointfreeco/swift-composable-architecture/pull/1958).Effect<Action>.Send
has been renamed toSend<Action>
(thanks @tgrapperon, https://github.com/pointfreeco/swift-composable-architecture/pull/1930).TestStore.init
now callsprepareDependencies
in awithDependencies
block (https://github.com/pointfreeco/swift-composable-architecture/pull/1955).ForEach
bindings (https://github.com/pointfreeco/swift-composable-architecture/pull/1933).Store.init
(thanks @kristofferjohansson, https://github.com/pointfreeco/swift-composable-architecture/pull/1940)..forEach()
documentation (thanks @finestructure, https://github.com/pointfreeco/swift-composable-architecture/pull/1957).New Contributors
Full Changelog: pointfreeco/swift-composable-architecture@0.51.0...0.52.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.