Skip to content

Querly v1.4.1

Choose a tag to compare

@GamalAnwar GamalAnwar released this 23 Jun 12:57
· 7 commits to master since this release

🔧 What is new in v1.4.1

Refactoring & Architecture

  • DatabaseDriver stripped to minimal shared surface — removed wrongDriver stubs from MySQL/Postgres/SQLite drivers. Schema/data methods stay concrete per-engine.
  • CoreModels extractedDBColumn, TableRow, StatementKind moved out of Models.swift into pure-Foundation module, enabling SPM compilation and unit testing.
  • SQLSafety extracted — read-only mode classification, no-WHERE guard, DML target extraction moved from ConnectionStore into focused, tested module.
  • SimpleCSV parser extracted — inline CSV parser moved from ConnectionStore to its own file with unit tests.
  • ModelPresentation separated — color/icon mappings for models moved to dedicated AppKit-dependent layer (SRP).
  • FilterClauseBuilder extracted — filter WHERE clause generation moved out of TableDataView.
  • DBErrorClassifier extracted — error classification moved out of ConnectionStore.
  • Connection import parsers extracted — parsers moved into QuerlyCore test target.
  • Value-list filter clause builder extracted — separate module for filter chip logic.

Fixes

  • SQL formatter: no space after . in qualified names (e.g. t.a)
  • SQL formatter: space-before on compound JOIN keywords (LEFT OUTER JOIN)
  • SPM test target expanded: SQLImportHelper, AWSRDSAuth, CoreModels, ExportHelpers, SQLSafety, SimpleCSV

Testing

  • 162 → 176 tests — added test suites for: AWS RDS auth (SigV4), SQL formatter, SQL import helper, CoreModels, export helpers, SQL safety, SimpleCSV parser
  • Driver integration test scaffolding — initial test plan for MySQL/Postgres/SQLite integration tests