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

Fix regression: remove BindableAction dynamic case lookup #2886

Merged
merged 1 commit into from Mar 5, 2024

Conversation

stephencelis
Copy link
Member

TCA 1.9 introduced a shorthand for accessing a case key path of a particular binding state directly:

store.send(\.name, "Blob")

This unfortunately regressed type-checking performance of downstream projects, which could lead to builds beginning to fail.

Because this introduction was a breaking change to some projects, we will remove it and instead folks should chain in from \.binding:

store.send(\.binding.name, "Blob")

@stephencelis stephencelis merged commit 53af95a into main Mar 5, 2024
7 checks passed
@stephencelis stephencelis deleted the remove-case-overload branch March 5, 2024 01:58
cgrindel-self-hosted-renovate bot added a commit to cgrindel/rules_swift_package_manager that referenced this pull request Mar 5, 2024
…ure to from: "1.9.2" (#949)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[pointfreeco/swift-composable-architecture](https://togithub.com/pointfreeco/swift-composable-architecture)
| patch | `from: "1.9.1"` -> `from: "1.9.2"` |

---

### Release Notes

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

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

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

#### What's Changed

- Fixed: The `BindableAction` dynamic case lookup added in 1.9 led to a
regression in compile time performance that could break downstream
builds. This has been reverted
([pointfreeco/swift-composable-architecture#2886).
- Fixed: Support swift-syntax 510
([pointfreeco/swift-composable-architecture#2884).
- Infrastructure: Add Links to Migration Guides in README (thanks
[@&#8203;jshier](https://togithub.com/jshier),
[pointfreeco/swift-composable-architecture#2877).
- Infrastructure: Fixed the article of tree-based navigation (thanks
[@&#8203;takehilo](https://togithub.com/takehilo),
[pointfreeco/swift-composable-architecture#2882).
- Infrastructure: Leverage dynamic case writability in example code
([pointfreeco/swift-composable-architecture#2885).

**Full Changelog**:
pointfreeco/swift-composable-architecture@1.9.1...1.9.2

</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.

None yet

2 participants