Skip to content

Commit

Permalink
chore(deps): update dependency pointfreeco/swift-composable-architect…
Browse files Browse the repository at this point in the history
…ure to v1 (#530)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[pointfreeco/swift-composable-architecture](https://github.com/pointfreeco/swift-composable-architecture)
| major | `from: "0.58.2"` -> `from: "1.2.0"` |

---

### Release Notes

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

###
[`v1.2.0`](https://github.com/pointfreeco/swift-composable-architecture/releases/tag/1.2.0)

[Compare
Source](https://github.com/pointfreeco/swift-composable-architecture/compare/1.1.0...1.2.0)

#### What's Changed

- Added: Legacy alert and action sheet presentation APIs for iOS 13
support
([https://github.com/pointfreeco/swift-composable-architecture/pull/2379](https://github.com/pointfreeco/swift-composable-architecture/pull/2379)).
The `alert(store:)` and `confirmationDialog(store:)` view modifiers are
iOS 15+, but we now have `legacyAlert(store:)` and `actionSheet(store:)`
for iOS 13+.
- Added: `TestStore.bindings` for testing bindable view state
([https://github.com/pointfreeco/swift-composable-architecture/pull/2394](https://github.com/pointfreeco/swift-composable-architecture/pull/2394)).
- Fixed: Addressed a potential threading issue in `Store.send`
([https://github.com/pointfreeco/swift-composable-architecture/pull/2382](https://github.com/pointfreeco/swift-composable-architecture/pull/2382)).
- Fixed: Worked around a Catalina runtime crash due to unavailable macOS
symbols (thanks [@&#8203;jaredh159](https://github.com/jaredh159),
[https://github.com/pointfreeco/swift-composable-architecture/pull/2385](https://github.com/pointfreeco/swift-composable-architecture/pull/2385)).
- Infrastructure: Docs fixes (thanks
[@&#8203;nickkohrn](https://github.com/nickkohrn),
[https://github.com/pointfreeco/swift-composable-architecture/pull/2383](https://github.com/pointfreeco/swift-composable-architecture/pull/2383);
[@&#8203;jaesung-0o0](https://github.com/jaesung-0o0),
[https://github.com/pointfreeco/swift-composable-architecture/pull/2389](https://github.com/pointfreeco/swift-composable-architecture/pull/2389)).
- Infrastructure: Added README section for companion libraries
([https://github.com/pointfreeco/swift-composable-architecture/pull/2395](https://github.com/pointfreeco/swift-composable-architecture/pull/2395)).
- Infrastructure: Fixed stack case study
([https://github.com/pointfreeco/swift-composable-architecture/pull/2397](https://github.com/pointfreeco/swift-composable-architecture/pull/2397))

#### New Contributors

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

**Full Changelog**:
pointfreeco/swift-composable-architecture@1.1.0...1.2.0

###
[`v1.1.0`](https://github.com/pointfreeco/swift-composable-architecture/releases/tag/1.1.0)

[Compare
Source](https://github.com/pointfreeco/swift-composable-architecture/compare/1.0.0...1.1.0)

#### What's Changed

- Added: An overload of `Reducer.onChange(of:)` that takes a
configurable `removeDuplicates` closure for the equality check (thanks
[@&#8203;ohitsdaniel](https://github.com/ohitsdaniel),
[https://github.com/pointfreeco/swift-composable-architecture/pull/2338](https://github.com/pointfreeco/swift-composable-architecture/pull/2338)).
- Added: `Effect.debounce` and `Effect.throttle`, for debouncing and
throttling effects on a scheduler
([https://github.com/pointfreeco/swift-composable-architecture/pull/2372](https://github.com/pointfreeco/swift-composable-architecture/pull/2372),
[https://github.com/pointfreeco/swift-composable-architecture/pull/2368](https://github.com/pointfreeco/swift-composable-architecture/pull/2368)).
This functionality existed in past releases but was removed from 1.0
alongside other deprecated Combine code. Because there is no modern
replacement for `Effect.throttle` we have brought this functionality
back to 1.1.
- Fixed: XCTest failures emitted when test stores initialize state
(*e.g.* if `Reducer.State.init` accesses a dependency that hasn't been
overridden) are now shown in the test that creates the store rather than
hidden in application code
([https://github.com/pointfreeco/swift-composable-architecture/pull/2352](https://github.com/pointfreeco/swift-composable-architecture/pull/2352)).
- Fixed: Suppressed a warning that previously emitted when instantiating
a test store state with `.init()` instead of `Feature.State()`
([https://github.com/pointfreeco/swift-composable-architecture/pull/2347](https://github.com/pointfreeco/swift-composable-architecture/pull/2347)).
- Fixed: Child features presented by *grandparent* features are now
properly dismissed when the child calls `@Dependency(\.dismiss)`
([https://github.com/pointfreeco/swift-composable-architecture/pull/2373](https://github.com/pointfreeco/swift-composable-architecture/pull/2373)).
- Infrastructure: Documentation updates and fixes
([https://github.com/pointfreeco/swift-composable-architecture/pull/2336](https://github.com/pointfreeco/swift-composable-architecture/pull/2336);
thanks [@&#8203;jayrhynas](https://github.com/jayrhynas),
[https://github.com/pointfreeco/swift-composable-architecture/pull/2342](https://github.com/pointfreeco/swift-composable-architecture/pull/2342);
thanks [@&#8203;Atimca](https://github.com/Atimca),
[https://github.com/pointfreeco/swift-composable-architecture/pull/2350](https://github.com/pointfreeco/swift-composable-architecture/pull/2350);
[https://github.com/pointfreeco/swift-composable-architecture/pull/2353](https://github.com/pointfreeco/swift-composable-architecture/pull/2353);
thanks [@&#8203;hmhv](https://github.com/hmhv),
[https://github.com/pointfreeco/swift-composable-architecture/pull/2355](https://github.com/pointfreeco/swift-composable-architecture/pull/2355);
thanks [@&#8203;Ryu0118](https://github.com/Ryu0118),
[https://github.com/pointfreeco/swift-composable-architecture/pull/2358](https://github.com/pointfreeco/swift-composable-architecture/pull/2358),
[https://github.com/pointfreeco/swift-composable-architecture/pull/2367](https://github.com/pointfreeco/swift-composable-architecture/pull/2367);
thanks [@&#8203;yimajo](https://github.com/yimajo),
[https://github.com/pointfreeco/swift-composable-architecture/pull/2357](https://github.com/pointfreeco/swift-composable-architecture/pull/2357);
thanks [@&#8203;ValseLee](https://github.com/ValseLee),
[https://github.com/pointfreeco/swift-composable-architecture/pull/2369](https://github.com/pointfreeco/swift-composable-architecture/pull/2369),
[https://github.com/pointfreeco/swift-composable-architecture/pull/2370](https://github.com/pointfreeco/swift-composable-architecture/pull/2370)).

#### New Contributors

- [@&#8203;jayrhynas](https://github.com/jayrhynas) made their first
contribution in
[https://github.com/pointfreeco/swift-composable-architecture/pull/2342](https://github.com/pointfreeco/swift-composable-architecture/pull/2342)
- [@&#8203;Atimca](https://github.com/Atimca) made their first
contribution in
[https://github.com/pointfreeco/swift-composable-architecture/pull/2350](https://github.com/pointfreeco/swift-composable-architecture/pull/2350)
- [@&#8203;ValseLee](https://github.com/ValseLee) made their first
contribution in
[https://github.com/pointfreeco/swift-composable-architecture/pull/2369](https://github.com/pointfreeco/swift-composable-architecture/pull/2369)

**Full Changelog**:
pointfreeco/swift-composable-architecture@1.0.0...1.1.0

###
[`v1.0.0`](https://github.com/pointfreeco/swift-composable-architecture/releases/tag/1.0.0)

[Compare
Source](https://github.com/pointfreeco/swift-composable-architecture/compare/0.59.0...1.0.0)

#### What's Changed

- The Composable Architecture 1.0
([https://github.com/pointfreeco/swift-composable-architecture/pull/2318](https://github.com/pointfreeco/swift-composable-architecture/pull/2318)).
Fully removes all deprecated APIs from the 0.x series.

**Full Changelog**:
pointfreeco/swift-composable-architecture@0.58.0...1.0.0

###
[`v0.59.0`](https://github.com/pointfreeco/swift-composable-architecture/releases/tag/0.59.0)

[Compare
Source](https://github.com/pointfreeco/swift-composable-architecture/compare/0.58.2...0.59.0)

#### What's Changed

- Added: back-ported legacy alert and action sheet APIs for those using
iOS 13 alerts and action sheets in their apps
([https://github.com/pointfreeco/swift-composable-architecture/pull/2379](https://github.com/pointfreeco/swift-composable-architecture/pull/2379)).
- Fixed: Addressed a potential threading issue in `Store.send`
([https://github.com/pointfreeco/swift-composable-architecture/pull/2382](https://github.com/pointfreeco/swift-composable-architecture/pull/2382)).
- Fixed: Un-deprecated `debounce` and `throttle` overloads restored in
1.1.0 (thanks [@&#8203;pyrtsa](https://github.com/pyrtsa),
[https://github.com/pointfreeco/swift-composable-architecture/pull/2392](https://github.com/pointfreeco/swift-composable-architecture/pull/2392)).

**Full Changelog**:
pointfreeco/swift-composable-architecture@0.58.2...0.59.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://github.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://github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41Mi4xIiwidXBkYXRlZEluVmVyIjoiMzYuNTIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com>
  • Loading branch information
cgrindel-self-hosted-renovate[bot] and Self-hosted Renovate Bot authored Aug 24, 2023
1 parent cd7ecd9 commit 7d0a7b9
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 41 deletions.
40 changes: 20 additions & 20 deletions examples/tca_example/Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,26 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/combine-schedulers",
"state" : {
"revision" : "ec62f32d21584214a4b27c8cee2b2ad70ab2c38a",
"version" : "0.11.0"
"revision" : "9dc9cbe4bc45c65164fa653a563d8d8db61b09bb",
"version" : "1.0.0"
}
},
{
"identity" : "swift-case-paths",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-case-paths",
"state" : {
"revision" : "fc45e7b2cfece9dd80b5a45e6469ffe67fe67984",
"version" : "0.14.1"
"revision" : "5da6989aae464f324eef5c5b52bdb7974725ab81",
"version" : "1.0.0"
}
},
{
"identity" : "swift-clocks",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-clocks",
"state" : {
"revision" : "0fbaebfc013715dab44d715a4d350ba37f297e4d",
"version" : "0.4.0"
"revision" : "d1fd837326aa719bee979bdde1f53cd5797443eb",
"version" : "1.0.0"
}
},
{
Expand All @@ -41,62 +41,62 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-composable-architecture",
"state" : {
"revision" : "3a2b7d7c748eb83882aaecfe5008e84964ae1796",
"version" : "0.58.2"
"revision" : "a7c1f799b55ecb418f85094b142565834f7ee7c7",
"version" : "1.2.0"
}
},
{
"identity" : "swift-concurrency-extras",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-concurrency-extras",
"state" : {
"revision" : "479750bd98fac2e813fffcf2af0728b5b0085795",
"version" : "0.1.1"
"revision" : "ea631ce892687f5432a833312292b80db238186a",
"version" : "1.0.0"
}
},
{
"identity" : "swift-custom-dump",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-custom-dump",
"state" : {
"revision" : "4a87bb75be70c983a9548597e8783236feb3401e",
"version" : "0.11.1"
"revision" : "edd66cace818e1b1c6f1b3349bb1d8e00d6f8b01",
"version" : "1.0.0"
}
},
{
"identity" : "swift-dependencies",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-dependencies",
"state" : {
"revision" : "16fd42ae04c6e7f74a6a86395d04722c641cccee",
"version" : "0.6.0"
"revision" : "4e1eb6e28afe723286d8cc60611237ffbddba7c5",
"version" : "1.0.0"
}
},
{
"identity" : "swift-identified-collections",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-identified-collections",
"state" : {
"revision" : "ad3932d28c2e0a009a0167089619526709ef6497",
"version" : "0.7.0"
"revision" : "d1e45f3e1eee2c9193f5369fa9d70a6ddad635e8",
"version" : "1.0.0"
}
},
{
"identity" : "swiftui-navigation",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swiftui-navigation",
"state" : {
"revision" : "2aa885e719087ee19df251c08a5980ad3e787f12",
"version" : "0.8.0"
"revision" : "f5bcdac5b6bb3f826916b14705f37a3937c2fd34",
"version" : "1.0.0"
}
},
{
"identity" : "xctest-dynamic-overlay",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/xctest-dynamic-overlay",
"state" : {
"revision" : "50843cbb8551db836adec2290bb4bc6bac5c1865",
"version" : "0.9.0"
"revision" : "23cbf2294e350076ea4dbd7d5d047c1e76b03631",
"version" : "1.0.2"
}
}
],
Expand Down
2 changes: 1 addition & 1 deletion examples/tca_example/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let package = Package(
dependencies: [
.package(
url: "https://github.com/pointfreeco/swift-composable-architecture",
.upToNextMajor(from: "0.58.2")
.upToNextMajor(from: "1.2.0")
),
]
)
40 changes: 20 additions & 20 deletions examples/tca_example/swift_deps_index.json
Original file line number Diff line number Diff line change
Expand Up @@ -267,27 +267,27 @@
"name": "swiftpkg_combine_schedulers",
"identity": "combine-schedulers",
"remote": {
"commit": "ec62f32d21584214a4b27c8cee2b2ad70ab2c38a",
"commit": "9dc9cbe4bc45c65164fa653a563d8d8db61b09bb",
"remote": "https://github.com/pointfreeco/combine-schedulers",
"version": "0.11.0"
"version": "1.0.0"
}
},
{
"name": "swiftpkg_swift_case_paths",
"identity": "swift-case-paths",
"remote": {
"commit": "fc45e7b2cfece9dd80b5a45e6469ffe67fe67984",
"commit": "5da6989aae464f324eef5c5b52bdb7974725ab81",
"remote": "https://github.com/pointfreeco/swift-case-paths",
"version": "0.14.1"
"version": "1.0.0"
}
},
{
"name": "swiftpkg_swift_clocks",
"identity": "swift-clocks",
"remote": {
"commit": "0fbaebfc013715dab44d715a4d350ba37f297e4d",
"commit": "d1fd837326aa719bee979bdde1f53cd5797443eb",
"remote": "https://github.com/pointfreeco/swift-clocks",
"version": "0.4.0"
"version": "1.0.0"
}
},
{
Expand All @@ -303,63 +303,63 @@
"name": "swiftpkg_swift_composable_architecture",
"identity": "swift-composable-architecture",
"remote": {
"commit": "3a2b7d7c748eb83882aaecfe5008e84964ae1796",
"commit": "a7c1f799b55ecb418f85094b142565834f7ee7c7",
"remote": "https://github.com/pointfreeco/swift-composable-architecture",
"version": "0.58.2"
"version": "1.2.0"
}
},
{
"name": "swiftpkg_swift_concurrency_extras",
"identity": "swift-concurrency-extras",
"remote": {
"commit": "479750bd98fac2e813fffcf2af0728b5b0085795",
"commit": "ea631ce892687f5432a833312292b80db238186a",
"remote": "https://github.com/pointfreeco/swift-concurrency-extras",
"version": "0.1.1"
"version": "1.0.0"
}
},
{
"name": "swiftpkg_swift_custom_dump",
"identity": "swift-custom-dump",
"remote": {
"commit": "4a87bb75be70c983a9548597e8783236feb3401e",
"commit": "edd66cace818e1b1c6f1b3349bb1d8e00d6f8b01",
"remote": "https://github.com/pointfreeco/swift-custom-dump",
"version": "0.11.1"
"version": "1.0.0"
}
},
{
"name": "swiftpkg_swift_dependencies",
"identity": "swift-dependencies",
"remote": {
"commit": "16fd42ae04c6e7f74a6a86395d04722c641cccee",
"commit": "4e1eb6e28afe723286d8cc60611237ffbddba7c5",
"remote": "https://github.com/pointfreeco/swift-dependencies",
"version": "0.6.0"
"version": "1.0.0"
}
},
{
"name": "swiftpkg_swift_identified_collections",
"identity": "swift-identified-collections",
"remote": {
"commit": "ad3932d28c2e0a009a0167089619526709ef6497",
"commit": "d1e45f3e1eee2c9193f5369fa9d70a6ddad635e8",
"remote": "https://github.com/pointfreeco/swift-identified-collections",
"version": "0.7.0"
"version": "1.0.0"
}
},
{
"name": "swiftpkg_swiftui_navigation",
"identity": "swiftui-navigation",
"remote": {
"commit": "2aa885e719087ee19df251c08a5980ad3e787f12",
"commit": "f5bcdac5b6bb3f826916b14705f37a3937c2fd34",
"remote": "https://github.com/pointfreeco/swiftui-navigation",
"version": "0.8.0"
"version": "1.0.0"
}
},
{
"name": "swiftpkg_xctest_dynamic_overlay",
"identity": "xctest-dynamic-overlay",
"remote": {
"commit": "50843cbb8551db836adec2290bb4bc6bac5c1865",
"commit": "23cbf2294e350076ea4dbd7d5d047c1e76b03631",
"remote": "https://github.com/pointfreeco/xctest-dynamic-overlay",
"version": "0.9.0"
"version": "1.0.2"
}
}
]
Expand Down

0 comments on commit 7d0a7b9

Please sign in to comment.