Skip to content

Commit d2d52b6

Browse files
authored
Merge pull request #260 from datlechin/feat/sqlite-downloadable-plugin
Extract SQLite driver to downloadable plugin
2 parents 365c197 + 4ef5604 commit d2d52b6

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1717

1818
### Changed
1919

20+
- SQLite driver extracted from built-in bundle to downloadable plugin, reducing app size
2021
- Unified error formatting across all database drivers via default `PluginDriverError.errorDescription`, removing 10 per-driver implementations
2122
- Standardized async bridging: 5 queue-based drivers (MySQL, PostgreSQL, MongoDB, Redis, MSSQL) now use shared `pluginDispatchAsync` helper
2223
- Added localization to remaining driver error messages (MySQL, PostgreSQL, ClickHouse, Oracle, Redis, MongoDB)

TablePro.xcodeproj/project.pbxproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
5A860000A00000000 /* TableProPluginKit.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 5A860000100000000 /* TableProPluginKit.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
1111
5A861000A00000000 /* TableProPluginKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5A860000100000000 /* TableProPluginKit.framework */; };
1212
5A862000A00000000 /* TableProPluginKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5A860000100000000 /* TableProPluginKit.framework */; };
13-
5A862000D00000000 /* SQLiteDriver.tableplugin in Copy Plug-Ins */ = {isa = PBXBuildFile; fileRef = 5A862000100000000 /* SQLiteDriver.tableplugin */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
1413
5A863000A00000000 /* TableProPluginKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5A860000100000000 /* TableProPluginKit.framework */; };
1514
5A864000A00000000 /* TableProPluginKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5A860000100000000 /* TableProPluginKit.framework */; };
1615
5A864000D00000000 /* MSSQLDriver.tableplugin in Copy Plug-Ins */ = {isa = PBXBuildFile; fileRef = 5A864000100000000 /* MSSQLDriver.tableplugin */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
@@ -164,7 +163,6 @@
164163
dstPath = "";
165164
dstSubfolderSpec = 13;
166165
files = (
167-
5A862000D00000000 /* SQLiteDriver.tableplugin in Copy Plug-Ins */,
168166
5A864000D00000000 /* MSSQLDriver.tableplugin in Copy Plug-Ins */,
169167
5A865000D00000000 /* MySQLDriver.tableplugin in Copy Plug-Ins */,
170168
5A866000D00000000 /* MongoDBDriver.tableplugin in Copy Plug-Ins */,

TablePro/Models/Connection/DatabaseConnection.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ enum DatabaseType: String, CaseIterable, Identifiable, Codable {
228228

229229
var isDownloadablePlugin: Bool {
230230
switch self {
231-
case .oracle, .clickhouse: return true
231+
case .oracle, .clickhouse, .sqlite: return true
232232
default: return false
233233
}
234234
}

0 commit comments

Comments
 (0)