Skip to content

Releases: shareup/sqlite

18.1.0

Choose a tag to compare

@atdrendel atdrendel released this 26 Feb 16:35
c2fb0c4

Adds SQLiteDatabase.touch() to manually notify observers of changes not picked up by the update hook, such as DELETE FROM <table name>;.

Adds async read, write, execute, and in-transaction methods to SQLiteDatabase and deprecates the Combine versions of those functions.

Updates supportsJSON method to pass on newer versions of SQLite.

Adds supportsPreupdateHook for eventual migration from the update hook to the pre-update hook.

18.0.0

Choose a tag to compare

@atdrendel atdrendel released this 04 Nov 23:25
9797923

Replaces PreciseDateFormatter implementation with PreciseISO8601DateFormatter.

Increases minimum target versions and Swift version.

Formats code according to Shareup's style guidelines.

17.0.0

Choose a tag to compare

@atdrendel atdrendel released this 04 Apr 20:42
f1240a5

Removes QueryPlanParser entirely in favor of having consumers explicitly state which tables should cause an observed SQL statement to update.

QueryPlanParser stopped being accurate after SQLite 3.36.0 was released because of the changes made to SQLite's EXPLAIN QUERY PLAN output.

16.1.0

Choose a tag to compare

@atdrendel atdrendel released this 05 Jan 04:20
4d3bdbf

Adds ability to enable or disable SQLite's foreign key support.

16.0.3

Choose a tag to compare

@atdrendel atdrendel released this 25 Sep 15:54
c87ba6e

Fixes parsing simple SQL queries using QueryPlanParser in SQLite version 3.36.0 and above.

16.0.2

Choose a tag to compare

@atdrendel atdrendel released this 03 Aug 23:28
e47eb25

This release fixes a problem in which database changes via DELETE FROM <table>; statements weren't published to subscribers because, for some unknown reason, the update hook is not called. Now, whenever the commit hook is called without the update hook first being called, we publish changes to all subscribers without caring about what tables they are interested in.

16.0.1

Choose a tag to compare

@atdrendel atdrendel released this 03 Jun 21:27
b556e15

Update dependencies.

16.0.0

Choose a tag to compare

@atdrendel atdrendel released this 30 May 20:10
a2fc60c

Change SQLiteError.onInternalError to include inner error instead of String.

15.1.0

Choose a tag to compare

@atdrendel atdrendel released this 30 May 14:22
6d7c469

Refactor SQLiteFuture to allow it to be retried.

15.0.2

Choose a tag to compare

@atdrendel atdrendel released this 27 May 18:58
2ccc39c
  • Fix bug where subscribers that return demand from receive(_:) would create an infinite loop with SQLiteStatementResultsPublisher
  • Fix bug in which writing to changeTrackerURL would be unreliable