Skip to content

Commit c4ad36c

Browse files
Stijn Willemsclaude
andcommitted
refactor: Remove unused swift-perception dependency, target macOS 15+ only
- Remove `import Perception` from FetchSubscription.swift (was unused) - Add explicit `import ConcurrencyExtras` for LockIsolated - Remove swift-perception package dependency from Package.swift - Update platforms to macOS 15+ only (drop iOS/tvOS/watchOS) - Update Package@swift-6.0.swift similarly The Perception import was never actually used - the file only uses LockIsolated (from ConcurrencyExtras) and SharedReader (from Sharing). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent f4047e2 commit c4ad36c

3 files changed

Lines changed: 3 additions & 11 deletions

File tree

Package.swift

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@ import PackageDescription
55
let package = Package(
66
name: "sqlite-data",
77
platforms: [
8-
.iOS(.v13),
9-
.macOS(.v10_15),
10-
.tvOS(.v13),
11-
.watchOS(.v7),
8+
.macOS(.v15),
129
],
1310
products: [
1411
.library(
@@ -32,7 +29,6 @@ let package = Package(
3229
.package(url: "https://github.com/pointfreeco/swift-concurrency-extras", from: "1.0.0"),
3330
.package(url: "https://github.com/pointfreeco/swift-custom-dump", from: "1.3.3"),
3431
.package(url: "https://github.com/pointfreeco/swift-dependencies", from: "1.9.0"),
35-
.package(url: "https://github.com/pointfreeco/swift-perception", from: "2.0.0"),
3632
.package(url: "https://github.com/pointfreeco/swift-sharing", from: "2.3.0"),
3733
.package(url: "https://github.com/pointfreeco/swift-snapshot-testing", from: "1.18.4"),
3834
.package(
@@ -54,7 +50,6 @@ let package = Package(
5450
.product(name: "GRDB", package: "GRDB.swift"),
5551
.product(name: "IssueReporting", package: "xctest-dynamic-overlay"),
5652
.product(name: "OrderedCollections", package: "swift-collections"),
57-
.product(name: "Perception", package: "swift-perception"),
5853
.product(name: "Sharing", package: "swift-sharing"),
5954
.product(name: "StructuredQueriesSQLite", package: "swift-structured-queries"),
6055
.product(

Package@swift-6.0.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@ import PackageDescription
55
let package = Package(
66
name: "sqlite-data",
77
platforms: [
8-
.iOS(.v13),
9-
.macOS(.v10_15),
10-
.tvOS(.v13),
11-
.watchOS(.v7),
8+
.macOS(.v15),
129
],
1310
products: [
1411
.library(

Sources/SQLiteData/FetchSubscription.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Perception
1+
import ConcurrencyExtras
22
import Sharing
33

44
/// A subscription associated with `@FetchAll`, `@FetchOne`, and `@Fetch` observation.

0 commit comments

Comments
 (0)