All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Columns are now properly set to nil when a statement is reused.
- Closing a file-backed database no longer deletes the underlying file.
- In WAL journal mode, closing the database causes a WAL checkpoint.
- Storing a
Statement
no longer causes a crash when cleaning up. - The
UPPER
function properly handles memory management of strings.
sqliteVersion
fetches the underlying SQLite version string.- Dynamic member lookup is enabled for
Row
, allowing for direct access to values via property notation.
JournalMode.off
has been removed because of defensive configs.
AutoVacuum
dictates the automatic vacuuming mode.JournalMode
dictates the journaling mode used by the database.SecureDelete
dictates the data deletion mode.incrementalVacuum
can be used withAutoVacuum.incremental
to affect vacuuming.vacuum
causes a full database vacuum to occur.
- Restructure is now a SwiftPM project. All legacy build tools have been removed.
- The
Restructure
constructor takes a defaulted parameter for a journal mode.
- Created the primary
Restructure
object for maintaining SQLite databases. - Created the
Statement
object for working with prepared SQLite statements. - Created the
Row
object for working with resultant rows from aStatement
. - Created the
RowDecoder
andStatementEncoder
for using Swift'sDecodable
protocols.