Skip to content

Conversation

@stevensJourney
Copy link
Contributor

Release for:

  • Update Kotlin SDK to 1.7.0.
  • Add close(deleteDatabase:) method to PowerSyncDatabaseProtocol for deleting SQLite database files when closing the database. This includes the main database file and all WAL mode files (.wal, .shm, .journal). Files that don't exist are ignored, but an error is thrown if a file exists but cannot be deleted.
// Close the database and delete all SQLite files
try await database.close(deleteDatabase: true)

// Close the database without deleting files (default behavior)
try await database.close(deleteDatabase: false)
// or simply
try await database.close()
  • Add PowerSyncDataTypeConvertible protocol for casting query parameters to SQLite supported types.
  • [Internal] Removed unnecessary Task creation in Attachment helper FileManagerStorageAdapter.

@stevensJourney stevensJourney marked this pull request as ready for review November 6, 2025 11:27
@stevensJourney stevensJourney merged commit 9196f8a into main Nov 6, 2025
5 of 6 checks passed
@stevensJourney stevensJourney deleted the release/1.7.0 branch November 6, 2025 13:32
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.

3 participants