Update dependency pointfreeco/swift-composable-architecture to from: "0.59.0"#917
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Update dependency pointfreeco/swift-composable-architecture to from: "0.59.0"#917renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
70989c2 to
a8f3ed2
Compare
627fa68 to
89e7482
Compare
89e7482 to
4b36e67
Compare
4b36e67 to
3bdfa3a
Compare
3bdfa3a to
3936f4f
Compare
3936f4f to
1efcfb3
Compare
1efcfb3 to
6be30b2
Compare
6be30b2 to
ac1474d
Compare
ac1474d to
46130b1
Compare
46130b1 to
793b2bf
Compare
793b2bf to
832b64d
Compare
832b64d to
262dc5a
Compare
262dc5a to
bf3c93b
Compare
bf3c93b to
0108fab
Compare
0108fab to
1405e1d
Compare
1405e1d to
4a757be
Compare
4a757be to
f0fcd08
Compare
f0fcd08 to
3daf169
Compare
3daf169 to
ff04570
Compare
ff04570 to
34b99f5
Compare
34b99f5 to
9adba76
Compare
9adba76 to
79d59ee
Compare
79d59ee to
1c08e58
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
from: "0.42.0"->from: "0.59.0"Release Notes
pointfreeco/swift-composable-architecture (pointfreeco/swift-composable-architecture)
v0.59.0Compare Source
What's Changed
Store.send(https://github.com/pointfreeco/swift-composable-architecture/pull/2382).debounceandthrottleoverloads 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.2Compare 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.1Compare Source
What's Changed
Full Changelog: pointfreeco/swift-composable-architecture@0.58.0...0.58.1
v0.58.0Compare 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.0Compare Source
What's Changed
BindingAction's custom dump format now abbreviates its value (https://github.com/pointfreeco/swift-composable-architecture/pull/2315).Store.publisheras an alternate toViewStore.publisher(https://github.com/pointfreeco/swift-composable-architecture/pull/2330).Task.cancellableValueinstead 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).awaits 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.0Compare 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.sendcan now be configured with an animation or transaction (thanks @HarshilShah, https://github.com/pointfreeco/swift-composable-architecture/pull/2241).TestStoreOftype alias for specifying a test store of a reducer (thanks @brzzdev, https://github.com/pointfreeco/swift-composable-architecture/pull/2277).ViewStoreTask.cancelis now synchronous (https://github.com/pointfreeco/swift-composable-architecture/pull/2282).AnyHashables, 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).TestStorescoping 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.1Compare Source
What's Changed
BindingViewStore's dynamic member lookup has been weakened to supportletproperties (https://github.com/pointfreeco/swift-composable-architecture/pull/2243).BindingActionto fail has been fixed (thanks @bharath2020, https://github.com/pointfreeco/swift-composable-architecture/pull/2248).WithViewStoreinitializers that takeBindingViewStoreare now available onViewStore, as well (thanks @jessetipton, https://github.com/pointfreeco/swift-composable-architecture/pull/2274).WithViewStoreinitializers 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).BindingViewStatethat 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.0Compare Source
What's Changed
Store.sendandStore.withStatehave 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-navigationhas been bumped to 0.8.0 (https://github.com/pointfreeco/swift-composable-architecture/pull/2239).TestStorefailure messages have been improved (https://github.com/pointfreeco/swift-composable-architecture/pull/2227, https://github.com/pointfreeco/swift-composable-architecture/pull/2236).ForEachStoreno 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.1Compare Source
What's Changed
@inlineableattributes 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.0Compare 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.2Compare Source
What's Changed
Sendsendable (https://github.com/pointfreeco/swift-composable-architecture/pull/2112)receivenow 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.1Compare Source
What's Changed
TestStore.init'sprepareDependencieswas 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.0Compare Source
What's Changed
Added:
Store.initandTestStore.initnow take reducer builders (https://github.com/pointfreeco/swift-composable-architecture/pull/2087).Changed:
SwitchStorehas gotten some quality-of-life improvements (https://github.com/pointfreeco/swift-composable-architecture/pull/2029).SwitchStore.initcan now take the initial enum state so that it can be switched over exhaustively. This initializer also relaxes certain compile-time constraints previously requiring onlyCaseLetviews and an optional, trailingDefaultview.CaseLetcan now omit thestateparameter label, making it more consistent with other APIs, likeReducer.ifCaseLet.The older
SwitchStoreandCaseLetinitializers have been soft-deprecated along with theDefaultview.Changed:
WithViewStore.debughas been renamed toWithViewStore._printChangesfor consistency withReducer._printChanges(https://github.com/pointfreeco/swift-composable-architecture/pull/2101).Fixed:
EffectTask.publishernow 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.megaYieldtool, for more predictably testing concurrent code, is now configurable via theTASK_MEGA_YIELD_COUNTenvironment 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 theobserveparameter on view stores (https://github.com/pointfreeco/swift-composable-architecture/pull/2097).Deprecated:
Effect.taskandEffect.fireAndForgethave 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
actionparameter inForEachStoredocumentation (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).
BindingActionfix (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.0Compare Source
What's Changed
XCTModifyand non-exhaustive testing (https://github.com/pointfreeco/swift-composable-architecture/pull/1939).@warn_unqualified_accessto prevent accidental bugs (https://github.com/pointfreeco/swift-composable-architecture/pull/1950).Effect.publisherfor bridging effects from Combine (https://github.com/pointfreeco/swift-composable-architecture/pull/1958).Effect<Action>.Sendhas been renamed toSend<Action>(thanks @tgrapperon, https://github.com/pointfreeco/swift-composable-architecture/pull/1930).TestStore.initnow callsprepareDependenciesin awithDependenciesblock (https://github.com/pointfreeco/swift-composable-architecture/pull/1955).ForEachbindings (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
v0.51.0Compare Source
What's Changed
sendfromEffect.runand sending actions to it after the effect has completed now produces runtime warnings (thanks @kabiroberai, https://github.com/pointfreeco/swift-composable-architecture/pull/1900).ReducerProtocol._printChanges()now logs to console for Xcode 14.3 previews (thanks @tgrapperon, https://github.com/pointfreeco/swift-composable-architecture/pull/1917).Sendtype has been moved to be nested in theEffecttype and should no longer take precedence over theSendableprotocol in autocomplete (thanks @tgrapperon, https://github.com/pointfreeco/swift-composable-architecture/pull/1911).WithViewStorenow conforms toView(https://github.com/pointfreeco/swift-composable-architecture/pull/1910).New Contributors
Full Changelog: pointfreeco/swift-composable-architecture@0.50.3...0.51.0
v0.50.3Compare Source
What's Changed
Identifiedtype has been extracted from the Composable Architecture and now comes from Identified Collections (https://github.com/pointfreeco/swift-composable-architecture/pull/1907).Full Changelog: pointfreeco/swift-composable-architecture@0.50.2...0.50.3
v0.50.2Compare Source
What's Changed
TestStore.sendandreceivewhen state/action is notEquatable(https://github.com/pointfreeco/swift-composable-architecture/pull/1890). This should improve compiler error messaging when attempting to write tests against non-equatable state.Scope's trailing builder parameter now has an explicit name,child, andReducerProtocol.forEachhas an explicitelement(https://github.com/pointfreeco/swift-composable-architecture/pull/1897).Full Changelog: pointfreeco/swift-composable-architecture@0.50.1...0.50.2
v0.50.1Compare Source
What's Changed
IfLetStore, this can lead to noisy runtime warnings emitted by TCA, where optional state driving the sheet is nownil, and thus the binding cannot write to state at this time. As a workaround,IfLetStorewill now ignore actions sent through bindings when state isnil(https://github.com/pointfreeco/swift-composable-architecture/pull/1879).Anyexistential exists in the type data. BecauseBindingActionholds onto anAnyunder the hood, it could be responsible for the occasional crash in release mode when present in certain type layouts. We've worked around this bug to prevent crashes in release mode (https://github.com/pointfreeco/swift-composable-architecture/pull/1881).Full Changelog: pointfreeco/swift-composable-architecture@0.50.0...0.50.1
v0.50.0Compare Source
What's Changed
Added:
@BindingState(renamed from@BindableStatein this release) now conditionally conforms toSendable(thanks @jshier, https://github.com/pointfreeco/swift-composable-architecture/pull/1834).Added: SwiftUI Transaction helper APIs, including
Effect.transaction,ViewStore.send(_:transaction:), andEffect.run { send in send(_:transaction:) }(thanks @drucelweisse, https://github.com/pointfreeco/swift-composable-architecture/pull/1824).Added:
Store.initnow takes aprepareDependenciesblock, for preparing the initial dependencies of a store (TestStoreintroduced a similar API earlier) (https://github.com/pointfreeco/swift-composable-architecture/pull/1844).Added:
Effect.sendhas been introduced as a new version ofEffect.init(value:)(https://github.com/pointfreeco/swift-composable-architecture/pull/1859).Effect.init(value:)has been soft-deprecated and will be hard-deprecated soon, so prefer usingEffect.sendto synchronously feed actions back into the system.Changed: The
@BindableStateproperty wrapper has been renamed to@BindingState(https://github.com/pointfreeco/swift-composable-architecture/pull/1855).Changed:
TestStoreergonomics have been improved to better surface when APIs are unavailable due to lack of anEquatableconformance (https://github.com/pointfreeco/swift-composable-architecture/pull/1857).Changed: Alert modifiers now use
@StateObjectinstead of@ObservedObjectin iOS 15 and higher (https://github.com/pointfreeco/swift-composable-architecture/pull/1860).Changed: Reducer builders have been rewritten to be more performant and to prepare for forthcoming Swift 5.8 changes (https://github.com/pointfreeco/swift-composable-architecture/pull/1863). If you notice any regressions in your app's reducer builders, please let us know.
Changed: The Composable Architecture has been updated to depend on SwiftUI Navigation 0.6.0 (https://github.com/pointfreeco/swift-composable-architecture/pull/1865).
Fixed: #1802 introduced a slight regression in view store binding animation behavior, so it was reverted back to the original behavior (https://github.com/pointfreeco/swift-composable-architecture/pull/1845).
Fixed:
Effectis now hard deprecated as planned (thanks @kalupas226, https://github.com/pointfreeco/swift-composable-architecture/pull/1822).Fixed: The Composable Architecture now explicitly depends on Ordered Collections, rather than implicitly via its transitive dependency on Identified Collections (thanks @kalupas226, https://github.com/pointfreeco/swift-composable-architecture/pull/1828).
Fixed:
TestStore.receivemethods that take predicates and case paths no longer requireActionequatability ([https://github.com/pointfreeco/sConfiguration
📅 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 was generated by Mend Renovate. View the repository job log.