Skip to content

Prepare 0.2.0: cross-platform SQLite fixes and release metadata - #12

Merged
devioarts merged 7 commits into
mainfrom
fix-qry-parse-001
Nov 13, 2026
Merged

devioarts merged 7 commits into
mainfrom
fix-qry-parse-001

Conversation

@devioarts

@devioarts devioarts commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

Summary

Prepare version 0.2.0 with consistent SQL validation and transaction recovery across Android, iOS, Web/OPFS, and Electron. Malformed input and failures could previously leave platform-specific results, partial commits, or stale state.

  • Fix SQL scanners and managed transaction guards, prepare batch statements in execution order, validate migrations before writes, and correctly drain DML RETURNING results.
  • Fix Android typed bindings and large-row reads; preserve special query columns and native text/BLOB values; recover failed Web workers without replaying writes; isolate Electron cache storage, cleanly dispose workers, and ship settings declarations and working Node ESM imports.
  • Align npm/lock metadata at 0.2.0, fix the CocoaPods source tag to v0.2.0, and add concise release notes and upgrade guidance.
  • Update playground/tooling to Capacitor 8.6.2 and Appium 19, use playground app ID com.devioarts.pg.cap, fix iOS inspector discovery/session lifetime/error reporting, and bound untimed stress fixture setup. Pin CI actions, prepare generated native projects in the release matrix, and select the standard Intel macOS pool for iOS jobs after confirmed ARM64 capacity failures.

Testing

  • GitHub Actions CI on 712854b: TypeScript/Web/Electron, Android verification, and iOS build/XCTest all passed.
  • npm run test:ts: 74 passed.
  • Shared 457-case functional suite, with no failures and capability skips:
Backend Passed Skipped Failed
Electron direct Node backend 453 4 0
Web/OPFS 452 5 0
Android 10 / API 29 421 36 0
Android 14 / API 34 448 9 0
Android 15 / API 35 448 9 0
iOS 27.0 451 6 0
  • 12 stress scenarios on each of those six environments: 72 passed, 0 skipped, 0 failed. Workloads retain 10,000-write batches/concurrency, 100,000-row reads, 1 MiB TEXT/BLOB roundtrips, and two concurrent databases. Only untimed 100,000-row setup is split into 10,000-row batches; Android 10 passed with its original 48 MB Java heap.
  • Plugin/playground builds and native Android/iOS simulator builds.
  • Release package build, parsed CocoaPods spec (0.2.0, tag v0.2.0), and actual npm tarball contents. Version metadata is aligned and dependency versions are unchanged.
  • Lint components: ESLint, Prettier, ktlint; SwiftLint has 20 existing warnings and 0 serious violations. Android Lint has 0 errors and 8 warnings.
  • Earlier native audit checks: 107 iOS XCTest cases, 14 JVM tests per build variant, and 17 Android instrumentation cases on API 34/35 passed. Native instrumentation results are from an earlier audit snapshot; the final head was checked with the public bridge suites above.
  • iOS suite/stress use Appium 19 directly without compatibility shims or Node preloads.

Platforms

  • iOS simulator
  • Android emulators: API 29, 34, 35
  • Web/OPFS in Chrome
  • Electron direct SQLite backend

Notes

  • Public TypeScript signatures remain compatible with 0.1.1. Validation now rejects previously accepted malformed inputs and explicit transaction boundaries inside automatic batches/migrations.
  • Electron cache paths are now application-specific; applications must rebuild data from the former shared cache directory. Large bridge inputs still need application-side chunking.
  • TypeScript stays on 6; sqlite-wasm is unchanged. The latest local dependency audit reported 16 moderate development-dependency entries, with 0 high/critical.
  • Physical devices, packaged Electron/ASAR, Windows/Linux, Safari/Firefox, and long-duration soak/storage-failure scenarios were not validated. Detailed local audit logs remain excluded from Git.

Align SQL scanners and transaction guards, validate iOS migrations before writes,
and normalize malformed UTF-8 and SQLite error messages. Fix Android typed query
bindings, large-row reads and RETURNING execution. Recover failed web workers
and reuse Electron connection metadata statements.

Add shared and native regressions, document migration and platform limits,
remove redundant preparation/open state, and pin CI actions to verified revisions.

Validation: 72 JS tests, 107 iOS XCTest cases, 14 JVM tests per build variant,
and 17 Android instrumentation cases on API 34 and 35 passed. Full Electron,
Web/OPFS and Android bridge suites completed without failures, with documented
capability skips.
Reject malformed native migrations and unsupported iOS binds, preserve Web memory reopen semantics, publish Electron settings types, and restore Android lint failure checks. Remove unused SQL and bridge helpers.

Refresh development dependencies and migrate the playground to Capacitor 8.6.2 with app ID com.devioarts.pg.cap. Keep TypeScript 6 and sqlite-wasm unchanged.

Add transaction and input regressions, bound untimed stress seeding, and fix iOS inspector discovery, connection lifetime, and error reporting. Update deployment scripts and testing documentation.

Validation: 74 JS tests; 457-case functional suites across the platform backends; all 12 stress scenarios passed on Web, Electron backend, Android 10/14/15, and iOS. ESLint, Prettier, and native playground builds passed.
Align npm and playground lock metadata at 0.2.0, use v-prefixed CocoaPods source tags, and add upgrade guidance.

Condense the 0.2.0 changelog to user-facing fixes and compatibility notes while preserving published release history.

Validation: package build, CocoaPods spec parsing, npm tarball contents, and version/dependency consistency checks passed.
@devioarts devioarts changed the title Fix cross-platform SQLite validation, recovery, and playground tests Prepare 0.2.0: cross-platform SQLite fixes and release metadata Nov 13, 2026
Select macos-15-intel for CI and the release matrix after hosted ARM64 jobs failed to acquire a runner due to capacity constraints.

Validation: both workflow files parse and select the expected iOS runner; existing test commands are unchanged.
@devioarts
devioarts merged commit 7616bad into main Nov 13, 2026
3 checks passed
@devioarts
devioarts deleted the fix-qry-parse-001 branch November 13, 2026 16:04
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.

1 participant