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

Depend on and export DependenciesMacros #2586

Merged
merged 2 commits into from
Nov 26, 2023

Conversation

tgrapperon
Copy link
Contributor

This PR exports DependenciesMacros, which should ease DependencyClient's adoption.
I don't know if we should update sample code. We can maybe refresh SpeechRecognition to adopt this macro?

Copy link
Member

@stephencelis stephencelis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to us, thanks for the idea!

@stephencelis stephencelis merged commit 2adca50 into pointfreeco:main Nov 26, 2023
5 checks passed
cgrindel-self-hosted-renovate bot referenced this pull request in cgrindel/rules_swift_package_manager Nov 27, 2023
…ure to from: "1.5.0" (#773)

This PR contains the following updates:

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

---

### Release Notes

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

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

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

#### What's Changed

- Added: A new `Store.scope` method that takes a state key path and
action case key path
([https://github.com/pointfreeco/swift-composable-architecture/pull/2527](https://togithub.com/pointfreeco/swift-composable-architecture/pull/2527)).
This method uses the hashability of key paths to cache scoped child
stores in the parent, improving the performance of store scoping,
especially when SwiftUI views are recomputed.

See [the migration
guide](https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5)
for more info.
- Added: DependenciesMacros is now automatically exported, making
`@DependencyClient` available by default when importing the Composable
Architecture (thanks
[@&#8203;tgrapperon](https://togithub.com/tgrapperon),
[https://github.com/pointfreeco/swift-composable-architecture/pull/2586](https://togithub.com/pointfreeco/swift-composable-architecture/pull/2586)).
- Infrastructure: Fixed links in the migration guide (thanks
[@&#8203;woxtu](https://togithub.com/woxtu),
[https://github.com/pointfreeco/swift-composable-architecture/pull/2578](https://togithub.com/pointfreeco/swift-composable-architecture/pull/2578)).

**Full Changelog**:
pointfreeco/swift-composable-architecture@1.4.2...1.5.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