Skip to content

Releases: stack/Restructure

2.1.3

20 Jun 20:50
Compare
Choose a tag to compare

Fixed

  • Columns are now properly set to nil when a statement is reused.

2.1.2

08 Sep 00:06
Compare
Choose a tag to compare

Fixes

  • Closing a file-backed database no longer deletes the underlying file.
  • In WAL journal mode, closing the database causes a WAL checkpoint.

2.1.1

07 Sep 23:44
Compare
Choose a tag to compare

Fixed

Storing a Statement no longer causes a crash when cleaning up.

The UPPER function properly handles memory management of strings.

2.1.0

17 Aug 02:04
Compare
Choose a tag to compare

Added

  • sqliteVersion fetches the underlying SQLite version string.
  • Dynamic member lookup is enabled for Row, allowing for direct access to values via property notation.

Removed

  • JournalMode.off has been removed because of defensive configs.

2.0.0

13 Sep 00:13
Compare
Choose a tag to compare

Added

  • 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 with AutoVacuum.incremental to affect vacuuming.
  • vacuum causes a full database vacuum to occur.

Changed

  • Restructure is now a SwiftPM project. All legacy build tools have been removed.
  • The Restructure constructor takes a defaulted parameter for a journal mode.

1.0.0

20 Jun 23:40
Compare
Choose a tag to compare

The initial release, for Swift 5, iOS 12, macOS 10.14, and tvOS 12.