Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up shared state case study #2696

Merged
merged 4 commits into from
Jan 6, 2024
Merged

Clean up shared state case study #2696

merged 4 commits into from
Jan 6, 2024

Conversation

mbrandonw
Copy link
Member

This is just moving some things around and renaming things. Bigger changes to shared state coming soon :)

@mbrandonw mbrandonw merged commit c36d8ce into main Jan 6, 2024
5 checks passed
@mbrandonw mbrandonw deleted the clean-up-shared-state branch January 6, 2024 02:00
cgrindel-self-hosted-renovate bot referenced this pull request in cgrindel/rules_swift_package_manager Jan 9, 2024
…ure to from: "1.6.0" (#842)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[pointfreeco/swift-composable-architecture](https://togithub.com/pointfreeco/swift-composable-architecture)
| minor | `from: "1.5.6"` -> `from: "1.6.0"` |

---

### Release Notes

<details>
<summary>pointfreeco/swift-composable-architecture
(pointfreeco/swift-composable-architecture)</summary>

###
[`v1.6.0`](https://togithub.com/pointfreeco/swift-composable-architecture/releases/tag/1.6.0)

[Compare
Source](https://togithub.com/pointfreeco/swift-composable-architecture/compare/1.5.6...1.6.0)

#### What's Changed

- Added: `TestStore.receive(\.action, payload)` for asserting against
the payload of an action without requiring the action itself be
`Equatable`
([https://github.com/pointfreeco/swift-composable-architecture/pull/2669](https://togithub.com/pointfreeco/swift-composable-architecture/pull/2669);
[https://github.com/pointfreeco/swift-composable-architecture/pull/2691](https://togithub.com/pointfreeco/swift-composable-architecture/pull/2691))
- Fixed: It was possible for `ViewStore`s to ping their
`objectWillChange` publisher during a body computation, triggering a
SwiftUI warning. This has been fixed
([https://github.com/pointfreeco/swift-composable-architecture/pull/2688](https://togithub.com/pointfreeco/swift-composable-architecture/pull/2688)).
- Fixed: `@Reducer` macro no longer automatically applies
`@CasePathable` macro to enums with explicit conformance (thanks
[@&#8203;scogeo](https://togithub.com/scogeo),
[https://github.com/pointfreeco/swift-composable-architecture/pull/2685](https://togithub.com/pointfreeco/swift-composable-architecture/pull/2685)).
- Fixed: The `prepareDependencies` closure is now only performed a
single time when creating a store, not every single time an action is
received
([https://github.com/pointfreeco/swift-composable-architecture/pull/2695](https://togithub.com/pointfreeco/swift-composable-architecture/pull/2695)).
- Fixed: A retain cycle in `PresentationModifier` has been fixed
([https://github.com/pointfreeco/swift-composable-architecture/pull/2697](https://togithub.com/pointfreeco/swift-composable-architecture/pull/2697)).
- Performance: Clean up parent/child store invalidation checks
([https://github.com/pointfreeco/swift-composable-architecture/pull/2674](https://togithub.com/pointfreeco/swift-composable-architecture/pull/2674)).
- Infrastructure: Fix package build in 5.7 for SPI
([https://github.com/pointfreeco/swift-composable-architecture/pull/2675](https://togithub.com/pointfreeco/swift-composable-architecture/pull/2675);
thanks [@&#8203;finestructure](https://togithub.com/finestructure),
[https://github.com/pointfreeco/swift-composable-architecture/pull/2679](https://togithub.com/pointfreeco/swift-composable-architecture/pull/2679)).
- Infrastructure: Typo fix (thanks
[@&#8203;tomokisun](https://togithub.com/tomokisun),
[https://github.com/pointfreeco/swift-composable-architecture/pull/2678](https://togithub.com/pointfreeco/swift-composable-architecture/pull/2678)).
- Infrastructure: Add documentation around new store scoping
characteristics
([https://github.com/pointfreeco/swift-composable-architecture/pull/2676](https://togithub.com/pointfreeco/swift-composable-architecture/pull/2676)).
- Infrastructure: Prevent unnecessary tutorial diffs (thanks
[@&#8203;bricklife](https://togithub.com/bricklife),
[https://github.com/pointfreeco/swift-composable-architecture/pull/2692](https://togithub.com/pointfreeco/swift-composable-architecture/pull/2692)).
- Infrastructure: Tutorial fixes
([https://github.com/pointfreeco/swift-composable-architecture/pull/2693](https://togithub.com/pointfreeco/swift-composable-architecture/pull/2693)).
- Infrastructure : Clean up shared state case study
([https://github.com/pointfreeco/swift-composable-architecture/pull/2696](https://togithub.com/pointfreeco/swift-composable-architecture/pull/2696)).

#### New Contributors

- [@&#8203;bricklife](https://togithub.com/bricklife) made their first
contribution in
[https://github.com/pointfreeco/swift-composable-architecture/pull/2692](https://togithub.com/pointfreeco/swift-composable-architecture/pull/2692)

**Full Changelog**:
pointfreeco/swift-composable-architecture@1.5.6...1.6.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDAuMCIsInVwZGF0ZWRJblZlciI6IjM2LjEwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants