Stephen Celis
6bb85c8736
Fix migration doc link ( #2576 )
2023-11-15 09:49:11 -08:00
Rhys Morgan
2cdbe3f45a
Re-adds Reducer.forEach method removed in 1.4 ( #2570 )
...
* Re-adds an initialiser that was removed in 1.4
* Update ForEachReducer.swift
Only have two overloads:
- `CaseKeyPath` to an `IdentifiedAction`
- Deprecated `AnyCasePath` to an unnamed tuple
* Update ForEachReducer.swift
---------
Co-authored-by: Stephen Celis <stephen.celis@gmail.com >
Co-authored-by: Stephen Celis <stephen@stephencelis.com >
2023-11-15 09:47:39 -08:00
Ryu
92150bd1d8
Fix a syntax error in Migrate To 1.4. ( #2574 )
2023-11-15 09:40:24 -08:00
woxtu
aca57e71b1
Fix a typo ( #2575 )
2023-11-15 12:08:15 -05:00
Kenta Aikawa
e087b5362f
Fix to element ( #2569 )
2023-11-14 08:10:23 -05:00
Stephen Celis
c468ff2431
Update MigratingTo1.4.md
2023-11-13 16:39:38 -08:00
Stephen Celis
021623df1b
Update MigratingTo1.4.md
2023-11-13 16:01:22 -08:00
Stephen Celis
fa31c934fa
Update MigratingTo1.4.md
2023-11-13 15:59:46 -08:00
Stephen Celis
f3983c3a52
Update MigratingTo1.4.md
2023-11-13 15:58:20 -08:00
Johan Kool
7d7e7c1bdf
Fix links in TaskResult.swift ( #2566 )
2023-11-13 18:50:18 -05:00
stephencelis
657aaeb5eb
Run swift-format
2023-11-13 21:07:43 +00:00
Stephen Celis
57e804f1cc
Macro bonanza ( #2553 )
...
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Silence test warnings
* wip
* wip
* wip
* update a bunch of docs
* wip
* wip
* fix
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Kill integration tests for now
* wip
* wip
* wip
* wip
* updating docs for @Reducer macro
* replaced more Reducer protocols with @Reducer
* Fixed some broken docc references
* wip
* Some @Reducer docs
* more docs
* convert some old styles to new style
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* bump
* update tutorials to use body
* update tutorials to use DML on destination state enum
* Add diagnostic
* wip
* updated a few more tests
* wip
* wip
* Add another gotcha
* wip
* wip
* wip
* fixes
* wip
* wip
* wip
* wip
* wip
* fix
* wip
* remove for now
* wip
* wip
* updated some docs
* migration guides
* more migration guide
* fix ci
* fix
* soft deprecate all apis using AnyCasePath
* wip
* Fix
* fix tests
* swift-format 509 compatibility
* wip
* wip
* Update Sources/ComposableArchitecture/Macros.swift
Co-authored-by: Mateusz Bąk <bakmatthew@icloud.com >
* wip
* wip
* update optional state case study
* remove initializer
* Don't use @State for BasicsView integration demo
* fix tests
* remove reduce diagnostics for now
* diagnose error not warning
* Update Sources/ComposableArchitecture/Macros.swift
Co-authored-by: Jesse Tipton <jesse@jessetipton.com >
* wip
* move integration tests to cron
* Revert "move integration tests to cron"
This reverts commit f9bdf2f04b .
* disable flakey tests on CI
* wip
* wip
* Revert "Revert "move integration tests to cron""
This reverts commit 66aafa7327 .
* fix
* wip
* fix
---------
Co-authored-by: Brandon Williams <mbrandonw@hey.com >
Co-authored-by: Mateusz Bąk <bakmatthew@icloud.com >
Co-authored-by: Brandon Williams <135203+mbrandonw@users.noreply.github.com >
Co-authored-by: Jesse Tipton <jesse@jessetipton.com >
2023-11-13 12:57:35 -08:00
Brandon Williams
464d95e368
Add previews to integration test cases ( #2551 )
...
* Add previews to all integration tests.
* wip;
* wip
* wip
* debug
* xcode 15
* split out examples
* wip
* wip
* move around tests so they don't go off screen
* wip
* wip
* ops
* wip
* wip
---------
Co-authored-by: Stephen Celis <stephen@stephencelis.com >
2023-11-09 14:10:23 -08:00
mbrandonw
4f9df4dc42
Run swift-format
2023-11-09 03:51:08 +00:00
Brandon Williams
178b0215eb
Short circuit == when ordered sets don't have same size. ( #2556 )
2023-11-08 19:50:15 -08:00
Jaesung
17c0cba2ef
[FIX] Modified Swift compiler version to 5.7.1 to follow Apple's policy ( #2549 )
2023-11-07 10:35:06 -08:00
Lukas Kubanek
54b48628c9
Drop Equatable constraint on Value in _OnChangeReducer ( #2544 ) ( #2545 )
2023-11-04 13:25:06 -07:00
Stephen Celis
87aeaf6f73
Use Text.init(verbatim:) to avoid localization warnings ( #2541 )
...
Fixes #2502 .
2023-11-02 12:25:37 -07:00
Stephen Celis
9abf1e380d
Silence SwiftUI sendability warning ( #2540 )
...
Fixes #2539 .
We expect reducers to be called on the main thread, so the transaction
should hopefully be safe to commute across non-sendable boundaries, but
we should keep this workaround in mind when we do polish TCA's
sendability story in the future.
2023-11-02 12:16:53 -07:00
stephencelis
bb36c13bdc
Run swift-format
2023-10-31 21:49:35 +00:00
Stephen Celis
5ba7943402
Internal: rename Store.{state,stateSubject} ( #2538 )
...
* Internal: rename `Store.{state,stateSubject}`
Both an internal readability win and will make it easier to provide a
public `state` property in the future.
* wip
2023-10-31 14:45:57 -07:00
Stephen Celis
792d6290e1
Allow existential reducers in builders ( #2533 )
...
Discovered this while troubleshooting a Swift bug, but seems like we
should allow the builder to promote an existential to an erased
`Reduce`.
2023-10-31 13:42:37 -07:00
Stephen Celis
a611f141dd
Standups -> SyncUps ( #2524 )
...
* Standups -> SyncUps
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
2023-10-17 14:13:36 -07:00
Brandon Williams
bd6c1fc31e
Bring back _printChanges queue. ( #2519 )
...
* Bring back _printChanges queue.
* fixes
* make test a little stronger
2023-10-15 11:31:12 -04:00
Stephen Celis
20089ee985
Improve integration test readability ( #2515 )
...
* Improve integration test readability
* Fix
* Update to use switch store
* wip
2023-10-11 16:16:02 -07:00
linebyline
c08d59e94b
fix WithViewStore extension document ( #2511 )
...
- remove unused paramter(isDuplicate)
Co-authored-by: 강성규/연구/인포테인먼트소프트웨어개발팀 <seongkue.kang@hyundai.com >
2023-10-09 20:08:13 -04:00
mbrandonw
17cf73f085
Run swift-format
2023-10-09 19:06:59 +00:00
Brandon Williams
931a71b78e
Revamp integration tests ( #2503 )
...
* More integration tests.
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* comment out all but one test
* wip
* try ios 17
* see if this works in ios 16
* wip
* wip
* wip
* bring back tests
* wip
* wip
* wip
* fixes
* fixes
* re-enable tests
* wip
* Update Sources/ComposableArchitecture/Internal/Logger.swift
* wip
---------
Co-authored-by: Stephen Celis <stephen@stephencelis.com >
2023-10-09 15:06:04 -04:00
Ryu
77dee2dc0b
Refactor ViewStore ( #2496 )
...
Co-authored-by: Stephen Celis <stephen@stephencelis.com >
2023-10-05 23:08:24 -07:00
Jaesung
eef1c905f5
Update StackBasedNavigation.md ( #2499 )
...
Fixed `self.path` to `state.path`
2023-10-05 14:34:58 -07:00
Kenta Aikawa
5b4f00240b
Fix some docs ( #2498 )
...
* Delete unnecessary block
* Fix debounce document
2023-10-05 09:49:22 -04:00
Kyle LeNeau
2e0f5142c7
fix: documentation error for the getting started example ( #2493 )
2023-09-29 17:15:27 -07:00
Stephen Celis
48327bc1ef
Only dismiss alert/dialog state when receiving a domain-specific action ( #2468 )
2023-09-28 06:59:31 -07:00
Stephen Celis
c0d8fbabfc
Clean up and modernize docs/examples ( #2480 )
2023-09-28 06:58:51 -07:00
Dzianis Fileyeu
6226901dec
Update WhatIsNavigation.md ( #2486 )
...
* Update WhatIsNavigation.md
* Update WhatIsNavigation.md
2023-09-26 11:25:17 -07:00
Ryu
61e1693279
Add Documentation on domain integration to TreeBasedNavigation.md ( #2482 )
...
* Add explanation in Tree-based Navigation as in Stack-based Navigation
* Apply suggestions from code review
---------
Co-authored-by: Stephen Celis <stephen.celis@gmail.com >
2023-09-26 08:30:31 -07:00
vasiliyzaycev
c41906f853
Update StackBasedNavigation.md ( #2475 )
2023-09-21 18:27:39 -07:00
Stephen Celis
200ecfe491
Fix typo
2023-09-21 09:01:17 -07:00
vasiliyzaycev
3caca5c11a
Update StackBasedNavigation.md ( #2474 )
2023-09-20 14:30:36 -07:00
mbrandonw
41f450da3b
Run swift-format
2023-09-18 13:48:36 +00:00
Dzianis Fileyeu
9a182dc547
Update StackBasedNavigation.md ( #2467 )
2023-09-18 09:48:16 -04:00
유재호
667d92fad1
Fix mismatched reducer names ( #2442 )
2023-09-12 21:26:56 -07:00
mornin
f0bae57f36
fix missing send ( #2446 )
2023-09-09 21:25:46 -07:00
Morten Heiberg
791e3ff921
Add missing file and line parameters to dismiss call ( #2440 )
2023-09-08 05:17:58 -07:00
stephencelis
c4a0267f90
Run swift-format
2023-09-05 17:47:57 +00:00
tomokisun
1e9c73f9e2
feat: add dismiss with transaction ( #2433 )
...
* feat: add dismiss with transaction
* refactor: callAsFunction(animation:)
2023-09-05 10:47:12 -07:00
Denil Chungath
9bc00c5cf9
Fix Tutorials Code Diff ( #2427 )
2023-09-03 16:05:36 -07:00
mbrandonw
76f432672c
Run swift-format
2023-09-03 19:24:36 +00:00
Yoshinori Imajo
cc11adf639
Update Cancellation.swift ( #2426 )
2023-09-03 15:23:44 -04:00
stephencelis
07065273c7
Run swift-format
2023-08-29 20:07:28 +00:00